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