16.08.2009, 10:16:23
I've been fixing the implementation of side specific loadscreen text colours yesterday. Then I stumbled upon a stupid problem - singleplayer loadscreens are drawn before the rules are read! So I had to move the whole rules loading to an earlier point in the process, which introduced a chicken-and-egg problem - I can't draw the loadscreen until I have parsed the rules, and rules' parsing takes a noticeable amount of time, waiting that long without a loadscreen looks wrong and broken. Unfortunately, the game draws the entire loadscreen in one burst and then just updates the progressbars afterwards. If I want to update it to, say, load the background and stuff first, then parse the rules and draw the text in the right colour, I need to do some serious recoding. Not to mention that would also be unfamiliar to ordinary users...
Putting up additional status messages like "Reading rules...", "Reading scenario...", "Loading AI...", "Placing objects on map..." during the load is easy, actually, as long as I don't make too many of them - vertical space is limited.
So, thoughts on what I should do about the loadscreens?
Oh, and here's a sample of what the status messages look like - I'm running a new testing country so background/strings don't make much sense, w/e.
Putting up additional status messages like "Reading rules...", "Reading scenario...", "Loading AI...", "Placing objects on map..." during the load is easy, actually, as long as I don't make too many of them - vertical space is limited.
So, thoughts on what I should do about the loadscreens?
Oh, and here's a sample of what the status messages look like - I'm running a new testing country so background/strings don't make much sense, w/e.