Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6096 in orxonox.OLD for branches/network/src/story_entities


Ignore:
Timestamp:
Dec 14, 2005, 2:12:30 AM (19 years ago)
Author:
patrick
Message:

network: server/client mode loading

Location:
branches/network/src/story_entities
Files:
2 edited

Legend:

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

    r5982 r6096  
    150150      delete (*it);
    151151    }
     152    PRINTF(1)("There is no StoryEnity left to play, quitting\n");
    152153}
    153154
  • branches/network/src/story_entities/network_world.cc

    r6095 r6096  
    7575
    7676
    77 //SHELL_COMMAND(speed, NetworkWorld, setSpeed);
    78 //SHELL_COMMAND(togglePNodeVisibility, NetworkWorld, togglePNodeVisibility);
    79 //SHELL_COMMAND(toggleBVVisibility, NetworkWorld, toggleBVVisibility);
     77SHELL_COMMAND(speed, NetworkWorld, setSpeed);
     78SHELL_COMMAND(togglePNodeVisibility, NetworkWorld, togglePNodeVisibility);
     79SHELL_COMMAND(toggleBVVisibility, NetworkWorld, toggleBVVisibility);
    8080
    8181using namespace std;
    8282
    8383//! This creates a Factory to fabricate a NetworkWorld
    84 //CREATE_FACTORY(NetworkWorld, CL_WORLD);
     84CREATE_FACTORY(NetworkWorld, CL_WORLD);
    8585
    8686NetworkWorld::NetworkWorld(const TiXmlElement* root)
     
    341341  // find WorldEntities //
    342342  ////////////////////////
    343   if( NetworkManager::getInstance()->isGameServer())
     343  if( /*NetworkManager::getInstance()->isGameServer()*/1)
    344344  {
    345345    element = root->FirstChildElement("WorldEntities");
Note: See TracChangeset for help on using the changeset viewer.