summaryrefslogtreecommitdiffstats
path: root/src/control/Script.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-07 13:21:35 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-07 13:21:35 +0100
commit69d30f22046dfddc79e1e169ed7d90bf3b920335 (patch)
tree979b0993600772f6d56de1f9b03c3d82459000c5 /src/control/Script.h
parentreorder (diff)
downloadre3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar.gz
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar.bz2
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar.lz
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar.xz
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.tar.zst
re3-69d30f22046dfddc79e1e169ed7d90bf3b920335.zip
Diffstat (limited to 'src/control/Script.h')
-rw-r--r--src/control/Script.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/control/Script.h b/src/control/Script.h
index 66c9914e..2690b4ff 100644
--- a/src/control/Script.h
+++ b/src/control/Script.h
@@ -267,7 +267,8 @@ enum {
MAX_NUM_MISSION_SCRIPTS = 120,
MAX_NUM_BUILDING_SWAPS = 25,
MAX_NUM_INVISIBILITY_SETTINGS = 20,
- MAX_NUM_STORED_LINES = 1024
+ MAX_NUM_STORED_LINES = 1024,
+ MAX_ALLOWED_COLLISIONS = 2
};
class CTheScripts
@@ -317,6 +318,8 @@ class CTheScripts
#define CARDS_IN_STACK (CARDS_IN_DECK * MAX_DECKS)
static int16 CardStack[CARDS_IN_STACK];
static int16 CardStackPosition;
+
+ static int AllowedCollision[MAX_ALLOWED_COLLISIONS];
#endif
public:
static bool bPlayerIsInTheStatium;