February 2015
-
in 'for i drawnsprites' handling, back up and restore sprite MAXSPRITES-1.
Show details
This fixes the level 5 corruption encountered when issuing that iteration. (Because the last sprite would be changed from e.g. statnum MAXSTATUS to 0.) It is also mandatory anyhow since the last sprite may be contained in the map.
December 2014
-
fix tilesizx[]/tilesizy[] access. Can also 'copy' from them.
February 2014
-
remove sprite members 'detail' and 'filler', add 'blend', make r/w.
December 2013
-
fix parsing negated labels, getnumber* with neg. 'max'.
Show details
Exposed by this snippet from a.m32: getnumber256 .owner "OWNER (projection picnum): " -MAXTILES Now, Alt+KP2 works as expected in 3D mode.
October 2013
-
when failing to load file, don't append '.m32' if already there.
Show details
So that there are no error messages like "M32 file `a.m32.m32' not found." Also, in build.c's 'save as' code, add a bound check that would probably always pass in practice, but looks a bit safer and may fail in very cornerly cases.
-
when printing error line, replace tabs with spaces.
May 2013
-
sync rotatesprite* with CON.
April 2013
-
in tsprite access, fix checking min/max/RO; tweak RESPAWN preview.
Show details
This fixes RESPAWN preview wrongly clamping the previewed tsprite z coords to [-524288 .. 524288] (x/y limits). Also, make the previewed tsprites be 33% translucent with the option of 66% translucency by setting 'showrespawn_fulltrans' to 1 in a.m32.
February 2013
-
remove unused tsprite access via spriteext[].tspr.
July 2012
-
EVENT_DRAW3DSCREEN, screenshot functonality.
Show details
The event is run after drawing the scene, but before the overlays. To make a screenshot from a script, set DOSCRSHOT to non-zero. It will then be scheduled to run once after the drawing but before the above-mentioned event. The screenshots will be called mcapXXXX.{png,tga}.
-
if printext256's <col> arg is negative, use editorcolors[-<col>].
Show details
The editor colors are the ones listed on page 9 of the Mapster32 built-in help.
April 2012
-
fix some commands breaking too early in case of a failed validation.
Show details
If one next instruction happened to be interpreted, madness would ensue, because the pointer wouldn't be aligned on the "opcode" part anymore. Also, with "seti", set current sprite index only after a successful validation.
March 2012
-
fix twisted pstat/nstat and psect/nsect references.
December 2011
-
when failing to compile a state with a menu name, don't keep the
Show details
menu entry.
August 2010
-
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
June 2010
-
infinite loop safety halt (send a SIGINT), saved input history, states can be invoked without "state" keyword when in OSD
October 2009
-
stuff for fiddling with polymer lights