summaryrefslogtreecommitdiffstats
path: root/src/control/ScriptCommands.h
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
commitb26eec5dafc7720d2c8e61db7dd6da29442cab94 (patch)
tree4dfc58239c4555d4d4e6d0b327b65b7dab6cae65 /src/control/ScriptCommands.h
parentrenamed 2dfx shadowRange to Size (diff)
parentUpdate MemoryCard.cpp (diff)
downloadre3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.gz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.bz2
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.lz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.xz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.zst
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.zip
Diffstat (limited to 'src/control/ScriptCommands.h')
-rw-r--r--src/control/ScriptCommands.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/src/control/ScriptCommands.h b/src/control/ScriptCommands.h
index 67b1b9bc..6669e43f 100644
--- a/src/control/ScriptCommands.h
+++ b/src/control/ScriptCommands.h
@@ -1437,4 +1437,35 @@ enum {
COMMAND_REGISTER_FIRE_LEVEL,
COMMAND_IS_AUSTRALIAN_GAME,
COMMAND_DISARM_CAR_BOMB,
-}; \ No newline at end of file
+#ifdef USE_ADVANCED_SCRIPT_DEBUG_OUTPUT
+ LAST_SCRIPT_COMMAND
+#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