Declare a EDITOR tag,

so we can use it in the main.cfg to do conditional loading
This commit is contained in:
Ali El Gariani 2007-05-22 01:11:24 +00:00
parent 5a2b96ff16
commit 17f2a8abb2

View file

@ -259,6 +259,9 @@ int main(int argc, char** argv)
return 0;
}
preproc_map defines_map;
// define editor to do conditionnal loading in the main cfg
defines_map["EDITOR"] = preproc_define();
defines_map["MEDIUM"] = preproc_define();
defines_map["NORMAL"] = preproc_define();
// Multiplayer define is needed to access the random map generator