X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Flib%2Fbool.qh;h=c78f717d9e983be74923a5dd8fb5252b73f9b627;hb=ceea8405790b1bc1ac91b3c382884ebaeafcbcac;hp=9889f778a442dc381375f96f6ca359c198aa7e09;hpb=10c0be8573ea4ab40c24c4a4267f445e00b63857;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/lib/bool.qh b/qcsrc/lib/bool.qh index 9889f778a..c78f717d9 100644 --- a/qcsrc/lib/bool.qh +++ b/qcsrc/lib/bool.qh @@ -6,13 +6,10 @@ const int false = 0; #endif -// Transitional aliases -[[deprecated("use true")]][[alias("true")]] const bool TRUE; -[[deprecated("use false")]][[alias("false")]] const bool FALSE; - #define boolean(value) ((value) != 0) // get true/false value of a string with multiple different inputs +ERASEABLE float InterpretBoolean(string input) { switch (strtolower(input))