altEngine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
entity.h
Go to the documentation of this file.
1 #include "include.h"
2 
3 #ifndef ENTITY_H
4 #define ENTITY_H
5 
6 class Entity
7 {
8 public:
9  Entity();
10  ~Entity();
11 
14  bool visible;
17  int bsp_leaf;
18  bool nodraw;
27 
28 
29 
30  //Really bsp related items
31  int ent_type; // will replace string type eventually
33  int angle;
34  int model_ref; // bsp model index
35  vec3 model_offset; // bsp model offset
36  float model_lerp; // bsp lerp between 0.0-1.0
37  bool opening; // flag for door opening
38  float func_height; // How far a func_ item will move in map units, defaults to half width
39 
42 
43  char type[64];
44  char target[64];
45  char target_name[64];
46 };
47 #endif