Changeset 3681 in orxonox.OLD for orxonox/branches/textEngine/src/game_loader.h
- Timestamp:
- Mar 30, 2005, 9:02:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/game_loader.h
r3225 r3681 1 /*! 2 \file game_loader.h 3 \brief loads campaigns, worlds and all other story_entities 4 */ 5 1 6 #ifndef _GAME_LOADER_H 2 7 #define _GAME_LOADER_H 3 8 4 #include "stdincl.h"9 //#include "stdincl.h" 5 10 #include "story_def.h" 11 #include "comincl.h" 6 12 7 13 //----------------------------------------------------------------------------- … … 13 19 class CammandNode; 14 20 15 21 //! The GameLoader 22 /** 23 The game loader loads all game date. this is performed in the following way: 24 1. Read the structure of campaings and worlds 25 2. Create the instances of the tree: here _ALL_ StoryEntities are created 26 also if they are not yet used. the worlds should load their data in 27 the StoryEntity::load() and StoryEntity::init() functions! NOWHERE ELSE! 28 Elsewhere, all the data will be allocated at the beginning... mess... 29 3. StoryEntities are load() and init() before they start 30 4. once the gamloader starts the game there will be a campaing starting a 31 world. this is done by callaing those StoryEntity::start() 32 */ 16 33 class GameLoader 17 34 {
Note: See TracChangeset
for help on using the changeset viewer.