Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 7, 2005, 3:54:49 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/levelloader: Merged trunk into branch… still not working though…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/game_loader.cc

    r3557 r3746  
    2525#include "vector.h"
    2626#include "factory.h"
     27#include "debug.h"
    2728
    2829#include <string.h>
     
    8990  switch(campaignID)
    9091    {
    91       // Debug Level 0: Debug level used to test the base frame work.
     92      /*
     93         Debug Level 0: Debug level used to test the base frame work.
     94         As you can see, all storyentity data is allocated before game
     95         start. the storyentity will load themselfs shortly before start
     96         through the StoryEntity::init() funtion.
     97      */
    9298    case DEBUG_CAMPAIGN_0:
    9399      {
     
    99105
    100106        World* world1 = new World(DEBUG_WORLD_1);
    101         world1->setNextStoryID(WORLD_ID_GAMEEND);
     107        world1->setNextStoryID(WORLD_ID_2);
    102108        debugCampaign->addEntity(world1, WORLD_ID_1);
     109
     110        World* world2 = new World(DEBUG_WORLD_2);
     111        world2->setNextStoryID(WORLD_ID_GAMEEND);
     112        debugCampaign->addEntity(world2, WORLD_ID_2);
    103113
    104114        this->currentCampaign = debugCampaign;
Note: See TracChangeset for help on using the changeset viewer.