Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2006, 1:49:20 AM (18 years ago)
Author:
patrick
Message:

network: working on the last steps, completion is in reach. sadly the world isn't loaded anymore at the moment. continue work later. work flush

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/story_entities/single_player_world.cc

    r6402 r6404  
    1616
    1717#include "single_player_world.h"
     18#include "single_player_world_data.h"
    1819
    1920#include "state.h"
     
    4243
    4344  this->loadParams(root);
     45
     46  this->singlePlayerWorldData = new SinglePlayerWorldData();
    4447}
    4548
     
    6871}
    6972
    70 
    71 
    72 
    73 // ErrorMessage SinglePlayerWorld::load()
    74 // {
    75 //   static_cast<GameWorld*>(this)->load();
    76 //
    77 //   /* the the single player specific stuff here */
    78 //
    79 //   /* some static world entities */
    80 //   for(int i = 0; i < 100; i++)
    81 //   {
    82 //     WorldEntity* tmp = new NPCTest1();
    83 //     char npcChar[10];
    84 //     sprintf (npcChar, "NPC_%d", i);
    85 //     tmp->setName(npcChar);
    86 //     tmp->setAbsCoor(((float)rand()/RAND_MAX) * 5000, 50/*+ (float)rand()/RAND_MAX*20*/, ((float)rand()/RAND_MAX -.5) *30);
    87 //     this->spawn(tmp);
    88 //   }
    89 // }
    90 
Note: See TracChangeset for help on using the changeset viewer.