summaryrefslogtreecommitdiffstats
path: root/src/control/ScriptCommands.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-21 12:46:23 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-21 12:46:23 +0200
commitf5cba0ce89c0c472ed041dbc0dcc37e70da4147d (patch)
tree9d26137099d5906d0e9e4eb2b0391ad275d4fc2d /src/control/ScriptCommands.h
parenttried to reconstruct bills cam (diff)
downloadre3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar.gz
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar.bz2
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar.lz
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar.xz
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.tar.zst
re3-f5cba0ce89c0c472ed041dbc0dcc37e70da4147d.zip
Diffstat (limited to 'src/control/ScriptCommands.h')
-rw-r--r--src/control/ScriptCommands.h35
1 files changed, 33 insertions, 2 deletions
diff --git a/src/control/ScriptCommands.h b/src/control/ScriptCommands.h
index 77cf3f0f..56908edb 100644
--- a/src/control/ScriptCommands.h
+++ b/src/control/ScriptCommands.h
@@ -1157,7 +1157,38 @@ enum {
COMMAND_CAN_CHAR_SEE_DEAD_CHAR,
COMMAND_SET_ENTER_CAR_RANGE_MULTIPLIER,
#ifndef GTA3_1_1_PATCH
- COMMAND_SET_THREAT_REACTION_RANGE_MULTIPLIER
+ COMMAND_SET_THREAT_REACTION_RANGE_MULTIPLIER,
#endif
+#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
+ LAST_SCRIPT_COMMAND
#endif
-}; \ No newline at end of file
+#endif
+};
+
+#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
+
+enum eScriptArgument
+{
+ ARGTYPE_NONE = 0,
+ ARGTYPE_INT,
+ ARGTYPE_FLOAT,
+ ARGTYPE_STRING,
+ ARGTYPE_LABEL,
+ ARGTYPE_BOOL,
+ ARGTYPE_PED_HANDLE,
+ ARGTYPE_VEHICLE_HANDLE,
+ ARGTYPE_OBJECT_HANDLE,
+ ARGTYPE_ANDOR
+};
+
+struct tScriptCommandData
+{
+ int id;
+ const char name[64];
+ eScriptArgument input[18];
+ eScriptArgument output[18];
+ bool cond;
+ int position;
+ const char name_override[8];
+};
+#endif \ No newline at end of file