quakespasm/Quake
Sander van Dijk cbd6732189 gl_texmgr.c: Make "gl_texturemode" a cvar with callback.
This has the benefit that it is stored in "config.cfg",
and is reset by "resetall" and "resetcfg". Other than
that though, it behaves exactly the same as before.
(The same console input will lead to the same result
as before when it was a command.)


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@617 af15c1b1-3010-417e-b628-4374ebc0bcbd
2012-01-20 18:59:20 +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 fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source) 2012-01-09 08:10:35 +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 fixed demo playback covering multiple maps (from Pa3PyX's hexen2 source) 2012-01-09 08:10:35 +00:00
cl_tent.c gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. 2010-06-01 10:55:40 +00:00
client.h * client.h: moved usercmd_t structure to protocol.h 2011-12-18 10:03:53 +00:00
cmd.c changed many strcpy and strncpy into q_strlcpy 2011-12-27 13:15:31 +00:00
cmd.h const correctness changes. 2010-08-29 02:22:55 +00:00
common.c silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +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 gl_mesh.c (BuildTris): worked around a type-punned pointer. adapted from quakeforge. 2010-08-01 21:11:16 +00:00
gl_model.c silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +00:00
gl_model.h gl_model.h (model_t): Added a path_id member to store the 2011-01-02 21:55:26 +00:00
gl_refrag.c min/max macros: renamed them to q_min and q_max, moved them common.h. 2011-01-10 10:35:40 +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 gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static. 2011-12-30 14:00:28 +00:00
gl_rmisc.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
gl_screen.c minor cleanup 2012-01-20 17:11:24 +00:00
gl_sky.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +00:00
gl_texmgr.c gl_texmgr.c: Make "gl_texturemode" a cvar with callback. 2012-01-20 18:59:20 +00:00
gl_texmgr.h gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static. 2011-12-30 14:00:28 +00:00
gl_vidsdl.c minor cleanup 2012-01-20 17:11:24 +00:00
gl_warp.c * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +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 gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static. 2011-12-30 14:00:28 +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 silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +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 tidy up osx mouse acceleration hack a bit more. 2012-01-07 09:22:43 +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 silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +00:00
keys.h support for mouse buttons 4 and 5: 2011-02-10 16:10:53 +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 added strlcat.c and strlcpy.c to build. 2011-12-27 11:11:24 +00:00
Makefile.darwin added strlcat.c and strlcpy.c to build. 2011-12-27 11:11:24 +00:00
Makefile.w32 added strlcat.c and strlcpy.c to build. 2011-12-27 11:11:24 +00:00
Makefile.w64 added strlcat.c and strlcpy.c to build. 2011-12-27 11:11:24 +00:00
mathlib.c removed all remaining references to id386 and UNALIGNED_OK because 2011-01-01 12:24:28 +00:00
mathlib.h min/max macros: renamed them to q_min and q_max, moved them common.h. 2011-01-10 10:35:40 +00:00
menu.c Make the "Reset config" message more informative. 2012-01-18 12:00:35 +00:00
menu.h const correctness changes. 2010-08-29 02:22:55 +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 const correctness changes. 2010-08-29 02:22:55 +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 silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +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 * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +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: revert previous commit undefining EWOULDBLOCK and 2011-01-12 20:10:34 +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 Reorganize files for platform-specific code: 2010-06-22 11:01:24 +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 * first shot at cvar flag system and cvar layer clean-ups : 2011-12-28 22:01:33 +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 updated to Steven's new icon. 2010-04-24 12:55:10 +00:00
quakedef.h bumped version to 0.85.7 in the development tree 2012-01-01 12:00:16 +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 z-fighting (flickering gl texture clash most notable in e1m1) bug fix, from Sander. 2011-08-24 07:47:29 +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 just properly use (u)intptr_t where necessary and don't do the cheap hack 2011-04-01 14:55:45 +00:00
render.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
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 Typo: scr_crosshaircale -> scr_crosshairscale (from Sander). 2011-09-21 02:51:56 +00:00
server.h removed privileged member from the client structure 2011-12-12 09:50:23 +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 changed some of the Cvar_Set[Value] calls to their *Quick variants in the 2011-12-29 21:21:11 +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 (S_MP3_CodecOpenStream): Don't Z_Free() stream's private 2011-08-21 09:10:52 +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 Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use 2011-05-20 22:20:30 +00:00
snd_sdl.c * snd_mp3.c: removed useless rudimentary info checks. 2011-01-30 21:34:12 +00:00
snd_vorbis.c updated snd_vorbis.c from the uhexen2 project: support for Tremor (libvorbisidec) 2011-08-27 07:11:02 +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 Sync music stuff with uHexen2: Removed S_FileExtension, replaced its use 2011-05-20 22:20:30 +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 changed some of the Cvar_Set[Value] calls to their *Quick variants in the 2011-12-29 21:21:11 +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 gl_texmgr.c, gl_vidsdl.c: made a lot of functions and variables static. 2011-12-30 14:00:28 +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 z-fighting (flickering gl texture clash most notable in e1m1) bug fix, from Sander. 2011-08-24 07:47:29 +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 silenced -Wsign-compare warnings. 2011-12-29 19:06:08 +00:00
zone.h const correctness changes. 2010-08-29 02:22:55 +00:00