RigsofRods
Soft-body Physics Simulation
Data Structures | Namespaces | Typedefs | Enumerations | Variables
GfxData.h File Reference
#include "MeshObject.h"
#include "SimData.h"
#include <Ogre.h>
#include <stdint.h>
#include <string>
+ Include dependency graph for GfxData.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

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
 

Namespaces

 RoR
 

Typedefs

typedef BitMask64_t RoR::PropAnimFlag_t
 
typedef BitMask_t RoR::PropAnimMode_t
 
typedef int RoR::CameraMode_t
 

Enumerations

enum  RoR::VideoCamState { RoR::VideoCamState::VCSTATE_INVALID, RoR::VideoCamState::VCSTATE_DISABLED, RoR::VideoCamState::VCSTATE_ENABLED_OFFLINE, RoR::VideoCamState::VCSTATE_ENABLED_ONLINE }
 
enum  RoR::DebugViewType {
  RoR::DebugViewType::DEBUGVIEW_NONE, RoR::DebugViewType::DEBUGVIEW_SKELETON, RoR::DebugViewType::DEBUGVIEW_NODES, RoR::DebugViewType::DEBUGVIEW_BEAMS,
  RoR::DebugViewType::DEBUGVIEW_WHEELS, RoR::DebugViewType::DEBUGVIEW_SHOCKS, RoR::DebugViewType::DEBUGVIEW_ROTATORS, RoR::DebugViewType::DEBUGVIEW_SLIDENODES,
  RoR::DebugViewType::DEBUGVIEW_SUBMESH
}
 
enum  RoR::WheelSide : char { RoR::WheelSide::INVALID = 'n', RoR::WheelSide::RIGHT = 'r', RoR::WheelSide::LEFT = 'l' }
 Used by rig-def/addonpart/tuneup formats to specify wheel rim mesh orientation. More...
 
enum  RoR::ShifterPropAnim {
  RoR::SHIFTER_INVALID = 0, RoR::SHIFTERMAN1 = 1, RoR::SHIFTERMAN2 = 2, RoR::SHIFTERSEQ = 3,
  RoR::SHIFTERLIN = 4, RoR::AUTOSHIFTERLIN = 5
}
 < PropAnim::animOpt3 values for PROP_ANIM_FLAG_SHIFTER More...
 
enum  RoR::VideoCamType {
  RoR::VCTYPE_INVALID, RoR::VCTYPE_VIDEOCAM, RoR::VCTYPE_TRACKING_VIDEOCAM, RoR::VCTYPE_MIRROR,
  RoR::VCTYPE_MIRROR_PROP_LEFT, RoR::VCTYPE_MIRROR_PROP_RIGHT
}
 

Variables

const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AIRSPEED = BITMASK64(1)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_VVI = BITMASK64(2)
 
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_FLAP = BITMASK64(5)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AIRBRAKE = BITMASK64(6)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ROLL = BITMASK64(7)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_PITCH = BITMASK64(8)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_THROTTLE = BITMASK64(9)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_RPM = BITMASK64(10)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ACCEL = BITMASK64(11)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_BRAKE = BITMASK64(12)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_CLUTCH = BITMASK64(13)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_TACHO = BITMASK64(14)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SPEEDO = BITMASK64(15)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_PBRAKE = BITMASK64(16)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_TURBO = BITMASK64(17)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SHIFTER = BITMASK64(18)
 'shifterman1, shifterman2, sequential, shifterlin, autoshifterlin'; animOpt3: see RoR::ShifterPropAnim More...
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AETORQUE = BITMASK64(19)
 
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_TORQUE = BITMASK64(22)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_HEADING = BITMASK64(23)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_DIFFLOCK = BITMASK64(24)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_STEERING = BITMASK64(25)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_EVENT = BITMASK64(26)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_AILERONS = BITMASK64(27)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ARUDDER = BITMASK64(28)
 
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_PERMANENT = BITMASK64(31)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_ELEVATORS = BITMASK64(32)
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_DASHBOARD = BITMASK64(33)
 Used with dashboard system inputs, see enum DashData in file DashBoardManager.h. More...
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_SIGNALSTALK = BITMASK64(34)
 Turn indicator stalk position (-1=left, 0=off, 1=right) More...
 
const PropAnimFlag_t RoR::PROP_ANIM_FLAG_GEAR = BITMASK64(35)
 'gearreverse' (animOpt3=-1), 'gearneutral' (animOpt3=0), 'gear#' (animOpt3=#) More...
 
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)
 
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_AUTOANIMATE = BITMASK(7)
 
const PropAnimMode_t RoR::PROP_ANIM_MODE_NOFLIP = BITMASK(8)
 
const PropAnimMode_t RoR::PROP_ANIM_MODE_BOUNCE = BITMASK(9)
 
static CameraMode_t RoR::CAMERA_MODE_ALWAYS_HIDDEN = -3
 
static CameraMode_t RoR::CAMERA_MODE_ALWAYS_VISIBLE = -2
 
static CameraMode_t RoR::CAMERA_MODE_3RDPERSON_ONLY = -1