raze-gles/polymer/eduke32
helixhorned 146e1f1c09 When loading a game, DON'T restore 'adult' TV tiles. This fixes the recent
crashes.

Usually, after loading a game, some wall tiles are tweaked depending on whether
adult mode is enabled or not.  If it's not, those wall picnums are replaced
with blank or broken screens.  If it is, they are restored from the wall's
.extra member.  Apparently though, Mapster32 leaves some .extra members
floating around even after deleting a TROR nextwall link (it's used as the
'lower wall index').  Because MAXWALLS is greater than MAXTILES, this may
produce out-of-bounds accesses and corrupt memory (besides setting wall
tilenums to nonsensical values) later in the game.

Other than that, the change only affects loading savegames created with adult
mode OFF. Kinky TV screenies simply won't be restored then.

git-svn-id: https://svn.eduke32.com/eduke32@2235 1a8010ca-5511-0410-912e-c29ae57300e0
2012-01-05 20:48:37 +00:00
..
Apple Replacing 'NSApp' with the value returned from [NSApplication sharedApplication] is the last step to avoid null addresses in the x86 code. Go figure... 2011-06-17 11:58:37 +00:00
build Patch up access of malloc'd buffer one byte beyond its size in kplib's 2012-01-03 19:55:55 +00:00
eobj Importing source for great justice 2006-04-13 20:47:06 +00:00
eobj_win 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
installer 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
obj Importing source for great justice 2006-04-13 20:47:06 +00:00
obj_win 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
psd git-svn-id: https://svn.eduke32.com/eduke32@1653 1a8010ca-5511-0410-912e-c29ae57300e0 2010-05-25 11:00:42 +00:00
rsrc Updated synthesis script, moved some non-essential files around, updated license headers on all non-BUILDLIC files, added memory cache on top of texcache to improve load times, moved some duplicated keyboard handling stuff from winlayer/sdlayer to baselayer, fixed keypad / in Mapster32 tile selector, fixed bug where p->rotscrnang and p->look_ang never reset to 0, added support for reloading maphack based polymer lights after mode changes/savegame loads, other minor changes 2010-05-25 10:56:00 +00:00
samples a.m32 light hotkeys: clamp hitag (range) to 0..32767 instead of 0..16000 2011-12-30 22:17:29 +00:00
source When loading a game, DON'T restore 'adult' TV tiles. This fixes the recent 2012-01-05 20:48:37 +00:00
Windows backtrace.c: add flags to open() so that the log file is opened user-r/w. 2011-09-22 16:52:55 +00:00
backtrace.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +00:00
buildlic.txt 1. Removed unneeded the svn:executable proprties. These files aren't actually executable. 2008-07-12 14:09:52 +00:00
ChangeLog git-svn-id: https://svn.eduke32.com/eduke32@997 1a8010ca-5511-0410-912e-c29ae57300e0 2008-08-22 04:26:26 +00:00
ChangeLog.html Update repo to 1.4.0 beta 2 2006-07-18 21:08:38 +00:00
eduke32.sln Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
eduke32.vcproj Very few actual changes... mostly formatting fixes from astyle 2010-01-23 22:12:02 +00:00
eduke32.vcxproj Multiplayer improvements 2011-02-25 21:50:19 +00:00
eduke32.vcxproj.filters Multiplayer improvements 2011-02-25 21:50:19 +00:00
eduke32.vcxproj.user Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
GNU.TXT Importing source for great justice 2006-04-13 20:47:06 +00:00
libiconv2.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +00:00
libintl3.dll Pull in backtrace.c (pre-compiled as backtrace.dll and MinGW dependencies) from http://code.google.com/p/backtrace-mingw. When running debugging snapshots, this will print out a helpful backtrace in eduke32.crashlog. I had to disable stack protectors for debug builds as this was pulling in a dependency that I assume most people won't have. If anyone feels like merging that code into EDuke32 itself and find a way to remove the ugly libintl dependencies, be my guest. In the meantime, sorry for the awful commit. 2010-10-19 05:42:21 +00:00
m32help.hlp * Lazy hightile loading in Mapster32 tile selector (first display all as lowtiles, then load each one while allowing movement) 2011-03-23 17:41:01 +00:00
MakeDistributions Source code "cleanup," herein referred to as "rape" 2010-05-02 23:27:30 +00:00
Makefile Makefile: Remove {eduke32,mapster32}.memmap files on clean/veryclean targets 2011-12-11 13:26:22 +00:00
Makefile.common Rewrite the savegame format in terms of the generic saving/loading system. 2011-12-25 15:34:06 +00:00
Makefile.deps First Lunatic development bits. 2011-09-20 19:12:24 +00:00
Makefile.msvc Consolidate POLYMOST preprocessor define into USE_OPENGL, remove SUPERBUILD preprocessor define, add additional mode to neartag() to skip sprite searches and speed up processing (and enable for CON_OPERATE), fix issue with nearby single instance sounds not playing due to out of range sounds blocking their playback, fix issue with settings.cfg being reset to default bindings when running a mod that specifies its own cfg base name, improve CON structure member interface read/write performance, fix a bug with CON "move" pointer validation 2011-03-04 08:50:58 +00:00
names.h add two tile labels which Todd forgot to move from GAME.CON to DEFS.CON and therefore did not make it to names.h 2011-08-20 23:27:46 +00:00
nedmalloc.dll Update nedmalloc.dll and fix undesirable FIRE/FIRE2 and COOLEXPLOSION1 behavior from http://forums.duke4.net/index.php?showtopic=2961&st=90&start=90 2011-03-05 03:57:15 +00:00
osxbuild.sh Fix the Makefile on OSX. Their linker has a different syntax for requesting the 2011-11-17 21:10:18 +00:00
SEHELP.HLP Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
STHELP.HLP Global thermonuclear code rape 2010-08-02 08:13:51 +00:00
tiles.cfg move tiles.cfg out of eduke32/samples/ into eduke32/ and update synthesis.sh to reflect that 2011-07-28 21:12:02 +00:00