Files
CHOMPStation2/code/__defines/_helpers.dm
CHOMPStation2StaffMirrorBot 6169daa735 [MIRROR] ss atoms update (#10736)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2025-04-25 08:18:14 +02:00

19 lines
626 B
Plaintext

/// Takes a datum as input, returns its ref string
#define text_ref(datum) ref(datum)
// Stuff that is relatively "core" and is used in other defines/helpers
/**
* The game's world.icon_size. \
* Ideally divisible by 16. \
* Ideally a number, but it
* can be a string ("32x32"), so more exotic coders
* will be sad if you use this in math.
*/
#define ICON_SIZE_ALL 32
/// The X/Width dimension of ICON_SIZE. This will more than likely be the bigger axis.
#define ICON_SIZE_X 32
/// The Y/Height dimension of ICON_SIZE. This will more than likely be the smaller axis.
#define ICON_SIZE_Y 32
#define EMPTY_BLOCK_GUARD ;