Changeset 7221 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Mar 15, 2006, 3:10:45 PM (19 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/helicopter.cc
r7193 r7221 55 55 * @param fileName the name of the File to load the helicopter from (absolute path) 56 56 */ 57 Helicopter::Helicopter(const char*fileName)57 Helicopter::Helicopter(const std::string& fileName) 58 58 { 59 59 this->init(); … … 62 62 if(!doc.LoadFile()) 63 63 { 64 PRINTF(2)("Loading file %s failed for Helicopter.\n", fileName );64 PRINTF(2)("Loading file %s failed for Helicopter.\n", fileName.c_str()); 65 65 return; 66 66 } … … 110 110 this->loadModel("models/ships/helicopter_#.obj", 1.0); 111 111 112 EventHandler::getInstance()->grabEvents(true);112 //EventHandler::getInstance()->grabEvents(true); 113 113 114 114 bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false; -
trunk/src/world_entities/space_ships/helicopter.h
r7092 r7221 17 17 18 18 Helicopter(); 19 Helicopter(const char*fileName);19 Helicopter(const std::string& fileName); 20 20 Helicopter(const TiXmlElement* root); 21 21 virtual ~Helicopter(); -
trunk/src/world_entities/space_ships/hover.cc
r7193 r7221 47 47 * @param fileName the name of the File to load the hover from (absolute path) 48 48 */ 49 Hover::Hover(const char*fileName)49 Hover::Hover(const std::string& fileName) 50 50 { 51 51 this->init(); … … 54 54 if(!doc.LoadFile()) 55 55 { 56 PRINTF(2)("Loading file %s failed for Hover.\n", fileName );56 PRINTF(2)("Loading file %s failed for Hover.\n", fileName.c_str()); 57 57 return; 58 58 } -
trunk/src/world_entities/space_ships/hover.h
r7092 r7221 14 14 public: 15 15 16 Hover(const char*fileName);16 Hover(const std::string& fileName); 17 17 Hover(const TiXmlElement* root = NULL); 18 18 virtual ~Hover(); -
trunk/src/world_entities/space_ships/space_ship.cc
r7193 r7221 69 69 * @param fileName the name of the File to load the spaceship from (absolute path) 70 70 */ 71 SpaceShip::SpaceShip(const char*fileName)71 SpaceShip::SpaceShip(const std::string& fileName) 72 72 { 73 73 this->init(); … … 76 76 if(!doc.LoadFile()) 77 77 { 78 PRINTF(2)("Loading file %s failed for spaceship.\n", fileName );78 PRINTF(2)("Loading file %s failed for spaceship.\n", fileName.c_str()); 79 79 return; 80 80 } -
trunk/src/world_entities/space_ships/space_ship.h
r7116 r7221 21 21 22 22 public: 23 SpaceShip(const char*fileName);23 SpaceShip(const std::string& fileName); 24 24 SpaceShip(const TiXmlElement* root = NULL); 25 25 virtual ~SpaceShip(); -
trunk/src/world_entities/space_ships/turbine_hover.cc
r7193 r7221 49 49 * @param fileName the name of the File to load the turbine_hover from (absolute path) 50 50 */ 51 TurbineHover::TurbineHover(const char*fileName)51 TurbineHover::TurbineHover(const std::string& fileName) 52 52 { 53 53 this->init(); … … 56 56 if(!doc.LoadFile()) 57 57 { 58 PRINTF(2)("Loading file %s failed for TurbineHover.\n", fileName );58 PRINTF(2)("Loading file %s failed for TurbineHover.\n", fileName.c_str()); 59 59 return; 60 60 } -
trunk/src/world_entities/space_ships/turbine_hover.h
r7092 r7221 18 18 public: 19 19 20 TurbineHover(const char*fileName);20 TurbineHover(const std::string& fileName); 21 21 TurbineHover(const TiXmlElement* root = NULL); 22 22 virtual ~TurbineHover();
Note: See TracChangeset
for help on using the changeset viewer.