/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/sight.dm

BLACKNESS_CUTTINGcan't see anything can see all mobs, no matter what can see all objs, no matter what can see self, no matter what can see infra-red objects (different sort of luminosity, essentially a copy of it, one we do not use) if an object is located on an unlit area, but some of its pixels are in a lit area (via pixel_x,y or smooth movement), can see those pixels can see through opaque objects render dark tiles as blackness (Note, this basically means we draw dark tiles to plane 0) we can then hijack that plane with a plane master, and start drawing it anywhere we want Bitfield of sight flags that show things "inside" the blackness plane We've gotta alpha it down if we get this, cause otherwise the sight flag won't work

Define Details

BLACKNESS_CUTTING

can't see anything can see all mobs, no matter what can see all objs, no matter what can see self, no matter what can see infra-red objects (different sort of luminosity, essentially a copy of it, one we do not use) if an object is located on an unlit area, but some of its pixels are in a lit area (via pixel_x,y or smooth movement), can see those pixels can see through opaque objects render dark tiles as blackness (Note, this basically means we draw dark tiles to plane 0) we can then hijack that plane with a plane master, and start drawing it anywhere we want Bitfield of sight flags that show things "inside" the blackness plane We've gotta alpha it down if we get this, cause otherwise the sight flag won't work