1251
General discussion / Re: Merging Glest 3.2.2
« on: 6 July 2009, 13:17:50 »Code: [Select]
if(repaired && !repaired->isDamaged()) {
unit->setCurrSkill(scStop);
unit->finishCommand();
//MERGE ????
scriptManager->onUnitCreated(repaired);
}
This concerns me... as scenarios that count units produced could easily be fooled. But I guess that's how it is in 3.2.2 atm.
I had a look at Gui::mouseDownLeft()... it certainly looks cleaner in 3.2.2, but if the old code is working, I say leave it... we'll be wanting to replace that soon hopefully anyway.
The showMessage problem probably falls into the same category, will have to be looked at when we change the gui.
Colour switching in the console was removed because the patches said so... I wasn't actually to sure what it was at the time, so I just did it.
class TotalUpgrade is an interesting one, upgrades have unfortunately been changed in both codebases... this should be looked at in depth...
I'll look at the rest tomorrow
...and I'll get the old loading screen back tomorrow or Wednesday night.



For now, we have whatever was in 0.2.11, which as best I know is mostly multiplayer from early version 3, modified somewhat by Daniel, but from before the complete re-write.

