Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 7, 2011, 10:51:54 PM (13 years ago)
Author:
landauf
Message:

added some output (user and internal) throughout the initialization of the game, graphics, and game states

Location:
code/branches/output/src/orxonox/gamestates
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/orxonox/gamestates/GSClient.cc

    r8788 r8830  
    5252    void GSClient::activate()
    5353    {
     54        orxout(user_status) << "Starting client" << endl;
     55
    5456        GameMode::setIsClient(true);
    5557
  • code/branches/output/src/orxonox/gamestates/GSLevel.cc

    r8809 r8830  
    7474    void GSLevel::activate()
    7575    {
     76        orxout(user_status) << "Loading level" << endl;
     77
    7678        if (GameMode::showsGraphics())
    7779        {
     
    155157
    156158        // call the loader
    157         orxout(user_status) << "Loading level..." << endl;
    158159        startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel());
    159160        bool loaded = Loader::open(startFile_);
     
    169170        delete startFile_;
    170171
    171         orxout(user_status) << "Unloaded level" << endl;
    172172        orxout(internal_info) << "Remaining objects:" << endl;
    173173        unsigned int i = 0;
  • code/branches/output/src/orxonox/gamestates/GSMainMenu.cc

    r8079 r8830  
    9595    void GSMainMenu::activate()
    9696    {
     97        orxout(user_status) << "Loading main menu" << endl;
     98
    9799        // show main menu
    98100        GraphicsManager::getInstance().setCamera(this->camera_);
  • code/branches/output/src/orxonox/gamestates/GSMasterServer.cc

    r8809 r8830  
    5050  void GSMasterServer::activate()
    5151  {
     52    orxout(user_status) << "Starting masterserver" << endl;
     53
    5254    /* TODO make this work for masterserver as well */
    5355    //GameMode::setIsServer(true);
    5456
    5557    this->mserver = new MasterServer();
    56     orxout(user_status) << "Loading masterserver mode" << endl;
    57 
    5858    this->mserver->run();
    5959  }
  • code/branches/output/src/orxonox/gamestates/GSServer.cc

    r8809 r8830  
    5454    void GSServer::activate()
    5555    {
     56        orxout(user_status) << "Starting server" << endl;
     57
    5658        GameMode::setIsServer(true);
    5759
Note: See TracChangeset for help on using the changeset viewer.