Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2086 for code


Ignore:
Timestamp:
Nov 1, 2008, 5:43:52 PM (16 years ago)
Author:
landauf
Message:

added include and removed some debug output

Location:
code/branches/objecthierarchy/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/core/Factory.cc

    r2019 r2086  
    7676        getFactoryPointer()->identifierStringMap_[name] = identifier;
    7777        getFactoryPointer()->identifierNetworkIDMap_[identifier->getNetworkID()] = identifier;
    78 std::cout << identifier->getName() << ": " << identifier->getNetworkID() << std::endl;
     78//std::cout << identifier->getName() << ": " << identifier->getNetworkID() << std::endl;
    7979    }
    8080
     
    8989        getFactoryPointer()->identifierNetworkIDMap_.erase(oldID);
    9090        getFactoryPointer()->identifierNetworkIDMap_[newID] = identifier;
    91 std::cout << identifier->getName() << ": " << oldID << " -> " << newID << std::endl;
     91//std::cout << identifier->getName() << ": " << oldID << " -> " << newID << std::endl;
    9292    }
    9393
  • code/branches/objecthierarchy/src/core/Identifier.h

    r2084 r2086  
    6767#include "Iterator.h"
    6868#include "Super.h"
     69#include "Functor.h"
    6970#include "util/Debug.h"
    7071#include "util/String.h"
  • code/branches/objecthierarchy/src/orxonox/LevelManager.cc

    r2072 r2086  
    103103    void LevelManager::clientConnected(unsigned int clientID)
    104104    {
    105         COUT(0) << "client connected" << std::endl;
     105        COUT(3) << "client connected" << std::endl;
    106106
    107107        // create new HumanPlayer instance
     
    119119    void LevelManager::clientDisconnected(unsigned int clientID)
    120120    {
    121         COUT(0) << "client disconnected" << std::endl;
     121        COUT(3) << "client disconnected" << std::endl;
    122122
    123123        // remove from clients-map
  • code/branches/objecthierarchy/src/orxonox/objects/gametypes/Gametype.cc

    r2072 r2086  
    5858        this->startCountdown_ = 0;
    5959        this->bStartCountdownRunning_ = false;
    60 
    61         COUT(0) << "created Gametype" << std::endl;
    6260    }
    6361
  • code/branches/objecthierarchy/src/orxonox/objects/infos/Level.cc

    r2072 r2086  
    5656        if (this->xmlfilename_.length() >= Settings::getDataPath().length())
    5757            this->xmlfilename_ = this->xmlfilename_.substr(Settings::getDataPath().length());
    58 
    59         COUT(0) << "created Level" << std::endl;
    6058    }
    6159
     
    139137    void Level::playerEntered(PlayerInfo* player)
    140138    {
    141         COUT(0) << "player entered level" << std::endl;
     139        COUT(3) << "player entered level" << std::endl;
    142140        player->setGametype(this->getGametype());
    143141    }
     
    145143    void Level::playerLeft(PlayerInfo* player)
    146144    {
     145        COUT(3) << "player left level" << std::endl;
    147146        player->setGametype(0);
    148147    }
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/ControllableEntity.cc

    r2072 r2086  
    197197    void ControllableEntity::startLocalControl()
    198198    {
    199         std::cout << this->getObjectID() << " ###### start local control" << std::endl;
     199//        std::cout << this->getObjectID() << " ###### start local control" << std::endl;
    200200        this->camera_ = new Camera(this);
    201201        this->camera_->requestFocus();
     
    216216    void ControllableEntity::stopLocalControl()
    217217    {
    218         std::cout << "###### stop local control" << std::endl;
     218//        std::cout << "###### stop local control" << std::endl;
    219219        this->camera_->detachFromParent();
    220220        delete this->camera_;
Note: See TracChangeset for help on using the changeset viewer.