Commit graph

1711 commits

Author SHA1 Message Date
Ozkan Sezer
7ac26b0a66 SDL2 rebuild:
- osx fix for #3949 (SDL2 hg rev. 11696)
- another osx fix (SDL2 hg rev. 11697)
- fix for bug 3947 (not yet in SDL2 hg)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1531 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-12 20:50:51 +00:00
Ozkan Sezer
76b1442351 oslibs: add missing tremor builds for windows.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1530 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-12 16:39:20 +00:00
Ozkan Sezer
39bee8371f dslibs, codecs: vorbis rebuild
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1529 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-11 12:55:52 +00:00
Ozkan Sezer
c5b2c6a848 pr_edict.c (ED_ParseEpair): remove a developer.value check before the Con_Dwarning call added by r1527
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1528 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-10 05:55:04 +00:00
Eric Wasylishen
78970b5323 ED_ParseEpair: don't read garbage into vectors if the string is too short
This is a bug from vanilla.
Shows up in qump_vingal.bsp from QUMP, which has func_illusionary
entities with "origin" "". Example are the torch holders before
the first door in the map.
Prior to this commit the vector would possibly get a garbage value,
depending on what was on the stack.

see: http://celephais.net/board/view_thread.php?id=61523&start=53&end=61

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1527 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-07 21:49:32 +00:00
Ozkan Sezer
bbcdd9cbac SDL-1.2 rebuild: applied a fix for SDL bug #3739.
changed bug #3332 patch to use the SDL_ToUnicode
function wrapper instead of ToUnicode() directly.
some minor tweaking about SDL_stroull on windows.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1526 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-05 17:55:35 +00:00
Ozkan Sezer
0887c985a6 SDL2: rebuilt for osx and windows after applying fixes for SDL bugs
3920, 3921, 3926, and 3739. (only the bug/3926 patch is in official
SDL repo, for now.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1525 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-02 14:32:42 +00:00
Eric Wasylishen
ac42683f58 r_world.c: rewrite R_DrawTextureChains_Multitexture_VBO to use GLSL
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1524 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-11-01 04:01:02 +00:00
Ozkan Sezer
ff3afb8ba3 rebuilt watcom versions of libvorbis after fixing a nasty asm mistake.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1523 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-27 23:03:04 +00:00
Ozkan Sezer
97b5dfc86d rebuilt SDL2 for osx and windows from official SDL2-2.0.7 release.
osx version has SDL changeset r11654 applied to fix a minor issue.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1522 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-26 18:25:11 +00:00
Ozkan Sezer
2b8f031b62 SDL2: rebuilt (again) after fixing a stupid typo..
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1521 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-21 05:16:50 +00:00
Ozkan Sezer
f921e86db7 Rebuilt SDL2 for windows and osx after applying patches from mainstream:
fixes SDL bugs 3887 (windows), 3890 (proper CVE-2017-2888 fix) and 3883

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1520 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-20 15:50:49 +00:00
Ozkan Sezer
2289896f55 SDL2: rebuilt after applying multiple fixes from the mainstream hg repo:
addresses SDL bugs 2307, 3849, 3848, 3851, 3866, 3867, 3868, 3869, 3871,
3874, and 3875.  SDL2-2.0.6 bugs 2157, 3845, 3846, 3876, and 3878 still
are not resolved.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1519 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-14 13:01:14 +00:00
Ozkan Sezer
289b228a34 SDL2: rebuilt after applying fixes for SDL bugs #3857 and 3865. Also
applied Eric's suggested patch for bug #3851.
- SDL-2.0.6 bugs #2157, 3845, and 3848 still not resolved.
- SDL2 bug #3846: possibly a dup of #3851
- SDL2 bug #3858: possibly a dup of #3848 (and 3849)
- Windows version is built using VS2013-update5 with the WinXP option.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1518 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-08 18:55:18 +00:00
Ozkan Sezer
7577250380 SDL2: rebuilt after applying fixes for SDL bugs #3855, 3857, and 3862.
Also applied Eric's memmove() suggestion for bug #3849.
- Windows version is built using VS2013-update5 with the WinXP option.
- SDL-2.0.6 bugs #2157, 3845, 3846, 3848, and 3851 still not resolved.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1517 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-07 08:33:11 +00:00
Ozkan Sezer
c7e4215b79 SDL1.2, win32: lose the _GNU_SOURCE define to avoid the unnecessary
MINGW_ANSI_STDIO stuff when building against mingw.org headers..

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1516 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-05 20:24:43 +00:00
Eric Wasylishen
d4d06b4a78 view.c: New "gl_cshiftpercent_contents", "gl_cshiftpercent_damage", "gl_cshiftpercent_bonus", "gl_cshiftpercent_powerup" cvars for tuning the strength of specic view blends.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1515 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-03 19:49:04 +00:00
Ozkan Sezer
bd354f4159 MacOSX/AppController.m: fix unused warnings in SDL2 builds
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1514 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-02 20:11:04 +00:00
Ozkan Sezer
f1c6595996 SDL2: rebuilt after applying fixes for SDL bugs 3051, 3814, 3842, 3847, 3852, 3854.
- Windows version is now built using VS2013-update5 with the WinXP option.
- SDL-2.0.6 bugs #3845, 3846, 3848, 3849, and 3851 are still not resolved.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1513 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-01 20:47:25 +00:00
Ozkan Sezer
b9e5285607 compiler.h: added clang version of FUNC_NO_OPTIMIZE.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1512 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-01 18:11:29 +00:00
Ozkan Sezer
cc987b449b oslibs, SDL1.2: minor.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1511 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-01 18:03:37 +00:00
Ozkan Sezer
152b5d3627 rebuilt libmpg123 after syncying with fixes in mpg123-1.25.7 release (mpg123 svn rev.4356)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1510 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-10-01 18:01:08 +00:00
Ozkan Sezer
5fba56326f SDL2 for Windows and OSX: rebuilt using SDL2-2.0.6 official release
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1509 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-22 21:03:08 +00:00
Ozkan Sezer
f636f433f4 rebuilt libmpg123 after applying a fix (svn rev. 4355) from mpg123 svn repository.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1508 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-22 17:15:21 +00:00
Ozkan Sezer
151bcb5786 SDL2 for Windows and OSX: rebuilt from SDL hg-11511:833d4fbb3d76
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1507 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-21 14:52:08 +00:00
Ozkan Sezer
0f694ed6fe merged latest lodepng mainstream code: fixes encoder memory leak for some input error cases.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1506 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-17 11:04:05 +00:00
Ozkan Sezer
e7648a42c9 minor cleanup to Max_Fps_f() cvar callback.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1505 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-17 11:02:46 +00:00
Ozkan Sezer
daf5ebec2f "W007: '&array' may not produce intended result" Watcom warning fixes.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1504 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-17 08:00:32 +00:00
Ozkan Sezer
3cefb58d5d move the watcom 'aborts' pragma after function declarations.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1503 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-16 19:50:12 +00:00
Ozkan Sezer
fde04acd32 oslibs, codecs:
- rebuilt opusfile after applying a fix (commit dee76c9) from xiph.org git repo.
- rebuilt libmpg123 after applying a fix (svn rev. 4335) from mpg123 svn repo.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1502 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-15 14:02:48 +00:00
Eric Wasylishen
e71737d35c host_maxfps: tweak warning message; > character looks weird in quake
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1501 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-13 00:04:31 +00:00
Eric Wasylishen
45f1df6112 host_maxfps: warn the player if > 72 that physics will be broken
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1500 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-12 23:27:26 +00:00
Eric Wasylishen
71d7d02eaf SZ_GetSpace: change overflow Sys_Error to Host_Error
this happens for maps that exceed the signon buffer and makes it a bit less annoying

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1499 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-12 23:12:33 +00:00
Ozkan Sezer
14e157d051 SDL2 for Windows and OSX: rebuilt from SDL hg-11493:93013728e8a3
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1498 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-11 14:40:26 +00:00
Ozkan Sezer
61deae5b67 oslibs: rebuilt SDL1.2
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1497 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-11 11:22:13 +00:00
Ozkan Sezer
63ee3643ae SDL2 for Windows and OSX: rebuilt from SDL hg-11445:8d0fb04ecb13 :
Changes since rev. 11442: the SDL_WINDOW_VULKAN constant changed.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1496 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-03 20:15:08 +00:00
Ozkan Sezer
caf3f3eed7 minor warning fix.
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1495 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-03 14:56:03 +00:00
Ozkan Sezer
1edb1323ff re-diffed two patches so that they apply cleanly
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1494 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-03 14:55:18 +00:00
Ozkan Sezer
050283be01 SDL2 for Windows and OSX: rebuilt from SDL hg-11442:11413fa29401 :
- Mainly includes a few Mac OS X fixes since rev. 11427, and some
  game controller updates (SDL bugs 3483, 3691, 3789, 3791, 3792.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1493 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-09-02 12:10:42 +00:00
Ozkan Sezer
5a999570e2 SDL2 for Windows and OSX: rebuilt from SDL hg-11427:381449ca1cd2 :
- Mainly includes a few Mac OS X fixes since rev. 11413.

- The Windows builds exclude the new wasapi audio feature, because it
  keeps sending AUDIO_F32LSB in the obtained.format for me.

- The x64 part of the OSX builds does include the new Vulkan support
 (I build against 10.8 SDK to target 10.6+, but I hacked && butchered
  Metal.framework headers from 10.11 SDK to play nice with 10.8 SDK.)

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1492 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-30 20:28:28 +00:00
Ozkan Sezer
27a34d8173 add vulkan-1.dll import libs for mingw (in case we need in future....)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1491 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-29 12:20:10 +00:00
Ozkan Sezer
998d480d62 SDL2 for Windows and OSX: rebuilt from SDL hg-11413:16fe5acdcaa7 :
- The OSX builds exclude the new Vulkan support, because it requires
  building against 10.11 or newer SDK, and I build against 10.8 SDK.

- The Windows builds exclude the new wasapi audio feature, because it
  keeps sending AUDIO_F32LSB in the obtained.format for me.

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1490 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-29 12:11:17 +00:00
Ozkan Sezer
5dd794f0e9 rebuilt SDL1.2 from latest src
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1489 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 14:00:18 +00:00
Ozkan Sezer
11cdaae239 small update to SDL1.2 headers
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1488 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 11:55:45 +00:00
Ozkan Sezer
33f2c8d5c7 small update to SDL1.2 headers
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1487 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 11:34:08 +00:00
Eric Wasylishen
29a00128e1 update docs for SV_TouchLinks change
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1486 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 08:28:24 +00:00
Eric Wasylishen
7284d3d6f3 SV_TouchLinks: new workaround for touch functions that modify the
trigger linked list.

Copies the touched edicts to a hunk-allocated array first, before
running the touch functions. From QS-Spike, with some adjustments.

See: http://celephais.net/board/view_thread.php?id=60452&start=2950
and fixes: http://www.quaketastic.com/files/misc/touchlinks-test.zip

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1485 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 02:15:04 +00:00
Eric Wasylishen
94a4d55466 Revert SV_TouchLinks changes from fitzquake
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1484 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 02:15:03 +00:00
Eric Wasylishen
73123e19cb Revert "applied a better fix for the infamous "SV_TouchLinks: next != l->next" problem."
This reverts r359

git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1483 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-28 02:15:02 +00:00
Ozkan Sezer
df1c7ee3ff SDL2 for Windows and OSX: rebuilt from SDL hg-11347:7f254d0b7842
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1482 af15c1b1-3010-417e-b628-4374ebc0bcbd
2017-08-25 12:02:25 +00:00