#include <ExplosionParams.h>
Definition at line 28 of file ExplosionParams.h.
| ExplosionParams::ExplosionParams | ( | ) |
Definition at line 25 of file ExplosionParams.cpp.
| ExplosionParams::~ExplosionParams | ( | ) |
Definition at line 38 of file ExplosionParams.cpp.
| bool ExplosionParams::parseXML | ( | XMLNode * | accessoryNode | ) |
Definition at line 78 of file ExplosionParams.cpp.
References animate_, S3D::checkDataFile(), createDebris_, createSplash_, deform_, DeformDown, DeformNone, deformTexture_, DeformUp, explodeUnderGround_, explosionSound_, explosionTexture_, S3D::formatStringBuffer(), XMLNode::getContent(), getDeformTexture(), getExplosionSound(), XMLNode::getNamedChild(), luminance_, multiColored_, onlyHurtShield_, XMLNode::returnError(), LangStringUtil::strcmp(), and windAffected_.
Referenced by WeaponExplosion::parseXML().
| void ExplosionParams::parseLUA | ( | lua_State * | L, | |
| int | position | |||
| ) |
Definition at line 146 of file ExplosionParams.cpp.
References animate_, fixed::asInt(), createDebris_, createMushroomAmount_, createSplash_, deform_, deformTexture_, explodeUnderGround_, explosionSound_, explosionTexture_, LUAUtil::getBoolFromTable(), LUAUtil::getNumberFromTable(), LUAUtil::getStringFromTable(), hurtAmount_, LUA_TTABLE, luaL_checktype(), luminance_, maxLife_, minLife_, multiColored_, onlyHurtShield_, shake_, size_, and windAffected_.
Referenced by s3d_explosion().
| void ExplosionParams::setSize | ( | fixed | size | ) | [inline] |
Definition at line 44 of file ExplosionParams.h.
References size_.
Referenced by WeaponExplosion::fireWeapon().
| void ExplosionParams::setShake | ( | fixed | shake | ) | [inline] |
Definition at line 45 of file ExplosionParams.h.
References shake_.
Referenced by WeaponExplosion::fireWeapon().
| void ExplosionParams::setMinLife | ( | fixed | minLife | ) | [inline] |
Definition at line 46 of file ExplosionParams.h.
References minLife_.
Referenced by WeaponExplosion::fireWeapon().
| void ExplosionParams::setMaxLife | ( | fixed | maxLife | ) | [inline] |
Definition at line 47 of file ExplosionParams.h.
References maxLife_.
Referenced by WeaponExplosion::fireWeapon().
| void ExplosionParams::setHurtAmount | ( | fixed | amount | ) | [inline] |
Definition at line 48 of file ExplosionParams.h.
References hurtAmount_.
Referenced by WeaponExplosion::fireWeapon().
| void ExplosionParams::setCreateMushroomAmount | ( | fixed | amount | ) | [inline] |
Definition at line 49 of file ExplosionParams.h.
References createMushroomAmount_.
Referenced by WeaponExplosion::fireWeapon().
| const char * ExplosionParams::getExplosionTexture | ( | ) |
Definition at line 42 of file ExplosionParams.cpp.
References explosionTexture_.
Referenced by Explosion::init().
| const char * ExplosionParams::getExplosionSound | ( | ) |
Definition at line 47 of file ExplosionParams.cpp.
References explosionSound_.
Referenced by parseXML(), and Explosion::simulate().
| FixedVector & ExplosionParams::getExplosionColor | ( | ) |
Definition at line 53 of file ExplosionParams.cpp.
References int(), multiColored_, and RAND.
Referenced by Explosion::init().
| fixed ExplosionParams::getSize | ( | ) | [inline] |
Definition at line 55 of file ExplosionParams.h.
References size_.
Referenced by WeaponExplosion::fireWeapon(), Explosion::init(), and Explosion::simulate().
| fixed ExplosionParams::getMaxLife | ( | ) | [inline] |
Definition at line 56 of file ExplosionParams.h.
References maxLife_.
Referenced by WeaponExplosion::fireWeapon(), and Explosion::init().
| fixed ExplosionParams::getMinLife | ( | ) | [inline] |
Definition at line 57 of file ExplosionParams.h.
References minLife_.
Referenced by WeaponExplosion::fireWeapon(), and Explosion::init().
| fixed ExplosionParams::getHurtAmount | ( | ) | [inline] |
Definition at line 58 of file ExplosionParams.h.
References hurtAmount_.
Referenced by WeaponExplosion::fireWeapon(), and Explosion::simulate().
| fixed ExplosionParams::getShake | ( | ) | [inline] |
Definition at line 59 of file ExplosionParams.h.
References shake_.
Referenced by WeaponExplosion::fireWeapon(), and Explosion::init().
| fixed ExplosionParams::getCreateMushroomAmount | ( | ) | [inline] |
Definition at line 60 of file ExplosionParams.h.
References createMushroomAmount_.
Referenced by WeaponExplosion::fireWeapon(), and Explosion::init().
| DeformType ExplosionParams::getDeformType | ( | ) | [inline] |
Definition at line 62 of file ExplosionParams.h.
References deform_.
Referenced by Explosion::simulate().
| bool ExplosionParams::getCreateDebris | ( | ) | [inline] |
Definition at line 63 of file ExplosionParams.h.
References createDebris_.
Referenced by Explosion::init().
| bool ExplosionParams::getCreateSplash | ( | ) | [inline] |
Definition at line 64 of file ExplosionParams.h.
References createSplash_.
Referenced by Explosion::init().
| bool ExplosionParams::getWindAffected | ( | ) | [inline] |
Definition at line 65 of file ExplosionParams.h.
References windAffected_.
Referenced by Explosion::init().
| bool ExplosionParams::getOnlyHurtShield | ( | ) | [inline] |
Definition at line 66 of file ExplosionParams.h.
References onlyHurtShield_.
Referenced by Explosion::simulate().
| bool ExplosionParams::getLuminance | ( | ) | [inline] |
Definition at line 67 of file ExplosionParams.h.
References luminance_.
Referenced by Explosion::init().
| bool ExplosionParams::getAnimate | ( | ) | [inline] |
Definition at line 68 of file ExplosionParams.h.
References animate_.
Referenced by Explosion::init().
| bool ExplosionParams::getExplodeUnderGround | ( | ) | [inline] |
Definition at line 69 of file ExplosionParams.h.
References explodeUnderGround_.
Referenced by Explosion::simulate().
| const char* ExplosionParams::getDeformTexture | ( | ) | [inline] |
Definition at line 71 of file ExplosionParams.h.
References deformTexture_.
Referenced by parseXML(), and Explosion::simulate().
fixed ExplosionParams::size_ [protected] |
Definition at line 74 of file ExplosionParams.h.
Referenced by getSize(), parseLUA(), and setSize().
fixed ExplosionParams::hurtAmount_ [protected] |
Definition at line 75 of file ExplosionParams.h.
Referenced by getHurtAmount(), parseLUA(), and setHurtAmount().
fixed ExplosionParams::shake_ [protected] |
Definition at line 76 of file ExplosionParams.h.
Referenced by getShake(), parseLUA(), and setShake().
fixed ExplosionParams::minLife_ [protected] |
Definition at line 77 of file ExplosionParams.h.
Referenced by getMinLife(), parseLUA(), and setMinLife().
fixed ExplosionParams::maxLife_ [protected] |
Definition at line 77 of file ExplosionParams.h.
Referenced by getMaxLife(), parseLUA(), and setMaxLife().
fixed ExplosionParams::createMushroomAmount_ [protected] |
Definition at line 78 of file ExplosionParams.h.
Referenced by getCreateMushroomAmount(), parseLUA(), and setCreateMushroomAmount().
bool ExplosionParams::luminance_ [protected] |
Definition at line 79 of file ExplosionParams.h.
Referenced by getLuminance(), parseLUA(), and parseXML().
bool ExplosionParams::windAffected_ [protected] |
Definition at line 80 of file ExplosionParams.h.
Referenced by getWindAffected(), parseLUA(), and parseXML().
bool ExplosionParams::multiColored_ [protected] |
Definition at line 81 of file ExplosionParams.h.
Referenced by getExplosionColor(), parseLUA(), and parseXML().
bool ExplosionParams::createDebris_ [protected] |
Definition at line 82 of file ExplosionParams.h.
Referenced by getCreateDebris(), parseLUA(), and parseXML().
bool ExplosionParams::createSplash_ [protected] |
Definition at line 83 of file ExplosionParams.h.
Referenced by getCreateSplash(), parseLUA(), and parseXML().
bool ExplosionParams::explodeUnderGround_ [protected] |
Definition at line 84 of file ExplosionParams.h.
Referenced by getExplodeUnderGround(), parseLUA(), and parseXML().
bool ExplosionParams::onlyHurtShield_ [protected] |
Definition at line 85 of file ExplosionParams.h.
Referenced by getOnlyHurtShield(), parseLUA(), and parseXML().
bool ExplosionParams::animate_ [protected] |
Definition at line 86 of file ExplosionParams.h.
Referenced by getAnimate(), parseLUA(), and parseXML().
std::string ExplosionParams::deformTexture_ [protected] |
Definition at line 88 of file ExplosionParams.h.
Referenced by getDeformTexture(), parseLUA(), and parseXML().
std::string ExplosionParams::explosionTexture_ [protected] |
Definition at line 89 of file ExplosionParams.h.
Referenced by getExplosionTexture(), parseLUA(), and parseXML().
std::string ExplosionParams::explosionSound_ [protected] |
Definition at line 90 of file ExplosionParams.h.
Referenced by getExplosionSound(), parseLUA(), and parseXML().
DeformType ExplosionParams::deform_ [protected] |
Definition at line 91 of file ExplosionParams.h.
Referenced by getDeformType(), parseLUA(), and parseXML().
1.5.3