mkxp-z / mkxp-z

Open-source cross-platform player for (some) RPG Maker XP / VX / VX Ace games. A very heavily modified fork of mkxp. RGSS on steroids with a stupid name.
https://github.com/mkxp-z/mkxp-z/wiki
GNU General Public License v2.0
140 stars 39 forks source link

Add `defInternalScreen` to config #193

Open PieGodEX opened 3 weeks ago

PieGodEX commented 3 weeks ago

Currently, although you can change the default window size in the config, there's no way to do the same with the initial internal screen resolution, and you had to do the latter within RGSS even after doing the former within the config.

I found that insane, so this adds defInternalScreenH and defInternalScreenW options. This should probably be equivalent to running Graphics.resize_screen on startup.

On top of that, if defInternalScreenH/W is set but defScreenH/W isn't, it defaults the window size to the internal screen's resolution.

In a perfect world, the config option to change the SDL window's size would be defWindowH/W so this would be defScreenH/W and everything would have a consistent naming scheme with resize_window vs resize_screen, but it's way too late for that