summaryrefslogtreecommitdiff
path: root/src/ui/ui_shared.h
AgeCommit message (Collapse)Author
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* Remove used limit parameter from UI_Text_[Width|Height]Tim Angus
2013-01-03* Mild performance improvements to callees of Item_Text_WrapTim Angus
2013-01-03* Refactor emoticon codeM. Kristall
* Remove some redundant code * Make an error non-fatal * Formatting fixes
2013-01-03* Fix broken scoreboardTim Angus
2013-01-03* Update copyright noticesTim Angus
2013-01-03* s/ITEM_TYPE_COMBO/ITEM_TYPE_CYCLE/Tim Angus
* Add ITEM_TYPE_COMBOBOX -- a proper combobox widget * Use ITEM_TYPE_COMBOBOX for video mode selection * General refactoring of the listbox code * Various other assorted tidy-ups
2013-01-03* When ui_chatCommands is enabled, change the "Say:" or "Say to Team:" text ↵Christopher Schwarz
in the prompt to "Command:" when appropriate, so the user can tell that their text will not be sent as chat but executed instead. (tjw)
2013-01-03* Fix text wrapping... againTim Angus
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* (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* Strict type-checking of menu item keywords that use the typeData unionBen Millwood
2013-01-03* Get rid of uselessly-named itemDef_t->special and replace withBen Millwood
feederID or window.borderSize where applicable.
2013-01-03* Various changes resulting from sanity checking against mgdev HEADTim Angus
2013-01-03* Make itemDef_t->typeData a union to avoid dirty typecastsBen Millwood
* Refactor any ui_shared.c that gets in the way
2013-01-03* add variable width to emoticons support. In addition to being aTony J. White
.tga in the /emoticons/ dir of fs_game, emoticon file names need to end with "_{WIDTH}x1.tga". For example, /emoticons/dretch_1x1.tga (square) or /emoticons/rifle_2x1.tga (double-wide)
2013-01-03* UI_Text_* emoticon drawing support (e.g. [dretch] draws Tony J. White
/emoticons/dretch.tga inline with text) * emoticons are square .tga images placed in the /emoticons dir of fs_game * emoticons should probably be 64x64 to look nice * g_emoticonsAllowedInNames (default ON) is an optional server setting to prevent players from using them in names * emoticons can be escaped by prefixing with an additional [ * cvars ui_emoticons and cg_emoticons can be set to 0 to disable drawing of emoticons in ui or cgame contexts respectively * fix color code continuation on wrapped lines * prefix all wrapped lines with a space to prevent chat shenanigans
2013-01-03* (bug 3517) connect.menu isn't properly opened on connectionTim Angus
* Partially revert 772 * Strip off trailing '\n' from server denial messages
2013-01-03* s/r_custom/r_/Tim Angus
* Remove r_mode, making r_width and r_height the only way to choose resolution * Add UI code to parse the detected resolutions list * Make ITEM_TYPE_COMBO do something; basically an ITEM_TYPE_MULTI which is populated by a feeder. A proper combobox widget would be better... in the future maybe * Improve keyboard/mouse button control on ITEM_TYPE_MULTI * Change resolution selection in options menu to use an ITEM_TYPE_COMBO fed by FEEDER_RESOLUTIONS
2013-01-03* Menus_CloseAll() now takes one argument -- force. This argument determines ↵Michael Levin
whether to close all menus or ignore menus that don't respond to CloseAll (via the new dontCloseAll MENU_TRUE attribute). * ui_messagemode2222 and the like won't activate the teamsay menu * Say menu will no longer close when the player dies
2007-11-28* Pass UI module through astyle nad some other filtersTim Angus
2007-11-27* Remove lots of Q3/Team Arena related code from the UI moduleTim Angus
* (bug 3424) Add "noscrollbar" listbox widget property
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
2007-10-02* Merge of ioq3-r1189Tim Angus
+ Fix bug that prevented key up events getting to cgame/ui when not in game + Use Key_[GS]etCatcher everywhere to set keycatcher + Clear all key states when the catcher changes * Slim down client userinfo somewhat * Remove some redundant client autocomplete commands * Actually make use of "menuStack" in the UI module + No longer close all menus when exiting one, instead reverting to the next one on the stack + Cleanup the menu activation functions a little * Truncate text in list columns if it exceeds the column width * Remove maxChars field from columns member of ITEM_TYPE_LISTBOX * Revert r992 due to more general and less buggy/hacky fix from ioq3
2007-03-02* (bug 3043) adds cg_bounceParticles which defaults to 0 on all but theTony J. White
highest built-in graphic setting. When set to 0, particles don't use bounce off anything and therefore their movement doesn't require trace calls. This gives a significant frame rate boost in many situations.
2006-05-16* Removal of bot codeTim Angus
* Refactored botlib parsing code into qcommon
2005-12-10* s/Quake III Arena source code/Tremulous/Tim Angus
* De-quaked various bits and pieces * Integrated Tremulous into the ioq3 source * Relicensed Tremulous to be GPL * It compiles!!!!!!!!11111111!!!!1
2005-12-10* Move the game source from mod/src/ to src/Tim Angus
2005-12-10* Moved existing src directory out the way whilst I merge ioq3Tim Angus
2005-12-08* Merged in a bunch of game side fixed from ioq3Tim Angus
2005-10-03* Removed jump pad code (and associated media loading)Tim Angus
* Removed loading of some Q3 cruft * Spilled events attached to temporary entities are now reattached to their original entities, fixing the missing flame bug * Fixed "suicide god" bug * Fixed bug where zap ignores armour * Fixed missing particle systems when follow-spectating * Fixed potential bug involving dodgy pointer arithmetic in CG_LoadClientInfo * Cleaned up logic in CG_AddPlayerWeapon * MASK_SHOT traces no longer collide with corpses * Corpses timeout in 20 seconds instead of 60 * Improved robustness of spawn validation, fixing the bug on transit * A crapload of whitespace fixes
2005-07-02* Fixed the PTRC system interfering with the observer modeTim Angus
* Refactored observer mode code * Fixed poison cloud being distorted in observer mode (by not rendering it) * Fixed walking wall smoothing being distorted in observer mode (by not performing any smoothing)
2005-06-27* Fixed all the warnings reported after turning on -WallTim Angus
2002-07-29* ScoreboardTim Angus
* Level 1 class blob fire * Loading screen * "SPECTATOR" display uses TA UI * Buildable weapon delays * Display of build points on huds
2001-12-17Added check for ceiling building. Fixed missing menu bugTim Angus
2001-10-19License change to OSMLTim Angus
2001-09-18Switch to TA ui stuffTim Angus