diff options
Diffstat (limited to 'src/Person.h')
-rw-r--r-- | src/Person.h | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/src/Person.h b/src/Person.h index e7542b0..8257e13 100644 --- a/src/Person.h +++ b/src/Person.h @@ -3,12 +3,12 @@ /**> HEADER FILES <**/ #include <cmath> -#ifdef OS9 +#ifdef OS9 #include <gl.h> #else #include <GL/gl.h> #endif -#ifdef OS9 +#ifdef OS9 #include "alut.h" #else #include <AL/al.h> @@ -62,16 +62,16 @@ class Person XYZ velocity; float shotdelay; bool litup; - + bool existing; - + int type; - + int whichcostume; - + Skeleton skeleton; Animation tempanimation; - + bool freshshootkey; bool freshkickkey; int bufferattack; @@ -82,7 +82,7 @@ class Person int shoot_key; int kick_key; int block_key; - + float speed; bool aiming; int grenphase; @@ -90,7 +90,7 @@ class Person float aimamount; float speedmult; float pathsize; - + int pathnum; int oldpathnum; int oldoldpathnum; @@ -98,26 +98,26 @@ class Person XYZ pathtarget; int whichblockx; int whichblocky; - + bool dead; - + XYZ averageloc; XYZ oldaverageloc; - + float lastdistancevictim; - + bool firstlongdead; float longdead; - + Joint *bjoint1,*bjoint2; float bleeding; float bleeddelay; - + float attacktarget; int attackframe; int killtarget; bool killtargetvisible; - + float gunrotate1, gunrotate2, gunrotate3; float recoil; int whichgun; @@ -129,14 +129,14 @@ class Person int reloads[10]; bool running; bool onpath; - + void FindRotationGun(XYZ start, XYZ target); - + int DrawSkeleton(int who); void DoStuff(int who); - void DoAnimations(int who); - void DoAnimationslite(int who); - HitStruct BulletCollideWithPlayer(int who, XYZ start, XYZ end); + void DoAnimations(int who); + void DoAnimationslite(int who); + HitStruct BulletCollideWithPlayer(int who, XYZ start, XYZ end); }; class Costume @@ -153,5 +153,4 @@ class Costume float chestcolor[3]; }; - #endif |