Respect ini resolution settings#374
Respect ini resolution settings#374briaguya0 wants to merge 8 commits intoHarbourMasters:developfrom briaguya0:respect-ini-resolution-settings
Conversation
pull in harbor masters develop branch
|
so it looks like those values aren't making it through to which goes to Shipwright/libultraship/libultraship/Lib/Fast3D/gfx_sdl2.cpp Lines 148 to 149 in 2b0af54 which uses window_width and window_height which are set hereShipwright/libultraship/libultraship/Lib/Fast3D/gfx_sdl2.cpp Lines 37 to 38 in 2b0af54 |
|
so now the window is being set to the resolution from the .ini, but the game is still rendered at 640x480, i'm thinking it might have something to do with Shipwright/libultraship/libultraship/Lib/Fast3D/gfx_sdl2.cpp Lines 203 to 206 in 2b0af54 but i'm not sure what to do about it |
|
when i forked originally i forked from random's linux branch, i'm deleting my old fork and forking from HarbourMasters, so here's a patch file from this PR just in case the code disappears 374.patch.zip |
This PR makes it so the windowed resolution set in the .ini is respected when opening soh with sdl/opengl
I only modified the directx code enough to not break the build, not enough to implement the feature (i'm on linux)