quakespasm/Quake
Ozkan Sezer b56f757a15 move MAX_OSPATH definition to q_stdinc.h. define it as PATH_MAX,
or as MAXPATHLEN, _MAX_PATH, or MAX_PATH if either of them is
available, or as 1024 if none are available. this would make us
safer in deep installation directory paths.  darkplaces engine
seems to do the same.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@928 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 16:25:00 +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 updated arch_def.h and net_sys.h from uhexen2. adjusted users accordingly. 2013-01-07 17:30:17 +00:00
bgmusic.c replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +00:00
bgmusic.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
bspfile.h BSP2 support. patch kindly provided by Eric Wasylishen (see the patch 2013-12-25 09:10:28 +00:00
build_cross_osx.sh - Makefile.darwin: -mmacosx-version-min also needs to be among 2012-09-03 21:21:04 +00:00
build_cross_win32.sh - Makefile.darwin: -mmacosx-version-min also needs to be among 2012-09-03 21:21:04 +00:00
build_cross_win64.sh - Makefile.darwin: -mmacosx-version-min also needs to be among 2012-09-03 21:21:04 +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 replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +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 Avoid using COM_DefaultExtension() whenever possible: it may lead 2014-04-26 07:50:54 +00:00
cl_input.c Some "slowkey" tuning. 2013-02-03 17:22:59 +00:00
cl_main.c some merges from uhexen2: clean up some crap in long chat line support. 2012-10-21 09:55:16 +00:00
cl_parse.c In CL_ParseServerInfo(), call Host_Error() when a model can't be found. 2013-10-18 10:43:54 +00:00
cl_tent.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
client.h MAX_VISEDICTS bump For BSP2, suggested by Ericw. 2014-01-30 10:07:03 +00:00
cmd.c revert r903 and the old conback hack commits. change the engine 2014-04-27 08:28:16 +00:00
cmd.h const correctness changes. 2010-08-29 02:22:55 +00:00
common.c load custom quakespasm.pak from <com_basedir> instead of id1/ 2014-04-28 05:40:28 +00:00
common.h ditch fmin/fmax and use plain q_min/q_max 2014-06-22 05:50:39 +00:00
console.c Avoid using COM_DefaultExtension() whenever possible: it may lead 2014-04-26 07:50:54 +00:00
console.h some merges from uhexen2: clean up some crap in long chat line support. 2012-10-21 09:55:16 +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
detect.sh Updated support for building the OSX versions using Makefile.darwin. Do 2012-08-16 04:51:41 +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 revert r903 and the old conback hack commits. change the engine 2014-04-27 08:28:16 +00:00
gl_fog.c ditch fmin/fmax and use plain q_min/q_max 2014-06-22 05:50:39 +00:00
gl_mesh.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_model.c gl_model.c (CalcSurfaceExtents): fix a lighting glitch due to floating point precision. patch from Eric Wasylishen. 2014-04-28 06:10:12 +00:00
gl_model.h BSP2 support. patch kindly provided by Eric Wasylishen (see the patch 2013-12-25 09:10:28 +00:00
gl_refrag.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_rlight.c Fixed increased (more than 32) dynamic lights. 2012-07-10 11:21:17 +00:00
gl_rmain.c remove isIntelVideo special handling, simply set gl_clear instead 2013-03-02 12:31:09 +00:00
gl_rmisc.c Simplify the Intel video hack, make the PowerVR hack do the same 2013-03-02 13:10:02 +00:00
gl_screen.c When crosshair is present, for simple messages (SCR_DrawCenterString), text doesnt always end with a newline (eg E1 entry in startmap), so move message up one line. Doesnt affect large messages used via SCR_DrawNotifyString(eg Socks Shadow demo). 2014-06-29 01:22:35 +00:00
gl_sky.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_texmgr.c replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +00:00
gl_texmgr.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +00:00
gl_vidsdl.c gl_vidsdl.c: small gamma update. 2013-07-25 09:41:28 +00:00
gl_warp.c renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +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 Simplify the Intel video hack, make the PowerVR hack do the same 2013-03-02 13:10:02 +00:00
host.c host.c (Host_ShutdownServer): no need to clear the sv structure, because 2012-11-06 08:56:09 +00:00
host_cmd.c Avoid using COM_DefaultExtension() whenever possible: it may lead 2014-04-26 07:50:54 +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 Enable wheel mouse in console (used to scroll up and down). 2014-01-04 07:18:43 +00:00
input.h added IN_UpdateForKeydest() as a new helper who does stuff if the 2012-10-21 11:33:10 +00:00
keys.c Enable wheel mouse in console (used to scroll up and down). 2014-01-04 07:18:43 +00:00
keys.h renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f() 2012-10-23 08:44:20 +00:00
main_sdl.c bump default heap size to 72mb and zone size to 512kb in 64 bit builds. 2013-07-09 05:50:04 +00:00
Makefile revert r903 and the old conback hack commits. change the engine 2014-04-27 08:28:16 +00:00
Makefile.darwin add mikmod to xcode project file. enable several extra codecs for osx and windows builds. 2014-06-21 15:50:09 +00:00
Makefile.w32 add mikmod to xcode project file. enable several extra codecs for osx and windows builds. 2014-06-21 15:50:09 +00:00
Makefile.w64 add mikmod to xcode project file. enable several extra codecs for osx and windows builds. 2014-06-21 15:50:09 +00:00
mathlib.c removed all remaining references to id386 and UNALIGNED_OK because 2011-01-01 12:24:28 +00:00
mathlib.h * mathlib.h (IS_NAN): Fixed strict aliasing violation by providing 2012-03-24 06:24:56 +00:00
menu.c rename the modestate_t enum items 2013-02-13 19:07:19 +00:00
menu.h renamed Key_ForceDest to Key_UpdateForDest. added M_Menu_Main_f() 2012-10-23 08:44:20 +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 Re: r897: lowered NET_MAXMESSAGE and MAX_MSGLEN from 65536 to 64000. not happy with this limit bump at all, but let's see how it will turn out.. 2014-03-25 07:28:11 +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 replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +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 replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +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 Updated support for building the OSX versions using Makefile.darwin. Do 2012-08-16 04:51:41 +00:00
net_sdlnet.h const correctness changes. 2010-08-29 02:22:55 +00:00
net_sys.h updated arch_def.h and net_sys.h from uhexen2. adjusted users accordingly. 2013-01-07 17:30:17 +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 pl_linux.c: add a comment about magenta tranparency 2012-10-01 02:26:44 +00:00
pl_osx.m text pasting support for macosx. updated macosx error dialog procedure. 2012-09-28 20:10:30 +00:00
pl_win.c added PL_GetClipboardData() 2012-09-27 12:58:37 +00:00
platform.h added PL_GetClipboardData() 2012-09-27 12:58:37 +00:00
pr_cmds.c Make sv_aim persistant. 2014-04-29 08:28:52 +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_edict.c (PR_ValueString, PR_UglyValueString, PR_GlobalString, 2012-12-11 10:11:22 +00:00
pr_exec.c pr_cmds.c, pr_exec.c, pr_edict.c, sv_main.c: Changed several Sys_Error() 2012-11-15 17:30:43 +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 progs.h: leafnums array in edict_t needs to be int, not short. patch from Eric Wasylishen. 2014-04-13 09:03:48 +00:00
protocol.h * client.h: moved usercmd_t structure to protocol.h 2011-12-18 10:03:53 +00:00
q_ctype.h replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +00:00
q_sound.h updated snd bits from uhexen2. added signed 8 bit format support 2012-06-25 12:50:09 +00:00
q_stdinc.h move MAX_OSPATH definition to q_stdinc.h. define it as PATH_MAX, 2014-07-01 16:25:00 +00:00
qs_bmp.h Simplify the linux icon transparency setting. 2012-09-25 03:07:33 +00:00
quakedef.h move MAX_OSPATH definition to q_stdinc.h. define it as PATH_MAX, 2014-07-01 16:25:00 +00:00
quakespasm.pak load custom quakespasm.pak from <com_basedir> instead of id1/ 2014-04-28 05:40:28 +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 comment cleanup 2013-02-20 06:22:42 +00:00
r_part.c r_part.c (R_EntityParticles): fix undefined behavior in the loop 2013-03-15 12:47:08 +00:00
r_sprite.c Make 'R_DrawSprite' error messages Con_DPrintf. 2011-11-19 23:33:54 +00:00
r_world.c * cl_demo.c: for a command like "record demoname map [track]", don't 2012-07-18 20:51:35 +00:00
render.h renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +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 remove isIntelVideo special handling, simply set gl_clear instead 2013-03-02 12:31:09 +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 removed the defunct block_drawing global (btw, it was checked incorrectly 2012-02-10 22:37:07 +00:00
server.h removed unused global host_time 2012-10-12 07:50:45 +00:00
snd_codec.c replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +00:00
snd_codec.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_codeci.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_dma.c updated snd bits from uhexen2. added signed 8 bit format support 2012-06-25 12:50:09 +00:00
snd_flac.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_flac.h added flac music support. 2013-07-21 14:02:06 +00:00
snd_mem.c * snd_codec: store the samplebits value in the snd_info_t struct, 2013-07-22 11:41:14 +00:00
snd_mikmod.c snd_mikmod.c: compile-time sanity checks for libmikmod version. 2013-12-27 12:00:21 +00:00
snd_mikmod.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_mix.c Sound looping bug fix from eric - https://sourceforge.net/p/quakespasm/patches/12/ 2014-01-12 02:55:04 +00:00
snd_modplug.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_modplug.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_mp3.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +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 Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_opus.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_opus.h merged the opus codec support patch 2013-07-18 07:03:11 +00:00
snd_sdl.c snd_sdl.c (SNDDMA_Init): set number of samples to 4096 for sampling rates higher than 56, i.e. 96 kHz. 2013-07-24 09:28:01 +00:00
snd_umx.c snd_umx: minor update from umr. minor correction to fshandle offset. 2014-02-11 20:00:35 +00:00
snd_umx.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_vorbis.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_vorbis.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
snd_wave.c Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +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 pr_cmds.c, pr_exec.c, pr_edict.c, sv_main.c: Changed several Sys_Error() 2012-11-15 17:30:43 +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 replace all ctype.h functions/macros and strcasecmp/strncasecmp() 2013-09-25 17:01:40 +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 Unix (at least Linux) man pages for mkdir(2) document the EEXIST 2014-04-24 08:10:15 +00:00
sys_sdl_win.c Unix (at least Linux) man pages for mkdir(2) document the EEXIST 2014-04-24 08:10:15 +00:00
vid.h gl_vidsdl.c: use SDL_SetGamma() instead of SDL's GammaRamps api. 2013-07-24 07:00:44 +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 renamed model_t to qmodel_t in order to avoid conflicts on solaris. 2012-05-30 08:56:06 +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 bump default heap size to 72mb and zone size to 512kb in 64 bit builds. 2013-07-09 05:50:04 +00:00
zone.h const correctness changes. 2010-08-29 02:22:55 +00:00