quakespasm/Quake
Ozkan Sezer a68e196950 snd_mix.c: General whitespace and formatting tidy up.
(DWORD): Deleted macro.
(S_TransferStereo16): Removed unnecessary pbuf pointer and used shm-> buffer
directly.
(S_TransferPaintBuffer): Removed unnecessary pbuf pointer and used shm-> buffer
directly. Removed the shadowing instance of snd_vol and used the global var.
(S_PaintChannels): Replaced Q_memset with memset.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@179 af15c1b1-3010-417e-b628-4374ebc0bcbd
2010-06-03 16:28:30 +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
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 cd_sdl.c: replaced the stub with the implementation we have in the uhexen2 project. 2010-02-16 12:51:25 +00:00
cd_sdl.c cd_sdl.c: replaced the stub with the implementation we have in the uhexen2 project. 2010-02-16 12:51:25 +00:00
cdaudio.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
chase.c chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +00:00
cl_demo.c cl_demo.c (CL_PlayDemo_f): get rid of the menu and/or console when starting a demo. 2010-02-16 09:55:13 +00:00
cl_input.c chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +00:00
cl_main.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
cl_parse.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
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 bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
cmd.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
cmd.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
common.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
common.h common.h: tweak the qboolean and NULL definitions for __cplusplus. from uhexen2. 2010-05-31 12:10:25 +00:00
conback.c conback.c, conback.h: added new QuakeSpasm conback data. 2010-02-18 16:45:28 +00:00
conback.h conback.c, conback.h: added new QuakeSpasm conback data. 2010-02-18 16:45:28 +00:00
console.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
console.h console.c: Added LOG_Init() and LOG_Close() as two new procedures, adapted 2010-04-27 08:24:13 +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 cvar.c (Cvar_RegisterVariable): change the callback function argument type 2010-05-31 08:01:29 +00:00
cvar.h cvar.c (Cvar_RegisterVariable): change the callback function argument type 2010-05-31 08:01:29 +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 bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
gl_draw.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_fog.c chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +00:00
gl_mesh.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_model.c gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. 2010-06-01 12:10:49 +00:00
gl_model.h chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +00:00
gl_refrag.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
gl_rlight.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
gl_rmain.c gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. 2010-06-01 10:55:40 +00:00
gl_rmisc.c gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. 2010-06-01 10:55:40 +00:00
gl_screen.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_sky.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_texmgr.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_texmgr.h make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +00:00
gl_vidnt.c gl_vidnt.c, gl_vidsdl.c: if 0'ed out unused CheckArrayExtensions(). 2010-04-27 12:40:19 +00:00
gl_vidsdl.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.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 gl_vidnt.c (GL_MTexCoord2fFunc, GL_SelectTextureFunc): these aren't externs 2010-04-23 09:50:44 +00:00
host.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
host_cmd.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
image.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
image.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
in_sdl.c moved BuildKeyMaps(), Key_Map() and key_map[] from keys.c to in_sdl.c. 2010-04-24 16:25:08 +00:00
input.h changed SDL conditional in input.h to SDL_MAJOR_VERSION 2010-04-24 16:54:55 +00:00
keys.c keys.c (Key_SetBinding): Avoid the C++ keyword "new". 2010-05-31 06:39:09 +00:00
keys.h moved BuildKeyMaps(), Key_Map() and key_map[] from keys.c to in_sdl.c. 2010-04-24 16:25:08 +00:00
main_sdl.c main_sdl.c (main): Remove leading linefeed from the init message. 2010-04-27 07:15:19 +00:00
Makefile Makefiles: tweaked+tidied the objects (based on uhexen2 makefile.) 2010-04-24 15:55:02 +00:00
Makefile.darwin Makefiles: tweaked+tidied the objects (based on uhexen2 makefile.) 2010-04-24 15:55:02 +00:00
Makefile.w32 Makefiles: tweaked+tidied the objects (based on uhexen2 makefile.) 2010-04-24 15:55:02 +00:00
Makefile.w64 Makefiles: tweaked+tidied the objects (based on uhexen2 makefile.) 2010-04-24 15:55:02 +00:00
mathlib.c mathlib.h (max, min): The min and max were declared as inline but 2010-05-31 10:56:27 +00:00
mathlib.h mathlib.h (max, min): The min and max were declared as inline but 2010-05-31 10:56:27 +00:00
menu.c menu.c (m_return_state, m_quit_prevstate): fixed typo. 2010-05-31 10:12:00 +00:00
menu.h menu.c (m_return_state): changed type to m_state_e 2010-05-31 09:15:50 +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 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_dgrm.c gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. 2010-06-01 12:10:49 +00:00
net_dgrm.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_loop.c cmd.c (Cbuf_Execute), net_dgrm.c (Datagram_GetMessage), net_loop.c (Loop_GetMessage): 2010-02-19 23:55:17 +00:00
net_loop.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_main.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
net_sdl.c console.c, gl_vidsdl.c, host_cmd.c, in_sdl.c, main.c, menu.c, net_sdl.c, 2010-02-17 23:32:04 +00:00
net_sdlnet.c net_sdlnet.c (SDLN_GetAddrFromName): use net_hosport instead of hardcoded 2010-03-06 10:29:43 +00:00
net_sdlnet.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_udp.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
net_udp.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_win.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
net_wins.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
net_wins.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
pl_linux.c Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
pl_osx.m Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
pl_win.c Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +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 gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. 2010-06-01 12:10:49 +00:00
pr_comp.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
pr_edict.c Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
pr_exec.c gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. 2010-06-01 12:10:49 +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 Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
protocol.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
qs_bmp.h updated to Steven's new icon. 2010-04-24 12:55:10 +00:00
quakedef.h gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. 2010-06-01 10:55:40 +00:00
r_alias.c r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping, 2010-04-26 14:02:37 +00:00
r_brush.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
r_part.c 64 bit compatibility effort, 2/nn: type correctness work in common.h, 2010-02-16 21:26:11 +00:00
r_sprite.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
r_world.c 64 bit compatibility effort, 2/nn: type correctness work in common.h, 2010-02-16 21:26:11 +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 Steven's customizations: 2010-02-18 12:55:19 +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 Change the "screen size" slider to a scale slider 2010-04-23 09:25:13 +00:00
server.h Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, 2010-04-26 16:30:40 +00:00
snd_dma.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
snd_mem.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
snd_mix.c snd_mix.c: General whitespace and formatting tidy up. 2010-06-03 16:28:30 +00:00
snd_sdl.c snd_dma.c: added SNDDMA_LockBuffer() as a new API, needed for, well, proper buffer 2010-02-15 23:45:06 +00:00
sound.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
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 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
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 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
sv_user.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
sys.h sys.h, sys_sdl.c: Removed unused Sys_MakeCodeWriteable and Sys_DebugLog. 2010-04-27 12:37:20 +00:00
sys_sdl.c sys_sdl.c (Sys_Error): Call Host_Shutdown(). 2010-05-18 14:15:19 +00:00
vid.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
view.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +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 initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
wad.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
world.c chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +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
zone.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
zone.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