------------------------------------------------------------------------ r2261 | helixhorned | 2012-01-15 14:39:59 -0800 (Sun, 15 Jan 2012) | 4 lines Remove the allocache() allocation type for 'intptr_t *lookups'. Always malloc that buffer. This allows us to remove suckcache() from cache1d.c, which I believe to be buggy (see comments in the source). ------------------------------------------------------------------------ r2260 | helixhorned | 2012-01-15 14:39:38 -0800 (Sun, 15 Jan 2012) | 4 lines cleanup: - 'whitecol' was defined in the engine and in build.c, use only the engine one - make cachesize, artsize, artversion static in engine.c - undo some formatting havoc presumably done by astyle ------------------------------------------------------------------------ r2259 | helixhorned | 2012-01-15 14:39:10 -0800 (Sun, 15 Jan 2012) | 12 lines Increase the number of maximum art files from 64 to 256 and tweak loadpics(). It is likely that this is the value it used to have at some point, because the MAXTILEFILES macro equals 256 and is as old as the Duke3D source. loadpics() now refuses to load an ART file with localtilestart or localtileend out of bounds, or if localtileend<=localtilestart (i.e. no tiles in ART file, or nonsense). Also, on 'invalid art file version', continue instead of returning. Note: this does not increase the maximum number of tiles, which is still 15360, it only gives a bit more freedom to arrange them (well, into more art files). Also, I don't see what anyone keeps off from packing any number of tiles (from 1 to 15360) into an art file. Old EDITART limits? ------------------------------------------------------------------------ r2258 | helixhorned | 2012-01-15 14:38:54 -0800 (Sun, 15 Jan 2012) | 1 line Add a hack to the animsounds DEF token parsing to not wrongly emit an error. ------------------------------------------------------------------------ r2257 | helixhorned | 2012-01-14 06:48:45 -0800 (Sat, 14 Jan 2012) | 1 line Fix parallaxed sector display in Mapster32 on Polymer. ------------------------------------------------------------------------