Changeset 2531 for code/branches/bugger/src/orxonox/objects/items/Engine.cc
- Timestamp:
- Dec 23, 2008, 11:09:55 PM (16 years ago)
- Location:
- code/branches/bugger
- Files:
-
- 2 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/items/Engine.cc
r2478 r2531 104 104 void Engine::registerVariables() 105 105 { 106 REGISTERDATA(this->shipID_, direction::toclient, new NetworkCallback<Engine>(this, &Engine::networkcallback_shipID));107 108 REGISTERDATA(this->speedFactor_, direction::toclient);109 REGISTERDATA(this->boostFactor_, direction::toclient);110 111 REGISTERDATA(this->maxSpeedFront_, direction::toclient);112 REGISTERDATA(this->maxSpeedBack_, direction::toclient);113 REGISTERDATA(this->maxSpeedLeftRight_, direction::toclient);114 REGISTERDATA(this->maxSpeedUpDown_, direction::toclient);115 116 REGISTERDATA(this->accelerationFront_, direction::toclient);117 REGISTERDATA(this->accelerationBrake_, direction::toclient);118 REGISTERDATA(this->accelerationBack_, direction::toclient);119 REGISTERDATA(this->accelerationLeftRight_, direction::toclient);120 REGISTERDATA(this->accelerationUpDown_, direction::toclient);106 registerVariable(this->shipID_, variableDirection::toclient, new NetworkCallback<Engine>(this, &Engine::networkcallback_shipID)); 107 108 registerVariable(this->speedFactor_, variableDirection::toclient); 109 registerVariable(this->boostFactor_, variableDirection::toclient); 110 111 registerVariable(this->maxSpeedFront_, variableDirection::toclient); 112 registerVariable(this->maxSpeedBack_, variableDirection::toclient); 113 registerVariable(this->maxSpeedLeftRight_, variableDirection::toclient); 114 registerVariable(this->maxSpeedUpDown_, variableDirection::toclient); 115 116 registerVariable(this->accelerationFront_, variableDirection::toclient); 117 registerVariable(this->accelerationBrake_, variableDirection::toclient); 118 registerVariable(this->accelerationBack_, variableDirection::toclient); 119 registerVariable(this->accelerationLeftRight_, variableDirection::toclient); 120 registerVariable(this->accelerationUpDown_, variableDirection::toclient); 121 121 } 122 122
Note: See TracChangeset
for help on using the changeset viewer.