note: 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1368 af15c1b1-3010-417e-b628-4374ebc0bcbd
note: 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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1366 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1362 af15c1b1-3010-417e-b628-4374ebc0bcbd
(the osx leak from https://bugzilla.libsdl.org/show_bug.cgi?id=2157
is still there.)
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1360 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1359 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1351 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1348 af15c1b1-3010-417e-b628-4374ebc0bcbd
This makes the official http://libsdl.org/ frameworks work with QS
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1347 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1346 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1342 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1319 af15c1b1-3010-417e-b628-4374ebc0bcbd
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://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1318 af15c1b1-3010-417e-b628-4374ebc0bcbd