icculus quake2 doxygen  1.0 dev
moveinfo_t Struct Reference

#include <g_local.h>

Public Attributes

vec3_t start_origin
 
vec3_t start_angles
 
vec3_t end_origin
 
vec3_t end_angles
 
int sound_start
 
int sound_middle
 
int sound_end
 
float accel
 
float speed
 
float decel
 
float distance
 
float wait
 
int state
 
vec3_t dir
 
float current_speed
 
float move_speed
 
float next_speed
 
float remaining_distance
 
float decel_distance
 
void(* endfunc )(edict_t *)
 

Detailed Description

Definition at line 370 of file g_local.h.

Member Data Documentation

◆ accel

◆ current_speed

float moveinfo_t::current_speed

Definition at line 392 of file g_local.h.

Referenced by Move_Calc(), plat_Accelerate(), plat_CalcAcceleratedMove(), and Think_AccelMove().

◆ decel

◆ decel_distance

float moveinfo_t::decel_distance

Definition at line 396 of file g_local.h.

Referenced by plat_Accelerate(), and plat_CalcAcceleratedMove().

◆ dir

vec3_t moveinfo_t::dir

Definition at line 391 of file g_local.h.

Referenced by misc_viper_bomb_use(), Move_Begin(), Move_Calc(), Move_Final(), and Think_AccelMove().

◆ distance

float moveinfo_t::distance

Definition at line 385 of file g_local.h.

Referenced by SP_func_door(), SP_func_door_rotating(), and Think_CalcMoveSpeed().

◆ end_angles

vec3_t moveinfo_t::end_angles

◆ end_origin

vec3_t moveinfo_t::end_origin

◆ endfunc

void(* moveinfo_t::endfunc) (edict_t *)

Definition at line 397 of file g_local.h.

Referenced by AngleMove_Calc(), AngleMove_Done(), Move_Calc(), and Move_Done().

◆ move_speed

float moveinfo_t::move_speed

Definition at line 393 of file g_local.h.

Referenced by plat_Accelerate(), and plat_CalcAcceleratedMove().

◆ next_speed

float moveinfo_t::next_speed

Definition at line 394 of file g_local.h.

Referenced by plat_Accelerate().

◆ remaining_distance

float moveinfo_t::remaining_distance

◆ sound_end

int moveinfo_t::sound_end

◆ sound_middle

int moveinfo_t::sound_middle

◆ sound_start

int moveinfo_t::sound_start

◆ speed

◆ start_angles

vec3_t moveinfo_t::start_angles

◆ start_origin

vec3_t moveinfo_t::start_origin

◆ state

◆ wait

float moveinfo_t::wait

Definition at line 387 of file g_local.h.

Referenced by SP_func_button(), SP_func_door(), SP_func_door_rotating(), and SP_func_plat().