summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
AgeCommit message (Collapse)Author
2013-01-03* Queue BP according to the proportion of damage that came from ↵Christopher Schwarz
not-friendly-fire (e.g. things killed entirely by FF have their BP returned instantly, and those killed by enemies/other have their BP queued, and others split accordingly) * Human buildings dying from no power now uses MOD_NOCREEP instead of MOD_SUICIDE * Attribute deaths caused by nopower, nocreep, and human buildable blowup-chain-reactions to the person that killed the egg/power/original building that started the chain * Minor cleanups of unused functions/variables
2013-01-03* (bug 4573) Use markdecon (instant of instant-decon) when buildings are ↵Christopher Schwarz
unpowered but are about to be powered by a currently-building
2013-01-03* Fix handling of invalid userinfoChristopher Schwarz
2013-01-03* Revert revision 1965 and parts of revisions 1962 and 1966 since muted playersM. Kristall
should be allowed to join/switch teams
2013-01-03* Use bitmasks instead of arrays for keeping track of whether/how a player votedM. Kristall
2013-01-03* Prevent people from reconnecting so they can call more votesM. Kristall
* Remove a few unused variables and an unused function
2013-01-03* Prevent reparsing IP addresses for subnet bansM. Kristall
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Remove hovelM. Kristall
* Require buildable names instead of buildnums in layouts
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Add a EndVote: line to games.log for showing vote results (Rezyn)Christopher Schwarz
* Add additional coloured versions of client names to games.log in ClientConnect and ClientRename lines for use by Tremstats et. al. (Rezyn)
2013-01-03* Fix votes failing when they shouldn't (Rezyn)Christopher Schwarz
* Fix INACTIVITY flag (Rezyn) * Fix being able to call a teamvote for someone not on your team (thanks Rezyn) * Fix IMMUNITY flag (Rezyn) * Fix there being 2 instances of g_dretchpunt in the cvar table (Rezyn)
2013-01-03* Remove some unused game cvarsBen Millwood
2013-01-03* Update copyright noticesTim Angus
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