Add FALSE and TRUE as macros

Many other builtin global consts should also double as macros, but
documentation attributes will need to be supported for them.
This commit is contained in:
Tad Hardesty 2021-01-13 20:35:14 -08:00
parent 299f142b05
commit 809bdceb5f

View file

@ -77,6 +77,9 @@ pub fn default_defines(defines: &mut DefineMap) {
DM_BUILD = Int(DM_BUILD);
SPACEMAN_DMM = Int(1);
FALSE = Int(0);
TRUE = Int(1);
// eye and sight
SEEINVIS = Int(2);
SEEMOBS = Int(4);