Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6841 in orxonox.OLD for trunk/src/story_entities/simple_game_menu.cc


Ignore:
Timestamp:
Jan 30, 2006, 1:36:43 AM (18 years ago)
Author:
patrick
Message:

trunk: submenu loading work, graphics chaos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/simple_game_menu.cc

    r6839 r6841  
    3434#include "event_handler.h"
    3535#include "graphics_engine.h"
     36#include "object_manager.h"
     37
    3638
    3739#include "cd_engine.h"
     
    163165      this->menuLayer[1]->storyList.push_back(se);
    164166      PRINTF(0)("Got a new menu entry |%s|\n", se->getName());
     167      ImageEntity* ie = new ImageEntity();
     168      ie->setAbsCoor(0.0f, this->menuLayer[1]->menuList.size() * -10.0f, 0.0f);
     169      //State::getObjectManager()->toList(dynamic_cast<WorldEntity*>(ie), OM_DEAD);
     170      //this->menuLayer[1]->menuList.push_back(ie);
    165171    }
    166172  }
     173
     174  this->layerIndex = 0;
    167175}
    168176
Note: See TracChangeset for help on using the changeset viewer.