summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-05 00:49:32 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-05 00:49:32 +0100
commit0bd373cd56e187d1c1a1457e56452dc43d21bbcb (patch)
tree0af7eb1c5b63c50d57313e65438cf450eeca601c /src/control/Script.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar.gz
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar.bz2
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar.lz
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar.xz
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.tar.zst
re3-0bd373cd56e187d1c1a1457e56452dc43d21bbcb.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);