summaryrefslogtreecommitdiff
path: root/src/client/cl_keys.c
AgeCommit message (Collapse)Author
2017-03-09implement part 1 of the multi-protocol functionality: protocols/dev/humancontroller
this contains support for connecting via, and serving simultaneously via, any of the three protocols: latest, GPP and 1.1 alternate-1 means protocol 70 (GPP), alternate-2 means protocol 69 (1.1) relevant cvars: - net_alternateProtocols - net_alt{1|2}port[6] - sv_alt{1|2}master{1|...|5} - sv_clAltProto{0|..|63}
2015-03-17SDL 2 scroll/caps/num lock keys send KEYUP event when key is releasedZack Middleton
2014-08-28Readd backspace char event for UI VM text fieldsZack Middleton
UI VMs expect a backspace char event, but sdl2 branch only was only sending a key event. Revert cl_keys.c to master branch (it would cause backspace to happen twice in console).
2014-08-28Use SDL 2 instead of SDL 1.2Tim Angus
2014-06-17Fix "bind <key>" message for unbound keysZack Middleton
"bind X cmd; unbind X; bind X" now says '"x" is unbound' instead of '"x" = ""'
2014-06-17Fix bind commands getting run when closing UIZack Middleton
Introduced in commit "Add togglemenu command" bf2b04. Don't let UI key event changing key catcher affect bind parsing. Bind parsing itself will never change the key catcher. Example of issue: if mouse1 is bound to +attack when clicking Resume Game, player will shoot until releasing the mouse button. Mouse button should have to be released and pressed again before player will shoot.
2013-05-31drop some useless return statements/dev/humancontroller
2013-03-19Show lowercased ascii in bind commandZack Middleton
2013-03-19Fix Key_StringToKeynum to return lowercased asciiZack Middleton
Fixes bind and unbind uppercase ascii and uppercase ascii in cl_consoleKeys. keycodes.h states "normal keys should be passed as lowercased ascii"
2013-02-16Update copyright noticesTim Angus
2013-02-16Run toggleconsole in binds while in menu or message modeZack Middleton
2013-02-16Add togglemenu commandZack Middleton
Allow togglemenu to be run in binds while in menu or message mode.
2013-01-10- Improve game_restart: * differing screen resolutions and network settings ↵Thilo Schulz
are now honoured when changing fs_game * Fix hunk memory leak on game_restart * Move cls.state and cls.servername to clc so connection state is fully preserved over game_restart * Revert back to previous fs_game after disconnecting from a server that triggered a game_restart * Fix error dialog popping up after every game_restart if an error happened previously (reported by Ensiform) - Fixed that not all commands added by CL_Init() would be removed by CL_Shutdown()
2013-01-03* Merge ioq3-r1946Tim Angus
2013-01-03* Merge ioq3-r1813Tim Angus
2013-01-03* (bug 4684) Don't stop playing a demo when someone presses TAB etc. (Giulio ↵Christopher Schwarz
Dignitoso)
2013-01-03* Update copyright noticesTim Angus
2013-01-03* Merge ioq3-r1666Tim Angus
2013-01-03* Merge ioq3-r1498, by popular demandTim Angus
2013-01-03* Merge ioq3-r1464Tim Angus
* Use WM cursor when running windowed and UI module has input
2013-01-03* Merge ioq3-r1458Tim Angus
2013-01-03* Merge ioq3-r1423Tim Angus
+ IPv6 + VoIP + Stereo rendering + Other minor stuff
2007-11-03* Merge ioq3-r1204Tim Angus
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-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-09-22* Merge of ioq3-r1186Tim Angus
2007-09-05* Merge of ioq3-r1163Tim Angus
+ SDL everywhere + New R_LoadImage + net_ip.c + Window icon + GUI based dedicated server support + Compile time linked OpenGL * Remove ui_menuFiles cvar
2007-08-24* Merged ioq3-r1133Tim Angus
+ PNG image loader + Non-gas dependent x86_64 VM + Collision optimisations + Slew of other bug fixes
2007-07-15* Merge of ioq3-r1112Tim Angus
2007-03-23* ioq3 r1053 mini-merge to restore cgame compatability with older clientsTony J. White
2007-03-21* ioq3-r1052 mergeTim Angus
2006-11-28* Merge ioq3-989Tim Angus
2006-02-13* Merged ioq3-r540Tim Angus
2006-01-27* Merged ioq3-r529Tim Angus
- Quick fullscreen changes - Fix to that server crashing memory leak - Some FreeBSD changes * Default for r_znear changed
2006-01-24* Merged ioq3-r522Tim Angus
- i586 is now default -march - Couple of OpenAL "bug" fixes - Fancy autocompletion - Delete key on *nix fixed - Client now sleeps when inactive - Persistent console history
2006-01-18* Added BG_FindUsableForUpgradeTim Angus
* Added BG_UpgradeClassAvailable * Added generalised BG_*IsAllowed functions * Added some binding traps to cgame * Added tutorial mode (cg_tutorial)
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* Copied ioq3 src to trunkTim Angus