RigsofRods
Soft-body Physics Simulation
Functions
GfxActor.cpp File Reference
#include "GfxActor.h"
#include "ApproxMath.h"
#include "AirBrake.h"
#include "Actor.h"
#include "Collisions.h"
#include "DashBoardManager.h"
#include "DustPool.h"
#include "EngineSim.h"
#include "GameContext.h"
#include "GfxScene.h"
#include "GUIManager.h"
#include "GUIUtils.h"
#include "HydraxWater.h"
#include "FlexAirfoil.h"
#include "FlexBody.h"
#include "FlexMeshWheel.h"
#include "FlexObj.h"
#include "InputEngine.h"
#include "MeshObject.h"
#include "MovableText.h"
#include "OgreImGui.h"
#include "Renderdash.h"
#include "RoRnet.h"
#include "ActorSpawner.h"
#include "SlideNode.h"
#include "SkyManager.h"
#include "SoundScriptManager.h"
#include "Terrain.h"
#include "TurboJet.h"
#include "TurboProp.h"
#include "Utils.h"
#include "imgui_internal.h"
#include <Ogre.h>
+ Include dependency graph for GfxActor.cpp:

Go to the source code of this file.

Functions

std::string WhereFrom (GfxActor *gfx_actor, const std::string &doing_what)
 
const ImU32 BEAM_COLOR (0xff556633)
 
const float BEAM_THICKNESS (1.2f)
 
const ImU32 BEAM_BROKEN_COLOR (0xff4466dd)
 
const float BEAM_BROKEN_THICKNESS (1.8f)
 
const ImU32 BEAM_HYDRO_COLOR (0xff55a3e0)
 
const float BEAM_HYDRO_THICKNESS (1.4f)
 
const ImU32 BEAM_STRENGTH_TEXT_COLOR (0xffcfd0cc)
 
const ImU32 BEAM_STRESS_TEXT_COLOR (0xff58bbfc)
 
const ImU32 NODE_COLOR (0xff44ddff)
 
const float NODE_RADIUS (2.f)
 
const ImU32 NODE_TEXT_COLOR (0xffcccccf)
 
const ImU32 NODE_MASS_TEXT_COLOR (0xff77bb66)
 
const ImU32 NODE_IMMOVABLE_COLOR (0xff0033ff)
 
const float NODE_IMMOVABLE_RADIUS (2.8f)
 
bool ShouldEnableLightSource (FlareType type, bool is_player)
 

Function Documentation

◆ BEAM_BROKEN_COLOR()

const ImU32 BEAM_BROKEN_COLOR ( 0xff4466dd  )
+ Here is the caller graph for this function:

◆ BEAM_BROKEN_THICKNESS()

const float BEAM_BROKEN_THICKNESS ( 1.  8f)
+ Here is the caller graph for this function:

◆ BEAM_COLOR()

const ImU32 BEAM_COLOR ( 0xff556633  )
+ Here is the caller graph for this function:

◆ BEAM_HYDRO_COLOR()

const ImU32 BEAM_HYDRO_COLOR ( 0xff55a3e0  )
+ Here is the caller graph for this function:

◆ BEAM_HYDRO_THICKNESS()

const float BEAM_HYDRO_THICKNESS ( 1.  4f)
+ Here is the caller graph for this function:

◆ BEAM_STRENGTH_TEXT_COLOR()

const ImU32 BEAM_STRENGTH_TEXT_COLOR ( 0xffcfd0cc  )
+ Here is the caller graph for this function:

◆ BEAM_STRESS_TEXT_COLOR()

const ImU32 BEAM_STRESS_TEXT_COLOR ( 0xff58bbfc  )
+ Here is the caller graph for this function:

◆ BEAM_THICKNESS()

const float BEAM_THICKNESS ( 1.  2f)
+ Here is the caller graph for this function:

◆ NODE_COLOR()

const ImU32 NODE_COLOR ( 0xff44ddff  )
+ Here is the caller graph for this function:

◆ NODE_IMMOVABLE_COLOR()

const ImU32 NODE_IMMOVABLE_COLOR ( 0xff0033ff  )
+ Here is the caller graph for this function:

◆ NODE_IMMOVABLE_RADIUS()

const float NODE_IMMOVABLE_RADIUS ( 2.  8f)
+ Here is the caller graph for this function:

◆ NODE_MASS_TEXT_COLOR()

const ImU32 NODE_MASS_TEXT_COLOR ( 0xff77bb66  )
+ Here is the caller graph for this function:

◆ NODE_RADIUS()

const float NODE_RADIUS ( 2.  f)
+ Here is the caller graph for this function:

◆ NODE_TEXT_COLOR()

const ImU32 NODE_TEXT_COLOR ( 0xffcccccf  )
+ Here is the caller graph for this function:

◆ ShouldEnableLightSource()

bool ShouldEnableLightSource ( FlareType  type,
bool  is_player 
)

< Only current vehicle, main lights

< All vehicles, main lights

< All vehicles, all lights

Definition at line 3151 of file GfxActor.cpp.

+ Here is the caller graph for this function:

◆ WhereFrom()

std::string WhereFrom ( GfxActor gfx_actor,
const std::string &  doing_what 
)

Definition at line 76 of file GfxActor.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: