summaryrefslogtreecommitdiff
path: root/src/cgame/cg_draw.c
AgeCommit message (Collapse)Author
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
2013-01-03* (bug 3713) Scoreboard marquee causes text display problemsChristopher 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* Fix ordinals in spawn queue to not display 21th, 22th, 23th etc.M. Kristall
* Try to be nice to log parsers
2013-01-03Fix weapon icon ammo countingBen Millwood
* Partially reverting 4f9b9168b506093020ea2fe7fd59c600972b2220 because ammo is immediately set, so the icon has to immediately change too.
2013-01-03* Get rid of uselessly-named itemDef_t->special and replace withBen Millwood
feederID or window.borderSize where applicable.
2013-01-03Improve timing of weapon change feedbackBen Millwood
2013-01-03Zone BPBen Millwood
2013-01-03* add CG_PLAYER_CREDITS_FRACTION to display partial fragsRoman Tetelman
2013-01-03* Restructure G_WideTrace a bitTim Angus
* Fix a load of 1.f style floats to 1.0f
2013-01-03* Fix ordinals in spawn queue to not display 11st, 12nd, 13rd etc.Tim Angus
2013-01-03* s/G_TriggerMenu2/G_TriggerMenuArgs/Tim Angus
* s/ALIEN_CREDITS_PER_FRAG/ALIEN_CREDITS_PER_KILL/
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* Fix HUD being enabled while dead (caused by r1187)Ben Millwood
* Don't allow cg_draw2d to disable no-stamina blindness
2013-01-03* Make missing default_hud a fatal errorBen Millwood
* Move "SPECTATOR" text to the HUD menu files * Make "following" text an ownerdraw
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-03* Fix incorrect positioning of some text display in lagometerBen Millwood
2013-01-03* Revert 89f3c2786ab64bef0213aa97481b39ec4d68884a. so it won't conflict with...Roman Tetelman
2013-01-03Fix dragoon barb display on widescreenBen Millwood
2013-01-03* Revert stagedowns (fixes #2)Roman Tetelman
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* Don't play EV_FALL_FAR sound if deadBen Millwood
* Merging some fixes from mgdev, courtesy of Michael "Risujin" Levin: - Ensure SnapVector always snaps downwards, rather than always towards 0 - Don't send score information that won't be displayed - /give poison as a human poisons rather than boosting * Remove some trailing whitespace * Remove some useless intermediate variables in cg_draw.c * Ammo/clips/build timer display depends on primary weapon rather than equipped - (this also fixes bug 3837)
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* 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* make the enemy team lose a stage when you reach "stage 4"Roman Tetelman
* pleasedonthurtmenorfmademedoit
2013-01-03* make barbs line up with default hud with widescreen resolutionsRoman Tetelman
* (this code still doesn't work with vertical barbs, and possible vertical inventory)
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* crosshairs now use the center of the rectangle defined by the hud for ↵Roman Tetelman
their position, instead of cg_crosshairX/cg_crosshairY
2013-01-03* oopsRoman Tetelman
2013-01-03* CG_PLAYER_LOCATION now respects textalignRoman Tetelman
2013-01-03* Add hud support for location entities (ownerdraw CG_PLAYER_LOCATION)Roman Tetelman
* Fix dumb typo left from debugging in last revision
2013-01-03* redo changeset r250 to avoid hardcoding colorsRoman Tetelman