June 2021
-
add user-friendly names for the rest of the controller buttons exposed by SDL 2.0.14
-
cap joystick .numAxes and .numButtons to the highest index actually valid for the current controller
Show details
Since there's no function to just return the number of valid axes and buttons, I suspect SDL expects us to keep track of which indexes are valid ourselves as the range of valid values may not be contiguous. We aren't doing that yet.
-
add nullptr checks for joyGetName() return values
-
don't return NULL in joyGetName() for valid axes and buttons
Show details
Instead, return SDL_GameControllerGetStringForAxis()/SDL_GameControllerStringForButton() for axis and button indexes beyond what is provided by axisStrings[]/buttonStrings[].
-
update to SDL 2.0.14 on Windows
Show details
The ARM64 Windows libraries still need a rebuild.
-
vector type equality operators
-
expand "toggle" console command to also work for cycling through a cvar's allowed range
-
remove extraneous actor bpos updates
Show details
These sprites are covered by G_RecordOldSpritePos().
-
fix loogie display bug
-
fix mouse input regression
-
this isn't necessary because these can never return null...
-
sort menu mouse button setup entries differently and throw the data into a struct
-
slightly simplify texcache_calcid()
Show details
It's still terrible.
-
update lz4 to a8e888774a5fd2563e6e085e7274465175696476
-
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
-
bump MAXYDIM to 4320 and fix two marginally related assertions in dorotatesprite()
Show details
Note that MAXXDIM and MAXYDIM only really control which video modes will be added to the list of available modes found in the startup window and in-game menu, and that the engine itself hasn't had an arbitrary limit imposed on which resolutions are actually supported for a while now.
-
General
Always pass -latomic when linking on Linux, no longer conditional on IMPLICIT_ARCH
-
print warning to console when loading maps that contain extra data appended to the end of the file
Show details
I think TekWar is the only game that did this, but it's worth detecting since it means even simply re-saving those maps without purposeful changes will break them.
-
fix backwards EDUKE32_NO_XINPUT getenv check...
-
add ZOFFSET7 preprocessor definition for another hard-coded height offset
-
demo recording crash fix
Show details
Note that this does not fix the player input issue.
-
SE_11_SWINGING_DOOR improvements
-
default value for last argument to addclipline()
-
change first argument passed to clipinsidebox() to pass by value instead of a ptr, remove separate clipinsidebox() implementation in favor of clipinsideboxline()
-
fix clipping issue where the player could get squished between a 2-sided blocking wall sprite and a wall in rare instances
-
don't allow pushmove() to push anything out of bounds
-
the VS debugger says this is used uninitialized but it's not
Show details
Shut up, VS debugger.
April 2021
-
General
Fix undefined behavior/potential OOB access in ST_21_FLOOR_DOOR. g_AnimateGoal does not take a sector number, it takes an animation index, and caps at 1024, not 4096.
-
General
Added seed_krand(int32_t* seed), a function for performing RNG that reads from and writes to a custom seed pointer.
March 2021
-
General
Move S_DefineSound, S_DefineMusic, and S_DefineAudioIfSupported out of game.cpp and into sounds.cpp, and made CON_DEFINESOUND use S_DefineSound, reducing code duplication.
-
Fix default SE26 speed if no GPSPEED tile is present.
-
Process empty skill name definitions as if they were " ".
Show details
Fixes assertion failure with Suburbs TC.
-
Comment out writes of unused values to k while preparing the skill menu
-
Fix buffer overflows with parsing out of range strings in CON files
February 2021
-
Factor out display math common to Knee, Knuckles, Access, Tip
-
Simplify P_DisplayAccess a little bit
-
Minor cleanup to FLAMETHROWER_WEAPON draw code
-
Fix avel and horz input getters to use fix16_to_int
-
General
Fix another per-map tile regression that could cause tiles to fail to load
January 2021
-
Fix Lo Wang's Rap from being skipped at endgame
Show details
The song should play once before returning to the menu, so the 'loop' parameter needs to be honoured within PlaySong() too.
- Fixes
- #35
-
fix transparent floor/ceiling double drawing
-
General
Fix typos in FLAMETHROWERFLAME code
-
General
Fix a regression that could lead to crashes with per-map tiles
-
General
Ensure that cvars adjusting sound settings re-initialize what they need to
-
General
Don't set the r_useindexedcolortextures cvar to 0 when enabling filtering
Show details
The cfg file should reflect the user's preferences even if the features don't take effect. The cvars' descriptions document the incompatibility that is happening.
-
General
Clarify the descriptions of conflicting renderer cvars
Show details
- r_texfilter - r_anisotropy - r_useindexedcolortextures
-
General
Re-enable the r_texfilter cvar
-
General
Apparently aarch64 sometimes needs -latomic too, contrary to my own testing