dirt_rasters 
Keeps the newest DIRT_RASTER_CACHE_SIZE splats' rasters, each one text: its drawn() in each direction, in dirt_mask_directions() order, joined by DIRT_RASTER_SEPARATOR, empty where it isn't rasterised yet.
Procs | |
| fetch_direction | Returns a splat's raster in one direction, /datum/dirt_pixels/proc/drawn() of it, or null if it isn't kept there. |
|---|---|
| store_direction | Keeps a splat's raster in one direction beside the ones kept under its key. A key kept already keeps its place. |
Proc Details
fetch_direction
Returns a splat's raster in one direction, /datum/dirt_pixels/proc/drawn() of it, or null if it isn't kept there.
Arguments:
- key: The raster key.
- direction: The direction.
store_direction
Keeps a splat's raster in one direction beside the ones kept under its key. A key kept already keeps its place.
Arguments:
- key: The raster key.
- direction: The direction.
- drawn: /datum/dirt_pixels/proc/drawn() of the raster.
Returns drawn.