Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jan 30, 2006, 11:03:30 PM (20 years ago)
Author:
patrick
Message:

trunk: the menu control better implemented

File:
1 edited

Legend:

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

    r6862 r6874  
    198198    {
    199199      this->menuLayer[1]->storyList.push_back(se);
    200       PRINTF(0)("Got a new menu entry |%s|\n", se->getName());
     200
     201      // generating menu item
    201202      ImageEntity* ie = new ImageEntity();
    202       PRINTF(0)("setting texture to: |%s|\n", se->getMenuItemImage());
    203203      ie->setTexture(se->getMenuItemImage());
    204204      ie->setRelCoor(0.0f,20.0f - (this->menuLayer[1]->menuList.size() * 10.0f), 0.0f);
    205205      ie->setVisibility(false);
    206206      this->menuLayer[1]->menuList.push_back(ie);
     207
     208      // generating screenshoot item
     209//       ie = new ImageEntity();
     210//       ie->setTexture(se->getMenuScreenshoot);
     211//       ie->setRelCoor(.0f, 10.0f, 0.0f);
     212//       this->menuLayer[1]->screenshootList.push_back(ie);
     213
    207214    }
    208215  }
Note: See TracChangeset for help on using the changeset viewer.