summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2013-01-03* bring back camper creditsRoman Tetelman
- they are now awarded regardless of deaths - use a cvar (g_freeKillPeriod) instead of a #define as the interval
2013-01-03Decrement queued build points to avoid infinite loopRoman Tetelman
2013-01-03Make next queue time calculation more consistentBen Millwood
2013-01-03Merge most of the CalculateBuildPoints loopsBen Millwood
It may be possible to do this further but as it is I've simplified and efficientised the code a good deal. Also some tiny irrelevant cleanups
2013-01-03Simplify some power handling codeBen Millwood
* Remove reactorNode, overmindNode, G_FindReactor, and G_FindOvermind * Replace level.(overmind|reactor)Present with G_Reactor and G_Overmind
2013-01-03Tweaks to cvar default values and flagsBen Millwood
2013-01-03fix maxZones dynamic allocation conditionalBen Millwood
2013-01-03add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlapBen Millwood
2013-01-03* Repeaters cost 2 BP that take away from the main (reactor's) pool.Ben Millwood
* By default, repeater BP queue return is instant * Repeaters can be built at stage 1 * Increase the alien build point and build queue time defaults by 50%
2013-01-03Fix some bugs with Zone BPBen Millwood
* Repeaters can no longer be placed inside of another power zone * Temporarily use the nearest source of power instead of * combinations until shared power sources is correctly supported
2013-01-03Zone BP updates, and a minor bug fixBen Millwood
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
2013-01-03use alien queue for aliensRoman Tetelman
2013-01-03Initialisation fix in BP zone allocation codeBen Millwood
2013-01-03Queue buildpoints in main zone and unpowered buildablesBen Millwood
2013-01-03Minor cleanups to zone bpBen Millwood
* Move power zones into level_locals_t * Dynamically allocate the array, removing MAX_ZONES restriction
2013-01-03Zone BPBen Millwood
2013-01-03* Add "return" keyword to map rotation system, which causes a rotation toTim Angus
return to its "caller"
2013-01-03* Fairly substantial restructuring of the map rotation system which hopefullyTim Angus
addresses most of the misgivings with it
2013-01-03* Change grammar of map rotation system to support back to back conditionsTim Angus
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* fix previous commit to actually work (integer math...whoops)Roman Tetelman
2013-01-03* make build point return time shorter when more build points are missingRoman Tetelman
2013-01-03* Fix a new formatting issue from revision 1189M. Kristall
* Use client list functions for ready code
2013-01-03* Move some code aroundM. Kristall
* When g_specChat = 0, send global messages by spectators to other spectators * Eliminate g_listEntity. Use entityList instead * Stop seeding the rng all the time
2013-01-03* New zap (fixes #40)Roman Tetelman
FIXME: currently limited to 3 targets due to netcode restrictions FIXME: this code could probably use some general cleanup as well
2013-01-03* (bug 3993) ban length limits (Rezyn)Christopher Schwarz
2013-01-03* (bug 3990) Allow voting for next map (with thanks to Critux)Christopher Schwarz
* small updates to the surrounding /callvote code
2013-01-03* Fix semicolon I forgot during the previous commitChristopher Schwarz
* (bug 3997) Add g_specChat to silence chatty spectators during matches
2013-01-03* (bug 4003) Non-buildable entities can be counted as spawns (Rezyn)Ben Millwood
2013-01-03* Log stageups to games.logChristopher Schwarz
2013-01-03* (bug 3964) Fix votedisplaystrings printing as blank in some circumstances ↵Christopher Schwarz
(thanks Rezyn for 1/2 of this fix)
2013-01-03* Fix crashbug introduced last revision. This time I'm going to just revert ↵Christopher Schwarz
that part of 1121 instead of trying to fix what wasn't broken.
2013-01-03* Fix broken spawn queue bug introduced in r1121Christopher Schwarz
2013-01-03* Remove cvars unused after revision 1143M. Kristall
2013-01-03* Print the real, current server time at start of games.log so real times ↵Christopher Schwarz
can actually be obtained from the logs via offsetting instead of only having game times (thanks Pierre)
2013-01-03* Add Undeference's say_area commandChristopher Schwarz
* For now, the range of this is adjustable with g_sayAreaRange. This is temporary to help us to choose a range for Undeference to use when he commits this to Tremulous trunk
2013-01-03* Add SD votes (closes #11)Christopher Schwarz
* Add g_suddenDeath that can be changed back and forth (0 | 1) by console whenever. This is necessary to create the vote type. * Votes require at least g_suddenDeathVotePercent percent to pass (default 74) * Set g_suddenDeathVotePercent 0 to disable SD votes entirely * g_suddenDeathVoteDelay (default 180) controls how much delay should occur between the vote's passing and entering SD. This is designed to make it harder to pass SD votes at opportune times.
2013-01-03* Change EXEC_NOW to EXEC_APPENDM. Kristall
* Remove cvar based banning in favor of admin system
2013-01-03BP Queuing systemBen Millwood
* Remove humanBuildPointsPowered as it isn't used nor is it likely to be * Ensure that alien buildables no longer count for BP after they exploded * Don't restore the BP for a destroyed building as soon as it is destroyed - instead, add them to a global queue and restore them slowly, as determined by g_<team>BuildQueueTime * Remove G_IsOvermindBuilt in favour of level.overmindPresent which did pretty much the same thing This resolves issue #6
2013-01-03* Revert stagedowns (fixes #2)Roman Tetelman
2013-01-03* fix a race condition that causes a team to lose two stages instead of one ↵Roman Tetelman
(hopefully)
2013-01-03* fix to players spawning in 3rd person and hopefully spawn queue blockingRoman Tetelman
2013-01-03* fix stage counter AGAINRoman Tetelman
2013-01-03* stagedown logging codeRoman Tetelman
* fix to next stage counter for stage 3 teams (hopefully)
2013-01-03 * Remove extra trailing newline from admin chat commands (oops)Ben Millwood
* Rename private message, admin message functions for consistency * Cancel a reload when switching weapons, and prevent reloading a full clip * Simplify admin command formatting and in doing so prevent some compiler warnings on OS X * Fix some admin messages (s/kicked/banned/, no bans to show, can't perm ban) * Have tremulous_alien_common_hud include tremulous_common_hud since they're always used together anyway * Remove some redundant uses of va()
2013-01-03 * Use chat rather than print for adminchat server commandsBen Millwood
* Fixes to ready code: supports MAX_CLIENTS slots without relying on its value * Removing references to an apparently useless escape character in chat
2013-01-03* s/STAGE2_THRESH/STAGE_THRESH/g that i missedRoman Tetelman
* fix more configs that contain copies of them selves (Amanieu)
2013-01-03Ready code probably fixedBen Millwood
2013-01-03* make the enemy team lose a stage when you reach "stage 4"Roman Tetelman
* pleasedonthurtmenorfmademedoit
2013-01-03stagedown wip codeRoman Tetelman