RigsofRods
Soft-body Physics Simulation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
ActorExport.cpp File Reference
#include "Actor.h"
#include "Application.h"
#include "CacheSystem.h"
#include "GameContext.h"
#include "RigDef_File.h"
#include <Ogre.h>
+ Include dependency graph for ActorExport.cpp:

Go to the source code of this file.

Functions

static RigDef::Node::Ref BuildNodeRef (Actor *actor, NodeNum_t n)
 
static bool IsActuallyShockBeam (const beam_t &beam)
 
static void UpdateSetBeamDefaults (std::shared_ptr< BeamDefaults > &beam_defaults, Actor *actor, int i)
 
static void UpdateSetNodeDefaults (std::shared_ptr< NodeDefaults > &node_defaults, Actor *actor, NodeNum_t i)
 
static void UpdateSetInertiaDefaults (std::shared_ptr< Inertia > &inertia_defaults, Actor *actor, CmdKeyInertia &cmdkey_inertia)
 

Function Documentation

◆ BuildNodeRef()

static RigDef::Node::Ref BuildNodeRef ( Actor actor,
NodeNum_t  n 
)
static

Definition at line 33 of file ActorExport.cpp.

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

◆ IsActuallyShockBeam()

static bool IsActuallyShockBeam ( const beam_t beam)
static

Definition at line 51 of file ActorExport.cpp.

+ Here is the caller graph for this function:

◆ UpdateSetBeamDefaults()

static void UpdateSetBeamDefaults ( std::shared_ptr< BeamDefaults > &  beam_defaults,
Actor actor,
int  i 
)
static

Definition at line 58 of file ActorExport.cpp.

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

◆ UpdateSetInertiaDefaults()

static void UpdateSetInertiaDefaults ( std::shared_ptr< Inertia > &  inertia_defaults,
Actor actor,
CmdKeyInertia cmdkey_inertia 
)
static

Definition at line 106 of file ActorExport.cpp.

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

◆ UpdateSetNodeDefaults()

static void UpdateSetNodeDefaults ( std::shared_ptr< NodeDefaults > &  node_defaults,
Actor actor,
NodeNum_t  i 
)
static

Definition at line 87 of file ActorExport.cpp.

+ Here is the caller graph for this function: