Build 10478
GIT-
fix M32_PRINTERROR macro
-
fix updatesector/updatesectorz/updatesectorneighbor/updatesectorneighborz
Nickname SVN e nomi Git sono unificati per persona.
fix M32_PRINTERROR macro
fix updatesector/updatesectorz/updatesectorneighbor/updatesectorneighborz
add map start position to undo/redo state
fix F11 brightness adjustment and enable function in 2D mode
improve 2d mode sprite color calculation to avoid returning illegible colors
set asksave to 0 when saving from menu
add Ctrl+Alt+W hotkey to toggle clipping of sprite insertions against blocking sprite geometry instead of hitscan
fix m32script crash
add file drop callback/SDL_DROPFILE support
add an EVENT_INIT that fires once per explicit `include` of a script filename from the console (including from within m32_autoexec.cfg)
GCC 12 warning fixes
revise b75488b44d755da170b2877ab935ec385512036a to print status messages informing the user why undo/redo is blocked
fix crash on sector creation
block undo/redo during editing operations...
I am frankly amazed that it took years for this to ever become a problem.
add "cameraheight" cvar to control the player height
Default for Duke3d is 40, and Shadow Warrior is 58.
clean up log messages
keep clipboard texture rot90 bit when pasting onto bottom walls
fix possible file handle leak in osdcmd_artdump()
remove call to calc_sector_reachability() from yax_updategrays() in favor of calling it explicitly when needed instead
fix "gameexecutable" option in configuration file
don't crash when loading corrupt maps with sectors with zero walls
This also makes the editor recognize corrupt sectors with < 3 walls and try to repair the map. It works for the corrupt sectors in E4L1, at least. Please immediately report any problems caused by this change directly to me.
fix stupid mouse look bug
fix a few things to reference MAXUSERTILES instead of MAXTILES
improve tile picker
make little dot thing that snaps to the currently selected wall from the mouse cursor more visible and minorly improve mouse cursor
Yeah, I understand it's fucking pink, but go ahead and find me a more visible color in the default palettes of any of the supported games. wtf chode
startup window checkbox for -usecwd
integer upscaling for 2d mode for people with 4K displays
Enable with the "upscalefactor" console command or by editing the cfg for now.
unify resolution choice for 2d and 3d mode
use updatesectorz_compat() for moving with the mouse with clipping disabled
skip drawing sprites in textured view if the sector is grayed out
fix sector visibility value printed in message shown when using alt -/+
fix stupid bug where changing sprite angles or aligning wall textures with , and . didn't flag the map as having been changed
allow printext256 in 2d mode, add "ifin2d3dmode" for scripts to detect PIP usage
fix floor and ceiling texture corruption issue in 2d3d mode window
artdump tile range support
fix drawing bug with highlighted sectors in 2d mode
clamp m32script line drawing color range to 255 instead of 15
handle negative color indexes for m32script printext16 the same as the line drawing commands
the VS debugger says this is used uninitialized but it's not
Shut up, VS debugger.
add drawline256 command for scripting
artdump console command