RigsofRods
Soft-body Physics Simulation
|
Visual-only objects or visual couterparts to Gameplay objects. More...
Modules | |
Camera | |
Camera control and logic. | |
Hydrax | |
Nice looking water, originally a 3rd party component. | |
Particle | |
Customizations of OGRE particle system: visuals + game logic. | |
Flex | |
Meshes deforming in real time: flexbodies, wings, wheels, cab mesh. | |
Data Structures | |
class | RoR::DustPool |
class | RoR::GfxEnvmap |
A dynamic environment probe; Creates a cubemap with realtime reflections around specified point. More... | |
class | RoR::GfxActor |
struct | RoR::PropAnim |
struct | RoR::Prop |
A mesh attached to vehicle frame via 3 nodes. More... | |
struct | RoR::VideoCamera |
An Ogre::Camera mounted on the actor and rendering into either in-scene texture or external window. More... | |
struct | RoR::NodeGfx |
Gfx attributes/state of a softbody node. More... | |
struct | RoR::BeamGfx |
Visuals of softbody beam (beam_t struct); Partially updated along with SimBuffer. More... | |
struct | RoR::WheelGfx |
struct | RoR::AirbrakeGfx |
struct | RoR::FlareMaterial |
class | RoR::GfxScene |
Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant rate, scene updates and rendering run asynchronously. More... | |
class | RoR::HydraxWater |
class | RoR::IWater |
< TODO: Mixed gfx+physics (waves) - must be separated ~ only_a_ptr, 02/2018 More... | |
class | RoR::MovableText |
class | RoR::Renderdash |
'renderdash' is a name of a classic Render-To-Texture animated material with gauges and other dashboard info. More... | |
struct | RoR::PSSM_Shadows_Data |
class | RoR::ShadowManager |
class | RoR::Skidmark |
class | RoR::SkyXManager |
class | RoR::Water |
class | MeshObject |
Typedefs | |
typedef BitMask64_t | RoR::PropAnimFlag_t |
typedef BitMask_t | RoR::PropAnimMode_t |
typedef int | RoR::CameraMode_t |
Functions | |
void | SaveImage (Ogre::TexturePtr TextureToSave, Ogre::String filename) |
Saves a texture to the disk. More... | |
void | WriteToTexture (const Ogre::String &str, Ogre::TexturePtr destTexture, Ogre::Box destRectangle, Ogre::Font *font, const Ogre::ColourValue &color, int fontSize=15, int fontDPI=400, char justify='l', bool wordwrap=true) |
Writes a string onto a texture. More... | |
Visual-only objects or visual couterparts to Gameplay objects.
typedef int RoR::CameraMode_t |
typedef BitMask64_t RoR::PropAnimFlag_t |
typedef BitMask_t RoR::PropAnimMode_t |
|
strong |
enum RoR::ShifterPropAnim |
< PropAnim::animOpt3
values for PROP_ANIM_FLAG_SHIFTER
Enumerator | |
---|---|
SHIFTER_INVALID | |
SHIFTERMAN1 | |
SHIFTERMAN2 | |
SHIFTERSEQ | |
SHIFTERLIN | |
AUTOSHIFTERLIN |
|
strong |
enum RoR::VideoCamType |
|
strong |
void SaveImage | ( | Ogre::TexturePtr | TextureToSave, |
Ogre::String | filename | ||
) |
Saves a texture to the disk.
TextureToSave | The texture to save. |
filename | The file-name. |
void WriteToTexture | ( | const Ogre::String & | str, |
Ogre::TexturePtr | destTexture, | ||
Ogre::Box | destRectangle, | ||
Ogre::Font * | font, | ||
const Ogre::ColourValue & | color, | ||
int | fontSize = 15 , |
||
int | fontDPI = 400 , |
||
char | justify = 'l' , |
||
bool | wordwrap = true |
||
) |
Writes a string onto a texture.
str | The string to write onto the texture. |
destTexture | The texture to write the string on. |
destRectangle | The Area to write in. |
font | A pointer to the font to use. |
color | The color of the text. |
fontSize | The size of the font in points. |
fontDPI | The resolution of the font in dpi. |
justify | 'l' = left aligned, 'c' = centered, 'r' = right aligned. |
wordwrap | if true the line will only be wrapped after a word. |
|
static |
|
static |
|
static |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ACCEL = BITMASK64(11) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AEPITCH = BITMASK64(20) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AESTATUS = BITMASK64(21) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AETORQUE = BITMASK64(19) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AILERONS = BITMASK64(27) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AIRBRAKE = BITMASK64(6) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AIRSPEED = BITMASK64(1) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ALTIMETER = BITMASK64(3) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AOA = BITMASK64(4) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ARUDDER = BITMASK64(28) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_BRAKE = BITMASK64(12) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_BRUDDER = BITMASK64(29) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_BTHROTTLE = BITMASK64(30) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_CLUTCH = BITMASK64(13) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_DASHBOARD = BITMASK64(33) |
Used with dashboard system inputs, see enum DashData
in file DashBoardManager.h.
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_DIFFLOCK = BITMASK64(24) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ELEVATORS = BITMASK64(32) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_EVENT = BITMASK64(26) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_FLAP = BITMASK64(5) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_GEAR = BITMASK64(35) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_HEADING = BITMASK64(23) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_PBRAKE = BITMASK64(16) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_PERMANENT = BITMASK64(31) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_PITCH = BITMASK64(8) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ROLL = BITMASK64(7) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_RPM = BITMASK64(10) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SHIFTER = BITMASK64(18) |
'shifterman1, shifterman2, sequential, shifterlin, autoshifterlin'; animOpt3: see RoR::ShifterPropAnim
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SIGNALSTALK = BITMASK64(34) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SPEEDO = BITMASK64(15) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_STEERING = BITMASK64(25) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_TACHO = BITMASK64(14) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_THROTTLE = BITMASK64(9) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_TORQUE = BITMASK64(22) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_TURBO = BITMASK64(17) |
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_VVI = BITMASK64(2) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_AUTOANIMATE = BITMASK(7) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_BOUNCE = BITMASK(9) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_NOFLIP = BITMASK(8) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_OFFSET_X = BITMASK(4) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_OFFSET_Y = BITMASK(5) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_OFFSET_Z = BITMASK(6) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_ROTA_X = BITMASK(1) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_ROTA_Y = BITMASK(2) |
const PropAnimMode_t RoR::PROP_ANIM_MODE_ROTA_Z = BITMASK(3) |