Commit Graph

1393 Commits

Author SHA1 Message Date
sezero ce69b9c633 oslibs, codecs: rebuilt the FLAC decoder for windows and macosx after
fixing a number typo.

oslibs, codecs: killed all binary blobs for libmodplug. the library is
full of insecurities, mistakes, etc, neither is it endian-correct. the
snd_modplug.c code is still there if one ever wants to build it though.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1362 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-07 06:50:04 +00:00
sezero 89cf6ee0b7 rebuilt SDL2 for macosx from SDL2 hg repo r10670 so that it works on 10.6 again.
(https://bugzilla.libsdl.org/show_bug.cgi?id=3503)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1361 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-02 09:50:02 +00:00
sezero 2d5a0f7421 rebuilt SDL2 for windows and macosx from SDL hg rev. 10668
(the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there.)


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1360 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-12-01 15:28:13 +00:00
sezero 4e03f51889 rebuilt SDL2 for windows and macosx from SDL hg rev. 10602, which
has some bug fixes and game controller updates since release-2.0.5.
the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there: we can rebuild if it ever gets fixed..

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1359 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-11-11 14:11:22 +00:00
sezero 8a2bfbd51a oslibs, codecs: rebuilt libmodplug after a bug fix.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1358 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-11-10 19:29:02 +00:00
ewasylishen c0b229aa37 Only print "maps/*.lit loaded" messages on develoepr 2, the are spam on developer 1.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1357 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-22 18:38:58 +00:00
ewasylishen 1aa19ebc2b QuakeSpasm.xcodeproj: copy quakespasm.pak/license/readmes to build products directory
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1356 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-22 18:38:42 +00:00
ewasylishen 5d9555cc0e QuakeSpasm.xcodeproj: make this Xcode project deployment target 10.6, even for the SDL1.2 target. The other Xcode project can be used for building 10.4 compatible builds
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1355 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-21 20:26:33 +00:00
sezero a3df27a02d oslibs, codecs: rebuilt libmodplug for macos_x and windows from
https://github.com/sezero/libmodplug.git / sezero_no_cxx branch:
- remove C++ (libstdc++) dependencies,
- Fix handling of single-row loops to prevent endless loops.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1354 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-20 14:56:48 +00:00
sezero bf5687be4f Makefile.darwin: removed bundle1.o from 10.6/i386 linkage (crashes. only needed for x86_64.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1353 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-16 09:32:25 +00:00
sezero 7a20cf887b rebuilt SDL2 for macosx after reverting https://hg.libsdl.org/SDL/rev/d19f7d2b6ec8 for now, to prevent the crashes observed on 10.6.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1352 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-16 08:50:28 +00:00
sezero 4b5cf398f6 - rebuilt SDL2 for windows and osx from SDL hg rev.10541
to prepare for and test their upcoming 2.0.5 release.
- changed Makefile.darwin so that SDL2-386 builds target
  10.6+ which is an SDL2-2.0.5 requirement.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1351 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-15 19:28:47 +00:00
sezero da696d0b51 changed version to 0.92.2, added placeholders for changelog in the readme.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1350 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-14 09:47:07 +00:00
ewasylishen 9a0ceb9117 Xcode project: set deployment target to 10.6 for QuakeSpasm-SDL2
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1349 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-13 20:31:48 +00:00
ewasylishen 985ead4ea9 macOS: omit the SDLApplication class under SDL2.
SDL2 has an SDLApplication class internally which does the same thing. Fixes this warning:

objc[34880]: Class SDLApplication is implemented in both [...]/QuakeSpasm-SDL2.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2 (0x10365b5a0) and [...]/QuakeSpasm-SDL2.app/Contents/MacOS/QuakeSpasm-SDL2 (0x1002708e8). One of the two will be used. Which one is undefined.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1348 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-13 20:05:26 +00:00
ewasylishen 98a8feaac6 Xcode project: set LD_RUNPATH_SEARCH_PATHS = "@executable_path/../Frameworks"
This makes the official http://libsdl.org/ frameworks work with QS

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1347 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-13 19:39:25 +00:00
sezero dd4c570a94 Fixed -Wformat-length warning from experimental gcc-7:
sbar.c: In function 'Sbar_DrawInventory':
sbar.c:673:18: warning: '%3i' directive writing between 3 and 11 bytes into a region of size 6 [-Wformat-length=]
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
                  ^~~
sbar.c:673:17: note: directive argument in the range [-2147483648, 999]
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
                 ^~~~~
sbar.c:673:3: note: format output between 4 and 12 bytes into a destination of size 6
   sprintf (num, "%3i", q_min(999,cl.stats[STAT_SHELLS+i])); //johnfitz -- cap displayed value to 999
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1346 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-07 20:00:27 +00:00
sezero 06d52b08aa oslibs, codecs: rebuilt mpg123 with the id3 bugfix patch applied from mainstream.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1345 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-01 11:01:59 +00:00
sezero e39cf2b157 filenames.h: update copyright years from mainstream.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1344 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-10-01 11:00:35 +00:00
sezero d32cdf80eb minor stuff..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1343 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-09-12 14:03:01 +00:00
sezero 8569447185 apply changeset 10313 from the SDL hg repo for SDL-1.2-macosx:
1.2 mac: Apparently the magic -psn command line appears in post-10.9 macOSes.
So don't bother checking the version. Fixes apps failing to chdir to the
app bundle's parent directory, as is expected.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1342 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-09-08 08:33:35 +00:00
sezero 8a8bcbb564 rebuilt SDL2 for windows and macosx after applying the following
changesets from the SDL mercurial repo:
http://hg.libsdl.org/SDL/rev/17e0ded12e6f
http://hg.libsdl.org/SDL/rev/26104a670291
http://hg.libsdl.org/SDL/rev/3134026517cb
http://hg.libsdl.org/SDL/rev/cb13d22b7f09
http://hg.libsdl.org/SDL/rev/a64e365c1e38
http://hg.libsdl.org/SDL/rev/42768c568a50
http://hg.libsdl.org/SDL/rev/61a87b05c0b5
http://hg.libsdl.org/SDL/rev/7b037d1387a0


git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1341 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-09-05 19:15:13 +00:00
sezero 9fa51e14c9 meh..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1339 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:47:12 +00:00
sezero f346715981 documentation updates
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1338 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:37:21 +00:00
sezero 1bc6a7fbaf minor updates to some files from uhexen2 (for sake of symmetry between the two trees.)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1337 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-23 11:24:24 +00:00
sezero c1705e00d4 Fix out of bounds access to keybindings: K_PAUSE is 255. Noticed by Axel Gneiting (bug #14).
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1336 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-21 17:37:21 +00:00
sezero 74284cc6f3 oslibs, codecs: rebuilt libmikmod from upstream hg repo.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1335 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-12 20:21:11 +00:00
sezero cf3a949b7c snd_mikmod.c: we don't truly need the high-quality mixer. (and it's slow too...)
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1334 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-08-08 04:04:14 +00:00
ewasylishen d70f8bbef3 Fix for large menu scale factors, broken in r1293
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1333 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-20 04:15:02 +00:00
sezero 6d863e9d0d oslibs, codecs: rebuilt opusfile for osx and windows from the latest 0.8 release from xiph.org.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1332 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-16 09:50:04 +00:00
sezero 4addc6737b oslibs: rebuilt FLAC decoder for osx and windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1331 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-15 14:56:15 +00:00
sezero 0c8b9f8f1f oslibs, codecs: rebuilt FLAC decoder for windows and osx.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1330 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-11 07:20:03 +00:00
sezero 3203186dfb changed version to 0.92.1 for future development
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1329 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-02 05:41:25 +00:00
sezero eebbc64863 minor doco edits
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1327 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-01 07:00:02 +00:00
stevenaaus 8b05d42508 .. and html and txt files.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1326 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-01 05:02:55 +00:00
stevenaaus 46e1b237ac Doco tweak.
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1325 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-07-01 04:34:51 +00:00
sezero 3658697931 minor whitespace adjustments in Quakespasm.txt
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1324 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-27 16:37:33 +00:00
ewasylishen c72dafca61 docs: add Controller Support section
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1323 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-27 03:45:49 +00:00
ewasylishen e6ed94a3c4 in_sdl.c: make new joy_* cvars CVAR_ARCHIVE
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1322 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-26 23:37:41 +00:00
sezero c92871e96a minor CodeBlocks project file fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1321 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-25 17:01:17 +00:00
sezero 7a42539971 just remove the if0'ed part..
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1320 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-25 05:24:11 +00:00
sezero 40be0b424d Host_Loadgame_f(): no need for entnum >= sv.max_edicts check
because EDICT_NUM() does it already. also move ent->free=false
statement to partial zero-fill case.
Host_ClearMemory(): remove check before free(sv.edicts)
SV_Init(): initialize sv.edicts to NULL (just paranoia)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1319 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-25 05:21:22 +00:00
sezero 2f4eac979e Loadgame_f() may go past sv.num_edicts, but it does not go through
ED_Alloc(), therefore such ents will have uninitialized members.
This used to lead to bad crashes with e.g. Rubicon Rumble Pack maps
since svn r1286 when we began allocating sv.edicts using malloc and
only zero-filling when necessary.  So, check against sv.num_edicts
and zero-fill the ent properly when necessary.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1318 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 16:04:25 +00:00
sezero 2c6697641c initial documentation of 0.92.0 changes
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1317 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 11:00:39 +00:00
sezero 3a28650113 silence pesky warnings from old compilers
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1316 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 07:40:08 +00:00
sezero d8b16f3c2c change version to 0.92.0
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1315 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 07:04:11 +00:00
ewasylishen 187e9de65f add -protocol [15/666/999] command line flag, patch from szo
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1314 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 06:15:47 +00:00
ewasylishen f7707a87af RMQ protocol (999) support, adapted from RMQEngine
git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1313 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 06:15:41 +00:00
ewasylishen bf8351922b limit increases to handle oms3 map pack.
MAX_MAP_LEAFS: 65535 -> 70000
MAX_LIGHTMAPS: 256 -> 512

TODO: maybe drop static arrays based on MAX_MAP_LEAFS like, see R_InitVisCache in RMQEngine.
TODO: dynamically allocate the static `lightmaps` array as well; with this last limit increase it's 32MB.

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1312 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-24 06:15:33 +00:00
sezero 48a511eb22 bgmusic.c (BGM_UpdateStream): avoid a possible endless loop.
(just a paranoid safeguard, shouldn't happen in real life.)

git-svn-id: svn+ssh://svn.code.sf.net/p/quakespasm/code/trunk@1311 af15c1b1-3010-417e-b628-4374ebc0bcbd
2016-06-23 08:03:43 +00:00