27#include <OgreMeshManager.h>
43 Character(
int source = -1,
unsigned int streamid = 0, std::string playerName =
"",
int color_number = 0,
bool is_remote =
true);
59 void move(Ogre::Vector3 offset);
62 void receiveStreamData(
unsigned int& type,
int& source,
unsigned int& streamid,
char* buffer);
Global forward declarations.
void setColour(int color)
GfxCharacter * SetupGfx()
void setPosition(Ogre::Vector3 position)
ActorPtr m_actor_coupling
The vehicle or machine which the character occupies.
Ogre::Vector3 getPosition()
void setRotation(Ogre::Radian rotation)
float m_driving_anim_length
float m_character_v_speed
unsigned long m_net_last_update_time
Ogre::Vector3 m_prev_position
void receiveStreamData(unsigned int &type, int &source, unsigned int &streamid, char *buffer)
std::string const & GetAnimName() const
std::string const & GetNetUsername()
void SetActorCoupling(bool enabled, ActorPtr actor)
float m_net_last_anim_time
ActorPtr GetActorCoupling()
GfxCharacter * m_gfx_character
Ogre::Radian m_character_rotation
Ogre::Vector3 m_character_position
void move(Ogre::Vector3 offset)
void SetAnimState(std::string mode, float time=0)
std::string m_net_username
void updateCharacterRotation()
Ogre::Radian getRotation() const
float GetAnimTime() const
std::string m_instance_name
float m_character_h_speed
void ReportError(const char *detail)
< Buffered simulation state for async gfx scene update
std::string simbuf_anim_name
std::string simbuf_net_username
Ogre::Radian simbuf_character_rot
When on foot.
ActorPtr simbuf_actor_coupling
Ogre::Vector3 simbuf_character_pos
Ogre::SceneNode * xc_scenenode
std::string xc_instance_name
SurveyMapEntity xc_surveymap_entity
void UpdateCharacterInScene()
void BufferSimulationData()