I'd like to see a lua def in gamedata which gave us better control, something like this:
Code: Select all
local loadscreens = {
{
filename = 'loadpictures/GBR/gbrinfantrypic.jpg',
maintainRatio = true,
scaleUp = false,
side = {'GBR'},
},
{
filename = 'loadpictures/Allies/genericalliespic.jpg',
maintainRatio = false,
scaleUp = true,
side = {'GBR', 'USA', 'RUS'},
}
}
- filename - path to the image file from bitmaps/
- maintainRatio - if image is rescaled, maintain the ratio? (currently hardcoded to true)
- scaleUp - if the image is smaller than the viewport, scale it up? (currently hardcoded to true)
- side - table of sides which this loadscreen can be selected for, empty table can be loaded for any side
edit: Obviously it'd be set up so that the default base file in springcontent.sdz replicated the current behaviour.