quakespasm/Quake
sezero 65d248f750 gl_vidsdl.c: comment out the rest of vid_refreshrate usage which isn't supported.
(VID_SetMode): check whether SDL_SetVideoMode() actually succeeded. otherwise we
just segfault. noticed by Sander.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@530 af15c1b1-3010-417e-b628-4374ebc0bcbd
2011-12-18 16:27:14 +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 minor syncing with uhexen2 2011-06-13 12:41:00 +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_bsd.c added linux, bsd and windows native cdaudio code from uhexen2. 2011-01-15 09:50:17 +00:00
cd_linux.c added linux, bsd and windows native cdaudio code from uhexen2. 2011-01-15 09:50:17 +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
cd_unix.h added linux, bsd and windows native cdaudio code from uhexen2. 2011-01-15 09:50:17 +00:00
cd_win.c added linux, bsd and windows native cdaudio code from uhexen2. 2011-01-15 09:50:17 +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
chase.c * renamed Length() to VectorLength() for consistency with its friends. 2010-08-01 19:22:46 +00:00
cl_demo.c cl_demo.c: Several tidy-ups and message corrections 2011-10-09 08:51:29 +00:00
cl_input.c Made the cmd argument of CL_SendMove() const. 2011-12-12 14:11:17 +00:00
cl_main.c Made the cmd argument of CL_SendMove() const. 2011-12-12 14:11:17 +00:00
cl_parse.c CL_ParseUpdate: removed unused bitcounts[] array 2011-12-13 19:00:25 +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 Cmd_Alias_f: don't append a space at the very end. 2011-12-13 18:40:23 +00:00
cmd.h const correctness changes. 2010-08-29 02:22:55 +00:00
common.c removed the LoadBufFile method 2011-08-03 19:22:29 +00:00
common.h removed the LoadBufFile method 2011-08-03 19:22:29 +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 renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +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 const correctness changes. 2010-08-29 02:22:55 +00:00
cvar.h const correctness changes. 2010-08-29 02:22:55 +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 Typo: scr_crosshaircale -> scr_crosshairscale (from Sander). 2011-09-21 02:51:56 +00:00
gl_fog.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_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 gl_model.c (Mod_SetExtraFlags): Fixed r_nolerp_list.string parsing code 2011-12-14 14:21:12 +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 renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +00:00
gl_rmisc.c renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +00:00
gl_screen.c renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +00:00
gl_sky.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_texmgr.c gl_texmgr.c (TexMgr_LoadPalette): properly point to d_8to24table_fbright 2011-12-15 06:37:12 +00:00
gl_texmgr.h just properly use (u)intptr_t where necessary and don't do the cheap hack 2011-04-01 14:55:45 +00:00
gl_vidnt.c check for arguments to several command line options. patch from Sander van Dijk. 2011-04-19 18:29:41 +00:00
gl_vidsdl.c gl_vidsdl.c: comment out the rest of vid_refreshrate usage which isn't supported. 2011-12-18 16:27:14 +00:00
gl_warp.c host_cmd.c, console.c, gl_draw.c, image.c, gl_model.c, r_sprite.c, cl_parse.c, 2010-05-31 07:42:36 +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 const correctness changes. 2010-08-29 02:22:55 +00:00
host.c SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
host_cmd.c host_cmd.c (Host_Loadgame_f): Close the file before signalling an error 2011-12-15 06:31:51 +00:00
image.c constified the name arguments of Image_LoadImage() and Image_WriteTGA() 2011-12-12 12:56:57 +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 SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +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 SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
keys.h support for mouse buttons 4 and 5: 2011-02-10 16:10:53 +00:00
main_sdl.c SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
Makefile updated makefiles. 2011-08-27 07:11:36 +00:00
Makefile.darwin updated makefiles. 2011-08-27 07:11:36 +00:00
Makefile.w32 updated makefiles. 2011-08-27 07:11:36 +00:00
Makefile.w64 updated makefiles. 2011-08-27 07:11:36 +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 menu.c (M_ToggleMenu_f): Set key_dest to key_game only if the client 2011-12-15 16:21:36 +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 net_dgrm.c: removed the DEBUG build condition around the "Forged packet received" 2011-12-18 09:50:49 +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 renamed Sys_FloatTime to Sys_DoubleTime (the thing always returned double 2011-12-12 16:01:01 +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 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_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 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_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 * client.h: moved usercmd_t structure to protocol.h 2011-12-18 10:03:53 +00:00
r_alias.c * renamed Length() to VectorLength() for consistency with its friends. 2010-08-01 19:22:46 +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 fixed several gcc-4.6 -Wunused-but-set-variable warnings. 2011-04-12 12:36:04 +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 in Sbar_DrawFace(), don't let the index derived off cl.stats[STAT_HEALTH] 2011-10-19 20:10:49 +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_alsa.c added native sound code snd_alsa.c, snd_oss.c, snd_win.c and for future 2011-03-28 11:37:44 +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 Update sndspeed cvar when it is changed from the command line (from Sander). Note in-game changes of the sound cvars don't change sound playback settings or behaviour. 2011-09-20 22:45:52 +00:00
snd_mem.c * snd_mp3.c: removed useless rudimentary info checks. 2011-01-30 21:34:12 +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_oss.c a little syncing with uhexen2. 2011-06-12 12:25:22 +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
snd_win.c added native sound code snd_alsa.c, snd_oss.c, snd_win.c and for future 2011-03-28 11:37:44 +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
sv_main.c sv_main.c: changed a (cls.state != ca_dedicated) condition into (!isDedicated) 2011-12-18 09:55:18 +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 Trial a new Freeze cvar. 2011-06-10 03:04:51 +00:00
sv_user.c removed privileged member from the client structure 2011-12-12 09:50:23 +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 SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
sys_sdl_win.c SDL input driver: updated from the uHexen2 project adding native keymap 2011-12-16 14:11:37 +00:00
vid.h Some more tidy-up and minor fixing in net stuff. Largely trivial. Also 2010-06-20 10:03:05 +00:00
view.c mlook and lookspring fixes by Jacques Krige : 2011-08-25 21:37:34 +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
winquake.h added windows version detection back from original sources 2010-12-30 17:00:19 +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 zone.c (Z_Realloc): If expanding size, zero-fill the expanded part 2011-07-17 14:00:48 +00:00
zone.h const correctness changes. 2010-08-29 02:22:55 +00:00