summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2013-01-03* Fix ability to mark the last spawn for deconstruction (Rezyn)Christopher Schwarz
* Notify everyone if g_markDeconstruct or g_unlagged are changed during a game
2013-01-03* Potentially fix a bug where votes fail for no apparent reasonM. Kristall
2013-01-03* Prevent new votes from preventing previous votes from executingM. Kristall
2013-01-03* Fix votes from needing to be unanimous to pass, introduced in r1754Christopher Schwarz
2013-01-03* (bug 4310) Rework admin.logChristopher Schwarz
- Remove admin.log and fold its information into games.log because its information is rarely useful without the context that games.log brings - Don't show guid/flags in AdminCmd: log items. Show registered name instead. - Add an AdminAuth: log item that contains this info, occurring at connect, setlevel, and readconfig - Always attach an admin's registered name to bans so the correct people are complained about rather than aliases - General g_admin.c shrinking and refactoring
2013-01-03* (bug 4309) Add options to !restart that allow for keeping/switching player ↵Christopher Schwarz
teams, and optionally also to lock them.
2013-01-03* (bug 2923) Add ability to have a "warmup" time where players cannot join a ↵Christopher Schwarz
team, in order to prevent dretches with fast computers from camping the other base before the humans even load the map. Disabled by default; set g_doWarmup 1 to enable.
2013-01-03* Remove redundant colour in G_AdminMessageBen Millwood
2013-01-03* (bug 4306) Fix display formatting between different types of chat textChristopher Schwarz
* Support parsing /say_area out of /say * General cleanups/refactors to messaging code
2013-01-03* (bug 2991) Add teamoverlay, an optional hud display showing names, health, ↵Christopher Schwarz
class/equipment, and locations of teammates - Disable with cg_drawTeamOverlay 0 or remove it from your hud - Control number of teammates to show with cg_teamOverlayMaxPlayers - When teamoverlay is enabled, show health of teammates next to their name when the crosshair is over them - Servers who dislike gameplay effects or want to save on bandwidth use can use g_allowTeamOverlay 0 to disable the feature for players - Special thanks to Risujin for bring this idea and the original patch to Tremulous * Cache teaminfo on the server and send only when needed (Undeference) * Increase frequency of sending updated teaminfo (Undeference)
2013-01-03* Move more things to cgameM. Kristall
* Bring back "teamoverlay" cvar and default it to 1 * Add "cg_chatTeamPrefix" cvar
2013-01-03* (bug 4301) Clear decon markers when entering sudden death (Rezyn)Christopher Schwarz
* Fix ability to call sudden death votes when regular entry to sudden death is disabled * Add sudden_death to the printed list of valid vote types * Fix AdvGranger abilities appearing in tutorial text for regular Granger
2013-01-03* Update restricted config strings from G_InitGameTim Angus
2013-01-03* Update restricted config strings after a game endsTim Angus
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03* Massive refactor of voting codeM. Kristall
* Remove cvar g_suddenDeath since it is no longer needed * "Sudden Death in 0 seconds!" should no longer display on map start when sudden death is disabled
2013-01-03* (bug 3194) potential log ambiguities (requires log parser updates)M. Kristall
* Fix broken r1753 * Some minor refactoring / cleanup
2013-01-03* (bug 3391) FF Cvar cleanupChristopher Schwarz
- Remove g_humanFriendlyFire and g_alienFriendlyFire - Remove the cvar "ff" and just use g_friendlyFire and g_friendlyBuildableFire
2013-01-03* Remove many unused cvars that don't do anythingChristopher Schwarz
* Remove g_adminNameProtect, force it on * Remove g_chatTeamPrefix, force it on
2013-01-03* Add the Q_EXPORTs I missed from merging ioq3Tim Angus
2013-01-03* Fix various fuck-ups introduced during the mergeTim Angus
+ Re-add error case when parsing damage scripts + Reinstate G_CountSpawns + Add missing call to PM_StartTorsoAnim + staticise G_IsCreepHere
2013-01-03* Rename some types and variables related to building point zones to be moreTim Angus
descriptive
2013-01-03g_markDeconstruct default changed 1 -> 3Roman Tetelman
2013-01-03Fix camper creditsRoman Tetelman
* The time clients are alive is recorded in seconds. * Award free funds regardless of death. Funds will be given - when the client is alive every g_freeFundPeriod if g_freeFundPeriod is positive (otherwise no free funds are given).
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