summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2014-10-19Merge pull request #13 from ppetr/wsdmtiusane
Fix the message about upcoming Weak Sudden Death
2014-10-19Dretches can damage turrets and buildings. Amount of damage compared to base ↵Mikko Tiusanen
damage is controlled by cvars.
2014-10-18Fix the message about upcoming Weak Sudden DeathPetr Pudlak
The number of seconds was calculated wrongly.
2014-10-18Add support for Weak Sudden DeathPetr Pudlak
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.
2014-10-15Added automatic levels functionality based on total score earned of each player.Mikko Tiusanen
2014-09-24Added support for forcing random teams when joining the game.Mikko Tiusanen
2014-09-20Account for build points in the queuesPetr Pudlak
So that buildings don't die when there is enough BPs, but still stuck in the queue.
2014-09-20Scan if a team has a negative number of build pointsPetr Pudlak
The scan occurs periodically in the main loop. There is a given probability that a building dies within 1 minute if BP < 0.
2014-08-26Changed next layout selection to use the existing g_layouts variable.Mikko Tiusanen
2014-08-19Added layout selection support to nextmap vote.Mikko Tiusanen
2014-08-16Add the ability for humans to heal their team membersPetr Pudlak
The medkit handling is moved to a new function G_UseMedkit. If there is a human within a given range that is either more wounded than the player, or poisoned, the medkit is applied to him (see G_NeedsMedkit). The range and the breadth of the action is configurable by cvars. The original patch was used on a server, but this port wasn't tested (only that it compiles).
2014-08-02Fixed the drawing order of alien, human stages in spectator view.Mikko Tiusanen
Fixed the stage counters for stages 4 and 5. Reset default values for human stage thresholds to half of what aliens got.
2014-08-01Added support for 5 stages instead of the traditional 3.Mikko Tiusanen
2014-07-29Automatic level change at half-way to sd no longer kicks in when sd is disabled.Mikko Tiusanen
2014-07-19The credit gain/loss at armageddon can now be customized through cvar.Mikko Tiusanen
2014-07-06Added basic server side timer functionality.Mikko Tiusanen
2014-07-06Fixed the player count checking for allowing spawn with g_teamForceBalance = 2.Mikko Tiusanen
2014-07-06Fixed auto g_teamForceBalance = 2 handling.Mikko Tiusanen
Fixed colors in certain commands. Correct message now displayed in slap.
2014-07-06Extra players now kept in spawn queue instead of auto-balance if ↵Mikko Tiusanen
g_teamForceBalance is set to 2. Automatic team balancing now honors locked teams and g_teamForceBalance setting.
2014-06-12No more automatic team balance when humans don't have powered armouries left.Mikko Tiusanen
2014-06-08Automatic map switch now based on number of human/alien players only.Mikko Tiusanen
2014-06-08Empty server now switches level half way to sd.Mikko Tiusanen
2014-06-08Automatically switch level at start of sd when no clients connected.Mikko Tiusanen
2014-06-03Cleaned up some of the code related to previous changes.Mikko Tiusanen
Commented out increment line that caused cvar change messages on building death.
2014-06-02Added credit gain scaling based on player and team kill count differences.Mikko Tiusanen
2014-05-04Initial import.Mikko Tiusanen