RigsofRods
Soft-body Physics Simulation
Data Structures | Public Member Functions | Private Member Functions | Private Attributes
RoR::SkidmarkConfig Class Reference

< Skidmark config file parser and data container More...

#include <Skidmark.h>

Data Structures

struct  SkidmarkDef
 

Public Member Functions

void LoadDefaultSkidmarkDefs ()
 
int getTexture (Ogre::String model, Ogre::String ground, float slip, Ogre::String &texture)
 

Private Member Functions

int ProcessSkidmarkConfLine (Ogre::StringVector args, Ogre::String model)
 

Private Attributes

std::map< Ogre::String, std::vector< SkidmarkDef > > m_models
 

Detailed Description

< Skidmark config file parser and data container

Definition at line 32 of file Skidmark.h.

Member Function Documentation

◆ getTexture()

int RoR::SkidmarkConfig::getTexture ( Ogre::String  model,
Ogre::String  ground,
float  slip,
Ogre::String &  texture 
)

Definition at line 94 of file Skidmark.cpp.

◆ LoadDefaultSkidmarkDefs()

void RoR::SkidmarkConfig::LoadDefaultSkidmarkDefs ( )

Definition at line 34 of file Skidmark.cpp.

+ Here is the call graph for this function:

◆ ProcessSkidmarkConfLine()

int RoR::SkidmarkConfig::ProcessSkidmarkConfLine ( Ogre::StringVector  args,
Ogre::String  model 
)
private

Definition at line 71 of file Skidmark.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ m_models

std::map<Ogre::String, std::vector<SkidmarkDef> > RoR::SkidmarkConfig::m_models
private

Definition at line 52 of file Skidmark.h.


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