Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 2, 2008, 12:38:26 PM (16 years ago)
Author:
rgrieder
Message:

Moved all util classes and functions to orxonox namespace.
Converted all code to 4 spaces/tab in util.

Location:
code/branches/objecthierarchy/src/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/network/ClientConnection.cc

    r2070 r2111  
    7272  bool ClientConnection::waitEstablished(int milisec) {
    7373    for(int i=0; i<=milisec && !established; i++)
    74       msleep(1);
     74      orxonox::msleep(1);
    7575
    7676    return established;
     
    184184      case ENET_EVENT_TYPE_NONE:
    185185        //receiverThread_->yield();
    186         msleep(1);
     186        orxonox::msleep(1);
    187187        break;
    188188      }
  • code/branches/objecthierarchy/src/network/ConnectionManager.cc

    r2070 r2111  
    227227        case ENET_EVENT_TYPE_NONE:
    228228          //receiverThread_->yield();
    229           msleep(1);
     229          orxonox::msleep(1);
    230230          break;
    231231      }
  • code/branches/objecthierarchy/src/network/packet/Gamestate.cc

    r2070 r2111  
    244244  //copy and modify header
    245245#ifndef NDEBUG
    246   HEADER->crc32 = calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize);
     246  HEADER->crc32 = orxonox::calcCRC(data_+sizeof(GamestateHeader), HEADER->datasize);
    247247#endif
    248248  *GAMESTATE_HEADER(ndata) = *HEADER;
     
    281281  }
    282282#ifndef NDEBUG
    283   assert(HEADER->crc32==calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize));
     283  assert(HEADER->crc32==orxonox::calcCRC(ndata+sizeof(GamestateHeader), HEADER->datasize));
    284284#endif
    285285
Note: See TracChangeset for help on using the changeset viewer.