altEngine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
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
12
vec3
position
;
13
vec3
origin
;
14
bool
visible
;
15
bool
frustum_visible
;
16
bool
bsp_visible
;
17
int
bsp_leaf
;
18
bool
nodraw
;
19
RigidBody
*
rigid
;
20
Model
*
model
;
21
Light
*
light
;
22
Speaker
*
speaker
;
23
Trigger
*
trigger
;
24
Projectile
*
projectile
;
25
Player
*
player
;
26
PortalCamera
*
portal_camera
;
27
28
29
30
//Really bsp related items
31
int
ent_type
;
// will replace string type eventually
32
net_ent_t
nettype
;
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
40
bool
particle_on
;
41
int
num_particle
;
42
43
char
type
[64];
44
char
target
[64];
45
char
target_name
[64];
46
};
47
#endif
Generated on Tue Nov 21 2017 19:18:54 for altEngine by
1.8.2