summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
AgeCommit message (Collapse)Author
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
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* (bug 3291) Add /buildlog and /revert commands to combat grief building ↵Christopher Schwarz
(Undeference, Rezyn, and originally Benmachine)
2013-01-03* Queue BP according to the proportion of damage that came from ↵Christopher Schwarz
not-friendly-fire (e.g. things killed entirely by FF have their BP returned instantly, and those killed by enemies/other have their BP queued, and others split accordingly) * Human buildings dying from no power now uses MOD_NOCREEP instead of MOD_SUICIDE * Attribute deaths caused by nopower, nocreep, and human buildable blowup-chain-reactions to the person that killed the egg/power/original building that started the chain * Minor cleanups of unused functions/variables
2013-01-03* (bug 4573) Use markdecon (instant of instant-decon) when buildings are ↵Christopher Schwarz
unpowered but are about to be powered by a currently-building
2013-01-03* Fix handling of invalid userinfoChristopher Schwarz
2013-01-03* Revert revision 1965 and parts of revisions 1962 and 1966 since muted playersM. Kristall
should be allowed to join/switch teams
2013-01-03* Use bitmasks instead of arrays for keeping track of whether/how a player votedM. Kristall
2013-01-03* Prevent people from reconnecting so they can call more votesM. Kristall
* Remove a few unused variables and an unused function
2013-01-03* Prevent reparsing IP addresses for subnet bansM. Kristall
2013-01-03* Separate namelog from adminM. Kristall
* Client to namelog mapping * Merge mute, denybuild, ptr in namelog; remove ptr
2013-01-03* Remove hovelM. Kristall
* Require buildable names instead of buildnums in layouts
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes