Open AXDOOMER opened 7 years ago
Yeah, you absolutely right.
But the proportions is a different thing. Probably it is more related to 320x200 in 4:3 hackyness of vanilla.
By proportion I mean their wideness, but I'm sure this bug can be fixed by scaling the bezel correctly.
I've tried to do that, but no, just scaling border does not make the window size properly vanilla. Unfortunately. So, not very easy to fix this issue. Would try to take some look into original DOOM source for formulas. I am sure something is misunderstood in Mocha Doom when calculating ingame render window dimensions.
If there are no formulas, only fixed values, the fine... Still the graphics system supports any kind of scaled coordinates conversion, just give it VideoScale object and some flags...
The bezel should be scaled properly now. Windows size - not yet.
Yeah. Found the formula in DOOM source and applied! Check it out in 0418299
I've made it set vanilla window size when tile scaling is on (by default) But I kept MAES's formula for when its off, because I think it looks better with unscaled tiles when using MAES's formula
The screen border in vanilla Doom looks like this:![](https://r.mprd.se/media/images/93124-Doom_(1993)(Id_Software)-2.png)
In Mocha, it looks like this. Maybe scaling the little bezel properly will also fix the proportions of the borders which are not equal. The upper and bottom borders are thinner than the lateral borders.![2017-05-07-134451_1680x1050_scrot](https://cloud.githubusercontent.com/assets/6194072/25783529/6c695fba-332b-11e7-8fb5-4f60ddf95625.png)