summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
AgeCommit message (Collapse)Author
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
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-03Smooth regenerationBen Millwood
A regen rate of 4 hp/s now means you regenerate one health point every quarter of a second (fixes #28)
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* fix compiler warningRoman Tetelman
* remove reference to holding +button5 to repair in tutorial text
2013-01-03* Revert stagedowns (fixes #2)Roman Tetelman
2013-01-03* Fix compiler warning about G_FindOvermindBen Millwood
* Random fixes/rearrangements in deconstruct and PM_Weapon * Merge tremulous r1137 - noclipping specs - other noclip stuff - fix ammo check - maprotation fixes - no taunting when dead - code-level crap
2013-01-03* Allow boosters to give poison within the first 30 seconds of the gameBen Millwood
* Allow /noclip and /where to be used by spectators * Allow /noclip and /setviewpos to be used by specs even when cheats are off * Run PM_Weapon and set view height while noclipping * Make player speed while spectating or noclipping configurable via cg_flySpeed * Remove requirement for cgame's cvartable to have a non-null vmCvar pointer * Make PM_Paralyzed a macro and add a similar category, PM_Live * Stop dretches from biting dead buildings
2013-01-03 * Add BG_EventName and use it to simplify a series of debugging messagesBen Millwood
* Correct crouch check in ClientTimerActions * Ensure animation togglebit on buildables is only used once per frame (bug 3377) * Make G_FloodLimited more robust and with a pointlessly informative return value * Add a brief comment to the G_SayArg* functions to explain their purpose, which wasn't at all clear to me until I experimented with them * Remove more redundant va()s * Remove an unused variable and associated functions that were causing a compiler warning
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* fix for unlagged being turned off for clients who spawn (bob)Roman Tetelman
* fix ui_messagemode2
2013-01-03* make the enemy team lose a stage when you reach "stage 4"Roman Tetelman
* pleasedonthurtmenorfmademedoit
2013-01-03stagedown wip codeRoman Tetelman
2013-01-03* Handle some broken admin.dat files the same as beforeM. Kristall
* Make G_TeamName BG_TeamName and use it in cgame for team change messages * Don't use an event for team change notification since clients already know
2013-01-03* Add functions G_TeamName and G_TeamFromStringM. Kristall
* Log team changes whenever a team change occurs (not just when using /team) * Do not allow admins without ADMF_CAN_PERM_BAN (flag 8) to remove or modify permanent bans
2013-01-03* (bug 2980) Add g_dretchPunt setting to punt dretches out of the way of ↵Christopher Schwarz
teammates when attacked by them (tjw)
2013-01-03* Add the /a command, which sends a message to all active adminsChristopher Schwarz
* Using and receiving messages from this command is controled by the admin flag '?' * This flag is granted to levels 3, 4, 5 by default * The /a command can be parsed from in chat text, and also from the server console * New cvar g_publicAdminMessages (0|1) default: 1. Allows or disallows users without flag '?' to send messages to admins (but not receieve them).
2013-01-03* (bug 3379) !adjustban command to change reason and duration of bans (flag b)M. Kristall
* (bug 3746) Lookup table for UI commands (Ben Millwood) * and some other refactoring * Fix a couple null dereferences introduced in 1120
2013-01-03 * Flood protection in chat and admin commandsBen Millwood
(thanks to Phil Bordelon, Chris "Lakitu7" Schwarz, and M. Kristall)
2013-01-03* (bug 2965) Strip colour codes from log messages (Ben Millwood)M. Kristall
* (bug 3596) Buying a battlesuit allows player to pass through some map geometry (/dev/humancontroller) * (bug 3679) Remove redundant stage trigger checks (Chris "Lakitu7" Schwartz) * (bug 3761) selling all upgrades removes energy ammo (/dev/humancontroller) * Remove some duplicate code * !showbans did not properly show all valid bans when some bans had expired * Log renames between ClientConnect and ClientBegin
2013-01-03* add cg_unlagged to allow clients to disable backward reconcilliation for ↵Roman Tetelman
their own attacks only
2013-01-03* revert part of r77 to allow clients to keep their creditsRoman Tetelman
* put back clientPersistant_t.savedCredits
2013-01-03* (bug 3719) IP address fields in admin system are not large enough for IPv6M. Kristall
(Amanieu) * Prevent the host player on a non-dedicated server from being disconnected
2013-01-03Don't use some missiles' bounding boxes for colliding with the mapBen Millwood
2013-01-03 * Experimental fix for the colour wrapping failBen Millwood
2013-01-03* (bug 3673) Add boundary checking to G_SanitiseName() and G_DecolorString()M. Kristall
* s/G_SanitiseName/G_SanitiseString/ * s/trap_Printf/trap_Print/ * Change a few occurences of MAX_STRING_CHARS to MAX_NAME_LENGTH
2013-01-03* UI_Text_* emoticon drawing support (e.g. [dretch] draws Tony J. White
/emoticons/dretch.tga inline with text) * emoticons are square .tga images placed in the /emoticons dir of fs_game * emoticons should probably be 64x64 to look nice * g_emoticonsAllowedInNames (default ON) is an optional server setting to prevent players from using them in names * emoticons can be escaped by prefixing with an additional [ * cvars ui_emoticons and cg_emoticons can be set to 0 to disable drawing of emoticons in ui or cgame contexts respectively * fix color code continuation on wrapped lines * prefix all wrapped lines with a space to prevent chat shenanigans
2013-01-03* (bug 3595) /sell upgrades doesn't change player model for battlesuitM. Kristall
(Ben Millwood) * (bug 3599) adminLevel can be wrong * Reorder *Attributes_t arrays to match corresponding enums * Simplify BG_Buildable, BG_Class, BG_Weapon, and BG_Upgrade * Remove a couple unnecessary config string hacks * !unmute was saying !mute in some messages
2013-01-03* Remove some unused state structures from gameTim Angus
* Remove some unused (mainly baseq3) cgame cvars
2013-01-03* voice chat stuff (no, not like TeamSpeak)Tony J. White
2013-01-03* Merge clientSession_t::sessionTeam and clientSession_t::spectatorStateTim Angus
* Remove existing team_t (TEAM_FREE, TEAM_SPECTATOR) * s/pTeam_t/team_t/;s/buildableTeam_t/team_t/;s/WUTeam_t/team_t/ * s/pClass_t/class_t/ * s/PERS_TEAM/PERS_SPECSTATE/ * s/STAT_PTEAM/STAT_TEAM/;s/STAT_PCLASS/STAT_CLASS/
2013-01-03* Consolidate memory allocation into bg_alloc.cTim Angus
2013-01-03Credit based stagesBen Millwood