summaryrefslogtreecommitdiffstats
path: root/src/control/ScriptCommands.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-22 12:27:25 +0200
committerGitHub <noreply@github.com>2020-06-22 12:27:25 +0200
commit043f09f3fb08178eaea7e07da395dcb7b710249f (patch)
tree3b0cb6f663e297ac8cef52b8803408159d9a1e19 /src/control/ScriptCommands.h
parentFOV fix (diff)
parentupdated player control names (diff)
downloadre3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.gz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.bz2
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.lz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.xz
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.tar.zst
re3-043f09f3fb08178eaea7e07da395dcb7b710249f.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