summaryrefslogtreecommitdiff
path: root/src/game/g_main.c
AgeCommit message (Collapse)Author
2017-03-09do not "exit the level" multiple times when using admin/console commands/dev/humancontroller
2017-03-09implement layout arithmetic and the addlayout command/dev/humancontroller
layout arithmetic features: layout filtering by buildable team or type, loading of union of filtered layouts, saving filtered layouts addlayout: an admin command to place layout elements into the game
2017-03-09allow calling for specific layouts in votes, where applicable/dev/humancontroller
2017-03-09rename g_layouts to g_nextLayout; add a different set of cvars: g_layouts, ↵/dev/humancontroller
g_layouts2, ..., g_layouts9 also remove the latching property
2017-03-09execute map configuration scripts before loading the map/dev/humancontroller
emit exec commands for the map configuration scripts before emitting any map or map_restart commands. during loading, if it is detected, that the scripts were not executed in advance (ie., on the first map load, or when subsequent map or map_restart commands are sent from the console), then emit exec commands for the scripts and restart the map
2017-03-09begin rewriting the voting code to be structured in the representation of votes/dev/humancontroller
with this, at least, the "vote action will restart the map" check can be performed in a non-hacky way
2017-03-09add G_PerformMapChange() and G_PerformMapRestart(), and use them/dev/humancontroller
currently, they abstract the use of trap_SendConsoleCommand() this change happens to add an instance of ``level.restarted = qtrue;''
2017-03-09drop the use of the origin and angles fields of entityState_t in the game module/dev/humancontroller
clear the r.currentAngles field for brushmodel-related entities using the ''angle'' spawn var
2017-03-09refactor stuff/dev/humancontroller
2017-03-09use standard time representation/dev/humancontroller
2017-03-09implement the range marker functionality, use it to create buildable range ↵/dev/humancontroller
markers use the entity 64-bit client-masking extension when available
2017-03-09allow maps to override buildpoint limits/dev/humancontroller
2017-03-09ensure that ent->classname is always non-null (for entity numbers up to ↵/dev/humancontroller
level.num_entities-1, and ENTITYNUM_WORLD, and ENTITYNUM_NONE), for player entities and #ENTITYNUM_NONE in particular
2017-03-09refactor stuff/dev/humancontroller
2017-03-09remove some redundant statements/dev/humancontroller
2017-03-09fix trigger_stage activation upon stage jumps/dev/humancontroller
2017-03-09stop embedding/displaying version information in various cases/dev/humancontroller
2017-03-09do not publish gamestats/dev/humancontroller
TODO: remove the remnants
2015-06-08merge some changes from the old "gpp" branch: edit version tags and the set ↵/dev/humancontroller
the default fs_game to "gpp"
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Fix a bunch of variable set but not used warningsM. Kristall
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* Allow joining teams during warmupM. Kristall
2013-01-03* (bug 4998) Alternate fix for r2211 (/dev/humancontroller)Christopher Schwarz
2013-01-03* (bug 5001) Fix repeater BP queueing, build them with full BP available ↵Christopher Schwarz
(/dev/humancontroller) - Set the queue time short to encourage builders to wait for the queue rather than replace the repeater (Norfenstein)
2013-01-03* (bug 5007) Minor improvements to target_*_win for better behavior in edge ↵Christopher Schwarz
cases (/dev/humancontroller)
2013-01-03* g_disabled* cvars should not persistM. Kristall
2013-01-03* (bug 4948) Nextmap vote can be overwrittenM. Kristall
2013-01-03* Fix timestamps in games.log not resetting after a map_restart (thanks kharnov)Christopher Schwarz
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