- updated intro with better timing and multiple models. Updated menu background model as well and about screen to show megapack units.

This commit is contained in:
Mark Vejvoda
2011-10-12 05:24:30 +00:00
parent f8da775fe0
commit 50ce6eb1ea
5 changed files with 295 additions and 23 deletions

View File

@@ -107,7 +107,11 @@ MenuBackground::MenuBackground(){
//load main model
mainModel= renderer.newModel(rsMenu);
if(mainModel) {
mainModel->load(data_path + "data/core/menu/main_model/menu_main.g3d");
//mainModel->load(data_path + "data/core/menu/main_model/menu_main.g3d");
const XmlNode *mainMenuModelNode= menuNode->getChild("menu-background-model");
string mainModelFile = mainMenuModelNode->getAttribute("value")->getRestrictedValue();
mainModel->load(data_path + mainModelFile);
}
//models