quakespasm/Quake
sezero e39b2ca3c8 * keys.h: renamed KP_* key macros to K_KP_*.
* key.c (Key_ClearStates): Instead of clearing all key's down state
  and repeat count, run KeyEvent(k,false) keys in down state, which
  will already clear those states for them. This also helps getting
  rid of several actions bound to keypad keys. Minor cleanups.
* gl_vidsdl.c (ClearAllStates): Removed code triggering every key
  with a release event, because we just changed Key_ClearStates() to
  do that for the necessary keys.
* in_sdl.c: Minor cleanups. Made K_KP_5 to send '5' when not in game
  mode, regardless of the numlock status. Moved prev_gamekey to top
  level and call SDL_EnableUNICODE() correctly.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@686 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-06-25 11:20:38 +00:00
..
anorm_dots.h initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
anorms.h initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
arch_def.h * arch_def.h, net_sys.h, wsaerror.h: New headers, adapted from uhexen2. 2010-06-21 10:55:21 +00:00
bgmusic.c changed some of the Cvar_Set[Value] calls to their *Quick variants in the 2011-12-29 21:21:11 +00:00
bgmusic.h bgmusic.c, bgmusic.h: small updates and tidy-ups from uHexen2. 2011-02-16 15:20:20 +00:00
bspfile.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
cd_null.c Made CDAudio_Play() to return success (0) or failure (-1) instead of void. 2011-01-02 18:33:21 +00:00
cd_sdl.c cd_sdl.c: Reverted the CDAudio_Update() change from 27 Oct: it does 2011-10-30 16:56:03 +00:00
cdaudio.h Made CDAudio_Play() to return success (0) or failure (-1) instead of void. 2011-01-02 18:33:21 +00:00
cfgfile.c cfgfile.c (CFG_ReadCvars): Also check for ferror(). Use FS_rewind() 2011-12-27 19:40:14 +00:00
cfgfile.h cfgfile.c (CFG_ReadCvars): Also check for ferror(). Use FS_rewind() 2011-12-27 19:40:14 +00:00
chase.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
cl_demo.c Moved the stufftext_frame global to client_static_t structure and 2012-03-12 08:24:16 +00:00
cl_input.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
cl_main.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
cl_parse.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
cl_tent.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
client.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
cmd.c cmd.c, gl_texmgr.c, gl_texmgr.h: killed the rest of the -Wsign-compare warnings. 2012-03-31 18:30:09 +00:00
cmd.h const correctness changes. 2010-08-29 02:22:55 +00:00
common.c common.c: until COM_CheckRegistered() is called keep the value of the 2012-04-20 19:47:22 +00:00
common.h some common.c cleanup: Made COM_InitFilesystem() public through common.h, 2011-12-29 15:10:18 +00:00
conback.c changed makefiles to use 1/0 instead of yes/no for the codec options. 2011-01-12 09:32:22 +00:00
conback.h conback.c, conback.h: added new QuakeSpasm conback data. 2010-02-18 16:45:28 +00:00
console.c console.c:Con_DrawInput(): some changes for correctness and simplicity 2012-01-07 13:21:42 +00:00
console.h const correctness changes. 2010-08-29 02:22:55 +00:00
crc.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
crc.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
cvar.c - Rename the "Reset defaults" menu option to "Reset config". 2012-01-17 08:25:07 +00:00
cvar.h more cvar cleanups: Added Cvar_LockVar, Cvar_UnlockVar, Cvar_UnlockAll and 2011-12-29 12:28:21 +00:00
d_ifacea.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
draw.h changed makefiles to use 1/0 instead of yes/no for the codec options. 2011-01-12 09:32:22 +00:00
gl_draw.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
gl_fog.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
gl_mesh.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_model.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_model.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_refrag.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_rlight.c * renamed Length() to VectorLength() for consistency with its friends. 2010-08-01 19:22:46 +00:00
gl_rmain.c removed the envmap command which drew to front buffer. adjusted the 2012-04-22 07:55:56 +00:00
gl_rmisc.c removed the envmap command which drew to front buffer. adjusted the 2012-04-22 07:55:56 +00:00
gl_screen.c removed the defunct block_drawing global (btw, it was checked incorrectly 2012-02-10 22:37:07 +00:00
gl_sky.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_texmgr.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_texmgr.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_vidsdl.c * keys.h: renamed KP_* key macros to K_KP_*. 2012-06-25 11:20:38 +00:00
gl_warp.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_warp_sin.h initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
glquake.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
host.c changed some of the Cvar_Set[Value] calls to their *Quick variants in the 2011-12-29 21:21:11 +00:00
host_cmd.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
image.c changed many sprintf() calls into q_snprintf(). 2011-12-27 10:50:42 +00:00
image.h constified the name arguments of Image_LoadImage() and Image_WriteTGA() 2011-12-12 12:56:57 +00:00
in_sdl.c * keys.h: renamed KP_* key macros to K_KP_*. 2012-06-25 11:20:38 +00:00
input.h SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
keys.c * keys.h: renamed KP_* key macros to K_KP_*. 2012-06-25 11:20:38 +00:00
keys.h * keys.h: renamed KP_* key macros to K_KP_*. 2012-06-25 11:20:38 +00:00
main_sdl.c main_sdl.c: added SDL version check at runtime requiring at least SDL-1.2.10 2011-12-22 21:20:19 +00:00
Makefile Makefile, Makefile.darwin: Remove the not-so-useful "install" target. 2012-05-30 17:29:34 +00:00
Makefile.darwin Makefile, Makefile.darwin: Remove the not-so-useful "install" target. 2012-05-30 17:29:34 +00:00
Makefile.w32 Makefiles: defined new variable LINKER. for linkage we no longer use $(CC), 2012-05-30 09:47:45 +00:00
Makefile.w64 Makefiles: defined new variable LINKER. for linkage we no longer use $(CC), 2012-05-30 09:47:45 +00:00
mathlib.c removed all remaining references to id386 and UNALIGNED_OK because 2011-01-01 12:24:28 +00:00
mathlib.h * mathlib.h (IS_NAN): Fixed strict aliasing violation by providing 2012-03-24 06:24:56 +00:00
menu.c Re-introduce KP_* syms, but only "in-game". 2012-06-08 19:27:12 +00:00
menu.h Re-introduce KP_* syms, but only "in-game". 2012-06-08 19:27:12 +00:00
modelgen.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
net.h Limited the struct qsocket_s details only to net_*.c sources : 2012-04-18 20:33:12 +00:00
net_bsd.c net_win.c, net_sdl.c, net_bsd.c, net_defs.h: removed fixed size from net_drivers 2011-12-18 10:00:36 +00:00
net_defs.h net_win.c, net_sdl.c, net_bsd.c, net_defs.h: removed fixed size from net_drivers 2011-12-18 10:00:36 +00:00
net_dgrm.c * net_dgrm.c: Fixed the types of testSocket and test2Socket from int 2012-04-01 18:03:25 +00:00
net_dgrm.h const correctness changes. 2010-08-29 02:22:55 +00:00
net_loop.c const correctness changes. 2010-08-29 02:22:55 +00:00
net_loop.h net_loop.h: Tiny whitespace tidy up. 2011-12-18 09:51:28 +00:00
net_main.c Limited the struct qsocket_s details only to net_*.c sources : 2012-04-18 20:33:12 +00:00
net_sdl.c net_win.c, net_sdl.c, net_bsd.c, net_defs.h: removed fixed size from net_drivers 2011-12-18 10:00:36 +00:00
net_sdlnet.c const correctness changes. 2010-08-29 02:22:55 +00:00
net_sdlnet.h const correctness changes. 2010-08-29 02:22:55 +00:00
net_sys.h net_sys.h: Add __FreeBSD_kernel__ to the HAVE_SA_LEN list. Debian 2012-01-30 10:40:41 +00:00
net_udp.c net_udp.c: Fixed FIONREAD ioctl to take an int* argument instead of 2011-11-12 18:03:49 +00:00
net_udp.h const correctness changes. 2010-08-29 02:22:55 +00:00
net_win.c net_win.c, net_sdl.c, net_bsd.c, net_defs.h: removed fixed size from net_drivers 2011-12-18 10:00:36 +00:00
net_wins.c renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +00:00
net_wins.h const correctness changes. 2010-08-29 02:22:55 +00:00
net_wipx.c * net_sys.h: revert previous commit undefining EWOULDBLOCK and 2011-01-12 20:10:34 +00:00
net_wipx.h const correctness changes. 2010-08-29 02:22:55 +00:00
pl_linux.c pl_linux.c: Set icon only if mask creation is successful. 2012-05-30 18:31:41 +00:00
pl_osx.m Reorganize files for platform-specific code: 2010-06-22 11:01:24 +00:00
pl_win.c Reorganize files for platform-specific code: 2010-06-22 11:01:24 +00:00
platform.h Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
pr_cmds.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
pr_comp.h pr_comp.h, pr_edict.c, progs.h, pr_cmds.c, pr_exec.c: made some of the 2011-12-12 08:56:25 +00:00
pr_edict.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
pr_exec.c pr_exec.c (PR_ExecuteProgram): Implemented some of LordHavoc's 2011-12-12 09:03:34 +00:00
progdefs.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
progdefs.q1 initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
progs.h pr_comp.h, pr_edict.c, progs.h, pr_cmds.c, pr_exec.c: made some of the 2011-12-12 08:56:25 +00:00
protocol.h * client.h: moved usercmd_t structure to protocol.h 2011-12-18 10:03:53 +00:00
q_sound.h Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use 2011-05-20 22:20:30 +00:00
q_stdinc.h updated q_stdinc.h from uhexen2. 2011-06-11 13:20:13 +00:00
qs_bmp.h Minor linux icon tweak. 2012-05-17 06:02:50 +00:00
quakedef.h bumped version to 0.85.8 in the development tree 2012-03-14 07:02:41 +00:00
r_alias.c gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static. 2011-12-30 14:00:28 +00:00
r_brush.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
r_part.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
r_sprite.c Make 'R_DrawSprite' error messages Con_DPrintf. 2011-11-19 23:33:54 +00:00
r_world.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
render.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
resource.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
sbar.c changed many strcpy and strncpy into q_strlcpy 2011-12-27 13:15:31 +00:00
sbar.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
screen.h removed the defunct block_drawing global (btw, it was checked incorrectly 2012-02-10 22:37:07 +00:00
server.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
snd_codec.c Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use 2011-05-20 22:20:30 +00:00
snd_codec.h minor syncing with uhexen2 2011-06-13 12:41:00 +00:00
snd_codeci.h minor syncing with uhexen2 2011-06-13 12:41:00 +00:00
snd_dma.c removed the SNDDMA_GetSamples() call from snd_dma.c:GetSoundtime() for solaris 2012-05-30 09:00:12 +00:00
snd_mem.c changed many strcpy and strncpy into q_strlcpy 2011-12-27 13:15:31 +00:00
snd_mix.c snd_mix.c, minor cleanup: eliminated stupid multiple casting in SND_PaintChannelFrom8(), 2011-02-21 18:03:35 +00:00
snd_mp3.c snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number 2012-04-22 11:02:08 +00:00
snd_mp3.h * snd_mpg123.c: added new codec for mp3 playback using libmpg123 as 2011-02-14 20:02:52 +00:00
snd_mpg123.c snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number 2012-04-22 11:02:08 +00:00
snd_sdl.c * snd_mp3.c: removed useless rudimentary info checks. 2011-01-30 21:34:12 +00:00
snd_vorbis.c snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number 2012-04-22 11:02:08 +00:00
snd_vorbis.h Backported external music files support using decoder libraries and the 2011-01-05 19:50:43 +00:00
snd_wave.c snd_mp3.c, snd_vorbis.c, snd_wave.c: Make _sure_ that the number 2012-04-22 11:02:08 +00:00
snd_wave.h Backported external music files support using decoder libraries and the 2011-01-05 19:50:43 +00:00
spritegn.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
strl_fn.h added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcat.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcpy.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
sv_main.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
sv_move.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
sv_phys.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
sv_user.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
sys.h renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +00:00
sys_sdl_unix.c silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +00:00
sys_sdl_win.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
vid.h changed the rowbytes, width, height, conwidth and conheight members of 2012-03-08 10:14:58 +00:00
view.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
view.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
wad.c common.c (searchpath_t): Added new member `path_id', an unsigned 2011-01-02 21:45:16 +00:00
wad.h const correctness changes. 2010-08-29 02:22:55 +00:00
world.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
world.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
wsaerror.h * arch_def.h, net_sys.h, wsaerror.h: New headers, adapted from uhexen2. 2010-06-21 10:55:21 +00:00
zone.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
zone.h const correctness changes. 2010-08-29 02:22:55 +00:00