main/robot.c File Reference

#include "error.h"
#include "inferno.h"
#include "robot.h"
#include "object.h"
#include "polyobj.h"
#include "mono.h"

Defines

#define deg(a)   ((int) (a) * 32768 / 180)

Functions

void calc_gun_point (vms_vector *gun_point, object *obj, int gun_num)
int robot_get_anim_state (jointpos **jp_list_ptr, int robot_type, int gun_num, int state)
void set_robot_state (object *obj, int state)
void robot_set_angles (robot_info *r, polymodel *pm, vms_angvec angs[N_ANIM_STATES][MAX_SUBMODELS])

Variables

int N_robot_types = 0
int N_robot_joints = 0
robot_info Robot_info [MAX_ROBOT_TYPES]
jointpos Robot_joints [MAX_ROBOT_JOINTS]

Define Documentation

#define deg  )     ((int) (a) * 32768 / 180)
 


Function Documentation

void calc_gun_point vms_vector gun_point,
object obj,
int  gun_num
 

int robot_get_anim_state jointpos **  jp_list_ptr,
int  robot_type,
int  gun_num,
int  state
 

void robot_set_angles robot_info r,
polymodel pm,
vms_angvec  angs[N_ANIM_STATES][MAX_SUBMODELS]
 

void set_robot_state object obj,
int  state
 


Variable Documentation

int N_robot_joints = 0
 

int N_robot_types = 0
 

robot_info Robot_info[MAX_ROBOT_TYPES]
 

jointpos Robot_joints[MAX_ROBOT_JOINTS]
 


Generated on Mon Aug 28 20:55:33 2006 for D1X-Rebirth by  doxygen 1.4.6