Cleaned up code for Mixer/Custom/Model scripts and added compiler directives
This commit is contained in:
@@ -111,8 +111,10 @@ enum ScriptState {
|
||||
};
|
||||
|
||||
enum ScriptReference {
|
||||
#if defined(LUA_MODEL_SCRIPTS)
|
||||
SCRIPT_MIX_FIRST,
|
||||
SCRIPT_MIX_LAST=SCRIPT_MIX_FIRST+MAX_SCRIPTS-1,
|
||||
#endif
|
||||
SCRIPT_FUNC_FIRST,
|
||||
SCRIPT_FUNC_LAST=SCRIPT_FUNC_FIRST+MAX_SPECIAL_FUNCTIONS-1, // model functions
|
||||
SCRIPT_GFUNC_FIRST,
|
||||
|
||||
Reference in New Issue
Block a user