Build 1705
SVN-
General
msvc compile fix
SVN handles and Git names are merged into one person.
msvc compile fix
Re-tie initial SDL mouse grabbing to DEBUGGINGAIDS.
Correctly (I hope) handle the zoom argument of rotatesprite when drawing HUD models in Polymer.
Add a few debug cvars for development purposes.
Fixes various issues with selecting: sectors and duplicating them many times in a row, sprites and then deleting some of them (also adds set union ['] and difference [;] to RSHIFT); adds the ability to move all selected sprites in the XY plane in 3d mode with SHIFT-LMB and align to the grid in an absolute fashion with CTRL.
Fix wrong interpretation of SPREXT_NOTMD that would cause it to assume the flag was set whenever any flag was set, causing the models to switch on and off in Duke Plus with Polymer.
Polymost-style HUD model support for Polymer. It properly displays all HRP HUD models as far as I can tell.
Tweaks keys for the PR override vars once more. Keyboards are annoying.
Fixes crash in 2d map drawing where sector[-1] was accessed; added commands a2xy and ah2xyz to m32script, coded 2d preview of swinging and sliding doors; added "samprate" setting to configuration, useful if the default one gives jittering/echoey audio
Search for named tile in tile selector ('S'); various bugfixes (among other things with PR-override vars)
bugfixes; mark tiles in tile selector for later grouping (press SPACE on a tile); a.m32: convert to CRLF and add [xyz]vel query in 3d mode (Alt-KP1), also different keys for Polymer override var tweaking; some CRLF->LF in LF-only files.
don't link build utils to all the libs needed for the actual engine itself
Makefile cleanups: fixed building with GCC 3, made tabs into spaces where outside command context; Windows: make startup window stay 3 seconds if there was an error -- this way you won't mistake yourself forgetting to copy game data for a crash *d'oh*
Fixes compilation for now. Now if my executable would start...
A bunch of m32script additions, fixes and general stuff, among them: local vars/arrays, inline quotes and prettier error messages.
Fix some crashes with weapon sounds inappropriately set to -1 in the cons
Remove detection of sprites outside of sectors at map load and fix green sprites in Mapster32 with Polymer
Possibly fix another weird crash
This is not my day. >:
I am an idiot
Another 64-bit crash fix
added BUILD functions getclosestcol and divscale, made 2d drawing commands accept VGA-palette colors (-1 through -255) in addition to editor colors, made 2d mode show Polymer SE light outlines
added m32_autoexec.cfg execution on startup of mapster32 (like autoexec.cfg for the game); in 3d mode: shift-pgup/pgdn -> alt-pgup/pgdn for 2-sided walls
Implement 'away1' and 'away2' maphacks in Polymer.
Respect the 'notmd' maphack when deciding to draw models in Polymer.
Partially fixes bug #3034382 and a few other ones.
Damnit
Global thermonuclear code rape
Polymer performance improvement and some game related bug fixes. Improves Polymer framerate by about 25% in most cases and fixes problems causing Duke Caribbean doors to malfunction.