/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/networks.dm

NETWORK_NAME_COMBINETo debug networks use this to check We do some macro magic to make sure the strings are created at compile time rather than runtime We do it this way so that if someone changes any of the names of networks we don't have to hunt down all the constants though all the files for them. hurrah! Ugh, couldn't get recursive stringafy to work in byond for some reason
__STATION_NETWORK_ROOTStation network names. Used as the root networks for main parts of the station
__NETWORK_LIMBOvarious sub networks pieces
NETWORK_DOOR_REMOTESVarious combined subnetworks
/proc/simple_network_name_fix Network name should be all caps and no punctuation except for _ and . between domains This does a quick an dirty fix to a network name to make sure it works
NETWORK_PORT_DISCONNECTEDPort protocol. A port is just a list with a few vars that are used to send signals that something is refreshed or updated. These macros make it faster rather than calling procs
NETWORK_ERROR_OKError codes

Define Details

NETWORK_DOOR_REMOTES

Various combined subnetworks

NETWORK_ERROR_OK

Error codes

NETWORK_NAME_COMBINE

To debug networks use this to check We do some macro magic to make sure the strings are created at compile time rather than runtime We do it this way so that if someone changes any of the names of networks we don't have to hunt down all the constants though all the files for them. hurrah! Ugh, couldn't get recursive stringafy to work in byond for some reason

NETWORK_PORT_DISCONNECTED

Port protocol. A port is just a list with a few vars that are used to send signals that something is refreshed or updated. These macros make it faster rather than calling procs

__NETWORK_LIMBO

various sub networks pieces

__STATION_NETWORK_ROOT

Station network names. Used as the root networks for main parts of the station