summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay <nickvnuk@gmail.com>2020-12-06 17:31:20 +0100
committerGitHub <noreply@github.com>2020-12-06 17:31:20 +0100
commitb5cdc33e7c60f6671635f9a074e1f4961a4ac077 (patch)
tree8027fd7d5dfde439c6646ae1c0f7f93457418bcc /src/control/Script.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
parentlil fix (diff)
downloadre3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar.gz
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar.bz2
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar.lz
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar.xz
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.tar.zst
re3-b5cdc33e7c60f6671635f9a074e1f4961a4ac077.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index f7613d18..983cf6e5 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -306,6 +306,15 @@ class CTheScripts
static uint16 ScriptsUpdated;
static uint32 LastMissionPassedTime;
static uint16 NumberOfExclusiveMissionScripts;
+#if (defined GTA_PC && !defined GTAVC_JP_PATCH || defined GTA_XBOX || defined SUPPORT_XBOX_SCRIPT || defined GTA_MOBILE || defined SUPPORT_MOBILE_SCRIPT)
+#define CARDS_IN_SUIT (13)
+#define NUM_SUITS (4)
+#define MAX_DECKS (6)
+#define CARDS_IN_DECK (CARDS_IN_SUIT * NUM_SUITS)
+#define CARDS_IN_STACK (CARDS_IN_DECK * MAX_DECKS)
+ static int16 CardStack[CARDS_IN_STACK];
+ static int16 CardStackPosition;
+#endif
public:
static bool bPlayerIsInTheStatium;
static uint8 RiotIntensity;
@@ -547,12 +556,16 @@ private:
extern int scriptToLoad;
#endif
#ifdef MISSION_REPLAY
+static_assert(false, "Mission replay is not supported");
extern int AllowMissionReplay;
extern uint32 WaitForMissionActivate;
extern uint32 WaitForSave;
extern uint32 MissionStartTime;
extern int missionRetryScriptIndex;
extern bool doingMissionRetry;
+extern bool gbTryingPorn4Again;
+extern int IsInAmmunation;
+extern int MissionSkipLevel;
uint32 AddExtraDeathDelay();
void RetryMission(int, int);