Commit Graph

911 Commits

Author SHA1 Message Date
Eric Wasylishen 6374494c47 Merge branch 'patches' into sdl2-xcodeproj-patches 2014-05-19 21:55:10 -06:00
Eric Wasylishen 111cffb8dc Eliminate R_DrawSequentialPoly and use world drawing code for brush models 2014-05-19 21:54:20 -06:00
Eric Wasylishen b74a900706 Make r_oldwater default to 0 2014-05-19 21:54:15 -06:00
Eric Wasylishen a63b21c939 AllocBlock: cache index of last used lightmap, start search there 2014-05-19 21:54:12 -06:00
Eric Wasylishen 4cbf5f3f4f image.c: use getc_unlocked instead of getc 2014-05-19 21:54:07 -06:00
Eric Wasylishen 99dc56836e Merge branch 'sdl2' into sdl2-xcodeproj 2014-05-19 21:12:33 -06:00
Eric Wasylishen 2e2360bf0e Rewrite video mode setting. Should use bpp now. 2014-05-19 20:00:59 -07:00
Eric Wasylishen af3c162f1d windows: workaround for poor sound quality from xaudio2 (use directsound) 2014-05-19 17:35:33 -07:00
Eric Wasylishen 8198123a7f sdl2 xcode project 2014-05-19 13:01:52 -06:00
Eric Wasylishen 3b83514df4 fix handling of vsync 2014-05-19 13:00:22 -06:00
Eric Wasylishen 8b2cce1f37 sdl2 support 2014-05-18 19:31:32 -06:00
sezero ed18fc95eb recompile libmikmod using latest stable 3.3.6 release
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@915 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-05-17 09:40:16 +00:00
sezero 11d5985327 recompile opusfile-0.3 with commits 4668395, 49233eb, d669790, d3186ed,
fc3e5de, 773cd69, ee91177 and 6f482ef applied from mainline.


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


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@904 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-27 08:28:16 +00:00
stevenaaus 8891cc87a0 Overide some old fashioned default bindings (from Eric - https://sourceforge.net/p/quakespasm/patches/17/).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@903 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 10:28:13 +00:00
sezero 23479771e1 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@902 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-26 07:50:54 +00:00
sezero 77ff19c371 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@901 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-24 08:10:15 +00:00
sezero fd79bed7f7 osx port: update SDLMain.m from SDL hg repository/SDL-1.2 branch.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@900 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-18 16:05:59 +00:00
sezero d75aafddbb progs.h: leafnums array in edict_t needs to be int, not short. patch from Eric Wasylishen.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@899 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-04-13 09:03:48 +00:00
sezero a4a2cbb506 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@898 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 07:28:11 +00:00
stevenaaus b223fa293d A couple of limit bumps. http://www.celephais.net/board/view_thread.php?id=60452&start=721
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@897 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-25 05:08:34 +00:00
sezero 81bfd2295e upgrade libmodplug dlls to latest 0.8.8.5 release.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@896 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-03-11 12:00:12 +00:00
sezero 7e8662aaf7 oslibs, codecs (win, osx): upgrade libmpg123 to stable 1.18.1 release.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@895 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-17 18:00:25 +00:00
sezero 127d590d13 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@894 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:05:57 +00:00
sezero 7cb7440f3d snd_umx: minor update from umr. minor correction to fshandle offset.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@893 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-02-11 20:00:35 +00:00
stevenaaus 769f1ed414 MAX_VISEDICTS bump For BSP2, suggested by Ericw.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@892 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-30 10:07:03 +00:00
sezero fb5db23fb9 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@891 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-25 20:50:25 +00:00
sezero 564fdb28bc oslibs, codecs: recompile using latest libvorbis-1.3.4 release.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@890 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-24 15:50:34 +00:00
sezero cf83937c3e 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: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@889 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-15 18:21:53 +00:00
sezero 18afae1775 more correct export read for unreal beta, for correctness sake...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@888 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 20:50:23 +00:00
sezero e14b5aca86 fix umx export table read order. doesn't affect our umx playback, but correctness is good.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@887 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 18:27:33 +00:00
stevenaaus a1dc252423 Sound looping bug fix from eric - https://sourceforge.net/p/quakespasm/patches/12/
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@886 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-12 02:55:04 +00:00
sezero 9c3f7071af upgrade libmikmod to v3.3.5
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@885 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-10 10:00:27 +00:00
stevenaaus 10fd8b0f04 Enable wheel mouse in console (used to scroll up and down).
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@884 af15c1b1-3010-417e-b628-4374ebc0bcbd
2014-01-04 07:18:43 +00:00
sezero 380099484f snd_mikmod.c: compile-time sanity checks for libmikmod version.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@883 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-27 12:00:21 +00:00
stevenaaus 0fb8a46647 Move the sgml stuff to Linux/sgml, and update doco re gamma known-bugs.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@882 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-26 21:16:44 +00:00
sezero 201043b3ba BSP2 support. patch kindly provided by Eric Wasylishen (see the patch
tracker entry #11 at http://sourceforge.net/p/quakespasm/patches/11/)

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@881 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-25 09:10:28 +00:00
sezero b0f10c53bb osx and windows codecs: upgrade libmikmod to v3.3.4 release.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@880 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-12-11 14:37:24 +00:00
sezero f507bd8e51 snd_umx.c (read_typname): made technically more correct (not that it matters for our case, but still..)
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@879 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-24 07:03:49 +00:00
sezero 2be37b90e3 snd_umx.c: support umx files from unreal 1997/98 beta version.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@878 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-23 18:57:18 +00:00
svdijk 3128e5c42a In CL_ParseServerInfo(), call Host_Error() when a model can't be found.
This prevents the segmentation fault reported by Spirit at
http://celephais.net/board/view_thread.php?id=60452&start=516.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@877 af15c1b1-3010-417e-b628-4374ebc0bcbd
2013-10-18 10:43:54 +00:00