summaryrefslogtreecommitdiff
path: root/src/game/bg_public.h
AgeCommit message (Collapse)Author
2017-03-09refactor stuff/dev/humancontroller
2017-03-09stop using PERS_SCORE from the server component/dev/humancontroller
because score is a game-specific thing also, this prevents (Aasimar's hack) the use of server status queries to determine who is spectating whom
2013-02-16Update copyright noticesTim Angus
2013-01-03* Simplify some weapon-related code (re r1431)M. Kristall
2013-01-03* Remove now unused join-during-warmup errorM. Kristall
2013-01-03* (bug 5092) Improve ckit repair targeting direction (/dev/humancontroller/)Christopher Schwarz
2013-01-03* (bug 4908) Show BP from marked buildables on the HUDChristopher Schwarz
2013-01-03* (bug 4879) Prevent teamchanges for gameplay exploit reasons by enforcing a ↵Christopher Schwarz
30 second wait before you can change again
2013-01-03* (bug 4760) Display Vote Caller (thanks Brian Teapot Shannon, msk, benmachine)Christopher Schwarz
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* Squeeze eFlags back into 16 bitsBen Millwood
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
2013-01-03* Complain about too many target_locationsM. Kristall
* Do not send "unknown" location since it is ignored and may not always be sent * Remove unused CS_PRECACHES
2013-01-03* Renamed MAX_STAMINA to STAMINA_MAX and moved to tremulous.hAsa Kravets
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Stop using numeric constants in logs because they are unreliable (log parsersM. Kristall
will need to be updated)
2013-01-03* Stamina changes/fixes (kevlarman)Christopher Schwarz
- Restore blacking out when you run out of stamina - Add cg_sprintToggle, allowing the sprint button to act as a toggle between always-sprinting or not - Walk overrides sprint, by popular demand - Modify the stamina "bolt" to better differentiate between states - Allow one to begin a sprint when stamina is negative (even though it is generally a bad idea for them, at least their button presses do something!) * When avilable, use predictedplayerstate for cg_drawSpeed to reduce latency (kevlarman)
2013-01-03* Add game_memory and cgame_memory commands to give a breakdown of memoryM. Kristall
* Make clientlist team colors more consistent with team colors elsewhere
2013-01-03* Use binary searching instead of linear searching for many static arraysM. Kristall
2013-01-03* (bug 2923) Add ability to have a "warmup" time where players cannot join a ↵Christopher Schwarz
team, in order to prevent dretches with fast computers from camping the other base before the humans even load the map. Disabled by default; set g_doWarmup 1 to enable.
2013-01-03* Various small style fixes/corrections/changes (Undeference, Timbo, benmachine)Christopher Schwarz
* Restore /ignore functionality to a couple message types I forgot (Undeference) * Fix some color bleeds on names (Rezyn) * Fix an uninitialized buffer in featured labels (Rezyn) * Apply team colors to only the letter and not the brackets too, in cg_chatteamprefix (Undeference) * Default cg_drawcrosshairs 2, crosshairs for everything (kevlarman)
2013-01-03* (bug 2991) Add teamoverlay, an optional hud display showing names, health, ↵Christopher Schwarz
class/equipment, and locations of teammates - Disable with cg_drawTeamOverlay 0 or remove it from your hud - Control number of teammates to show with cg_teamOverlayMaxPlayers - When teamoverlay is enabled, show health of teammates next to their name when the crosshair is over them - Servers who dislike gameplay effects or want to save on bandwidth use can use g_allowTeamOverlay 0 to disable the feature for players - Special thanks to Risujin for bring this idea and the original patch to Tremulous * Cache teaminfo on the server and send only when needed (Undeference) * Increase frequency of sending updated teaminfo (Undeference)
2013-01-03* (bug 4298) Fix decon messages, add build messagesChristopher Schwarz
- Fix decon messages/logging to work when g_friendlyBuildableFire=0 (Rezyn) - Add messages/logging of building, including what was replaced (Rezyn)
2013-01-03Balance tweaksAsa Kravets
* increased goon repeat 700 -> 900 * increased advanced goon repeat 600 -> 800 * increased goon (both) pounce charge time 700 -> 900 * increased tyrant repeat 750 -> 800 * decreased hive health 175 -> 125 * swapped prices of flamer and prifle
2013-01-03* (bug #3836) Add [SV|trap]_SetConfigstringRestrictions which prevents someTim Angus
clients receiving a config string * Move BG_ClientList* to Com_ClientList* * Split CS_STAGES into CS_ALIEN_STAGES and CS_HUMAN_STAGES
2013-01-03* Massive refactor of voting codeM. Kristall
* Remove cvar g_suddenDeath since it is no longer needed * "Sudden Death in 0 seconds!" should no longer display on map start when sudden death is disabled
2013-01-03* Fix ordinals in spawn queue to not display 21th, 22th, 23th etc.M. Kristall
* Try to be nice to log parsers
2013-01-03* Reduce generic1 to 10 bitsTim Angus
* Remove buildable health scaling/masking stuff; 10 bits is plenty now * Potentially fix bug where many PVS entering buildables would inappropriately make damaged sounds
2013-01-03Scrap PMF_TIME_KNOCKOFF so pm_flags fit in 16 bitsBen Millwood
2013-01-03* Cleanup thirdperson spec codeChristopher Schwarz
- Remove the temporary manual override cvars - Bring back cg_thirdpersonangle by request even though it's only useful in non-gameplay cases - Move thirdperson view offset values to classconfigs where they belong - Attempt once again to fix cg_thirdpersonpitchfollow
2013-01-03Remove repeater overlap prevention codeBen Millwood
2013-01-03Reduce redundancy in Cmd_Build_fBen Millwood
2013-01-03Zone BP updates, and a minor bug fixBen Millwood
* Add g_humanRepeaterAllowOverlap defaulting to 1 * Add a build error message when building a repeater would cause a power zone to overlap * Lower DC range from 10,000 -> 1,000 * Repeaters will suicide if they are *inside* of another power zone * Unpowered buildables no longer take away BP from the main reactor zone * Repeaters will only power the BP that can be built from them * Repeaters can now be moved * Don't set s.misc anymore since BP is calculated server-side * Fix G_IsDCCBuilt( ) so that it can return true even if a DC is built farther than DC_RANGE units from position 0, 0, 0
2013-01-03Zone BPBen Millwood
2013-01-03* Replace BG_(Un)PackZapTargets with more generic and less muddled ↵Tim Angus
BG_(Un)PackEntityNumbers
2013-01-03* Use the MN_ system for team lock and player limit messagesTim Angus
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* make zap damage instantRoman Tetelman
2013-01-03* make zap display targets beyond 3 and general zap cleanupRoman Tetelman
* Remove version determining code from makefile since it has to walk 300 revisions every compile and produces incorrect results anyway
2013-01-03* Remove unused references to bankBen Millwood
* Remove cg_drawStatus as it's pretty much unused, too
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-03Improvements, fixes, and cleanups to smooth regenBen Millwood
* Store player class regeneration rates as floats * Only calculate regen modifier once if replenishing multiple health points simultaneously
2013-01-03* redo hovel removal in a way that doesn't break log parsers (reported by msk)Roman Tetelman
2013-01-03* remove hovel (fixes #26) (todo: go back and actually remove the code)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* Remove SS_INFESTING and PM_SPINTERMISSION since they were not usedBen Millwood
* Merge SS_WALLCLIMBINGCEILING and EF_WALLCLIMBCEILING * Remove ui_emoticons, using the value of cg_emoticons for both contexts. * Add PM_Paralyzed() to get rid of all the silly >= PM_DEAD comparisons * Don't allow players to taunt while dead * Fix full ammo check in reload (oops) * Fiddle with bg_lib.h _MAX/_MIN defines, fix min(), add [u]intX_t typedefs * Remove non-functional cgame command (thanks Amanieu for spotting)
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* 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