main/robot.h File Reference

#include "vecmat.h"
#include "object.h"
#include "game.h"

Classes

struct  jointpos
struct  jointlist
struct  robot_info

Defines

#define MAX_GUNS   8
#define AS_REST   0
#define AS_ALERT   1
#define AS_FIRE   2
#define AS_RECOIL   3
#define AS_FLINCH   4
#define N_ANIM_STATES   5
#define RI_CLOAKED_NEVER   0
#define RI_CLOAKED_ALWAYS   1
#define RI_CLOAKED_EXCEPT_FIRING   2
#define MAX_ROBOT_TYPES   30
#define ROBOT_NAME_LENGTH   16
#define MAX_ROBOT_JOINTS   600

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)

Variables

char Robot_names [MAX_ROBOT_TYPES][ROBOT_NAME_LENGTH]
robot_info Robot_info []
int N_robot_types
jointpos Robot_joints [MAX_ROBOT_JOINTS]
int N_robot_joints

Define Documentation

#define AS_ALERT   1
 

#define AS_FIRE   2
 

#define AS_FLINCH   4
 

#define AS_RECOIL   3
 

#define AS_REST   0
 

#define MAX_GUNS   8
 

#define MAX_ROBOT_JOINTS   600
 

#define MAX_ROBOT_TYPES   30
 

#define N_ANIM_STATES   5
 

#define RI_CLOAKED_ALWAYS   1
 

#define RI_CLOAKED_EXCEPT_FIRING   2
 

#define RI_CLOAKED_NEVER   0
 

#define ROBOT_NAME_LENGTH   16
 


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
 


Variable Documentation

int N_robot_joints
 

int N_robot_types
 

robot_info Robot_info[]
 

jointpos Robot_joints[MAX_ROBOT_JOINTS]
 

char Robot_names[MAX_ROBOT_TYPES][ROBOT_NAME_LENGTH]
 


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