summaryrefslogtreecommitdiff
path: root/src/cgame/cg_local.h
AgeCommit message (Collapse)Author
2017-03-09refactor stuff/dev/humancontroller
2017-03-09allow particles of child particle systems to be launched with (dynamic) normals/dev/humancontroller
new particle script constructs (in particle blocks): {velocityType | accelerationType} {last_normal | opportunistic_normal} the base vector in case of opportunistic_normal is (0,0,0) if the particle is flying, and is a surface normal vector if the particle is in/on a map surface. the base vector in case of last_normal is always a valid direction, though sometimes an arbitrary one (the up direction). in both cases, the initial value of the last/opportunistic normal vector is propagated from the parent particle. the last/opportunistic vector is a new particle system variable, and the original normal vector is not touched, so this change retains backward-compatibility.
2017-03-09remove the abusable levelshot command and related hacks/dev/humancontroller
2013-03-27Fix some warnings caused by lack of noreturnTim Angus
2013-02-16Update copyright noticesTim Angus
2013-02-16Add renderercommon/tr_common.hTim Angus
2013-01-12Fix a bunch of warningsTim Angus
2013-01-03* (bug 5000) refactor: use ARRAY_LEN; remove undefined functions; more size_tM. Kristall
(/dev/humancontroller)
2013-01-03* Unregister commands advertised by the server when disconnectingM. Kristall
Now that builtin commands can't be removed, this should be safe
2013-01-03* Add ready-related text to cg_tutorial during intermissionChristopher Schwarz
2013-01-03* (bug 4959) Merge ioq3 r1822, r1874 (/dev/humancontroller)Christopher Schwarz
2013-01-03* (bug 4996) Fix invalid configstring errors regarding locations in cgame. ↵Christopher Schwarz
(/dev/humancontroller)
2013-01-03* Cleanups to weapon/upgrade registrationBen Millwood
2013-01-03* Implement cg_staticDeathCam to disable moving the death camera when the ↵Christopher Schwarz
killer moves
2013-01-03* (bug 4814) More options for teamoverlay in attempt to make it more usefulChristopher Schwarz
2013-01-03* (bug 4760) Display Vote Caller (thanks Brian Teapot Shannon, msk, benmachine)Christopher Schwarz
2013-01-03* (bug 4572) Better control over random particle displacementBen Millwood
(in part thanks to Who-[Soup])
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* Generate "player renamed to ..." messages client-sideM. Kristall
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Tutorial text no longer prints how to use a buildable if you aren't near a ↵Christopher Schwarz
usable buildable * Tutorial text explains low-stamina states
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* (bug 4006) Prevent human buildables from playing idle sounds while ↵Christopher Schwarz
unpowered and give them new slightly-different animations so they also look different. In the case of turrets, 'droop' a bit when unpowered. (Rezyn)
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* New ownerdraw for speedometerBen Millwood
- Controlled by cg_drawSpeed, which is a bitfield Bit 1 controls the text draw, bit 2 controls the graph, and bit 4 ignores vertical speed in the calculation.
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* Add [trap_R|RE]_SetClipRegion to prevent rendering outside a specified areaTim Angus
* Rewrite CG_DrawTeamSpectators to scroll on a pixel basis rather than a character basis
2013-01-03* Move more things to cgameM. Kristall
* Bring back "teamoverlay" cvar and default it to 1 * Add "cg_chatTeamPrefix" cvar
2013-01-03* (bug 3998) linewrap cp, parse newlines in cp and motdChristopher Schwarz
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* Remove many unused cvars that don't do anythingChristopher Schwarz
* Remove g_adminNameProtect, force it on * Remove g_chatTeamPrefix, force it on
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-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-03* Get rid of uselessly-named itemDef_t->special and replace withBen Millwood
feederID or window.borderSize where applicable.
2013-01-03add cg_disableBlueprintErrors and un-cvarize g_humanRepeaterAllowOverlapBen Millwood
2013-01-03Zone BPBen Millwood
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
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* Don't display team join message if previous clientinfo was invalid (bug 3960)Ben Millwood
* Move CG_TeamJoinMessage to cg_players.c near where it is used * When changing team, execute cg_(alien|human|spectator)Config as appropriate
2013-01-03* fix for location not updating while following a player (reported by ↵Roman Tetelman
megatog615) * dead buildables no longer bleed
2013-01-03* More thirdperson follow and shoulder-cam stuff:Christopher Schwarz
+ Totally redo all the shoulder view positions + Change cg_thirdPersonShoulderView -> cg_thirdPersonShoulderViewMode and give it new behaviors - 0: always use regular third person view - 1: use regular third person view but go to shoulder during wallwalk (default) - 2: always use shoulder view + Following of the player's pitch (in both modes) is disabled but can be reenabled using cg_thirdPersonPitchFollow 1 - This cvar is intended to be temporary. One way or the other will be kept for trunk. + Unbreak regular third person view during wallwalk (I still don't like the way it looks though) + Add a set of temporary cvars for tweaking shoulder view positions for each class - cg_shoulderViewOverride 1 will activate the following cvars and ignore the hard-coded positions - cg_shoulderViewUp cg_shoulderViewRight cg_shoulderViewForward then offset the views instead - These four cvars will not go to trunk. They are so that people can easily test different viewpoints (to be hardcoded) and suggest them to me during this testing phase.
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* Almost completely redo the meat of the thirdperson spec code againChristopher Schwarz
* Create a shoulder-cam mode that replaces thirdperson when you have cg_thirdPersonShoulderView 1 * Automatically switch to shoulder view when following someone wallwalking
2013-01-03* Update thirdpersonspec to rotate around the correct axis and fix the FOV.Christopher Schwarz
2013-01-03* from __future__ import thirdpersonspec (Lakitu7)Roman Tetelman
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
2013-01-03* (bug 3379) !adjustban command to change reason and duration of bans (flag b)M. Kristall
* (bug 3746) Lookup table for UI commands (Ben Millwood) * and some other refactoring * Fix a couple null dereferences introduced in 1120
2013-01-03* CG_PLAYER_LOCATION now determined by the clientRoman Tetelman
* add trap_R_inPVS to cg_local.h/cg_syscalls.asm
2013-01-03* buildable bleed wip codeRoman Tetelman