Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6839 in orxonox.OLD for trunk/src/story_entities/story_entity.cc


Ignore:
Timestamp:
Jan 30, 2006, 12:52:08 AM (20 years ago)
Author:
patrick
Message:

trunk: the menu is processing

File:
1 edited

Legend:

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

    r6837 r6839  
    4040
    4141  this->storyID = -1;
    42   this->name = NULL;
     42  this->description = NULL;
    4343  this->nextStoryID = WORLD_ID_GAMEEND;
     44  this->bMenuEntry = false;
    4445}
    4546
     
    6667      .describe("Sets the ID of the next StoryEntity");
    6768
    68   LoadParam(root, "name", this, StoryEntity, setName)
    69       .describe("Sets the name of this StoryEntity");
    70 
    7169  LoadParam(root, "description", this, StoryEntity, setDescription)
    7270      .describe("Sets the description of this StoryEntity");
    7371
     72  LoadParam(root, "menu-entry", this, StoryEntity, addToGameMenu)
     73      .describe("If this entry is 1, the world is contained in the SimpleGameMenu");
    7474
    7575  PRINTF(4)("Loaded StoryEntity specific stuff\n");
Note: See TracChangeset for help on using the changeset viewer.