quakespasm/Quake
Ozkan Sezer 04f7b1589a mathlib.h (VectorNormalizeFast): Use a float/int union instead of type
punning to avoid strict aliasing violations. the compiler used to emit
a warning from rsprite.c:R_DrawSpriteModel() where the macro is used.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@153 af15c1b1-3010-417e-b628-4374ebc0bcbd
2010-04-26 14:11:48 +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
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 cl_main.c (CL_EstablishConnection): Send a clc_nop at the end of the function. 2010-03-05 16:11:06 +00:00
cl_parse.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_tent.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +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 cmd.c (Cbuf_Execute), net_dgrm.c (Datagram_GetMessage), net_loop.c (Loop_GetMessage): 2010-02-19 23:55:17 +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 common.c (COM_Parse): commented out the check for ':' in regular word parsing 2010-03-06 13:35:05 +00:00
common.h common.c (com_basedir): added new global char array. 2010-03-01 11:55:13 +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 console.c (BuildMapList, Con_TabComplete): fix sporadic erratic behaviour 2010-03-01 10:44:59 +00:00
console.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
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 initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
cvar.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
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 made loading of embedded custom conback friendly with dynamic gamedirs: 2010-02-20 09:55:32 +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 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_model.c gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL 2010-04-26 13:47:19 +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 make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +00:00
gl_rmisc.c gl_rmisc.c (R_Envmap_f): the envmap command can only be run when there's something 2010-02-20 00:05:14 +00:00
gl_screen.c Change the "screen size" slider to a scale slider 2010-04-23 09:25:13 +00:00
gl_sky.c 64 bit compatibility effort, 2/nn: type correctness work in common.h, 2010-02-16 21:26:11 +00:00
gl_texmgr.c make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +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 (VID_SetMode): Initialize stat to false to avoid a compiler warning. 2010-04-26 13:41:39 +00:00
gl_vidsdl.c gl_vidnt.c (VID_SetMode): Initialize stat to false to avoid a compiler warning. 2010-04-26 13:41:39 +00:00
gl_warp.c make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +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 make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +00:00
host_cmd.c A few QuakeSpasm name fixes 2010-04-22 00:25:31 +00:00
image.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +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 moved BuildKeyMaps(), Key_Map() and key_map[] from keys.c to in_sdl.c. 2010-04-24 16:25:08 +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 renamed main.c to main_sdl.c. 2010-04-24 15:21:59 +00:00
mathlib.c initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
mathlib.h mathlib.h (VectorNormalizeFast): Use a float/int union instead of type 2010-04-26 14:11:48 +00:00
menu.c menu.c (M_AdjustSliders): Changed all of the second if conditions to else if. 2010-04-24 11:08:12 +00:00
menu.h make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +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 make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +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 deleted fitzquake.bmp, fitz_bmp.h and fitzquake.ico, removed their reference 2010-04-24 12:21:14 +00:00
pl_osx.m initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
pl_win.c pl_win.c: Fixed for win64 (GCL_HICON is deprecated, use GCLP_HICON and 2010-02-17 16:39:20 +00:00
platform.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_cmds.c 64 bit compatibility effort, 4/nn: x86_64 works just fine now, yey! 2010-02-17 15:04:50 +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 Don't explicitly expose pr_strings to the whole engine, make it static 2010-03-09 14:11:10 +00:00
pr_exec.c pr_exec.c (PR_Profile_f): the profile command can only be run when the server is active. 2010-02-20 00:00:40 +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 Don't explicitly expose pr_strings to the whole engine, make it static 2010-03-09 14:11:10 +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 quakedef.h (quakeparms_t): removed the cachedir member which doesn't serve 2010-03-01 12:50:12 +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 make the code to compile with -fno-common flag: 2010-04-22 19:02:29 +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 chase.c, cl_input.c, cl_parse.c, client.h, common.c, common.h, console.h, 2010-02-16 12:01:07 +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 bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
snd_dma.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
snd_mem.c 64 bit compatibility effort, 2/nn: type correctness work in common.h, 2010-02-16 21:26:11 +00:00
snd_mix.c snd_mix.c (SND_InitScaletable): fixed the snd_scaletable init breakage with 2010-02-20 00:25:33 +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 sv_main.c (localmodels): Bumped array size from 5 to 6 in order for it 2010-04-23 06:24:51 +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 64 bit compatibility effort, 4/nn: x86_64 works just fine now, yey! 2010-02-17 15:04:50 +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 bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
sys_sdl.c sys_sdl.c: implemented Sys_mkdir. 2010-02-27 07:47:16 +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 zone.c (Z_Realloc): Fixed the old_size value. 2010-03-09 12:03:08 +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