Changeset 7220 in orxonox.OLD for branches/std/src/world_entities/creatures
- Timestamp:
- Mar 12, 2006, 6:38:41 PM (19 years ago)
- Location:
- branches/std/src/world_entities/creatures
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/world_entities/creatures/md2_creature.cc
r7217 r7220 52 52 * @param fileName the name of the File to load the MD2Creature from (absolute path) 53 53 */ 54 MD2Creature::MD2Creature(const char*fileName)54 MD2Creature::MD2Creature(const std::string& fileName) 55 55 { 56 56 this->init(); … … 59 59 if(!doc.LoadFile()) 60 60 { 61 PRINTF(2)("Loading file %s failed for md2 creature.\n", fileName );61 PRINTF(2)("Loading file %s failed for md2 creature.\n", fileName.c_str()); 62 62 return; 63 63 } -
branches/std/src/world_entities/creatures/md2_creature.h
r7092 r7220 19 19 public: 20 20 21 MD2Creature(const char*fileName);21 MD2Creature(const std::string& fileName); 22 22 MD2Creature(const TiXmlElement* root = NULL); 23 23 virtual ~MD2Creature();
Note: See TracChangeset
for help on using the changeset viewer.