Changeset 3746 in orxonox.OLD for orxonox/branches/levelloader/src/game_loader.h
- Timestamp:
- Apr 7, 2005, 3:54:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/game_loader.h
r3530 r3746 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" 6 11 #include "factory.h" 12 #include "comincl.h" 13 #include "error.h" 7 14 8 15 //----------------------------------------------------------------------------- … … 14 21 class CammandNode; 15 22 16 23 //! The GameLoader 24 /** 25 The game loader loads all game date. this is performed in the following way: 26 1. Read the structure of campaings and worlds 27 2. Create the instances of the tree: here _ALL_ StoryEntities are created 28 also if they are not yet used. the worlds should load their data in 29 the StoryEntity::load() and StoryEntity::init() functions! NOWHERE ELSE! 30 Elsewhere, all the data will be allocated at the beginning... mess... 31 3. StoryEntities are load() and init() before they start 32 4. once the gamloader starts the game there will be a campaing starting a 33 world. this is done by callaing those StoryEntity::start() 34 */ 17 35 class GameLoader 18 36 {
Note: See TracChangeset
for help on using the changeset viewer.