Changeset 1291 for code/branches/merge
- Timestamp:
- May 15, 2008, 5:18:08 PM (17 years ago)
- Location:
- code/branches/merge
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merge/TODO
r1264 r1291 1 very urgent: make sure receiver thread of connectionmanager is1 - very urgent: make sure receiver thread of connectionmanager is 2 2 threadsafe (event_type_receive, findclient) 3 - check why we can only use spaceship mesh defined in level file for 4 clientship -
code/branches/merge/src/network/Synchronisable.cc
r1264 r1291 56 56 * calls registarAllVariables, that has to be implemented by the inheriting classID 57 57 */ 58 Synchronisable::Synchronisable(){ 58 Synchronisable::Synchronisable(): 59 backsync_(false), 60 datasize(0) { 59 61 RegisterRootObject(Synchronisable); 60 62 static int idCounter=0; 61 datasize=0;62 63 objectID=idCounter++; 63 64 syncList = new std::list<synchronisableVariable *>; -
code/branches/merge/src/orxonox/objects/Camera.cc
r1289 r1291 60 60 { 61 61 CameraHandler::getInstance()->releaseFocus(this); 62 GraphicsEngine::getSingleton().getSceneManager()->getRootSceneNode()->removeAndDestroyChild(cameraNode_->getName()); 62 63 } 63 64 -
code/branches/merge/src/orxonox/objects/SpaceShip.cc
r1289 r1291 147 147 void SpaceShip::init() 148 148 { 149 if ((server_ || ( network::Client::getSingleton() && network::Client::getSingleton()->getShipID()==objectID ) ))150 {151 if (!setMouseEventCallback_)152 {153 InputManager::addMouseHandler(this, "SpaceShip");154 setMouseEventCallback_ = true;155 }156 }149 if ((server_ || ( network::Client::getSingleton() && network::Client::getSingleton()->getShipID()==objectID ) )) 150 { 151 if (!setMouseEventCallback_) 152 { 153 InputManager::addMouseHandler(this, "SpaceShip"); 154 setMouseEventCallback_ = true; 155 } 156 } 157 157 158 158 // START CREATING THRUSTER
Note: See TracChangeset
for help on using the changeset viewer.