Changeset 2531 for code/branches/bugger/src/orxonox/objects/infos
- Timestamp:
- Dec 23, 2008, 11:09:55 PM (16 years ago)
- Location:
- code/branches/bugger
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/bugger
- Property svn:mergeinfo changed
/code/branches/network (added) merged: 2356 /code/branches/network64 (added) merged: 2210-2211,2245-2247,2255,2307,2309-2312,2316,2355
- Property svn:mergeinfo changed
-
code/branches/bugger/src/orxonox/objects/infos/GametypeInfo.cc
r2428 r2531 54 54 void GametypeInfo::registerVariables() 55 55 { 56 REGISTERDATA(this->bStarted_, direction::toclient);57 REGISTERDATA(this->bEnded_, direction::toclient);58 REGISTERDATA(this->startCountdown_, direction::toclient);59 REGISTERDATA(this->bStartCountdownRunning_, direction::toclient);56 registerVariable(this->bStarted_, variableDirection::toclient); 57 registerVariable(this->bEnded_, variableDirection::toclient); 58 registerVariable(this->startCountdown_, variableDirection::toclient); 59 registerVariable(this->bStartCountdownRunning_, variableDirection::toclient); 60 60 } 61 61 } -
code/branches/bugger/src/orxonox/objects/infos/HumanPlayer.cc
r2428 r2531 69 69 void HumanPlayer::registerVariables() 70 70 { 71 REGISTERSTRING(this->synchronize_nick_, direction::toserver, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_changednick));71 registerVariable(this->synchronize_nick_, variableDirection::toserver, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_changednick)); 72 72 73 REGISTERDATA(this->clientID_, direction::toclient, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_clientIDchanged));74 REGISTERDATA(this->server_initialized_, direction::toclient, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_server_initialized));75 REGISTERDATA(this->client_initialized_, direction::toserver, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_client_initialized));73 registerVariable(this->clientID_, variableDirection::toclient, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_clientIDchanged)); 74 registerVariable(this->server_initialized_, variableDirection::toclient, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_server_initialized)); 75 registerVariable(this->client_initialized_, variableDirection::toserver, new NetworkCallback<HumanPlayer>(this, &HumanPlayer::networkcallback_client_initialized)); 76 76 } 77 77 … … 106 106 107 107 if (!Core::isMaster()) 108 this->setObjectMode( direction::bidirectional);108 this->setObjectMode(objectDirection::bidirectional); 109 109 else 110 110 this->setName(this->nick_); -
code/branches/bugger/src/orxonox/objects/infos/Info.h
r2171 r2531 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "network/ Synchronisable.h"34 #include "network/synchronisable/Synchronisable.h" 35 35 #include "core/BaseObject.h" 36 36 -
code/branches/bugger/src/orxonox/objects/infos/PlayerInfo.cc
r2462 r2531 73 73 void PlayerInfo::registerVariables() 74 74 { 75 REGISTERSTRING(this->name_, direction::toclient, new NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName));76 REGISTERDATA (this->controllableEntityID_, direction::toclient, new NetworkCallback<PlayerInfo>(this, &PlayerInfo::networkcallback_changedcontrollableentityID));77 REGISTERDATA (this->bReadyToSpawn_, direction::toserver);75 registerVariable(this->name_, variableDirection::toclient, new NetworkCallback<PlayerInfo>(this, &PlayerInfo::changedName)); 76 registerVariable(this->controllableEntityID_, variableDirection::toclient, new NetworkCallback<PlayerInfo>(this, &PlayerInfo::networkcallback_changedcontrollableentityID)); 77 registerVariable(this->bReadyToSpawn_, variableDirection::toserver); 78 78 } 79 79
Note: See TracChangeset
for help on using the changeset viewer.