Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 9854 in orxonox.OLD for branches/new_class_id/src/orxonox.cc


Ignore:
Timestamp:
Sep 28, 2006, 10:17:56 AM (18 years ago)
Author:
bensch
Message:

more nice comments, and also updated the KeepLevel loading (if you want to load a Resource to a KeepLevel just append it at loadtime:
eg.:
Texture tex = ResourceTexture(orxonox.png, GL_TEXTURE_2D, GameEnd);
where GameEnd is the KeepLevel as defined in orxonox.cc→initResources()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/orxonox.cc

    r9845 r9854  
    377377  Resources::ResourceManager::getInstance()->addKeepLevelName("CampaignEnd");
    378378  Resources::ResourceManager::getInstance()->addKeepLevelName("GameEnd");
    379 
    380   //  DynamicLoader::loadDyLib("libtest.so");
     379  Resources::ResourceManager::getInstance()->setDefaultKeepLevel(std::string("GameEnd"));
     380
    381381  return 0;
    382382}
Note: See TracChangeset for help on using the changeset viewer.