Changeset 6152 in orxonox.OLD for trunk/src/util/loading
- Timestamp:
- Dec 17, 2005, 6:52:57 PM (19 years ago)
- Location:
- trunk/src/util/loading
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/game_loader.cc
r6151 r6152 19 19 20 20 #include "game_loader.h" 21 #include "load_param.h" 21 22 22 23 #include "shell_command.h" 23 24 #include "campaign.h" 24 #include "world.h" 25 #include "orxonox.h" 26 #include "camera.h" 27 #include "vector.h" 25 28 26 #include "resource_manager.h" 29 #include "factory.h" 30 #include "event.h" 27 31 28 #include "event_handler.h" 32 #include <string.h>33 29 34 30 -
trunk/src/util/loading/game_loader.h
r6139 r6152 27 27 //! The GameLoader 28 28 /** 29 The game loader loads all game date. this is performed in the following way:30 31 32 33 34 35 36 37 29 * The game loader loads all game date. this is performed in the following way: 30 * 1. Read the structure of campaings and worlds 31 * 2. Create the instances of the tree: here _ALL_ StoryEntities are created 32 * also if they are not yet used. the worlds should load their data in 33 * the StoryEntity::load() and StoryEntity::init() functions! NOWHERE ELSE! 34 * Elsewhere, all the data will be allocated at the beginning... mess... 35 * 3. StoryEntities are load() and init() before they start 36 * 4. once the gamloader starts the game there will be a campaing starting a 37 * world. this is done by callaing those StoryEntity::start() 38 38 */ 39 39 class GameLoader : public EventListener 40 40 { 41 42 43 41 public: 44 42 ~GameLoader ();
Note: See TracChangeset
for help on using the changeset viewer.