summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
AgeCommit message (Collapse)Author
2013-01-03* Fix the mara+ zap repeat-rate being infinitely long if you kept mashing ↵Christopher Schwarz
the button before the timer was up - If you've been unable to hit anything with the zap for mysterious reasons, this was probably why * Remove some vestigal code from previous zap rewrites that was causing the above
2013-01-03* Add /listmaps command so people can stop guessing when they're trying to ↵Christopher Schwarz
do /callvote map/nextmap (Rezyn)
2013-01-03* Server- and client-side tab completion for commands handled by the game moduleM. Kristall
* Admin commands are just like all other commands now: no more ! ("!map" was renamed to "changemap" since "map" already exists) * Text in the chat ui beginning with / or \ is treated as a command unless ui_chatCommands = 0 (default 1)
2013-01-03* Prevent new votes from preventing previous votes from executingM. Kristall
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* Make position of "ALLFLAGS" admin flag irrelevantM. Kristall
* Keep track of clients' admin statuses better and refactor large amounts of related admin code
2013-01-03* (bug #3545) Remove missing trap_CvarVariableValueTim Angus
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 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* (bug 4071) subnet bansM. Kristall
Allow banning and namelog searching by IP address in CIDR notation Banning a range of addresses will immediately kick all players in that range Admins with IMMUNITY flag can connect even if their IP address is banned admin.dat files relying on substring matching will have to be updated
2013-01-03* Rename some types and variables related to building point zones to be moreTim Angus
descriptive
2013-01-03get rid of the rest of the basiturretgrab codeBen Millwood
2013-01-03* store credits in pers.credit instead of ps.stats[ PERS_CREDIT ]Roman 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-03* Fix an annoying warningM. Kristall
2013-01-03Make next queue time calculation more consistentBen Millwood
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-03* Increase repeater cost from 2 to 4Ben Millwood
* Repeaters will no longer suicide * If a buildable doesn't belong to a zone, deconstruct will immediately deconstruct * A power source can no longer be replaced by one of its dependants * Dead repeaters will queue from the reactor
2013-01-03Remove repeater overlap prevention codeBen Millwood
2013-01-03add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlapBen Millwood
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-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* Remove unused variableTim Angus
2013-01-03* Replace BG_(Un)PackZapTargets with more generic and less muddled ↵Tim Angus
BG_(Un)PackEntityNumbers
2013-01-03* s/G_TriggerMenu2/G_TriggerMenuArgs/Tim Angus
* s/ALIEN_CREDITS_PER_FRAG/ALIEN_CREDITS_PER_KILL/
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
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* Builders get one score point per 10 secondsChristopher Schwarz
* Score points from killing buildables is now 1.5x
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* Silence compiler warnings from r1160Christopher Schwarz
* Fix improper behavior of console chat command * Fix console say/chat/say_team commands not being logged * Add teamPrefix to log/console print of say_team messages * Minor cleanups to chat logging code
2013-01-03* add printqueue server command to try to debug issue #20Roman Tetelman
2013-01-03* Move some server commands into game and refactor game commandsM. Kristall
2013-01-03* Remove cvars unused after revision 1143M. Kristall