Build 3423
SVN-
fix wrongly stripping debug binaries...
Show details
... when 'make' is invoked like "make ... STRIP=some_strip".
SVN handles and Git names are merged into one person.
fix wrongly stripping debug binaries...
... when 'make' is invoked like "make ... STRIP=some_strip".
simplify how to determine whether the final binary is stripped.
Whenever it should be not, STRIP is set to the empty string. This fixes the Lunatic RELEASE=1 build.
Lunatic translator: more of the same.
- more predefined vars - fix recursive states and ones with a stray "else" before the end
various.
- Fix "gv" access. - camera - translator: comparison predicates, predefs...
polymost.c: factor out 2x dup'd code into get_projhack_ratio().
One use was in determining the ray vector for the mouse-aiming hitscan in the editor. Unfortunately, the change doesn't make it any less broken in Polymost, even if the two instances were out of sync.
more or less fix the auto wall-alignment feature ([.]/[,]).
- Run it twice, since the first one is wrong. - Warn when attempting to align based on a top-oriented wall. When the sequence of walls to align has "windows", only the bottom parts will be correct. - Make the modifiers actually useful: * Pressing SHIFT aligns at most one wall, remove the old CTRL modifier. * The rest is as before: ALT makes the walls have (approximately) equal texture stretching, ['] (quote) aligns the immediate TROR-nextwalls.
Fix MUSICANDSFX ambient sounds (bit 2) playing only one instance.
This is done by introducing an additional internal bit, meaning "play only one instance". It is set for all sounds which have bit 1 ("repeat in the sound system") set at definesound time, but not those that set bit 1 temporarily (see r3336).
polymost.c: a couple of {tex,mem}cache cleanups / fixes.
- Stop using memcache on some other failure paths, particularly when failing to read from the on-disk texcache. - Factor out cache reading code (3x). - Fix endianness issues affecting big-enadian systems (one introduced by r3382, one existing before). Comment each B_LITTLE32 with whether we're converting from native to on-disk (little) endianness or back.
Fix warnings that appear if big-endian || USE_OPENGL=0.
Re-enable spotlights on ATI cards again because the crash from 12.8 seems gone.
Fix NETCODE=0 build.
Factor "pipe standard outputs to files" code into baselayer.c.
The SDL and Windows layers had slightly different code: the latter would dereference a NULL pointer if stdout.txt failed being write-opened.
grabbag of different things.
- fix error handing with recursing events - wallsofsect iterator, sector[]:contains() - more codegen; mangle function names - m32: compinside
Address some macro madness in jaudiolib. (Should fix PowerPC builds.)
Fix a "typedef redefined" warning with clang in dsound.h
fix a possible crash with texel-hitscan.
Reproduced as follows (assuming all tiles have texel-hitscan for simplicity): In E2L5, shoot the opening switch with the shotgun, aiming for the border. The crash occurs because the *other*, depressed switch tile isn't yet loaded when we index into its tile storage. Dereferencing 0+small number == BAD!
definesound, more control.lua fixes.
fix stack discipline.
Preventing a continuously growing stack top and inevitable program termination. Also, commonize the error handling to live on the engine side.