mirror of
https://github.com/Sandstorm-Station/Sandstorm-Station-13.git
synced 2026-08-23 21:27:23 +01:00
6 lines
282 B
Plaintext
6 lines
282 B
Plaintext
/// Prepares a text to be used for maptext. Use this so it doesn't look hideous.
|
|
#define MAPTEXT(text) {"<span class='maptext'>[##text]</span>"}
|
|
|
|
/// Macro from Lummox used to get height from a MeasureText proc
|
|
#define WXH_TO_HEIGHT(x) text2num(copytext(x, findtextEx(x, "x") + 1))
|