 |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
71 void DrawNetLabel(Ogre::Vector3 pos,
float cam_dist, std::string
const& nick,
int colornum);
87 static Ogre::Quaternion
SpecialGetRotationTo(
const Ogre::Vector3& src,
const Ogre::Vector3& dest);
< Skidmark config file parser and data container
void OnFreeForceRemoved(FreeForceID_t id)
void DrawNetLabel(Ogre::Vector3 pos, float cam_dist, std::string const &nick, int colornum)
void RegisterGfxCharacter(RoR::GfxCharacter *gfx_character)
Global forward declarations.
std::vector< GfxActor * > & GetGfxActors()
GameContextSB & GetSimDataBuffer()
int FreeBeamGfxID_t
Index into GfxScene::m_gfx_freebeams, use RoR::FREEBEAMGFXID_INVALID as empty value.
void BufferSimulationData()
Run this when simulation is halted.
void OnFreeForceBroken(FreeForceID_t id)
void RemoveGfxActor(RoR::GfxActor *gfx_actor)
std::vector< GfxCharacter * > & GetGfxCharacters()
void SetParticlesVisible(bool visible)
Used by MSG_EDI_[ADD/MODIFY]_FREEBEAMGFX_REQUESTED; tailored for use with AngelScript thru GameScript...
FreeBeamGfxID_t m_gfx_freebeam_next_id
std::vector< GfxCharacter * > m_all_gfx_characters
Ogre::SceneNode * m_gfx_freebeams_grouping_node
Only for nicer scenegraph when viewing through Inspector gadget.
Ogre::SceneManager * GetSceneManager()
Provides a 3D graphical representation of the simulation Idea: simulation runs at it's own constant r...
void ModifyFreeBeamGfx(FreeBeamGfxRequest *rq)
std::vector< FreeBeamGfx > m_gfx_freebeams
std::vector< GfxActor * > m_live_gfx_actors
void UpdateScene(float dt)
void RegisterGfxActor(RoR::GfxActor *gfx_actor)
void AddFreeBeamGfx(FreeBeamGfxRequest *rq)
std::map< std::string, DustPool * > m_dustpools
int FreeForceID_t
Unique sequentially generated ID of FreeForce; use ActorManager::GetFreeForceNextId().
static Ogre::Quaternion SpecialGetRotationTo(const Ogre::Vector3 &src, const Ogre::Vector3 &dest)
RoR::SkidmarkConfig * GetSkidmarkConf()
DustPool * GetDustPool(const char *name)
SkidmarkConfig m_skidmark_conf
Ogre::SceneManager * m_scene_manager
FreeBeamGfxID_t GetFreeBeamGfxNextId()
A dynamic environment probe; Creates a cubemap with realtime reflections around specified point.
void RemoveGfxCharacter(RoR::GfxCharacter *gfx_character)
void UpdateFreeBeamGfx(float dt)
std::vector< GfxActor * > m_all_gfx_actors
void AdjustParticleSystemTimeFactor(Ogre::ParticleSystem *psys)
void ForceUpdateSingleGfxActor(RoR::GfxActor *gfx_actor)
void RemoveFreeBeamGfx(FreeBeamGfxID_t id)