So, not even an "ugly" solution with tables from what I understand ?
5:4 is the devil
Technical edit
:
I took a look into the code concerning the +ZoomTo feature for mainhalls.
Currently, if I add a "+ZoomTo: 1365 1024" in mainhall.tbl to simulate a 4:3 screen with a height of 1024, it won't work because there is a control in mainhallmenu.cpp to check if the zoom area is within the background bitmap (line 525) :
// make sure the zoom area is completely within the background bitmap
if (Main_hall->zoom_area_width > Main_hall_bitmap_w) {
Main_hall->zoom_area_width = Main_hall_bitmap_w;
}
if (Main_hall->zoom_area_height > Main_hall_bitmap_h) {
Main_hall->zoom_area_height = Main_hall_bitmap_h;
}
What would happen if we suppress this control ?
Would the game engine automatically zoom out and create the empty zone at the top and bottom or would the code at line 668 crash ?
// set the screen scale to the main hall's dimensions
gr_set_screen_scale(Main_hall_bitmap_w, Main_hall_bitmap_h, Main_hall->zoom_area_width, Main_hall->zoom_area_height);
Why all those questions you ask ?
It's just to know if it would be virtually possible to use the +ZoomTo parameter to kind of zoom out and make the modifications I've done to the mainhall table and pcx file not necessary
Edit2 : investigating the gr_set_screen_scale function in 2d.cpp (line 105)