summaryrefslogtreecommitdiff
path: root/assets/ui/tremulous_common_hud.h
AgeCommit message (Collapse)Author
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* Layout the location display correctlyTim Angus
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* Fix location hud item to line up correctly and no longer overlap demostateChristopher Schwarz
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* Fix cross-compiling (early merge from ioq3 r1667)Christopher Schwarz
* Prevent crash when using % in chats, caused by r1784 (Ensiform, Rezyn) * Change default hud color of location text to white, so it doesn't mess up color schemes of maps that have such things on their location ents
2013-01-03* Move all non-source-code to assets directoryTim Angus