7 #include "Quaternions.h"
11 #include "Constants.h"
17 #define max_weapons 30
18 #define max_weaponinstances 20
28 float rotation1[max_weaponinstances];
29 float rotation2[max_weaponinstances];
30 float rotation3[max_weaponinstances];
31 float bigrotation[max_weaponinstances];
32 float bigtilt[max_weaponinstances];
33 float bigtilt2[max_weaponinstances];
34 float smallrotation[max_weaponinstances];
35 float smallrotation2[max_weaponinstances];
38 float damage[max_weaponinstances];
39 XYZ tippoint[max_weaponinstances];
40 XYZ oldtippoint[max_weaponinstances];
41 XYZ position[max_weaponinstances];
42 float lastmult[max_weaponinstances];
43 XYZ oldposition[max_weaponinstances];
44 XYZ velocity[max_weaponinstances];
45 XYZ tipvelocity[max_weaponinstances];
46 int type[max_weaponinstances];
47 int oldowner[max_weaponinstances];
48 int owner[max_weaponinstances];
49 int bloody[max_weaponinstances];
50 float blooddrip[max_weaponinstances];
51 float blooddripdelay[max_weaponinstances];
52 bool onfire[max_weaponinstances];
53 float flamedelay[max_weaponinstances];
54 bool missed[max_weaponinstances];
55 float mass[max_weaponinstances];
56 float tipmass[max_weaponinstances];
57 float length[max_weaponinstances];
58 float freetime[max_weaponinstances];
59 bool firstfree[max_weaponinstances];
60 bool physics[max_weaponinstances];
61 float drawhowmany[max_weaponinstances];
62 bool hitsomething[max_weaponinstances];
64 XYZ lastdrawnposition[max_weaponinstances];
65 XYZ lastdrawntippoint[max_weaponinstances];
66 float lastdrawnrotation1[max_weaponinstances];
67 float lastdrawnrotation2[max_weaponinstances];
68 float lastdrawnrotation3[max_weaponinstances];
69 float lastdrawnbigrotation[max_weaponinstances];
70 float lastdrawnbigtilt[max_weaponinstances];
71 float lastdrawnbigtilt2[max_weaponinstances];
72 float lastdrawnsmallrotation[max_weaponinstances];
73 float lastdrawnsmallrotation2[max_weaponinstances];
74 int lastdrawnanim[max_weaponinstances];
76 Model throwingknifemodel;
77 GLuint knifetextureptr;
78 GLuint lightbloodknifetextureptr;
79 GLuint bloodknifetextureptr;
82 GLuint swordtextureptr;
83 GLuint lightbloodswordtextureptr;
84 GLuint bloodswordtextureptr;
87 GLuint stafftextureptr;