Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6152 in orxonox.OLD for trunk/src/util/loading


Ignore:
Timestamp:
Dec 17, 2005, 6:52:57 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some work in the loading process of worlds

Location:
trunk/src/util/loading
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/loading/game_loader.cc

    r6151 r6152  
    1919
    2020#include "game_loader.h"
     21#include "load_param.h"
    2122
    2223#include "shell_command.h"
    2324#include "campaign.h"
    24 #include "world.h"
    25 #include "orxonox.h"
    26 #include "camera.h"
    27 #include "vector.h"
     25
    2826#include "resource_manager.h"
    29 #include "factory.h"
    30 #include "event.h"
     27
    3128#include "event_handler.h"
    32 #include <string.h>
    3329
    3430
  • trunk/src/util/loading/game_loader.h

    r6139 r6152  
    2727//! The GameLoader
    2828/**
    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()
     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()
    3838*/
    3939class GameLoader : public EventListener
    4040{
    41 
    42 
    4341 public:
    4442  ~GameLoader ();
Note: See TracChangeset for help on using the changeset viewer.