Commit graph

976 commits

Author SHA1 Message Date
Ozkan Sezer
14181eee15 Host_Game_f: fix broken behavion if -gamedir is specified. (use com_basedir, not host_parms->basedir)
Modlist_Init: no need for -basedir check, just use com_basedir


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@941 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-30 09:02:25 +00:00
Ozkan Sezer
4e8c42b050 remove zombie USE_QS_CONBACK ifdefs
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@940 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-29 16:22:29 +00:00
Ozkan Sezer
4496aa3256 fix seg...
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@939 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-28 07:10:34 +00:00
Ozkan Sezer
55634303ea net_sys.h: update from uhexen2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@938 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 14:37:16 +00:00
Ozkan Sezer
f9dd406597 oslibs, codecs (macosx, windows): update mikmod.h from mainstream.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@937 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 08:21:01 +00:00
Ozkan Sezer
c53f7f65d4 oslibs, codecs (macosx, windows): recompile libmodplug with several
fixes included, and midi formats, gus patches, and wav formats loading
disabled.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@936 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-20 07:56:00 +00:00
Ozkan Sezer
90c6f024f6 request 24-bit depth buffer / z-buffer. patch from Eric Wasylishen.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@935 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-15 07:03:56 +00:00
Ozkan Sezer
34246dfc3b restore compilation with g++, some whitespace tidy-up.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@934 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:50:57 +00:00
Ozkan Sezer
ef1c613c9f dynamic light speedup, patch from Eric Wasylishen, based on an earlier work by MH.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@933 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-12 07:01:58 +00:00
Ozkan Sezer
aeda9b2515 arch_def.h: update from uhexen2.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@932 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 07:06:15 +00:00
Ozkan Sezer
75338a37a1 support for GL_ARB_texture_non_power_of_two, patch from Eric Wasylishen.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@931 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 06:56:09 +00:00
Ozkan Sezer
4becf0b399 more xcode..
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@930 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-04 11:20:46 +00:00
Ozkan Sezer
bd26dc4ae1 xcode project file update
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@929 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-02 11:20:44 +00:00
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
Ozkan Sezer
36da869cc9 fix typo in xcode project file.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@927 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 14:11:02 +00:00
Steven
aa885d4efa 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).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@926 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-29 01:22:35 +00:00
Ozkan Sezer
34cf8176d1 oslibs (macosx, windows): recompile libFLAC with a bug fix patch applied
from mainstream git. (commits 6ccef14 and 2c15052.)


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@925 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-28 12:50:59 +00:00
Ozkan Sezer
8361284ff4 oslibs: recompile ogg and vorbis codecs from latest and greatest
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@924 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-25 17:00:34 +00:00
Ozkan Sezer
dddbc1ce1b add our old icon as QuakeSpasm-old.ico so that I can still compile with vs2005
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@923 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:56:37 +00:00
Ozkan Sezer
65cd7e75e0 ditch fmin/fmax and use plain q_min/q_max
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@922 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:50:39 +00:00
Ozkan Sezer
66d6fc077a revert r907 (fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@921 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 20:29:11 +00:00
Ozkan Sezer
24644fc262 more project file updates.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@920 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 17:55:41 +00:00
Ozkan Sezer
b752f34d7a add mikmod to xcode project file. enable several extra codecs for osx and windows builds.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@919 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 15:50:09 +00:00
Ozkan Sezer
3d34ead1c0 oslibs, codecs (macosx, windows): recompile opus-1.0.3 with two
fixes applied from mainstream. upgrade mpg123 to latest 1.20.1.
update mikmod.h from mainstream.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@918 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 09:50:33 +00:00
Ozkan Sezer
8615ab3f18 oslibs, codecs (macosx, windows): recompile libmodplug from latest
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@917 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-15 09:50:30 +00:00
Ozkan Sezer
3c9b4ce9da oslibs, codecs (macosx, windows): recompile libmodplug and regenerate some import libs.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@916 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-10 14:02:09 +00:00
Ozkan Sezer
2ea4762dac recompile libmikmod using latest stable 3.3.6 release
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@915 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:40:16 +00:00
Ozkan Sezer
d7b5aa800d recompile opusfile-0.3 with commits 4668395, 49233eb, d669790, d3186ed,
fc3e5de, 773cd69, ee91177 and 6f482ef applied from mainline.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@914 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:03:07 +00:00
Ozkan Sezer
f7f99d563e update README files
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@913 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:02:41 +00:00
Ozkan Sezer
eaa16c8c7f update README files
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@912 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:00:31 +00:00
Steven
1463ffca51 Make sv_aim persistant.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@911 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 08:28:52 +00:00
Ozkan Sezer
46b1533a41 SCR_ScreenShot_f: dont bother GL_PACK_ALIGNMENT restoring
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@910 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 20:10:34 +00:00
Ozkan Sezer
72be5368ee fix screenshots when width isn't a multiple of 4. explained by Sander van Dijk.
also check that malloc() didn't fail.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@909 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 08:12:42 +00:00
Ozkan Sezer
bfab14040b gl_model.c (CalcSurfaceExtents): fix a lighting glitch due to floating point precision. patch from Eric Wasylishen.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@908 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 06:10:12 +00:00
Ozkan Sezer
58b3577721 fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@907 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:50:58 +00:00
Ozkan Sezer
4d32042d71 load custom quakespasm.pak from <com_basedir> instead of id1/
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@906 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:40:28 +00:00
Ozkan Sezer
5ad7885e70 comment out COM_DefaultExtension
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@905 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:33:05 +00:00
Ozkan Sezer
d941ee83db revert r903 and the old conback hack commits. change the engine
to load id1/quakespasm.pak for content customizations.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@904 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:28:16 +00:00
Steven
66764cfd6f Overide some old fashioned default bindings (from Eric - https://sourceforge.net/p/quakespasm/patches/17/).
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@903 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 10:28:13 +00:00
Ozkan Sezer
53e10c7098 Avoid using COM_DefaultExtension() whenever possible: it may lead
to unpredictable results. Use a new procedure COM_AddExtension()
which appends the given extension to the path if the one it has,
if any, doesn't match. In Host_Game_f(), reject "." as the path.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@902 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 07:50:54 +00:00
Ozkan Sezer
f784b8a769 Unix (at least Linux) man pages for mkdir(2) document the EEXIST
error: "pathname already exists (not necessarily as a directory).
This includes the case where pathname is a symbolic link, dangling
or not." So, add a check to see if the existing pathname is really
a directory.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@901 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-24 08:10:15 +00:00
Ozkan Sezer
36f3f6b25a osx port: update SDLMain.m from SDL hg repository/SDL-1.2 branch.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@900 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-18 16:05:59 +00:00
Ozkan Sezer
300987aa0e progs.h: leafnums array in edict_t needs to be int, not short. patch from Eric Wasylishen.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@899 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-13 09:03:48 +00:00
Ozkan Sezer
c8f7a73165 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..
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@898 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 07:28:11 +00:00
Steven
0681b0ad1e A couple of limit bumps. http://www.celephais.net/board/view_thread.php?id=60452&start=721
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@897 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 05:08:34 +00:00
Ozkan Sezer
1a89ac5d6f upgrade libmodplug dlls to latest 0.8.8.5 release.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@896 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-11 12:00:12 +00:00
Ozkan Sezer
8e37e6d77c oslibs, codecs (win, osx): upgrade libmpg123 to stable 1.18.1 release.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@895 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-17 18:00:25 +00:00
Ozkan Sezer
9131208183 oslibs (win, osx), codecs: recompiled libmpg123 using latest stable
1.18.0 release, with debug messages (mpg123lib_intern.h) disabled,
and -finline-functions and -funroll-all-loops compiler flags removed.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@894 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:05:57 +00:00
Ozkan Sezer
1f46579e55 snd_umx: minor update from umr. minor correction to fshandle offset.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@893 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:00:35 +00:00
Steven
017c3d747b MAX_VISEDICTS bump For BSP2, suggested by Ericw.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@892 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-30 10:07:03 +00:00