[Snapshot] 2024-08-11 - Quality-of-life features & fixes (Pt. 4)
Pre-release
Pre-release
Outline
This snapshot introduces a new "extra content directories" system, adds support for more aspect ratios and resolutions by the game window and fixes a few issues.
Code cleanup
- de2bf44 - Replaced
SE1_D3D
macro with a newSE1_DIRECT3D
macro switch in the config that can be easily toggled instead of having to define it for all projects. - 730f8b3 - Reworked
SE1_3DFX
macro into macro switch in the config that can be easily toggled instead of having to define it for all projects.
Code changes
- 954ec4d - Added new server-to-client packet for making clients dump synchronization data on bad syncs for debugging purposes.
- ae3051d, de61379 - Added more options for the game window:
- Added support for multiple aspect ratios with more resolutions for each of them.
- Made native screen resolution be automatically added under the closest aspect ratio list.
- Added "Borderless" window mode.
- Made the game window DPI-aware to prevent it from being scaled by Windows.
- a79174f - Moved binary data generated by game & tool applications under the "UserData" directory as well.
- ee4c7cd - Moved ZIP entry class definition into the header file and added a method for retrieving a specific entry by its index.
- Added support for extra content directories for loading resources from other games and folders:
Fixes
- f70d891 - Fixed other player controls not loading when selecting their presets.
- a5a9cff - Fixed some compilation errors under Visual Studio 2010 and Visual Studio 2013.
- e0d81c6 - Fixed compilation error when Direct3D support is enabled without Truform support.
- 02dbc5a - Wrote a Direct3D implementation for the
gfxSetTextureMatrix2()
method that's used solely by the terrain system.