Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes | Protected Attributes
STKConfig Class Reference

#include <stk_config.hpp>

Inheritance diagram for STKConfig:
Inheritance graph
[legend]
Collaboration diagram for STKConfig:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 STKConfig ()
void init_defaults ()
 Init all values with invalid defaults, which are tested later.
void getAllData (const lisp::Lisp *lisp)
void load (const std::string filename)
virtual void load (const std::string filename, const std::string node="tuxkart-kart", bool dont_load_models=false, bool dont_load_materials=false)
MaterialgetIconMaterial () const
ssgEntity * getModel () const
const std::string & getName () const
const char * getIdent () const
const char * getShadowFile () const
const char * getIconFile () const
const sgVec3 * getColor () const
float getMass () const
float getKartLength () const
float getKartWidth () const
float getKartHeight () const
float getMaxPower () const
float getTimeFullSteer () const
float getBrakeFactor () const
float getWheelBase () const
float getHeightCOG () const
float getMaxSteerAngle () const
float getMaxSpeedReverseRatio () const
float getWheelieMaxSpeedRatio () const
float getWheelieMaxPitch () const
float getWheeliePitchRate () const
float getWheelieRestoreRate () const
float getWheelieSpeedBoost () const
float getWheelieLeanRecovery () const
float getWheelieBalanceRecovery () const
float getWheelieStep () const
float getWheeliePowerBoost () const
float getSuspensionStiffness () const
float getWheelDampingRelaxation () const
float getWheelDampingCompression () const
float getFrictionSlip () const
float getRollInfluence () const
float getWheelRadius () const
float getWheelWidth () const
float getChassisLinearDamping () const
float getChassisAngularDamping () const
float getMaximumSpeed () const
float getGravityCenterShift () const
float getSuspensionRest () const
float getJumpVelocity () const
float getUprightTolerance () const
float getUprightMaxForce () const
const std::vector< float > & getGearSwitchRatio () const
const std::vector< float > & getGearPowerIncrease () const
float getCameraMaxAccel () const
float getCameraMaxBrake () const
float getCameraDistance () const

Public Attributes

float m_anvil_weight
float m_anvil_speed_factor
float m_parachute_friction
float m_parachute_done_fraction
float m_parachute_time
float m_parachute_time_other
float m_bomb_time
float m_bomb_time_increase
float m_anvil_time
float m_zipper_time
float m_zipper_force
float m_zipper_speed_gain
float m_shortcut_segments
float m_explosion_impulse
float m_explosion_impulse_objects
int m_max_karts
int m_grid_order
std::vector< float > m_leader_intervals
std::vector< int > m_scores
MusicInformationm_title_music

Protected Attributes

std::string m_name
std::string m_ident
std::string m_model_file
std::string m_icon_file
std::string m_shadow_file
float m_color [3]
float m_kart_width
float m_kart_length
float m_kart_height
float m_mass
float m_wheel_base
float m_height_cog
float m_engine_power
float m_brake_factor
float m_max_steer_angle
float m_time_full_steer
float m_wheelie_max_speed_ratio
float m_wheelie_max_pitch
float m_wheelie_pitch_rate
float m_wheelie_restore_rate
float m_wheelie_speed_boost
float m_wheelie_lean_recovery
float m_wheelie_balance_recovery
float m_wheelie_step
float m_wheelie_power_boost
float m_suspension_stiffness
float m_wheel_damping_relaxation
float m_wheel_damping_compression
float m_friction_slip
float m_roll_influence
float m_wheel_radius
float m_wheel_width
float m_chassis_linear_damping
float m_chassis_angular_damping
float m_maximum_speed
float m_max_speed_reverse_ratio
float m_gravity_center_shift
float m_suspension_rest
float m_jump_velocity
float m_upright_tolerance
float m_upright_max_force
float m_camera_max_accel
float m_camera_max_brake
float m_camera_distance
std::vector< float > m_gear_switch_ratio
std::vector< float > m_gear_power_increase

Detailed Description

Definition at line 27 of file stk_config.hpp.


Constructor & Destructor Documentation

STKConfig::STKConfig ( ) [inline]

Definition at line 54 of file stk_config.hpp.


Member Function Documentation

void STKConfig::getAllData ( const lisp::Lisp lisp) [virtual]

Reimplemented from KartProperties.

Definition at line 167 of file stk_config.cpp.

{

    // Get the values which are not part of the default KartProperties
    // ---------------------------------------------------------------
    lisp->get("anvil-weight",                 m_anvil_weight             );
    lisp->get("shortcut-skipped-segments",    m_shortcut_segments        );
    lisp->get("anvil-speed-factor",           m_anvil_speed_factor       );
    lisp->get("parachute-friction",           m_parachute_friction       );
    lisp->get("parachute-time",               m_parachute_time           );
    lisp->get("parachute-time-other",         m_parachute_time_other     );
    lisp->get("parachute-done-fraction",      m_parachute_done_fraction  );
    lisp->get("bomb-time",                    m_bomb_time                );
    lisp->get("bomb-time-increase",           m_bomb_time_increase       );
    lisp->getVector("leader-intervals",       m_leader_intervals         );
    lisp->get("anvil-time",                   m_anvil_time               );
    lisp->get("zipper-time",                  m_zipper_time              );
    lisp->get("zipper-force",                 m_zipper_force             );
    lisp->get("zipper-speed-gain",            m_zipper_speed_gain        );
    lisp->get("explosion-impulse",            m_explosion_impulse        );
    lisp->get("explosion-impulse-objects",    m_explosion_impulse_objects);
    lisp->get("max-karts",                    m_max_karts                );
    lisp->get("grid-order",                   m_grid_order               );
    lisp->getVector("scores",                 m_scores);
    std::string title_music;
    lisp->get("title-music",                  title_music                );
    m_title_music = new MusicInformation(file_manager->getMusicFile(title_music));

    // Get the default KartProperties
    // ------------------------------
    KartProperties::getAllData(lisp->getLisp("kart-defaults"));
}   // getAllData

Here is the call graph for this function:

float KartProperties::getBrakeFactor ( ) const [inline, inherited]

Definition at line 131 of file kart_properties.hpp.

{return m_brake_factor;           }

Here is the caller graph for this function:

float KartProperties::getCameraDistance ( ) const [inline, inherited]

Definition at line 168 of file kart_properties.hpp.

{return m_camera_distance;          }

Here is the caller graph for this function:

float KartProperties::getCameraMaxAccel ( ) const [inline, inherited]

Definition at line 166 of file kart_properties.hpp.

{return m_camera_max_accel;         }

Here is the caller graph for this function:

float KartProperties::getCameraMaxBrake ( ) const [inline, inherited]

Definition at line 167 of file kart_properties.hpp.

{return m_camera_max_brake;         }

Here is the caller graph for this function:

float KartProperties::getChassisAngularDamping ( ) const [inline, inherited]

Definition at line 155 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getChassisLinearDamping ( ) const [inline, inherited]

Definition at line 154 of file kart_properties.hpp.

Here is the caller graph for this function:

const sgVec3* KartProperties::getColor ( ) const [inline, inherited]

Definition at line 124 of file kart_properties.hpp.

{return &m_color;                 }

Here is the caller graph for this function:

float KartProperties::getFrictionSlip ( ) const [inline, inherited]

Definition at line 150 of file kart_properties.hpp.

{return m_friction_slip;            }

Here is the caller graph for this function:

const std::vector<float>& KartProperties::getGearPowerIncrease ( ) const [inline, inherited]

Definition at line 165 of file kart_properties.hpp.

Here is the caller graph for this function:

const std::vector<float>& KartProperties::getGearSwitchRatio ( ) const [inline, inherited]

Definition at line 163 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getGravityCenterShift ( ) const [inline, inherited]

Definition at line 157 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getHeightCOG ( ) const [inline, inherited]

Definition at line 133 of file kart_properties.hpp.

{return m_height_cog;             }

Here is the caller graph for this function:

const char* KartProperties::getIconFile ( ) const [inline, inherited]

Definition at line 123 of file kart_properties.hpp.

{return m_icon_file.c_str();      }

Here is the caller graph for this function:

Material* KartProperties::getIconMaterial ( ) const [inline, inherited]

Definition at line 118 of file kart_properties.hpp.

{return m_icon_material;          }

Here is the caller graph for this function:

const char* KartProperties::getIdent ( ) const [inline, inherited]

Definition at line 121 of file kart_properties.hpp.

{return m_ident.c_str();          }

Here is the caller graph for this function:

float KartProperties::getJumpVelocity ( ) const [inline, inherited]

Definition at line 159 of file kart_properties.hpp.

{return m_jump_velocity;            }

Here is the caller graph for this function:

float KartProperties::getKartHeight ( ) const [inline, inherited]

Definition at line 128 of file kart_properties.hpp.

{return m_kart_height;            }

Here is the caller graph for this function:

float KartProperties::getKartLength ( ) const [inline, inherited]

Definition at line 126 of file kart_properties.hpp.

{return m_kart_length;            }

Here is the caller graph for this function:

float KartProperties::getKartWidth ( ) const [inline, inherited]

Definition at line 127 of file kart_properties.hpp.

{return m_kart_width;             }

Here is the caller graph for this function:

float KartProperties::getMass ( ) const [inline, inherited]

Definition at line 125 of file kart_properties.hpp.

{return m_mass;                   }

Here is the caller graph for this function:

float KartProperties::getMaximumSpeed ( ) const [inline, inherited]

Definition at line 156 of file kart_properties.hpp.

{return m_maximum_speed;            }

Here is the caller graph for this function:

float KartProperties::getMaxPower ( ) const [inline, inherited]

Definition at line 129 of file kart_properties.hpp.

{return m_engine_power;           }

Here is the caller graph for this function:

float KartProperties::getMaxSpeedReverseRatio ( ) const [inline, inherited]

Definition at line 135 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getMaxSteerAngle ( ) const [inline, inherited]

Definition at line 134 of file kart_properties.hpp.

{return m_max_steer_angle;        }

Here is the caller graph for this function:

ssgEntity* KartProperties::getModel ( ) const [inline, inherited]

Definition at line 119 of file kart_properties.hpp.

{return m_model;                  }

Here is the caller graph for this function:

const std::string& KartProperties::getName ( ) const [inline, inherited]

Definition at line 120 of file kart_properties.hpp.

{return m_name;                   }

Here is the caller graph for this function:

float KartProperties::getRollInfluence ( ) const [inline, inherited]

Definition at line 151 of file kart_properties.hpp.

{return m_roll_influence;           }

Here is the caller graph for this function:

const char* KartProperties::getShadowFile ( ) const [inline, inherited]

Definition at line 122 of file kart_properties.hpp.

{return m_shadow_file.c_str();    }

Here is the caller graph for this function:

float KartProperties::getSuspensionRest ( ) const [inline, inherited]

Definition at line 158 of file kart_properties.hpp.

{return m_suspension_rest;          }

Here is the caller graph for this function:

float KartProperties::getSuspensionStiffness ( ) const [inline, inherited]

Definition at line 147 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getTimeFullSteer ( ) const [inline, inherited]

Definition at line 130 of file kart_properties.hpp.

{return m_time_full_steer;        }

Here is the caller graph for this function:

float KartProperties::getUprightMaxForce ( ) const [inline, inherited]

Definition at line 161 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getUprightTolerance ( ) const [inline, inherited]

Definition at line 160 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelBase ( ) const [inline, inherited]

Definition at line 132 of file kart_properties.hpp.

{return m_wheel_base;             }

Here is the caller graph for this function:

float KartProperties::getWheelDampingCompression ( ) const [inline, inherited]

Definition at line 149 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelDampingRelaxation ( ) const [inline, inherited]

Definition at line 148 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelieBalanceRecovery ( ) const [inline, inherited]

Definition at line 142 of file kart_properties.hpp.

float KartProperties::getWheelieLeanRecovery ( ) const [inline, inherited]

Definition at line 141 of file kart_properties.hpp.

float KartProperties::getWheelieMaxPitch ( ) const [inline, inherited]

Definition at line 137 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelieMaxSpeedRatio ( ) const [inline, inherited]

Definition at line 136 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheeliePitchRate ( ) const [inline, inherited]

Definition at line 138 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheeliePowerBoost ( ) const [inline, inherited]

Definition at line 144 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelieRestoreRate ( ) const [inline, inherited]

Definition at line 139 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelieSpeedBoost ( ) const [inline, inherited]

Definition at line 140 of file kart_properties.hpp.

Here is the caller graph for this function:

float KartProperties::getWheelieStep ( ) const [inline, inherited]

Definition at line 143 of file kart_properties.hpp.

{return m_wheelie_step;           }
float KartProperties::getWheelRadius ( ) const [inline, inherited]

Definition at line 152 of file kart_properties.hpp.

{return m_wheel_radius;             }

Here is the caller graph for this function:

float KartProperties::getWheelWidth ( ) const [inline, inherited]

Definition at line 153 of file kart_properties.hpp.

{return m_wheel_width;              }

Here is the caller graph for this function:

void STKConfig::init_defaults ( ) [virtual]
void STKConfig::load ( const std::string  filename)

Definition at line 26 of file stk_config.cpp.

{

    // Use the kart properties loader to read in the default kart
    // values, but don't try to load any models or materials       */
    KartProperties::load(filename, "config",
                        /*dont_load_models   */ true,
                        /*dont_load_materials*/ true  );

    // Check that all necessary values are indeed set 
    // -----------------------------------------------

#define CHECK_NEG(  a,strA) if(a<-99) {                                \
        fprintf(stderr,"Missing default value for '%s' in '%s'.\n",    \
                strA,filename.c_str());exit(-1);                       \
    }
    if(m_gear_switch_ratio.size()==0)
    {
        fprintf(stderr,"Missing default value for 'gear-switch-ratio' in '%s'.\n",
                filename.c_str());
        exit(-1);
    }
    if(m_gear_power_increase.size()==0)
    {
        fprintf(stderr,"Missing default value for 'gear-power-increase' in '%s'.\n",
                filename.c_str());
        exit(-1);
    }
    if(m_gear_switch_ratio.size()!=m_gear_power_increase.size())    {
        fprintf(stderr,"Number of entries for 'gear-switch-ratio' and 'gear-power-increase");
        fprintf(stderr,"in '%s' must be equal.\n", filename.c_str());
        exit(-1);
    }

    if(m_scores.size()==0 || (int)m_scores.size()!=m_max_karts)
    {
        fprintf(stderr,"Not or not enough scores defined in stk_config");
        exit(-1);
    }
    if(m_leader_intervals.size()==0)
    {
        fprintf(stderr,"No follow leader interval(s) defined in stk_config");
        exit(-1);
    }
    CHECK_NEG(m_max_karts,               "max-karts"                    );
    CHECK_NEG(m_grid_order,              "grid-order"                   );

    CHECK_NEG(m_mass,                    "mass"                         );
    CHECK_NEG(m_height_cog,              "heightCOG"                    );
    CHECK_NEG(m_wheel_base,              "wheel-base"                   );
    CHECK_NEG(m_engine_power,            "engine-power"                 );
    CHECK_NEG(m_max_steer_angle,         "max-steer-angle"              );
    CHECK_NEG(m_brake_factor,            "brake-factor"                 );

    CHECK_NEG(m_wheelie_max_speed_ratio, "wheelie-max-speed-ratio"      );
    CHECK_NEG(m_wheelie_max_pitch,       "wheelie-max-pitch"            );
    CHECK_NEG(m_wheelie_pitch_rate,      "wheelie-pitch-rate"           );
    CHECK_NEG(m_wheelie_restore_rate,    "wheelie-restore-rate"         );
    CHECK_NEG(m_wheelie_speed_boost,     "wheelie-speed-boost"          );
    CHECK_NEG(m_wheelie_lean_recovery,   "wheelie-lean-recovery"        );
    CHECK_NEG(m_wheelie_balance_recovery,"wheelie-balance-recovery"     );
    CHECK_NEG(m_wheelie_step,            "wheelie-step"                 );
    CHECK_NEG(m_wheelie_power_boost,     "wheelie-power-boost"          );

    CHECK_NEG(m_parachute_friction,        "parachute-friction"         );
    CHECK_NEG(m_parachute_done_fraction,   "parachute-done-fraction"    );
    CHECK_NEG(m_parachute_time,            "parachute-time"             );
    CHECK_NEG(m_parachute_time_other,      "parachute-time-other"       );

    CHECK_NEG(m_time_full_steer,           "time-full-steer"            );

    //bullet physics data
    CHECK_NEG(m_suspension_stiffness,      "suspension-stiffness"       );
    CHECK_NEG(m_wheel_damping_relaxation,  "wheel-damping-relaxation"   );
    CHECK_NEG(m_wheel_damping_compression, "wheel-damping-compression"  );
    CHECK_NEG(m_friction_slip,             "friction-slip"              );
    CHECK_NEG(m_roll_influence,            "roll-influence"             );
    CHECK_NEG(m_wheel_radius,              "wheel-radius"               );
    CHECK_NEG(m_wheel_width,               "wheel-width"                );
    CHECK_NEG(m_chassis_linear_damping,    "chassis-linear-damping"     );
    CHECK_NEG(m_chassis_angular_damping,   "chassis-angular-damping"    );
    CHECK_NEG(m_maximum_speed,             "maximum-speed"              );
    CHECK_NEG(m_max_speed_reverse_ratio,   "max-speed-reverse-ratio"    );
    CHECK_NEG(m_gravity_center_shift,      "gravity-center-shift"       );
    CHECK_NEG(m_bomb_time,                 "bomb-time"                  );
    CHECK_NEG(m_bomb_time_increase,        "bomb-time-increase"         );
    CHECK_NEG(m_anvil_time,                "anvil-time"                 );
    CHECK_NEG(m_anvil_weight,              "anvil-weight"               );
    CHECK_NEG(m_zipper_time,               "zipper-time"                );
    CHECK_NEG(m_zipper_force,              "zipper-force"               );
    CHECK_NEG(m_zipper_speed_gain,         "zipper-speed-gain"          );
    CHECK_NEG(m_shortcut_segments,         "shortcut-skipped-segments"  );
    CHECK_NEG(m_suspension_rest,           "suspension-rest"            );
    CHECK_NEG(m_jump_velocity,             "jump-velocity"              );
    CHECK_NEG(m_explosion_impulse,         "explosion-impulse"          );
    CHECK_NEG(m_explosion_impulse_objects, "explosion-impulse-objects"  );
    CHECK_NEG(m_upright_tolerance,         "upright-tolerance"          );
    CHECK_NEG(m_upright_max_force,         "upright-max-force"          );
    CHECK_NEG(m_camera_max_accel,          "camera-max-accel"           );
    CHECK_NEG(m_camera_max_brake,          "camera-max-brake"           );
    CHECK_NEG(m_camera_distance,           "camera-distance"            );

}   // load

Here is the caller graph for this function:

void KartProperties::load ( const std::string  filename,
const std::string  node = "tuxkart-kart",
bool  dont_load_models = false,
bool  dont_load_materials = false 
) [virtual, inherited]

Definition at line 49 of file kart_properties.cpp.

{

    init_defaults();

    const lisp::Lisp* root = 0;
    m_ident = StringUtils::basename(StringUtils::without_extension(filename));

    try
    {
        lisp::Parser parser;
        root = parser.parse(filename);

        const lisp::Lisp* const LISP = root->getLisp(node);
        if(!LISP)
        {
            char msg[MAX_ERROR_MESSAGE_LENGTH];
            snprintf(msg, sizeof(msg), "No '%s' node found.", node.c_str());
            throw std::runtime_error(msg);
        }
        getAllData(LISP);
    }
    catch(std::exception& err)
    {
        fprintf(stderr, "Error while parsing KartProperties '%s':\n", 
                filename.c_str());
        fprintf(stderr, err.what());
        fprintf(stderr, "\n");
    }
    delete root;

    if(!dont_load_materials)
    {
        // Load material
        std::string materials_file = file_manager->getKartFile("materials.dat",getIdent());
        file_manager->pushModelSearchPath(file_manager->getKartFile("", getIdent()));
        file_manager->pushTextureSearchPath(file_manager->getKartFile("", getIdent()));

        // addShared makes sure that these textures/material infos stay in memory
        material_manager->addSharedMaterial(materials_file);
        m_icon_material = material_manager->getMaterial(m_icon_file);
    }
    // Load model, except when called as part of --list-karts
    if(m_model_file.length()>0 && !dont_load_models)
    {
        m_model = loader->load(m_model_file, CB_KART, false);
        if(!m_model)
        {
            fprintf(stderr, "Can't find kart model '%s'.\n",m_model_file.c_str());
            file_manager->popTextureSearchPath();
            file_manager->popModelSearchPath();
            return;
        }
        ssgStripify(m_model);
        float x_min, x_max, y_min, y_max, z_min, z_max;
        MinMax(m_model, &x_min, &x_max, &y_min, &y_max, &z_min, &z_max);
        if(getName()=="Hexley" || getName()=="Wilber")
        {
            // These kart models are too small, so we get problems with stability. 
            // Till we find either better (bigger) models or improve their physics 
            // parameters to become playable, we just adjust the size of their 
            // physical models to be the same as the tuxkart model
            x_min=-0.473799f;
            x_max= 0.486361f;
            y_min=-0.772244f;
            y_max= 0.739075f;
            z_min= 0.002806f;
            z_max= 0.701095f;
        }
        m_kart_width  = x_max - x_min;
        m_kart_length = y_max - y_min;
        m_kart_height = z_max - z_min;
        if(m_kart_length<1.2) m_kart_length=1.5f;
        m_model->ref();
    }  // if
    if(!dont_load_materials)
    {
        file_manager->popTextureSearchPath();
        file_manager->popModelSearchPath();
    }

}   // load

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 31 of file stk_config.hpp.

Definition at line 38 of file stk_config.hpp.

Definition at line 30 of file stk_config.hpp.

Definition at line 36 of file stk_config.hpp.

Definition at line 37 of file stk_config.hpp.

float KartProperties::m_brake_factor [protected, inherited]

Definition at line 60 of file kart_properties.hpp.

float KartProperties::m_camera_distance [protected, inherited]

Definition at line 96 of file kart_properties.hpp.

float KartProperties::m_camera_max_accel [protected, inherited]

Definition at line 94 of file kart_properties.hpp.

float KartProperties::m_camera_max_brake [protected, inherited]

Definition at line 95 of file kart_properties.hpp.

float KartProperties::m_chassis_angular_damping [protected, inherited]

Definition at line 83 of file kart_properties.hpp.

float KartProperties::m_chassis_linear_damping [protected, inherited]

Definition at line 82 of file kart_properties.hpp.

float KartProperties::m_color[3] [protected, inherited]

Definition at line 48 of file kart_properties.hpp.

float KartProperties::m_engine_power [protected, inherited]

Definition at line 59 of file kart_properties.hpp.

Definition at line 44 of file stk_config.hpp.

Definition at line 45 of file stk_config.hpp.

float KartProperties::m_friction_slip [protected, inherited]

Definition at line 78 of file kart_properties.hpp.

std::vector<float> KartProperties::m_gear_power_increase [protected, inherited]

Definition at line 104 of file kart_properties.hpp.

std::vector<float> KartProperties::m_gear_switch_ratio [protected, inherited]

Definition at line 103 of file kart_properties.hpp.

float KartProperties::m_gravity_center_shift [protected, inherited]

Definition at line 86 of file kart_properties.hpp.

Definition at line 47 of file stk_config.hpp.

float KartProperties::m_height_cog [protected, inherited]

Definition at line 58 of file kart_properties.hpp.

std::string KartProperties::m_icon_file [protected, inherited]

Definition at line 44 of file kart_properties.hpp.

std::string KartProperties::m_ident [protected, inherited]

Definition at line 42 of file kart_properties.hpp.

float KartProperties::m_jump_velocity [protected, inherited]

Definition at line 88 of file kart_properties.hpp.

float KartProperties::m_kart_height [protected, inherited]

Definition at line 55 of file kart_properties.hpp.

float KartProperties::m_kart_length [protected, inherited]

Definition at line 54 of file kart_properties.hpp.

float KartProperties::m_kart_width [protected, inherited]

Definition at line 53 of file kart_properties.hpp.

std::vector<float> STKConfig::m_leader_intervals

Definition at line 49 of file stk_config.hpp.

float KartProperties::m_mass [protected, inherited]

Definition at line 56 of file kart_properties.hpp.

Definition at line 46 of file stk_config.hpp.

float KartProperties::m_max_speed_reverse_ratio [protected, inherited]

Definition at line 85 of file kart_properties.hpp.

float KartProperties::m_max_steer_angle [protected, inherited]

Definition at line 61 of file kart_properties.hpp.

float KartProperties::m_maximum_speed [protected, inherited]

Definition at line 84 of file kart_properties.hpp.

std::string KartProperties::m_model_file [protected, inherited]

Definition at line 43 of file kart_properties.hpp.

std::string KartProperties::m_name [protected, inherited]

Definition at line 41 of file kart_properties.hpp.

Definition at line 33 of file stk_config.hpp.

Definition at line 32 of file stk_config.hpp.

Definition at line 34 of file stk_config.hpp.

Definition at line 35 of file stk_config.hpp.

float KartProperties::m_roll_influence [protected, inherited]

Definition at line 79 of file kart_properties.hpp.

std::vector<int> STKConfig::m_scores

Definition at line 50 of file stk_config.hpp.

std::string KartProperties::m_shadow_file [protected, inherited]

Definition at line 46 of file kart_properties.hpp.

Definition at line 42 of file stk_config.hpp.

float KartProperties::m_suspension_rest [protected, inherited]

Definition at line 87 of file kart_properties.hpp.

float KartProperties::m_suspension_stiffness [protected, inherited]

Definition at line 75 of file kart_properties.hpp.

float KartProperties::m_time_full_steer [protected, inherited]

Definition at line 62 of file kart_properties.hpp.

Definition at line 52 of file stk_config.hpp.

float KartProperties::m_upright_max_force [protected, inherited]

Definition at line 90 of file kart_properties.hpp.

float KartProperties::m_upright_tolerance [protected, inherited]

Definition at line 89 of file kart_properties.hpp.

float KartProperties::m_wheel_base [protected, inherited]

Definition at line 57 of file kart_properties.hpp.

float KartProperties::m_wheel_damping_compression [protected, inherited]

Definition at line 77 of file kart_properties.hpp.

float KartProperties::m_wheel_damping_relaxation [protected, inherited]

Definition at line 76 of file kart_properties.hpp.

float KartProperties::m_wheel_radius [protected, inherited]

Definition at line 80 of file kart_properties.hpp.

float KartProperties::m_wheel_width [protected, inherited]

Definition at line 81 of file kart_properties.hpp.

float KartProperties::m_wheelie_balance_recovery [protected, inherited]

Definition at line 69 of file kart_properties.hpp.

float KartProperties::m_wheelie_lean_recovery [protected, inherited]

Definition at line 68 of file kart_properties.hpp.

float KartProperties::m_wheelie_max_pitch [protected, inherited]

Definition at line 64 of file kart_properties.hpp.

float KartProperties::m_wheelie_max_speed_ratio [protected, inherited]

Definition at line 63 of file kart_properties.hpp.

float KartProperties::m_wheelie_pitch_rate [protected, inherited]

Definition at line 65 of file kart_properties.hpp.

float KartProperties::m_wheelie_power_boost [protected, inherited]

Definition at line 71 of file kart_properties.hpp.

float KartProperties::m_wheelie_restore_rate [protected, inherited]

Definition at line 66 of file kart_properties.hpp.

float KartProperties::m_wheelie_speed_boost [protected, inherited]

Definition at line 67 of file kart_properties.hpp.

float KartProperties::m_wheelie_step [protected, inherited]

Definition at line 70 of file kart_properties.hpp.

Definition at line 40 of file stk_config.hpp.

Definition at line 41 of file stk_config.hpp.

Definition at line 39 of file stk_config.hpp.


The documentation for this class was generated from the following files: