SEGS  0.6.1-develop [d2cac982]
Super Entity Game Server
Functions | Variables
Movement.cpp File Reference
#include "Movement.h"
#include "Entity.h"
#include "Character.h"
#include "CharacterHelpers.h"
#include "Servers/MapServer/DataHelpers.h"
#include "Common/GameData/CoHMath.h"
#include "Common/GameData/seq_definitions.h"
#include "Common/GameData/playerdata_definitions.h"
#include "Logging.h"
#include <glm/gtx/vector_query.hpp>
#include <glm/ext.hpp>
#include <chrono>
Include dependency graph for Movement.cpp:

Functions

void roundVelocityToZero (glm::vec3 *vel)
 
void processDirectionControl (InputState *next_state, uint8_t control_id, int ms_since_prev, int keypress_state)
 
void setVelocity (Entity &e)
 
void addPosUpdate (Entity &e, const PosUpdate &p)
 
bool updateRotation (const Entity &src, int axis)
 
void forcePosition (Entity &e, glm::vec3 pos)
 
void forceOrientation (Entity &e, glm::vec3 pyr)
 
void addTriggeredMove (Entity &e, uint32_t move_idx, uint32_t delay, uint32_t fx_idx)
 

Variables

SurfaceParams g_world_surf_params [2]