summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorPetr Pudlak <petr.mvd@gmail.com>2014-10-12 16:39:46 +0200
committerPetr Pudlak <petr.mvd@gmail.com>2014-10-18 19:59:22 +0200
commit9e9289b46d1efad930f09d691ad62fab7f84e8fe (patch)
treeb5a583ed184b6b3806f4890a9fb8875b5f3bcc66 /src/game/g_local.h
parente7cd2f975492875faa2f26b3b13b8015d53a94d4 (diff)
Add support for Weak Sudden Death
After it strikes, it's not possible to build near the Reactor/Overmind and it's not possible to build refineries/creep colonies. This still allows teams to build forward within the BP limit, but not strengthen their main bases any more.
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index 522bdb7..4e6cec1 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -666,6 +666,8 @@ typedef struct
team_t lastWin;
+ int weakSuddenDeathBeginTime;
+ timeWarning_t weakSuddenDeathWarning;
int suddenDeathBeginTime;
timeWarning_t suddenDeathWarning;
timeWarning_t timelimitWarning;
@@ -812,6 +814,9 @@ typedef enum
IBE_LASTSPAWN,
IBE_BLOCKEDBYENEMY,
IBE_GTHRBLOCKED,
+ IBE_WSD_INBASE,
+ IBE_WSD_REFSCOLS,
+
IBE_MAXERRORS
} itemBuildError_t;
@@ -1159,6 +1164,7 @@ extern vmCvar_t g_minNameChangePeriod;
extern vmCvar_t g_maxNameChanges;
extern vmCvar_t g_timelimit;
extern vmCvar_t g_suddenDeathTime;
+extern vmCvar_t g_weakSuddenDeathTime;
extern vmCvar_t g_armageddonTimeStep;
extern vmCvar_t g_armageddonInitialTimeStep;
extern vmCvar_t g_armageddonDefensiveKillPercent;