summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2013-01-03* Change how r2097 makes map-set values non-persistent and make map configs workM. Kristall
properly * Also disallow maps from setting stage thresholds since some maps were being very annoying
2013-01-03* Three minor cleanups (/dev/humancontroller)Christopher Schwarz
- Properly initialize cvartable entry for g_teamforcebalance - Properly remove the "which" command on shutdown - Clear all SS_ flags on stopping spectating instead of just wallwalk so free spectators don't get stuck with slowblob or whatever
2013-01-03* (bug 4883) Fix ability to build 0-BP structures in SD if the blueprint is ↵Christopher Schwarz
active at the transition by clearing blueprints upon entering SD (thanks Menace13) * Print SD warning/beginning to the client console text in addition to the CP * Change a couple STAT_BUILDABLE = 0 to = BA_NONE (code tidying with no effect)
2013-01-03* Print pause time in seconds instead of ms when unpausedChristopher Schwarz
* Implement a max pause time of 2 minutes in case an admin lags out or something after pausing
2013-01-03* g_disabled* cvars are used by ui but were not communicated to the clientM. Kristall
* Don't let maps set {alien,human}BuildPoints since that's probably not good * Let maps set temporary variables instead of cvars (for e.g., gravity)
2013-01-03Nothing to see hereM. Kristall
2013-01-03* (bug 4815) Add /pause admin commandChristopher Schwarz
2013-01-03* (bug 4816) Add team imbalance warning messagesChristopher Schwarz
2013-01-03* (bug 4522) Make map rotation logic robust against missing maps andJohn Ellis
maprotation.cfg scripting errors. * Fix jumping to a map by name. * Add goto, resume, and #label support to maprotations.
2013-01-03* (bug 4761) Count connecting players as votersM. Kristall
2013-01-03* (bug 3495) Add support for message censorship (cue "finally!")M. Kristall
2013-01-03* Clear level.logfile handle after closing it for ShutdownGame.John Ellis
2013-01-03* Fix admin /rename by not decrementing namelog->nameChanges, insteadJohn Ellis
add a forceName variable to ClientUserinfoChanged so that admin renames do not have ill-effects on player nameChange count, and players can be renamed while muted. * Make /rename print an error when attempting to rename a connecting player.
2013-01-03* Use bitmasks instead of arrays for keeping track of whether/how a player votedM. Kristall
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Fix a bug with nextmap votesM. Kristall
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* Don't send game statistics when cheats are enabledChristopher Schwarz
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* 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