Changeset 8858 for code/trunk/src/modules/weapons/projectiles
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/modules/weapons/projectiles/BasicProjectile.h
r8855 r8858 64 64 */ 65 65 inline void setDamage(float damage) 66 { if(damage >= 0.0f) { this->damage_ = damage; return; } COUT(1) << "The input projectile damage must be non-negative. Ignoring..." << endl; }66 { if(damage >= 0.0f) { this->damage_ = damage; return; } orxout(internal_warning) << "The input projectile damage must be non-negative. Ignoring..." << endl; } 67 67 /** 68 68 @brief Get the normal damage done by this projectile. … … 79 79 */ 80 80 inline void setHealthDamage(float healthdamage) 81 { if(healthdamage >= 0.0f) { this->healthdamage_ = healthdamage; return; } COUT(1) << "The input projectile health-damage must be non-negative. Ignoring..." << endl; }81 { if(healthdamage >= 0.0f) { this->healthdamage_ = healthdamage; return; } orxout(internal_warning) << "The input projectile health-damage must be non-negative. Ignoring..." << endl; } 82 82 /** 83 83 @brief Get the health-damage done by this projectile. … … 94 94 */ 95 95 inline void setShieldDamage(float shielddamage) 96 { if(shielddamage >= 0.0f) { this->shielddamage_ = shielddamage; return; } COUT(1) << "The input projectile shield-damage must be non-negative. Ignoring..." << endl; }96 { if(shielddamage >= 0.0f) { this->shielddamage_ = shielddamage; return; } orxout(internal_warning) << "The input projectile shield-damage must be non-negative. Ignoring..." << endl; } 97 97 /** 98 98 @brief Get the shield-damage done by this projectile. -
code/trunk/src/modules/weapons/projectiles/SimpleRocket.cc
r8855 r8858 39 39 #include "core/CoreIncludes.h" 40 40 #include "core/XMLPort.h" 41 #include "util/Debug.h"42 41 43 42 #include "controllers/Controller.h"
Note: See TracChangeset
for help on using the changeset viewer.