mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-03-28 22:53:18 +00:00
original commit: df4397565f
local changes: adds new _defines file text.dm to start collecting text specific defines for better code readability
11 lines
342 B
Plaintext
11 lines
342 B
Plaintext
/**
|
|
* Holds global defines for use in text input procedures
|
|
*/
|
|
|
|
|
|
/**
|
|
* stuff like `copytext(input, length(input))` will trim the last character of the input,
|
|
* because DM does it so it copies until the char BEFORE the `end` arg, so we need to bump `end` by 1 in these cases.
|
|
*/
|
|
#define PREVENT_CHARACTER_TRIM_LOSS(integer) (integer + 1)
|