summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2013-01-03 * (bug 3679) fix for stage triggers not working properly (Chris "Lakitu7" ↵Roman Tetelman
Schwarz)
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* (bug 3631) Macro safety for MIN() and MAX() (Ben Millwood)M. Kristall
* (bug 3645) Lag correction field in server info menus is always empty (Ben Millwood) * (bug 3653) stack corruption in G_SendGameStat() (/dev/humancontroller) * (bug 3662) Players who fall of the edge of the world can block the spawn queue (/dev/humancontroller) * Remove unused argument to G_ClientNumberFromString() * Remove unused variables in G_admin_setlevel() * Remove a number of superfluous va()s * Shut up erroneous warnings about uninitialized variables
2013-01-03* (bug 3629) OB1/buffer overflow (Azrael07)M. Kristall
* (bug 3290) Revert r966 and use a less hacky fix
2013-01-03Fix 0 credits to next stage in s3Ben Millwood
2013-01-03* Round thresholds server-side to save bandwidth and prevent server command ↵Ben Millwood
overflows * Downgrade weapon anim messages to a warning (because we're not really expecting any to exist) Merge bugs: * Fix human spawn menu * Protocol version 69 (oops!)
2013-01-03* add variable width to emoticons support. In addition to being aTony J. White
.tga in the /emoticons/ dir of fs_game, emoticon file names need to end with "_{WIDTH}x1.tga". For example, /emoticons/dretch_1x1.tga (square) or /emoticons/rifle_2x1.tga (double-wide)
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* voice chat stuff (no, not like TeamSpeak)Tony J. White
2013-01-03* Replace reams of BG_Find* functions with: BG_Buildable, BG_Class, BG_Weapon,Tim Angus
BG_Upgrade * Move "overrides/*" to "configs/" and remove all the overriden data from bg_misc.c, instead requiring it to be in the cfg files * Add cfg files to source control * Clean up some naming and typing issues
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* (bug 3408) g_alienstage/g_humanstage dont trigger trigger_stageTim Angus
2013-01-03* Consolidate memory allocation into bg_alloc.cTim Angus
2013-01-03Credit based stagesBen Millwood
2013-01-03* Removal of now-redundant Makefile stuffBen Millwood
* Loads of whitespace fiddling to make the code closer to tremulous SVN * HUMAN_BVALUE_MODIFIER includes ALIEN_CREDITS_PER_FRAG
2013-01-03* (bug 3057) Granger breaks under certain conditions (Risujin)M. Kristall
* (bug 3256) G_admin_print to a tty should not decolour if com_ansiColor is set (Ben Millwood) * (bug 3392) Console is affected by flag @ (Chris "Lakitu7" Schwarz) * Automatically load default admin levels when g_admin is disabled, since admin commands can still be used (since r894) * Make return value of G_SelectiveRadiusDamage useful and use it for Overmind and Reactor attacks * /entitylist was skipping entity 0 * Check original search string against IP and slot number for !ban * Preserve score and ping so they are always reported correctly * Random refactoring and formatting fixes
2013-01-03* Spawn queue displays ordinals ("You are 2nd in the spawn queue")Michael Levin
* Server does not communicate the number of eggs and telenodes to all clients anymore -- the correct number of spawns is passed to the client when they are in the spawn queue only (puts PERS_UNUSED to use) Sticky and dead spectate (holy fuck that was hard for something so simple sounding): * Big thanks to Lakitu7 for passing along the patch (with contributions from TJW, Undeference, and R1CH) * UI has a new option to enable/disable sticky spectate * Spectators get to see the full dying animation * Dead players can spectate their teammates whether they are in the spawn queue or not I corrected several nasty bugs and recoded a LOT of the patch. Potentially the "spawn without a weapon" thing may have been fixed but maybe not. There are possibly other new bugs so keep an eye out for them.
2013-01-03Added armour files to version control.Michael Levin
2007-09-25* Replace "powerups" state data with "misc"Tim Angus
* Remove ps->ammo[ ] and replace with ps->ammo and ps->clips; this means only one ammo using weapon may be carried at once, but this is the case anyway * No need for BG_(Un)PackAmmoArray anymore, so remove them
2007-09-25* (bug 3307) use boundary checking to prevent potential buffer overflowM. Kristall
* (bug 2969) limit number of players to g_maxGameClients * use G_TeamCommand() for team vote messages
2007-09-23* (bug 2756) s/damage/dmg/Tim Angus
* (bug 2717) Move respawning for ClientThink to ClientEndFrame * Remove redundant cvar g_forcerespawn
2007-09-21* Remove lots and lots of redundant commentsTim Angus
2007-09-16and againM. Kristall
2007-09-16* (bug 3246) votes don't account for players leaving the gameM. Kristall
2007-06-29* check if a target was specified for votes that require one (was choosing theM. Kristall
player at slot 0) * remove some unnecessary code
2007-06-04(bug 2970) fix number of connected player counting and count non-spectatorsM. Kristall
properly (bug 3201) fix a bug where admins following other players can't see team chat
2007-04-25* (bug 2970) fix player counting in relation to team and voting eligibilityTony J. White
(M. Kristall)
2007-03-26* clear CS_WINNER in G_ShutdownGame instead of G_InitGameTony J. White
2007-03-25* ingame menus redesignedTony J. White
* spectators can now participate in non-team votes * added teamvote "admitdefeat" * replaced "nextmap" vote with "draw" * removed vote "clientkick" vote (uses "kick" instead) * removed teamvote "teamclientkick" (uses "kick" instead) * renamed teamvote "teamkick" to teamvote "kick" * added teamvote "denybuild" and "allowbuild" * added vote "mute" and "unmute" * added !denybuild and !allowbuild g_admin commands * added /ignore and /unignore commands (and menu support) * Game -> Info (formerly About) shows server settings instead of local ones * Voting keys can now be configured in the Options menu * Voting key binds now display with the vote status (F3 and F4 will be the eventual default binds for "teamvote yes" and "teamvote no" respectively)
2007-03-23* (bug 3012) teamvote tally was was counting following specs, but not deadTony J. White
teammates
2007-03-03* (bug 3036) clear votes in G_ShutdownGame() in case map_restart was usedTony J. White
2007-03-03* (bug 3008) track when map and map_restart commands are added to the commandTony J. White
buffer with level.restarted. This prevents G_RunFrame() from running until the command is processed by the server code.
2007-02-06* (bug 3020) put a 1 minute maximum on intermission time to prevent infiniteTony J. White
intermissions when only afk or malicious players are on the non-spec teams.
2006-12-29* (bug 2973) support for multiple initial base layouts ( Risujin, vcxzet, tjw )Tony J. White
2006-12-29* Buildable destruction marking (via g_markDeconstruct)Tim Angus
* It's now impossible to destroy the last spawn * Start of a new client side buildable status display
2006-12-20* (bug 2903) remove the unlagged 1-server-frame rewind for missile testsTony J. White
2006-12-13* Added time til sudden death to game stateTim Angus
* Added "tagging" to game stats, so the stats for specific gameplay changes can be tracked
2006-12-09* (bug 2903) Added g_unlagged. This is based on Neil Toronto's unlaggedTony J. White
project. Thanks to kevlarman and WolfWings for help with this implementation for Tremulous.
2006-11-29* Functionalise testing for sudden deathTim Angus
2006-11-14* (bug 2665) P cvar is now constructed from pers.teamSelection so correctTony J. White
team is shown for specs in follow mode (thanks M. Kristall)
2006-10-30* (bug 2894) automatic shoving of teammates on collision. set g_shove to aTony J. White
positive float to adjust the amount of shoving. (recommended value 15.0, default value 0.0)
2006-10-23* (bug 2868) cancel all votes that are in progress when intermissionTony J. White
starts (Martin Doucha)
2006-10-23* (bug 2842) adds g_privateMessages (/m and /mt commands)Tony J. White
2006-09-14* (bug 2666) G_MapConfigs() would try to execute the .cfg for the map that wasTony J. White
finishing instead of the one that was loading when invoked from the maprotation system.
2006-07-31* tjw's spiffy admin system (tjw, obviously)Tim Angus
2006-07-31* Phil Bordelon's g_chatTeamPrefix patchTim Angus
2006-07-02* Obituaries that indicate team kills (tjw)Tim Angus
* g_mapConfigs no longer replaces maprotation.cfg settings (tjw)
2006-06-17* Disallow name changes more frequently than once every 5 seconds (by default)Tim Angus
2006-06-10* Fix to worldspawn defaults bugTim Angus
* Fix to > max damage zap bug * Add g_mapConfigs * Fix item switch when run out of ammo * Fix client side buildable tracing * Fix misc_portal_surface documentation