Changeset 9406 in orxonox.OLD for trunk/src/world_entities/power_ups
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- Location:
- trunk/src/world_entities/power_ups
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/power_ups/laser_power_up.cc
r7954 r9406 23 23 #include "primitive_model.h" 24 24 25 using namespace std; 25 26 26 27 27 CREATE_FACTORY(LaserPowerUp, CL_LASER_POWER_UP); … … 78 78 void LaserPowerUp::collidesWith(WorldEntity* entity, const Vector& location) 79 79 { 80 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClass Name(), entity->getClassName(), location.x, location.y, location.z);80 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 81 81 if (entity->isA(CL_PLAYABLE)) 82 82 this->toList(OM_DEAD); -
trunk/src/world_entities/power_ups/param_power_up.cc
r7954 r9406 26 26 #include "network_game_manager.h" 27 27 28 using namespace std; 28 29 29 30 30 CREATE_FACTORY(ParamPowerUp, CL_PARAM_POWER_UP); -
trunk/src/world_entities/power_ups/power_up.cc
r8350 r9406 24 24 #include "util/loading/load_param.h" 25 25 26 using namespace std; 26 27 27 28 28 PowerUp::PowerUp(float r, float g, float b) … … 85 85 if (this->pickupBuffer != NULL) 86 86 { 87 PRINTF(4)("Loaded sound %s to Pickup: %s.\n", pickupSound.c_str(), this->get Name());87 PRINTF(4)("Loaded sound %s to Pickup: %s.\n", pickupSound.c_str(), this->getCName()); 88 88 } 89 89 else 90 90 { 91 PRINTF(2)("Failed to load sound %s to pickup %s.\n.", pickupSound.c_str(), this->get Name());91 PRINTF(2)("Failed to load sound %s to pickup %s.\n.", pickupSound.c_str(), this->getCName()); 92 92 } 93 93 } … … 106 106 if (this->respawnBuffer != NULL) 107 107 { 108 PRINTF(4)("Loaded sound %s to Pickup: %s.\n", respawnSound.c_str(), this->get Name());108 PRINTF(4)("Loaded sound %s to Pickup: %s.\n", respawnSound.c_str(), this->getCName()); 109 109 } 110 110 else 111 111 { 112 PRINTF(2)("Failed to load sound %s to respawn %s.\n.", respawnSound.c_str(), this->get Name());112 PRINTF(2)("Failed to load sound %s to respawn %s.\n.", respawnSound.c_str(), this->getCName()); 113 113 } 114 114 } -
trunk/src/world_entities/power_ups/turret_power_up.cc
r7954 r9406 23 23 #include "primitive_model.h" 24 24 25 using namespace std; 25 26 26 27 27 CREATE_FACTORY(TurretPowerUp, CL_TURRET_POWER_UP); … … 74 74 void TurretPowerUp::collidesWith(WorldEntity* entity, const Vector& location) 75 75 { 76 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClass Name(), entity->getClassName(), location.x, location.y, location.z);76 // PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 77 77 if (entity->isA(CL_PLAYABLE)) 78 78 this->toList(OM_DEAD); -
trunk/src/world_entities/power_ups/weapon_power_up.cc
r7954 r9406 26 26 #include "util/loading/load_param.h" 27 27 28 using namespace std; 28 29 29 30 30 CREATE_FACTORY(WeaponPowerUp, CL_WEAPON_POWER_UP);
Note: See TracChangeset
for help on using the changeset viewer.