Changeset 660
- Timestamp:
- Dec 20, 2007, 4:26:02 PM (17 years ago)
- Location:
- code/branches/FICN/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/audio/AudioBuffer.cc
r585 r660 38 38 loaded=AL_FALSE; 39 39 40 //FIXME deprecated 40 41 alutLoadWAVFile((ALbyte*)fileName.c_str(), &format, &data, &size, &freq, &loop); 41 42 alBufferData(buffer, format, data, size, freq); 43 //FIXME deprecated 42 44 alutUnloadWAV(format, data, size, freq); 43 45 -
code/branches/FICN/src/loader/LevelLoader.cc
r659 r660 108 108 109 109 Ogre::OverlayManager& omgr = Ogre::OverlayManager::getSingleton(); 110 Ogre::Overlay* mLoadOverlay; 110 Ogre::Overlay* mLoadOverlay; // FIXME: mey be uninitialized 111 111 112 112 // Set loading screen … … 152 152 { 153 153 tNode = 0; 154 //FIXME something is w orng, probably==154 //FIXME something is wrong, probably missing == 155 155 while( tNode = audioElem->IterateChildren( tNode ) ) 156 156 { -
code/branches/FICN/src/loader/LevelLoader.h
r659 r660 37 37 inline string image() {return image_; }; 38 38 private: 39 // Level information39 //! Level information 40 40 std::string name_; 41 41 std::string description_; … … 49 49 std::string loadingBarHeight_; 50 50 51 // Set to true if it was possible to load the level file51 //! Set to true if it was possible to load the level file 52 52 bool valid_; 53 53 -
code/branches/FICN/src/network/Server.cc
r636 r660 50 50 gamestates = new GameStateManager(clients); 51 51 } 52 52 53 53 /** 54 54 * This function opens the server by creating the listener thread … … 58 58 return; 59 59 } 60 60 61 61 /** 62 62 * This function closes the server … … 66 66 return; 67 67 } 68 68 69 69 /** 70 70 * This function sends out a message to all clients … … 95 95 return false; 96 96 } 97 97 98 98 /** 99 99 * Run this function once every tick … … 106 106 return; 107 107 } 108 108 109 109 /** 110 110 * processes all the packets waiting in the queue … … 119 119 } 120 120 } 121 121 122 122 /** 123 123 * takes a new snapshot of the gamestate and sends it to the clients … … 129 129 //std::cout << "sent gamestate" << std::endl; 130 130 } 131 131 132 132 /** 133 133 * sends the gamestate … … 151 151 int cid = temp->getID(); 152 152 std::cout << "server, got acked ID: " << gid << std::endl; 153 GameStateCompressed *gs = &(gamestates->popGameState(cid)); 153 GameStateCompressed *gs = &(gamestates->popGameState(cid)); // FIXME: taking address of temporary, check if correct 154 154 //std::cout << "adding gamestate" << std::endl; 155 155 connection->addPacket(packet_gen.gstate(gs), cid); … … 163 163 //return true; 164 164 } 165 165 166 166 void Server::processAck( ack *data, int clientID){ 167 167 clients->findClient(clientID)->setGamestateID(data->a); 168 168 } 169 169 170 170 } -
code/branches/FICN/src/network/dummyclient2.cc
r538 r660 65 65 std::cout << "Connection failed" << std::endl; 66 66 67 ENetPacket *packet; 67 ENetPacket *packet; //FIXME: unused var! 68 68 ENetEvent event; 69 69 -
code/branches/FICN/src/orxonox/hud/HUD.cc
r659 r660 178 178 rocketNum4_ = OverlayManager::getSingleton().getOverlayElement("Orxonox/HUD1.2/RocketNum4"); 179 179 180 // FIXME: unused vars! 180 181 float energyDistrPixelX_ = 100; 181 182 float energyDistrPixelY_ = 86; -
code/branches/FICN/src/orxonox/objects/Camera.cc
r618 r660 62 62 sceneNode->attachObject((Ogre::MovableObject*)cam); 63 63 64 64 // FIXME: unused var 65 65 Ogre::Viewport* vp = orxonox::Orxonox::getSingleton()->getOgrePointer()->getRoot()->getAutoCreatedWindow()->addViewport(cam); 66 66 -
code/branches/FICN/src/orxonox/objects/Projectile.cc
r646 r660 50 50 if (this->getPosition().squaredDistance(it->getPosition()) <= (radius*radius)) 51 51 { 52 Explosion* e plosion = new Explosion(this);52 Explosion* explosion = new Explosion(this); 53 53 delete this; 54 54 return; -
code/branches/FICN/src/orxonox/objects/SpaceShip.cc
r647 r660 347 347 if (this->bLMousePressed_ && this->timeToReload_ <= 0) 348 348 { 349 // FIXME, unused var; try recycling of projectiles 349 350 Projectile* proj = new Projectile(this); 350 351 this->timeToReload_ = this->reloadTime_; -
code/branches/FICN/src/orxonox/objects/weapon_system/ammunition_dump.cc
r637 r660 106 106 { 107 107 int id = Orxonox::getSingleton()->getBulletMgr()->getAmmunitionID(name); 108 if (id = -1) 108 // FIXME changed = to ==, check if correct 109 if (id == -1) 109 110 return -1; 110 111 return stock_[id]; -
code/branches/FICN/src/tinyxml/tinystr.cc
r471 r660 24 24 25 25 /* 26 * THIS FILE WAS ALTERED BY Tyge L øvset, 7. April 2005.26 * THIS FILE WAS ALTERED BY Tyge L�vset, 7. April 2005. 27 27 */ 28 28 … … 36 36 37 37 // Null rep. 38 //FIXME: missing braces around initializer for ‘char [1]’ 38 39 TiXmlString::Rep TiXmlString::nullrep_ = { 0, 0, '\0' }; 39 40
Note: See TracChangeset
for help on using the changeset viewer.