summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
AgeCommit message (Collapse)Author
2017-03-09also display, on the speedometer, the maximum speed reached within a time window/dev/humancontroller
the cg_maxSpeedTimeWindow cvar configures, in milliseconds, the time window; at most 4096 speed samples are stored (so a time window setting of 4 seconds is guaranteed to work even at 1000fps)
2017-03-09also use configstring #CS_LOCATIONS+0 for storing location names/dev/humancontroller
includes some refactoring
2017-03-09remove some '\n's from strings passed to error calls/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-09remove the abusable levelshot command and related hacks/dev/humancontroller
2017-02-07silence some MSVC warnings/dev/humancontroller
2014-06-17Various adjustments so it compilesTim Angus
2013-02-16Update copyright noticesTim Angus
2013-01-03* Simplify some weapon-related code (re r1431)M. Kristall
2013-01-03* Fix a bunch of variable set but not used warningsM. Kristall
2013-01-03* Periodically update scoreboard when visible if +scores is held down a whileM. Kristall
or bound to a *lock key. This will also update pings during intermission
2013-01-03* Silence dumb compiler warningChristopher Schwarz
2013-01-03* Make weapon registration error reporting less touchy and more informativeBen Millwood
2013-01-03* (bug 4908) Show BP from marked buildables on the HUDChristopher Schwarz
2013-01-03* Cleanups to weapon/upgrade registrationBen Millwood
2013-01-03* Small enhancements to tutorial text, including telling players to sell ↵Christopher Schwarz
their old weapon first at the armoury
2013-01-03* Don't display location during intermissionBen Millwood
2013-01-03* Remove used limit parameter from UI_Text_[Width|Height]Tim Angus
2013-01-03* Fix teamoverlay support players mode for human teamChristopher Schwarz
2013-01-03* (bug 4817) Print cgame vote display on multiple linesChristopher Schwarz
2013-01-03* (bug 4814) More options for teamoverlay in attempt to make it more usefulChristopher Schwarz
2013-01-03* (bug 4764) Fix occaisionally showing [0] for teammate health in crosshair ↵Christopher Schwarz
name text (thanks Kiwi)
2013-01-03* (bug 4268) Disable vote bind instructions when tutorial mode is offChristopher Schwarz
* (bug 4811) Fix colour bleed in vote reasons (Brian "Teapot" Shannon) * Decolour vote caller for consistency with the other vote elements
2013-01-03* (bug 4760) Display Vote Caller (thanks Brian Teapot Shannon, msk, benmachine)Christopher Schwarz
2013-01-03* Fix the fact that teamoverlay was being drawn above where the hud told it ↵Christopher Schwarz
to be, and it wasn't respecting the right-side bbox either. Make it valign in the center of its bbox. * Align columns of teamoverlay and pad/truncate where necessary * Default/GPP HUD: Move cg_tutorial down a little bit and also make it valign center. * Default/GPP HUD: Move teamoverlay down a little bit and set the scale to 0.85
2013-01-03* Remove hovelM. Kristall
* Require buildable names instead of buildnums in layouts
2013-01-03* Renamed MAX_STAMINA to STAMINA_MAX and moved to tremulous.hAsa Kravets
2013-01-03* Fix broken scoreboardTim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Remove the colours from the warmup warningTim 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* Don't draw crosshair during intermissionChristopher Schwarz
2013-01-03* Fix location hud item from truncating text when it shouldnt, which was ↵Christopher Schwarz
only happening on higher resolutions for some crazy reason
2013-01-03* Change "kills" to "frags" on the alien "x until next stage" message ↵Christopher Schwarz
(Norfenstein)
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* Fix UI_Text_Paint_Limit() function, which was printing a max of one ↵Christopher Schwarz
character ever, but nothing was using it so nobody noticed (thanks Oopss) * Add ALIGN_NONE and VALIGN_NONE types for CG_Text_Align function * Slightly widen the location item on the default hud, since just a little bit more fits most maps better * Prevent seeing crosshair playername text for players on the other team while in SPECTATOR_LOCKED * Fix formatting nitpick from a few revisions ago
2013-01-03* Move teamoverlay out of the common_hud and into the team common huds. ↵Christopher Schwarz
Prevents showing when dead (use deadspec for this) and showing in white-on-white colors * Hide teamoverlay when the scoreboard is displayed
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* (bug #4265) Fix CG_WorldToScreen to accomdate cg_viewsizeTim Angus
* (bug #4265) Clip health bars to the cg_viewsize viewport
2013-01-03* Fix random whitespaceTim Angus
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* 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* (bug 4302) Fix server join listChristopher Schwarz
- Merge featured / regluar server list back into one list, with featured sorted to the top and sporting emoticons to show their distinction - Show a key for the featured server type icons (Exclamation) * (bug 4303) Disallow (escape) emoticons in server hostnames
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* Cleanup r1769 (kevlarman)Christopher Schwarz
2013-01-03* Tweak previous commit to satisfy picky compilersChristopher Schwarz
2013-01-03* Prevent location hud item from being cut off incorrectlyChristopher Schwarz
2013-01-03* Whitespace/floating point tweaksTim Angus
2013-01-03* (bug 3998) linewrap cp, parse newlines in cp and motdChristopher Schwarz