July 2015
-
misc cleanups, support for drawing transparent lines in 2d mode. DONT_BUILD.
-
General
Fix warnings
-
upload bucket indices through pinned host memory.
-
fix regression with Y-flipping bit.
-
add preliminary support for batching draws.
-
fix synthesis warning.
-
store map data in a single buffer with a unified vertex type.
-
further 2d mode performance improvements. Sprites are also now displayed with their xrepeat and yrepeat taken into account. It's not perfect yet... needs more "jiggery-pokery"
-
fix two "variable may be used uninitialized" warnings.
Show details
I didn't produce a case when this could actually have happened, but reading the code, in the case of variable 'j' it seems possible with an empty map.
-
fix a possible oob read via drawspritelabel; sanitize 2d3d mode.
Show details
That is, in m32_is2d3dmode(), also check if 2d and 3d mode resultions are the same. Otherwise, oob writes (e.g. via tileinfo_doprint()) and other thinkable niceties may ensue.
-
2d mode performance improvements
-
improve 2d mode sprite label display. I want to test this further, so this is marked as DONT_BUILD.
-
General
Update VS project. DONT_BUILD.
-
General
Disable FLAC in MSVC builds for now until I have time to build new libraries that are compatible with VS2015. DONT_BUILD.
-
fix 3d picture-in-picture when editing a map with TROR.
-
improve diagnostic message.
-
General
A couple of Mapster32 tweaks to play nicer with different palettes.
-
General
Address complaints from the "Mapster32 problems and bugs" thread.
-
General
Mapster32 changes:
Show details
-2d mode sprite colors are now automatically generated from the sprite's 8-bit tile. -Zooming in and out has been smoothed out. -The 2d mode crosshair cursor is now 1px thick instead of 2. -The left mouse button can now be used to select multiple wall points and sprites in 2d mode. -Ctrl-x now skips corrupt maps instead of going into an infinite loop. ;) -'-L function in 3d mode works again. -Sprites with a clipdist that has been changed from the default value of 32 will display a circular approximation of the distance in 2d mode. Note that the real clipping distance is actually closer to a square, but a circle looks much less confusing/stupid alongside the display of floor sprites. -2d mode status bar has been made a few shades lighter.
-
General
New experimental Mapster32 hybrid 2D/3D mode feature. Pressing F10 in 2D mode enables a picture-in-picture 3D view in the corner of the screen. When moving the mouse over the 3D view, the controls change to 3D mode controls and all 3D mode operations can be performed. The 3D view can be resized with shift + F10 and can be moved to different positions by holding CTRL and using the arrow keys.
Show details
This commit also implements a much more useful automatic grid sizing feature and smooths out zooming in and out of the map.
-
General
Very minor OSD cleanups, no functional changes. I was planning on doing more with this but decided to do something else instead, so I want it out of my tree without losing it. DONT_BUILD.
-
General
Makefile tweaks: remove BUILD_FINISHED because it frequently appeared in the wrong place when using make -j, and remove "executable" wording from linking phase. DONT_BUILD.
-
General
Enable sector drawing and textured map in Mapster32 sideview mode with a sideview elevation of 512 (straight up and down).
-
General
Improve r_preview_mouseaim and Polymost Mapster32 3d mode mouse selection. Also adds a display of the current coordinates, angle and horiz when moving around in 3d mode.
-
General
Minor Android changes. Barf. DONT_BUILD.
-
General
Slight further Polymost cleanup. Nothing of real importance. DONT_BUILD.
-
General
Fix a bug where the editor was forced into game filesystem mode by default, and add a preference to mapster32.cfg to control the default filesystem mode.
-
General
Prevent stack overflow when a grp configured via .grpinfo erroneously depends on itself. This should also be addressed in the .grpinfo parser, but this fixes it for now.
-
General
More audiolib cleanup, remove 8-bit output support.
-
General
Fix warning in defs.c. DONT_BUILD.
-
General
Rework audiolib, interim commit before removing 8-bit output support. DONT_BUILD.
-
General
Add jaudiolib flac.c, formats.c, and xa.c to Visual Studio solution (they were missing). DONT_BUILD.
-
General
Move swapptr() to pragmas. DONT_BUILD.
June 2015
-
General
Fix automap lines in Polymer mode
-
General
add pr_nullrender variable to toggle drawing and updating GL buffers
-
fix an oob write in test_map().
-
General
mdsprite.c: from updateanimation(), if m->[cn]frame >= numframes, clear to 0.
Show details
This prevents an oob access when rendering, the one observed was at polymer.c:4255.
-
General
Fix an out-of-bounds read in getpskyidx().
-
General
m32exec.c fix "multiple unsequenced modifications to 'insptr' [-Wunsequenced]".
-
General
Fix clipshapes, accidentally broken in my vec2_t rotatepoint commit.
-
General
Fix crash when playing back an .ogg with comment metadata that doesn't contain "=".
-
General
Android and MSVC build fixes. DONT_BUILD.
May 2015
-
General
Define the formerly nonsensical combination of orientation bits 256 and 512 to mean "automatically zoom the tile so that the 320x200 coordinate system is vert-minus widescreen instead of horiz-plus".
-
General
Fix warning: narrowing conversion of 'img->vpx_image::d_w' and 'img->vpx_image::d_h' from 'unsigned int' to 'int32_t {aka int}' inside { } is ill-formed in C++11 [-Wnarrowing]
-
Add "multipsky" token.
-
General
Convert multi-psky handling to use dynamically-allocated arrays.
-
General
Re-expose kpzbufsiz and set it to zero in uninitengine, preventing potential crashes from successive re-initializations of the engine.
-
General
Revert recent icon changes.
-
General
Extend S_UpgradeFormat so that "filename.ext" first searches for "filename_ext.flac" and "filename_ext.ogg" before "filename.flac" and "filename.ogg".
Show details
This fixes DUKETEAM playing grabbag.ogg instead of grabbag_voc.ogg when Megaton paths have been detected.
-
General
Add SFLAG_HURTSPAWNBLOOD, which allows actors (particularly useractor enemies) to spawn blood when hurt as hardcoded enemies do.