Commit graph

1117 commits

Author SHA1 Message Date
sezero
048d040ee0 support for GL_ARB_texture_non_power_of_two, patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@931 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-11 06:56:09 +00:00
sezero
18c6fc37e1 more xcode..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@930 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-04 11:20:46 +00:00
sezero
f99fc06f36 xcode project file update
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@929 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-02 11:20:44 +00:00
sezero
95de5ce44d 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@928 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 16:25:00 +00:00
sezero
42b0b1abb3 fix typo in xcode project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@927 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-07-01 14:11:02 +00:00
stevenaaus
f9eb7662e2 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@926 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-29 01:22:35 +00:00
sezero
80141c555a oslibs (macosx, windows): recompile libFLAC with a bug fix patch applied
from mainstream git. (commits 6ccef14 and 2c15052.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@925 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-28 12:50:59 +00:00
sezero
4b08a6f5fc oslibs: recompile ogg and vorbis codecs from latest and greatest
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@924 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-25 17:00:34 +00:00
sezero
b770a72872 add our old icon as QuakeSpasm-old.ico so that I can still compile with vs2005
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@923 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:56:37 +00:00
sezero
2839c6c65f ditch fmin/fmax and use plain q_min/q_max
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@922 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-22 05:50:39 +00:00
sezero
40c893ee52 revert r907 (fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@921 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 20:29:11 +00:00
sezero
5090b8b03d more project file updates.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@920 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 17:55:41 +00:00
sezero
ad8d791aca add mikmod to xcode project file. enable several extra codecs for osx and windows builds.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@919 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 15:50:09 +00:00
sezero
85cd1a5c9e 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@918 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-21 09:50:33 +00:00
sezero
0fde06d2b3 oslibs, codecs (macosx, windows): recompile libmodplug from latest
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@917 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-15 09:50:30 +00:00
sezero
4cc9d930f3 oslibs, codecs (macosx, windows): recompile libmodplug and regenerate some import libs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@916 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-06-10 14:02:09 +00:00
sezero
c9469ac56f recompile libmikmod using latest stable 3.3.6 release
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@915 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:40:16 +00:00
sezero
9d7f78045e recompile opusfile-0.3 with commits 4668395, 49233eb, d669790, d3186ed,
fc3e5de, 773cd69, ee91177 and 6f482ef applied from mainline.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@914 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:03:07 +00:00
sezero
bb50e6f333 update README files
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@913 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:02:41 +00:00
sezero
be0b36a977 update README files
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@912 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 11:00:31 +00:00
stevenaaus
f0800fa49f Make sv_aim persistant.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@911 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-29 08:28:52 +00:00
sezero
217683f3c9 SCR_ScreenShot_f: dont bother GL_PACK_ALIGNMENT restoring
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@910 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 20:10:34 +00:00
sezero
a949e0e207 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@909 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 08:12:42 +00:00
sezero
f924896f4a gl_model.c (CalcSurfaceExtents): fix a lighting glitch due to floating point precision. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@908 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 06:10:12 +00:00
sezero
2373b95d36 fmin()/fmax() is available with vs2012 and newer. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@907 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:50:58 +00:00
sezero
2dbd1fb411 load custom quakespasm.pak from <com_basedir> instead of id1/
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@906 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-28 05:40:28 +00:00
sezero
8ecf7ffdf0 comment out COM_DefaultExtension
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@905 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:33:05 +00:00
sezero
a40adf1e46 revert r903 and the old conback hack commits. change the engine
to load id1/quakespasm.pak for content customizations.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@904 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:28:16 +00:00
stevenaaus
c29bc2e814 Overide some old fashioned default bindings (from Eric - https://sourceforge.net/p/quakespasm/patches/17/).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@903 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 10:28:13 +00:00
sezero
bdbd0d00cc 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@902 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 07:50:54 +00:00
sezero
109050b311 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@901 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-24 08:10:15 +00:00
sezero
e1a715de69 osx port: update SDLMain.m from SDL hg repository/SDL-1.2 branch.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@900 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-18 16:05:59 +00:00
sezero
62d5a02ab4 progs.h: leafnums array in edict_t needs to be int, not short. patch from Eric Wasylishen.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@899 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-13 09:03:48 +00:00
sezero
8f245ace5e 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@898 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 07:28:11 +00:00
stevenaaus
76335a5710 A couple of limit bumps. http://www.celephais.net/board/view_thread.php?id=60452&start=721
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@897 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 05:08:34 +00:00
sezero
98caa07fc1 upgrade libmodplug dlls to latest 0.8.8.5 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@896 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-11 12:00:12 +00:00
sezero
339cd00fb7 oslibs, codecs (win, osx): upgrade libmpg123 to stable 1.18.1 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@895 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-17 18:00:25 +00:00
sezero
b3be338750 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+ssh://svn.code.sf.net/p/quakespasm/code/trunk@894 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:05:57 +00:00
sezero
23d0041af2 snd_umx: minor update from umr. minor correction to fshandle offset.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@893 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:00:35 +00:00
stevenaaus
6974cb91be MAX_VISEDICTS bump For BSP2, suggested by Ericw.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@892 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-30 10:07:03 +00:00
sezero
772e7e347b oslibs (win, osx), codecs: recompiled libflac with the encoder taken
out and a few patches applied from mainstream git repo. also tweaked
the FLAC_API macro for windows dll exports. dll and dylib sizes are
more than halved now.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@891 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-25 20:50:25 +00:00
sezero
bf1dee9760 oslibs, codecs: recompile using latest libvorbis-1.3.4 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@890 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-24 15:50:34 +00:00
sezero
afdc8fe223 recompiled opusfile-0.3 for win with commits cfa5956, 06a191e, and
779ea4d applied from mainline.  recompiled libmikmod-3.3.5 for win
and osx with 16cddd and 3493b1 applied from mainline.


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@889 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-15 18:21:53 +00:00
sezero
5b4cdc8053 more correct export read for unreal beta, for correctness sake...
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@888 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 20:50:23 +00:00
sezero
4fe208a3cc fix umx export table read order. doesn't affect our umx playback, but correctness is good.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@887 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 18:27:33 +00:00
stevenaaus
656048c4de Sound looping bug fix from eric - https://sourceforge.net/p/quakespasm/patches/12/
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@886 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 02:55:04 +00:00
sezero
fabd2157d8 upgrade libmikmod to v3.3.5
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@885 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-10 10:00:27 +00:00
stevenaaus
039de0aa6a Enable wheel mouse in console (used to scroll up and down).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@884 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-04 07:18:43 +00:00
sezero
a8d8bdc5c4 snd_mikmod.c: compile-time sanity checks for libmikmod version.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@883 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-27 12:00:21 +00:00
stevenaaus
e4b5964ac0 Move the sgml stuff to Linux/sgml, and update doco re gamma known-bugs.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@882 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-26 21:16:44 +00:00