summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
AgeCommit message (Collapse)Author
2017-03-09support GUIDless 1.1 clients/dev/humancontroller
differentiate between 1.1-without-GUID, 1.1-with-GUID, and GPP clients - mark their group in listplayers - generate random GUIDs for GUIDless clients, but do not allow them to gain admin levels - use empty GUID strings for the ban entries of GUIDless clients
2017-03-09implement a function to safely remove any entity/dev/humancontroller
2017-03-09expose the zaps global variable/dev/humancontroller
2017-03-09constize the input-only parameters of a bunch of functions/dev/humancontroller
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-09add G_LayoutExists() and use it/dev/humancontroller
2017-03-09fix up G_MapExists(), and use it more/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-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-09increase MAX_BUILDLOG/dev/humancontroller
2017-03-09increase MAX_UNLAGGED_MARKERS to support higher sv_fps values with unlagged/dev/humancontroller
2017-03-09refactor stuff/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-09fix noclipping players affecting other players/dev/humancontroller
notably, other players were able to stand on the "center" of a noclipped player set an r.contents value of 0 for noclipping clients, backing up the r.contents value in the new ent->client->cliprcontents field
2017-03-09improve the usability of noclip, notarget, give and godmode:/dev/humancontroller
- godmode protects against everything (except suicides via the kill command) - godmode can also be toggled when dead or spectating - noclip, notarget, and godmode retain their status until explicitly toggled (except when outside of devmode, or when reconnecting), notably, they are not turned off when switching teams or suiciding - funds can be given also when dead - noclipping players do not activate any triggers - map geometry does not interfere with noclipping players when it comes to changing classes
2017-03-09add a string duplicating function into the game module/dev/humancontroller
2017-03-09make buildable placement precise/dev/humancontroller
2017-03-09change setviewpos to work as it sounds like/dev/humancontroller
setviewpos now precisely puts the player's view origin to the specified coordinates, and does not spit the player forward; it now optionally takes yaw and pitch arguments for this, setviewpos takes ps->viewheight into account when teleporting the player; TeleportPlayer() now takes an additional float argument specifying the spitting speed of the player; currently, TeleportPlayer() is called with a non-0 argument only from the setviewpos function
2017-03-09refactor stuff/dev/humancontroller
2017-03-09do not publish gamestats/dev/humancontroller
TODO: remove the remnants
2013-03-27Fix some warnings caused by lack of noreturnTim Angus
2013-02-16Update copyright noticesTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* Smarter way to check if teamoverlay info should be sent; don't send upgradeM. Kristall
field for aliens
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* (bug 4984) Show who built a destroyed structure in buildlogM. Kristall
* A non-builder was sometimes credited when a structure self-destructed
2013-01-03* Change the distance of zap chains from 200->150, and make zap chain damage ↵Asa Kravets
attenuate over distance
2013-01-03* (bug 4999) Marauder+ zap bugfixes (/dev/humancontroller)Christopher Schwarz
- Use spherical distance checks instead of cubic - Fix buildables' ability to be zapped by two marauder+'s at once - Chain to targets visible to each other, rather than visible to the zapper - Fix zap effect disappearing too early when target dies
2013-01-03* (bug 5039) Fix buildables to initialize with the correct normal vector, ↵Christopher Schwarz
which should improve falsely self-destructing eggs (/dev/humancontroller)
2013-01-03* const in G_CheckSpawnPointBen Millwood
2013-01-03* Remove some unused spawn functionsBen Millwood
* Put static in g_client.c where appropriate
2013-01-03* (bug 4948) Nextmap vote can be overwrittenM. Kristall
2013-01-03* Change trample to not lose all charge on hitting a structure, and keep ↵Asa Kravets
track of structures to only allow one hit each (thanks Lakitu7)
2013-01-03* (bug 4908) Show BP from marked buildables on the HUDChristopher Schwarz
2013-01-03* (bug 4896) Put quotes around multi-word parameters to admin commands in ↵Christopher Schwarz
the logs, so it is clear whether "kick a b c" was kicking "a b" for "c" or "a" for "b c" (with thanks to /dev/humancontroller for pointing out a buffer safety thing) * (bug 4897) Add a server command "pr" to print raw text to a user or all users (with thanks to /dev/humancontroller for pointing out a small mistake)
2013-01-03* (bug 4746) Give some small score to basilisks for healing teammatesChristopher 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* (bug 4885) Show teamkilled buildings as teamkilled in buildlog to ↵Christopher Schwarz
differentiate from destroyed by the other team
2013-01-03* (bug 4818) Do not queue BP from reactors when a reactor is built nearby ↵Christopher Schwarz
(thanks Asvarox)
2013-01-03* Allow mute and denybuild to target players who are no longer connectedM. Kristall
2013-01-03* Refactor code handling player name matchingM. Kristall
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-03* (bug 4815) Add /pause admin commandChristopher Schwarz
2013-01-03* (bug 4816) Add team imbalance warning messagesChristopher Schwarz
2013-01-03* (bug 4805) fix missing names in namelogJohn Ellis
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 3495) Add support for message censorship (cue "finally!")M. Kristall