Commit graph

  • e909c83a9c -Wshadow fixes: sv_user.c (SV_WaterMove): use the global wishspeed. (SV_ReadClientMessage): rename cmd to ccmd. view.c (forward, right, up): make them local to V_CalcRoll() and not global. net.h (playername, playercolor): remove externs for the non-existant globals. r_sprite.c (R_GetSpriteFrame): rename the function's argument to currentent. sezero 2010-06-03 19:03:31 +0000
  • 367886b460 -Wshadow fixes: sv_user.c (SV_WaterMove): use the global wishspeed. (SV_ReadClientMessage): rename cmd to ccmd. view.c (forward, right, up): make them local to V_CalcRoll() and not global. net.h (playername, playercolor): remove externs for the non-existant globals. r_sprite.c (R_GetSpriteFrame): rename the function's argument to currentent. sezero 2010-06-03 19:03:31 +0000
  • 5658a9e28d renamed the global channels to snd_channels. removed the global variable sound_nominal_clip_dist and made it into a macro in snd_dma.c. snd_dma.c: general whitespace and formatting cleanup. (S_StaticSound): Explicitly cast vol to int when assigning it to ss->master_vol. (S_UpdateAmbientSounds): changed the type of vol from float to int. used int casts in its calculations. added explicit int casts when assigning values to chan->master_vol. (S_Update_): added explicit unsigned int casts in endtime calculations. Ozkan Sezer 2010-06-03 17:25:24 +0000
  • 546eb4ff15 renamed the global channels to snd_channels. removed the global variable sound_nominal_clip_dist and made it into a macro in snd_dma.c. snd_dma.c: general whitespace and formatting cleanup. (S_StaticSound): Explicitly cast vol to int when assigning it to ss->master_vol. (S_UpdateAmbientSounds): changed the type of vol from float to int. used int casts in its calculations. added explicit int casts when assigning values to chan->master_vol. (S_Update_): added explicit unsigned int casts in endtime calculations. sezero 2010-06-03 17:25:24 +0000
  • 29b96547ed renamed the global channels to snd_channels. removed the global variable sound_nominal_clip_dist and made it into a macro in snd_dma.c. snd_dma.c: general whitespace and formatting cleanup. (S_StaticSound): Explicitly cast vol to int when assigning it to ss->master_vol. (S_UpdateAmbientSounds): changed the type of vol from float to int. used int casts in its calculations. added explicit int casts when assigning values to chan->master_vol. (S_Update_): added explicit unsigned int casts in endtime calculations. sezero 2010-06-03 17:25:24 +0000
  • 80a3a0df30 renamed cvar variable volume to sfxvolume in order to avoid shadowing. (console name is still volume, no changes to that.) Ozkan Sezer 2010-06-03 16:38:22 +0000
  • e5953b445c renamed cvar variable volume to sfxvolume in order to avoid shadowing. (console name is still volume, no changes to that.) sezero 2010-06-03 16:38:22 +0000
  • 89b16b1ccd renamed cvar variable volume to sfxvolume in order to avoid shadowing. (console name is still volume, no changes to that.) sezero 2010-06-03 16:38:22 +0000
  • 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. Ozkan Sezer 2010-06-03 16:28:30 +0000
  • 48ecd3b74b 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. sezero 2010-06-03 16:28:30 +0000
  • d2fba0d4de 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. sezero 2010-06-03 16:28:30 +0000
  • b2b771b19f gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. net_dgrm.c (Net_Test_f): Likewise. pr_cmds.c (SetMinMaxSize, PF_setsize): Likewise. pr_exec.c (PR_Profile_f): Likewise. Ozkan Sezer 2010-06-01 12:10:49 +0000
  • ad73b2d75a gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. net_dgrm.c (Net_Test_f): Likewise. pr_cmds.c (SetMinMaxSize, PF_setsize): Likewise. pr_exec.c (PR_Profile_f): Likewise. sezero 2010-06-01 12:10:49 +0000
  • f60f04ac0a gl_model.c (Mod_LoadTextures): Don't use "min" or "max" as a var name. net_dgrm.c (Net_Test_f): Likewise. pr_cmds.c (SetMinMaxSize, PF_setsize): Likewise. pr_exec.c (PR_Profile_f): Likewise. sezero 2010-06-01 12:10:49 +0000
  • 10b8caa816 gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. Ozkan Sezer 2010-06-01 10:55:40 +0000
  • da11e5c84f gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. sezero 2010-06-01 10:55:40 +0000
  • de3a15b24b gl_rmain.c, gl_rmisc.c, cl_tent.c, quakedef.h: removed leftovers from GLTEST. sezero 2010-06-01 10:55:40 +0000
  • 23bc72554f common.h: tweak the qboolean and NULL definitions for __cplusplus. from uhexen2. Ozkan Sezer 2010-05-31 12:10:25 +0000
  • a9c3e4d9e4 common.h: tweak the qboolean and NULL definitions for __cplusplus. from uhexen2. sezero 2010-05-31 12:10:25 +0000
  • 94d3702026 common.h: tweak the qboolean and NULL definitions for __cplusplus. from uhexen2. sezero 2010-05-31 12:10:25 +0000
  • 12e4aa6caa mathlib.h (max, min): The min and max were declared as inline but were never defined. Moved them from mathlib.c to here as static inline functions q_min and q_max. Define min and max as q_min and q_max. mathlib.c (max, min): Moved to mathlib.h as q_max and q_min static inlines. Ozkan Sezer 2010-05-31 10:56:27 +0000
  • 4da670cd2c mathlib.h (max, min): The min and max were declared as inline but were never defined. Moved them from mathlib.c to here as static inline functions q_min and q_max. Define min and max as q_min and q_max. mathlib.c (max, min): Moved to mathlib.h as q_max and q_min static inlines. sezero 2010-05-31 10:56:27 +0000
  • 56fedf11a2 mathlib.h (max, min): The min and max were declared as inline but were never defined. Moved them from mathlib.c to here as static inline functions q_min and q_max. Define min and max as q_min and q_max. mathlib.c (max, min): Moved to mathlib.h as q_max and q_min static inlines. sezero 2010-05-31 10:56:27 +0000
  • 1ec6c1b340 quakedef.h: Define inline as __inline if !__cplusplus && _MSC_VER Ozkan Sezer 2010-05-31 10:55:59 +0000
  • 3c237ac3d7 quakedef.h: Define inline as __inline if !__cplusplus && _MSC_VER sezero 2010-05-31 10:55:59 +0000
  • aa07bc5c41 quakedef.h: Define inline as __inline if !__cplusplus && _MSC_VER sezero 2010-05-31 10:55:59 +0000
  • e8b48ab9ec menu.c (m_return_state, m_quit_prevstate): fixed typo. Ozkan Sezer 2010-05-31 10:12:00 +0000
  • fbffcfa3b9 menu.c (m_return_state, m_quit_prevstate): fixed typo. sezero 2010-05-31 10:12:00 +0000
  • 3c1ba05bc0 menu.c (m_return_state, m_quit_prevstate): fixed typo. sezero 2010-05-31 10:12:00 +0000
  • 3062b81726 menu.c (m_return_state): changed type to m_state_e (m_quit_prevstate): Likewise. menu.h (m_return_state): added extern declaration. net_dgrm.c (m_return_state): removed extern declaration. Ozkan Sezer 2010-05-31 09:15:50 +0000
  • faef222404 menu.c (m_return_state): changed type to m_state_e (m_quit_prevstate): Likewise. menu.h (m_return_state): added extern declaration. net_dgrm.c (m_return_state): removed extern declaration. sezero 2010-05-31 09:15:50 +0000
  • f325240397 menu.c (m_return_state): changed type to m_state_e (m_quit_prevstate): Likewise. menu.h (m_return_state): added extern declaration. net_dgrm.c (m_return_state): removed extern declaration. sezero 2010-05-31 09:15:50 +0000
  • b034275af4 cvar.c (Cvar_RegisterVariable): change the callback function argument type to cvarcallback_t. cvar.h (Cvar_RegisterVariable): adjust prototype. Ozkan Sezer 2010-05-31 08:01:29 +0000
  • cff54a63a6 cvar.c (Cvar_RegisterVariable): change the callback function argument type to cvarcallback_t. cvar.h (Cvar_RegisterVariable): adjust prototype. sezero 2010-05-31 08:01:29 +0000
  • 1c8a86d6b9 cvar.c (Cvar_RegisterVariable): change the callback function argument type to cvarcallback_t. cvar.h (Cvar_RegisterVariable): adjust prototype. sezero 2010-05-31 08:01:29 +0000
  • c24d592580 host_cmd.c, console.c, gl_draw.c, image.c, gl_model.c, r_sprite.c, cl_parse.c, gl_warp.c, host.c, gl_mesh.c, gl_sky.c, gl_texmgr.c, cvar.c, sv_main.c, cvar.h, gl_screen.c, r_brush.c, gl_vidsdl.c, zone.c, cl_main.c, cmd.c, snd_dma.c, snd_mem.c, common.c, sv_phys.c: Added explicit casts to eliminate -Wc++-compat warnings. Ozkan Sezer 2010-05-31 07:42:36 +0000
  • 6d3f3f2081 host_cmd.c, console.c, gl_draw.c, image.c, gl_model.c, r_sprite.c, cl_parse.c, gl_warp.c, host.c, gl_mesh.c, gl_sky.c, gl_texmgr.c, cvar.c, sv_main.c, cvar.h, gl_screen.c, r_brush.c, gl_vidsdl.c, zone.c, cl_main.c, cmd.c, snd_dma.c, snd_mem.c, common.c, sv_phys.c: Added explicit casts to eliminate -Wc++-compat warnings. sezero 2010-05-31 07:42:36 +0000
  • cfc2566217 host_cmd.c, console.c, gl_draw.c, image.c, gl_model.c, r_sprite.c, cl_parse.c, gl_warp.c, host.c, gl_mesh.c, gl_sky.c, gl_texmgr.c, cvar.c, sv_main.c, cvar.h, gl_screen.c, r_brush.c, gl_vidsdl.c, zone.c, cl_main.c, cmd.c, snd_dma.c, snd_mem.c, common.c, sv_phys.c: Added explicit casts to eliminate -Wc++-compat warnings. sezero 2010-05-31 07:42:36 +0000
  • def1c058f4 keys.c (Key_SetBinding): Avoid the C++ keyword "new". pr_cmds.c (PF_normalize, PF_vlen): Likewise. zone.c (Z_TagMalloc, Cache_Move, Cache_TryAlloc): Likewise. Ozkan Sezer 2010-05-31 06:39:09 +0000
  • cc80c805b4 keys.c (Key_SetBinding): Avoid the C++ keyword "new". pr_cmds.c (PF_normalize, PF_vlen): Likewise. zone.c (Z_TagMalloc, Cache_Move, Cache_TryAlloc): Likewise. sezero 2010-05-31 06:39:09 +0000
  • f5986fba56 keys.c (Key_SetBinding): Avoid the C++ keyword "new". pr_cmds.c (PF_normalize, PF_vlen): Likewise. zone.c (Z_TagMalloc, Cache_Move, Cache_TryAlloc): Likewise. sezero 2010-05-31 06:39:09 +0000
  • 1bdb202ef8 gl_mesh.c: Change the type of used[] array from qboolean to int, because it is assigned not just true or false values but other integers like "2" as well, and it would cause a mess if compiled as a C++ source. Ozkan Sezer 2010-05-31 06:27:56 +0000
  • 73c8c176f0 gl_mesh.c: Change the type of used[] array from qboolean to int, because it is assigned not just true or false values but other integers like "2" as well, and it would cause a mess if compiled as a C++ source. sezero 2010-05-31 06:27:56 +0000
  • e883bf3b47 gl_mesh.c: Change the type of used[] array from qboolean to int, because it is assigned not just true or false values but other integers like "2" as well, and it would cause a mess if compiled as a C++ source. sezero 2010-05-31 06:27:56 +0000
  • b2322815ca MacOSX/QuakeSpasm.xcodeproj/ Updated XCode project files from Levent Yavas. Ozkan Sezer 2010-05-21 19:03:17 +0000
  • 562e37c468 MacOSX/QuakeSpasm.xcodeproj/ Updated XCode project files from Levent Yavas. sezero 2010-05-21 19:03:17 +0000
  • 5a98a71e47 MacOSX/QuakeSpasm.xcodeproj/ Updated XCode project files from Levent Yavas. sezero 2010-05-21 19:03:17 +0000
  • 8ee760abc8 sys_sdl.c (Sys_Error): Call Host_Shutdown(). Ozkan Sezer 2010-05-18 14:15:19 +0000
  • 2bb4a6625e sys_sdl.c (Sys_Error): Call Host_Shutdown(). sezero 2010-05-18 14:15:19 +0000
  • d0d9176e86 sys_sdl.c (Sys_Error): Call Host_Shutdown(). sezero 2010-05-18 14:15:19 +0000
  • 61ff367eee quakedef.h: bumped QuakeSpasm version to 3 (0.85.3) for further development and future releases. Ozkan Sezer 2010-05-03 15:28:18 +0000
  • 0c4c7bf1a9 quakedef.h: bumped QuakeSpasm version to 3 (0.85.3) for further development and future releases. sezero 2010-05-03 15:28:18 +0000
  • 2f54c5cef0 quakedef.h: bumped QuakeSpasm version to 3 (0.85.3) for further development and future releases. sezero 2010-05-03 15:28:18 +0000
  • bcc52d9c82 Fix mouse release issue after toggling fullscreen Steven 2010-05-02 02:22:24 +0000
  • d1c21ccd0e Fix mouse release issue after toggling fullscreen stevenaaus 2010-05-02 02:22:24 +0000
  • b8741a6e99 Fix mouse release issue after toggling fullscreen stevenaaus 2010-05-02 02:22:24 +0000
  • 7f7fdb596d host_cmd.c (Host_Startdemos_f): Add missing linefeed in Cbuf_InsertText() call. Ozkan Sezer 2010-04-28 06:42:09 +0000
  • 775d00d580 host_cmd.c (Host_Startdemos_f): Add missing linefeed in Cbuf_InsertText() call. sezero 2010-04-28 06:42:09 +0000
  • 36d80efa84 host_cmd.c (Host_Startdemos_f): Add missing linefeed in Cbuf_InsertText() call. sezero 2010-04-28 06:42:09 +0000
  • bb18b7dd41 gl_vidnt.c, gl_vidsdl.c: if 0'ed out unused CheckArrayExtensions(). Ozkan Sezer 2010-04-27 12:40:19 +0000
  • 4ecfa98178 gl_vidnt.c, gl_vidsdl.c: if 0'ed out unused CheckArrayExtensions(). sezero 2010-04-27 12:40:19 +0000
  • 4265cbc294 gl_vidnt.c, gl_vidsdl.c: if 0'ed out unused CheckArrayExtensions(). sezero 2010-04-27 12:40:19 +0000
  • 9501dc2bf6 sys.h, sys_sdl.c: Removed unused Sys_MakeCodeWriteable and Sys_DebugLog. Ozkan Sezer 2010-04-27 12:37:20 +0000
  • eab6d09c2a sys.h, sys_sdl.c: Removed unused Sys_MakeCodeWriteable and Sys_DebugLog. sezero 2010-04-27 12:37:20 +0000
  • 749ef3b9f2 sys.h, sys_sdl.c: Removed unused Sys_MakeCodeWriteable and Sys_DebugLog. sezero 2010-04-27 12:37:20 +0000
  • c2c768f028 console.c: Added LOG_Init() and LOG_Close() as two new procedures, adapted from uhexen2. Moved debug log initialization from Con_Init() to LOG_Init(). Made Con_DebugLog() to operate without varargs stuff. Log file is written into host_parms->basedir now, not into a gamedir. console.h: Added prototypes for LOG_Init() and LOG_Close(). host.c (Host_Init): Added LOG_Init(). (Host_Shutdown): Added LOG_Close(). quakedef.h (quakeparms_t): Moved the typedef to an earlier place before any of the other quake headers are included. Ozkan Sezer 2010-04-27 08:24:13 +0000
  • 390db7c153 console.c: Added LOG_Init() and LOG_Close() as two new procedures, adapted from uhexen2. Moved debug log initialization from Con_Init() to LOG_Init(). Made Con_DebugLog() to operate without varargs stuff. Log file is written into host_parms->basedir now, not into a gamedir. console.h: Added prototypes for LOG_Init() and LOG_Close(). host.c (Host_Init): Added LOG_Init(). (Host_Shutdown): Added LOG_Close(). quakedef.h (quakeparms_t): Moved the typedef to an earlier place before any of the other quake headers are included. sezero 2010-04-27 08:24:13 +0000
  • 31991cd33e console.c: Added LOG_Init() and LOG_Close() as two new procedures, adapted from uhexen2. Moved debug log initialization from Con_Init() to LOG_Init(). Made Con_DebugLog() to operate without varargs stuff. Log file is written into host_parms->basedir now, not into a gamedir. console.h: Added prototypes for LOG_Init() and LOG_Close(). host.c (Host_Init): Added LOG_Init(). (Host_Shutdown): Added LOG_Close(). quakedef.h (quakeparms_t): Moved the typedef to an earlier place before any of the other quake headers are included. sezero 2010-04-27 08:24:13 +0000
  • 65a7f903e5 main_sdl.c (main): Remove leading linefeed from the init message. common.c (COM_InitArgv): Move the leading linefeed to the end of message. Ozkan Sezer 2010-04-27 07:15:19 +0000
  • c5ab356b4d main_sdl.c (main): Remove leading linefeed from the init message. common.c (COM_InitArgv): Move the leading linefeed to the end of message. sezero 2010-04-27 07:15:19 +0000
  • 71a0e9e6c1 main_sdl.c (main): Remove leading linefeed from the init message. common.c (COM_InitArgv): Move the leading linefeed to the end of message. sezero 2010-04-27 07:15:19 +0000
  • 72cae1fef7 host_cmd.c (Host_Mapname_f): Simplified map name retrieval. Ozkan Sezer 2010-04-26 21:16:50 +0000
  • f761ea4b28 host_cmd.c (Host_Mapname_f): Simplified map name retrieval. sezero 2010-04-26 21:16:50 +0000
  • e4623215dd host_cmd.c (Host_Mapname_f): Simplified map name retrieval. sezero 2010-04-26 21:16:50 +0000
  • ba6f73616b zone.c: A little whitespace tidy-up here and there. (hunk_t): Increased name array length to 24. Fixed the strncpy() calls into that field so that it will be null terminated. (cache_system_t): Increased name array length to 32. Ozkan Sezer 2010-04-26 20:40:18 +0000
  • 016b5860ab zone.c: A little whitespace tidy-up here and there. (hunk_t): Increased name array length to 24. Fixed the strncpy() calls into that field so that it will be null terminated. (cache_system_t): Increased name array length to 32. sezero 2010-04-26 20:40:18 +0000
  • dbcc18293b zone.c: A little whitespace tidy-up here and there. (hunk_t): Increased name array length to 24. Fixed the strncpy() calls into that field so that it will be null terminated. (cache_system_t): Increased name array length to 32. sezero 2010-04-26 20:40:18 +0000
  • 68361d51b1 sys_sdl.c (Sys_Error): made text3, text4 and text5 into const char arrays. Ozkan Sezer 2010-04-26 16:55:14 +0000
  • b8052f88bd sys_sdl.c (Sys_Error): made text3, text4 and text5 into const char arrays. sezero 2010-04-26 16:55:14 +0000
  • 5879f113e0 sys_sdl.c (Sys_Error): made text3, text4 and text5 into const char arrays. sezero 2010-04-26 16:55:14 +0000
  • 53746a85c9 Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, Con_LogCenterPrint, Con_NotifyBox, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf, BOPS_Error and va. Added noreturn attribute to Sys_Error, Sys_Quit, BOPS_Error, PR_RunError, Host_EndGame and Host_Error. Added format printf attribute to Con_DebugLog, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf and va. Adjusted Host_Status_f and NET_Ban_f for the new attributes. Fixed broken format strings in Con_Dump_f, Mod_LoadTexinfo, PR_AllocStringSlots and FloorDivMod. Defined __attribute__ macros in quakedef.h so that we don't break non-gcc compilers. Ozkan Sezer 2010-04-26 16:30:40 +0000
  • 5bd3fccecd Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, Con_LogCenterPrint, Con_NotifyBox, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf, BOPS_Error and va. Added noreturn attribute to Sys_Error, Sys_Quit, BOPS_Error, PR_RunError, Host_EndGame and Host_Error. Added format printf attribute to Con_DebugLog, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf and va. Adjusted Host_Status_f and NET_Ban_f for the new attributes. Fixed broken format strings in Con_Dump_f, Mod_LoadTexinfo, PR_AllocStringSlots and FloorDivMod. Defined __attribute__ macros in quakedef.h so that we don't break non-gcc compilers. sezero 2010-04-26 16:30:40 +0000
  • 414c89ad55 Constified Con_DebugLog, Con_Print, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, Con_LogCenterPrint, Con_NotifyBox, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf, BOPS_Error and va. Added noreturn attribute to Sys_Error, Sys_Quit, BOPS_Error, PR_RunError, Host_EndGame and Host_Error. Added format printf attribute to Con_DebugLog, Con_Printf, Con_Warning, Con_DPrintf, Con_DPrintf2, Con_SafePrintf, Con_CenterPrintf, PL_ErrorDialog, PR_RunError, Host_EndGame, Host_Error, SV_ClientPrintf, SV_BroadcastPrintf, Host_ClientCommands, Sys_DebugLog, Sys_Error, Sys_Printf and va. Adjusted Host_Status_f and NET_Ban_f for the new attributes. Fixed broken format strings in Con_Dump_f, Mod_LoadTexinfo, PR_AllocStringSlots and FloorDivMod. Defined __attribute__ macros in quakedef.h so that we don't break non-gcc compilers. sezero 2010-04-26 16:30:40 +0000
  • 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. Ozkan Sezer 2010-04-26 14:11:48 +0000
  • 268b5a3e90 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. sezero 2010-04-26 14:11:48 +0000
  • 4c0ab421c6 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. sezero 2010-04-26 14:11:48 +0000
  • 4bc2b26e79 r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping, which avoids a bogus compiler warning. Ozkan Sezer 2010-04-26 14:02:37 +0000
  • 9aa55ecbed r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping, which avoids a bogus compiler warning. sezero 2010-04-26 14:02:37 +0000
  • d5179bc560 r_alias.c (GL_DrawAliasFrame): Initialize vert2 to vert1 when not lerping, which avoids a bogus compiler warning. sezero 2010-04-26 14:02:37 +0000
  • 0baa28dbee gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL in order to avoid a bogus compiler warning. Ozkan Sezer 2010-04-26 13:47:19 +0000
  • 7dd3951cff gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL in order to avoid a bogus compiler warning. sezero 2010-04-26 13:47:19 +0000
  • d0808e3a96 gl_model.c (Mod_LoadTextures): If lump->filelen == 0, initialize m to NULL in order to avoid a bogus compiler warning. sezero 2010-04-26 13:47:19 +0000
  • adf384e8b9 r_alias.c (GL_DrawAliasFrame): Initialize blend and iblend to 0 when not lerping, which avoids a bogus compiler warning. Ozkan Sezer 2010-04-26 13:44:24 +0000
  • 42d4e43d5f r_alias.c (GL_DrawAliasFrame): Initialize blend and iblend to 0 when not lerping, which avoids a bogus compiler warning. sezero 2010-04-26 13:44:24 +0000
  • 35795de3d6 r_alias.c (GL_DrawAliasFrame): Initialize blend and iblend to 0 when not lerping, which avoids a bogus compiler warning. sezero 2010-04-26 13:44:24 +0000
  • 4b4ee0cbe9 gl_vidnt.c (VID_SetMode): Initialize stat to false to avoid a compiler warning. Some whitespace tidy-ups all over. gl_vidsdl.c (VID_SetMode): Likewise. Ozkan Sezer 2010-04-26 13:41:39 +0000
  • 9a75b0a989 gl_vidnt.c (VID_SetMode): Initialize stat to false to avoid a compiler warning. Some whitespace tidy-ups all over. gl_vidsdl.c (VID_SetMode): Likewise. sezero 2010-04-26 13:41:39 +0000
  • ad452580db gl_vidnt.c (VID_SetMode): Initialize stat to false to avoid a compiler warning. Some whitespace tidy-ups all over. gl_vidsdl.c (VID_SetMode): Likewise. sezero 2010-04-26 13:41:39 +0000
  • c7dc5d6cbf gl_vidsdl.c (VID_Init): If -height is not specified on the command line, initialize height to width*3/4 which avoids a compiler warning. gl_vidnt.c (VID_Init): Likewise. Ozkan Sezer 2010-04-26 13:37:56 +0000
  • 68aa123a2c gl_vidsdl.c (VID_Init): If -height is not specified on the command line, initialize height to width*3/4 which avoids a compiler warning. gl_vidnt.c (VID_Init): Likewise. sezero 2010-04-26 13:37:56 +0000