mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 17:39:02 +02:00
- 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user