summaryrefslogtreecommitdiff
path: root/ui/tremulous_common_hud.h
AgeCommit message (Collapse)Author
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 * Right-align location fieldBen Millwood
* Default teamoverlay off * Make generate-diff.sh slightly more portable
2013-01-03* basic hud that uses CG_PLAYER_LOCATION (Exclamation)Roman Tetelman
2013-01-03* redo changeset r250 to avoid hardcoding colorsRoman Tetelman
2013-01-03* Mass driver reverted to upstream (function and effect)Michael Levin
* Squad marking removed * Marauder walljump reverted to upstream * Minijump removed Enjoy!
2013-01-03* Disabled mipmaps for crosshair shaders -- should prevent them from going ↵Michael Levin
blurry or glitching sometimes * New feature: Squad Marking -- bind in Options -> Misc, marks teammates in your squad by displaying a triangle above them when they are near
2013-01-03* Turrets are smarter and will fire if they can hit their target rather than ↵Michael Levin
when perfectly aligned * Also added two turret params: spin duration and spin down time which give finer control over turret behavior (set their values to minimum) * Fixed some patch problems, spacing and duplicate code * Fixed Sprint/Dodge binding through menu * Tutorial text size shrunk * ALL clients lose their credits entirely when switching teams
2013-01-03Added armour files to version control.Michael Levin
2007-11-08* Merge and move text paint functions into ui_shared.cTim Angus
* Add aspectBias to indicate alignment on non-4:3 video modes * Add "reset <item>" script command to reset an item * Compensate for aspect ratio in lots and lots and lots of places * Release edit field focus when tabbing away * Fix infinite loop bug in text wrapping code when rect is very narrow * Mung .menu scripts to line things up correctly on non-4:3 ratios
2007-11-02* s/ui_loading/ui_hideCursor/Tim Angus
* Hide cursor when using edit fields and binding keys * Remove client side chat handling, moving it to UI module * Remove target and last attacker message modes * Add ui_developer cvar * Fix edit field bug where cvar changes under it * Add onTextEntry UI script event * Give the user some feedback when binding keys * Stop doing a UI refresh when primed (and remove cgame ui_loading sets) * Move cg_drawSnapshot to bottom of the screen
2007-10-30* (bug 3384) Remove server side armoury refresh and replace with UI sideTim Angus
refresh * Add trap_Key_SetOverstrikeMode and trap_Key_GetOverstrikeMode to cgame * Change Text_[Width|Height] to return floats * Add Text_Em[Width|Height] * Add CG_AlignText to cut down on code duplication * Add itemDef_t::textvalignment for vertical text alignment * Add UI_DrawTextBlock to replace a lot of duplicate code * Rewrite text wrapping code from scratch so that it actually works * Add UI_OwnerDrawText * Add expression evaluator to .menu parser * Split off Border_Paint from Window_Paint * Scale slider items to fit their rect * Rework edit field widgets to behave somewhat more correctly * Fix a few listbox widget layout issues * Don't display scrollbars in "notselectable" listbox widgets * Make scoreboard team labels ownerdrawn * Menu script rework + Use the expression evaluator to replace lots and lots of absolute coords with relative ones, hopefully easing future maintenance + Remove lots and lots of textalign[xy] that were present to work around broken text alignment routines + Replace a bunch of numeric constants with ones from menudef.h + Compose the huds from tremulous_common_hud.h + Generally neaten things up + Lots of whitespace fixes