/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/cameranets.dm

CHUNK_SIZEWe only want chunk sizes that are to the power of 2. E.g: 2, 4, 8, 16, etc..
GET_CHUNK_COORDTakes a position, transforms it into a chunk bounded position. Indexes at 1 so it'll land on actual turfs always

Define Details

CHUNK_SIZE

We only want chunk sizes that are to the power of 2. E.g: 2, 4, 8, 16, etc..

GET_CHUNK_COORD

Takes a position, transforms it into a chunk bounded position. Indexes at 1 so it'll land on actual turfs always