|
| | KartProperties (const std::string &filename="") |
| | The constructor initialises all values with invalid values. More...
|
| |
|
| ~KartProperties () |
| | Destructor, dereferences the kart model.
|
| |
| void | copyForPlayer (const KartProperties *source, HandicapLevel h=HANDICAP_NONE) |
| | Copies this KartProperties to another one. More...
|
| |
| void | adjustForOnlineAddonKart (const KartProperties *source) |
| | Change the graphical properties (icon, shadow..) for addon kart using in online mode. More...
|
| |
|
void | updateForOnlineKart (const std::string &id, const Vec3 &gravity_shift, float kart_length) |
| |
| void | copyFrom (const KartProperties *source) |
| | Copies this KartProperties to another one. More...
|
| |
| void | getAllData (const XMLNode *root) |
| | Actually reads in the data from the xml file. More...
|
| |
| void | checkAllSet (const std::string &filename) |
| | Checks if all necessary physics values are indeed defines. More...
|
| |
|
bool | isInGroup (const std::string &group) const |
| |
|
bool | operator< (const KartProperties &other) const |
| |
|
void | initKartWithDifferentType (const std::string &type) |
| |
|
const AbstractCharacteristic * | getCharacteristic () const |
| | Returns the characteristics for this kart.
|
| |
| const AbstractCharacteristic * | getCombinedCharacteristic () const |
| | Returns the characteristics for this kart combined with the base characteristic. More...
|
| |
|
Material * | getIconMaterial () const |
| | Returns the material for the kart icons.
|
| |
|
video::ITexture * | getMinimapIcon () const |
| | Returns the texture to use in the minimap, or NULL if not defined.
|
| |
| KartModel * | getKartModelCopy (std::shared_ptr< GE::GERenderInfo > ri=nullptr) const |
| | Returns a pointer to the KartModel object. More...
|
| |
| const KartModel & | getMasterKartModel () const |
| | Returns a pointer to the main KartModel object. More...
|
| |
| void | setHatMeshName (const std::string &hat_name) |
| | Sets the name of a mesh to be used for this kart. More...
|
| |
|
core::stringw | getName () const |
| | Returns the name of this kart.
|
| |
|
const std::string | getNonTranslatedName () const |
| |
|
const std::string & | getIdent () const |
| | Returns the internal identifier of this kart.
|
| |
|
const std::string & | getKartType () const |
| | Returns the type of this kart.
|
| |
|
Material * | getShadowMaterial () const |
| | Returns the shadow texture to use.
|
| |
|
const std::string & | getAbsoluteIconFile () const |
| | Returns the absolute path of the icon file of this kart.
|
| |
|
const int | getCustomSfxId (int type) const |
| | Returns custom sound effects for this kart.
|
| |
|
int | getVersion () const |
| | Returns the version of the .kart file.
|
| |
|
const video::SColor & | getColor () const |
| | Returns the dot color to use for this kart in the race gui.
|
| |
|
int | getShape () const |
| | Returns the number of edges for the polygon used to draw the dot of this kart on the mini map of the race gui.
|
| |
|
const std::vector< std::string > & | getGroups () const |
| | Returns the list of groups this kart belongs to.
|
| |
|
const std::string & | getEngineSfxType () const |
| | Returns the engine type (used to change sfx depending on kart size).
|
| |
|
const std::string & | getSkidSound () const |
| | Returns the skid sound.
|
| |
|
float | getFrictionSlip () const |
| | Returns friction slip.
|
| |
|
float | getWheelBase () const |
| | Returns the wheel base (distance front to rear axis).
|
| |
|
const Vec3 & | getGravityCenterShift () const |
| | Returns a shift of the center of mass (lowering the center of mass makes the karts more stable.
|
| |
|
float | getCollisionTerrainImpulse () const |
| | Returns an artificial impulse to push karts away from the terrain it hits.
|
| |
|
TerrainImpulseType | getTerrainImpulseType () const |
| | Returns what kind of impulse STK should use in case of a kart-track collision.
|
| |
|
float | getCollisionImpulse () const |
| | Returns the (artificial) collision impulse this kart will apply to another kart in case of a non-frontal collision.
|
| |
|
float | getCollisionImpulseTime () const |
| | Returns how long the collision impulse should be applied.
|
| |
|
float | getRestitution (float speed) const |
| | Returns the restitution factor for this kart.
|
| |
|
const AIProperties * | getAIPropertiesForDifficulty () const |
| | Returns a pointer to the AI properties.
|
| |
|
const std::string & | getKartDir () const |
| | Returns the full path where the files for this kart are stored.
|
| |
|
const Vec3 & | getBevelFactor () const |
| | Returns the bevel factor (!=0 indicates to use a bevelled box).
|
| |
| const float | getPhysicalWheelPosition () const |
| | Returns position of the physical wheel is a weighted average of the two ends of the beveled shape. More...
|
| |
| float | getAccelerationEfficiency () const |
| | This function returns a weighted average of engine power divide by mass for use as a single number summing-up acceleration's efficiency, e.g. More...
|
| |
|
int8_t | getNitroMinConsumptionTicks () const |
| | Returns minimum time during which nitro is consumed when pressing nitro key, to prevent using nitro in very short bursts.
|
| |
|
bool | isAddon () const |
| |
|
float | getSuspensionStiffness () const |
| |
|
float | getSuspensionRest () const |
| |
|
float | getSuspensionTravel () const |
| |
|
bool | getSuspensionExpSpringResponse () const |
| |
|
float | getSuspensionMaxForce () const |
| |
|
float | getStabilityRollInfluence () const |
| |
|
float | getStabilityChassisLinearDamping () const |
| |
|
float | getStabilityChassisAngularDamping () const |
| |
|
float | getStabilityDownwardImpulseFactor () const |
| |
|
float | getStabilityTrackConnectionAccel () const |
| |
|
std::vector< float > | getStabilityAngularFactor () const |
| |
|
float | getStabilitySmoothFlyingImpulse () const |
| |
|
InterpolationArray | getTurnRadius () const |
| |
|
float | getTurnTimeResetSteer () const |
| |
|
InterpolationArray | getTurnTimeFullSteer () const |
| |
|
float | getEnginePower () const |
| |
|
float | getEngineMaxSpeed () const |
| |
|
float | getEngineGenericMaxSpeed () const |
| |
|
float | getEngineBrakeFactor () const |
| |
|
float | getEngineBrakeTimeIncrease () const |
| |
|
float | getEngineMaxSpeedReverseRatio () const |
| |
|
std::vector< float > | getGearSwitchRatio () const |
| |
|
std::vector< float > | getGearPowerIncrease () const |
| |
|
float | getMass () const |
| |
|
float | getWheelsDampingRelaxation () const |
| |
|
float | getWheelsDampingCompression () const |
| |
|
float | getJumpAnimationTime () const |
| |
|
float | getLeanMax () const |
| |
|
float | getLeanSpeed () const |
| |
|
float | getAnvilDuration () const |
| |
|
float | getAnvilWeight () const |
| |
|
float | getAnvilSpeedFactor () const |
| |
|
float | getParachuteFriction () const |
| |
|
float | getParachuteDuration () const |
| |
|
float | getParachuteDurationOther () const |
| |
|
float | getParachuteDurationRankMult () const |
| |
|
float | getParachuteDurationSpeedMult () const |
| |
|
float | getParachuteLboundFraction () const |
| |
|
float | getParachuteUboundFraction () const |
| |
|
float | getParachuteMaxSpeed () const |
| |
|
float | getFrictionKartFriction () const |
| |
|
float | getBubblegumDuration () const |
| |
|
float | getBubblegumSpeedFraction () const |
| |
|
float | getBubblegumTorque () const |
| |
|
float | getBubblegumFadeInTime () const |
| |
|
float | getBubblegumShieldDuration () const |
| |
|
float | getZipperDuration () const |
| |
|
float | getZipperForce () const |
| |
|
float | getZipperSpeedGain () const |
| |
|
float | getZipperMaxSpeedIncrease () const |
| |
|
float | getZipperFadeOutTime () const |
| |
|
float | getSwatterDuration () const |
| |
|
float | getSwatterDistance () const |
| |
|
float | getSwatterSquashDuration () const |
| |
|
float | getSwatterSquashSlowdown () const |
| |
|
float | getPlungerBandMaxLength () const |
| |
|
float | getPlungerBandForce () const |
| |
|
float | getPlungerBandDuration () const |
| |
|
float | getPlungerBandSpeedIncrease () const |
| |
|
float | getPlungerBandFadeOutTime () const |
| |
|
float | getPlungerInFaceTime () const |
| |
|
std::vector< float > | getStartupTime () const |
| |
|
std::vector< float > | getStartupBoost () const |
| |
|
float | getRescueDuration () const |
| |
|
float | getRescueVertOffset () const |
| |
|
float | getRescueHeight () const |
| |
|
float | getExplosionDuration () const |
| |
|
float | getExplosionRadius () const |
| |
|
float | getExplosionInvulnerabilityTime () const |
| |
|
float | getNitroDuration () const |
| |
|
float | getNitroEngineForce () const |
| |
|
float | getNitroEngineMult () const |
| |
|
float | getNitroConsumption () const |
| |
|
float | getNitroSmallContainer () const |
| |
|
float | getNitroBigContainer () const |
| |
|
float | getNitroMaxSpeedIncrease () const |
| |
|
float | getNitroFadeOutTime () const |
| |
|
float | getNitroMax () const |
| |
|
float | getSlipstreamDurationFactor () const |
| |
|
float | getSlipstreamBaseSpeed () const |
| |
|
float | getSlipstreamLength () const |
| |
|
float | getSlipstreamWidth () const |
| |
|
float | getSlipstreamInnerFactor () const |
| |
|
float | getSlipstreamMinCollectTime () const |
| |
|
float | getSlipstreamMaxCollectTime () const |
| |
|
float | getSlipstreamAddPower () const |
| |
|
float | getSlipstreamMinSpeed () const |
| |
|
float | getSlipstreamMaxSpeedIncrease () const |
| |
|
float | getSlipstreamFadeOutTime () const |
| |
|
float | getSkidIncrease () const |
| |
|
float | getSkidDecrease () const |
| |
|
float | getSkidMax () const |
| |
|
float | getSkidTimeTillMax () const |
| |
|
float | getSkidVisual () const |
| |
|
float | getSkidVisualTime () const |
| |
|
float | getSkidRevertVisualTime () const |
| |
|
float | getSkidMinSpeed () const |
| |
|
std::vector< float > | getSkidTimeTillBonus () const |
| |
|
std::vector< float > | getSkidBonusSpeed () const |
| |
|
std::vector< float > | getSkidBonusTime () const |
| |
|
std::vector< float > | getSkidBonusForce () const |
| |
|
float | getSkidPhysicalJumpTime () const |
| |
|
float | getSkidGraphicalJumpTime () const |
| |
|
float | getSkidPostSkidRotateFactor () const |
| |
|
float | getSkidReduceTurnMin () const |
| |
|
float | getSkidReduceTurnMax () const |
| |
|
bool | getSkidEnabled () const |
| |
This class stores the properties of a kart.
This includes size, name, identifier, physical properties etc. It is atm also the base class for STKConfig, which stores the default values for all physics constants. Note that KartProperties is copied (when setting the default values from stk_config.