Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2010, 2:27:06 PM (14 years ago)
Author:
scheusso
Message:

some () structural changes
some functional changes (GamestateClient replaced through GamestateManager on client)
reliable packets get buffered until a recent gamestate arrived and got processed

Location:
code/branches/network5/src/orxonox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network5/src/orxonox/PlayerManager.cc

    r7474 r7777  
    5454    void PlayerManager::clientConnected(unsigned int clientID)
    5555    {
     56      COUT(0) << "PlayerManager: client connected with id: " << clientID << endl;
    5657        if (GameMode::isMaster())
    5758        {
  • code/branches/network5/src/orxonox/gametypes/Gametype.cc

    r7758 r7777  
    171171    void Gametype::playerEntered(PlayerInfo* player)
    172172    {
     173      COUT(0) << "Gametype: playerentered" << endl;
    173174        this->players_[player].state_ = PlayerState::Joined;
    174175    }
     
    411412    void Gametype::spawnPlayer(PlayerInfo* player)
    412413    {
     414      COUT(0) << "Gametype: spawnPlayer" << endl;
    413415        SpawnPoint* spawnpoint = this->getBestSpawnPoint(player);
    414416        if (spawnpoint)
  • code/branches/network5/src/orxonox/infos/HumanPlayer.cc

    r6417 r7777  
    4545    HumanPlayer::HumanPlayer(BaseObject* creator) : PlayerInfo(creator)
    4646    {
     47      COUT(0) << "new HumanPlayer" << endl;
    4748        RegisterObject(HumanPlayer);
    4849
     
    133134    void HumanPlayer::networkcallback_client_initialized()
    134135    {
     136      COUT(0) << "networkcallback_client_initialized" << endl;
    135137        if (this->getGametype())
    136138            this->getGametype()->playerEntered(this);
  • code/branches/network5/src/orxonox/worldentities/pawns/Spectator.cc

    r6417 r7777  
    4343    Spectator::Spectator(BaseObject* creator) : ControllableEntity(creator)
    4444    {
     45      COUT(0) << "creating specator" << endl;
    4546        RegisterObject(Spectator);
    4647
Note: See TracChangeset for help on using the changeset viewer.