Changeset 7010 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Feb 3, 2006, 12:40:23 PM (19 years ago)
- Location:
- trunk/src/story_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/movie_loader.cc
r6731 r7010 47 47 48 48 LoadParam(root, "name", this, MovieLoader, loadMovie); 49 LoadParam(root, "fps", this, MovieLoader, setFPS); 50 } 51 52 void MovieLoader::setFPS(float fps) 53 { 54 this->movie_player->setFPS(fps); 49 55 } 50 56 -
trunk/src/story_entities/movie_loader.h
r6600 r7010 41 41 private: 42 42 void loadMovie(const char* filename); 43 void setFPS(float fps); 43 44 void tick(); 44 45 void draw() const; -
trunk/src/story_entities/story_entity.cc
r6993 r7010 77 77 .describe("Sets the ID of the next StoryEntity"); 78 78 79 LoadParam(root, "menu-entry", this, StoryEntity, addToGameMenu) 80 .describe("If this entry is 1, the world is contained in the SimpleGameMenu"); 81 82 83 LoadParam(root, "description", this, StoryEntity, setDescription) 84 .describe("Sets the description of this StoryEntity"); 85 86 LoadParam(root, "menu-item-image", this, StoryEntity, setMenuItemImage) 87 .describe("If this entry is 1, the world is contained in the SimpleGameMenu"); 88 89 LoadParam(root, "screenshoot", this, StoryEntity, setMenuScreenshoot) 90 .describe("If this entry is 1, the world is contained in the SimpleGameMenu"); 91 79 92 PRINTF(4)("Loaded StoryEntity specific stuff\n"); 80 93 } … … 152 165 .describe("Sets the description of this StoryEntity"); 153 166 154 LoadParam(root, "menu-entry", this, StoryEntity, addToGameMenu)155 .describe("If this entry is 1, the world is contained in the SimpleGameMenu");156 157 167 LoadParam(root, "menu-item-image", this, StoryEntity, setMenuItemImage) 158 168 .describe("If this entry is 1, the world is contained in the SimpleGameMenu");
Note: See TracChangeset
for help on using the changeset viewer.