2 Copyright (C) 2003, 2010 - Wolfire Games
4 This file is part of Lugaru.
6 Lugaru is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 Lugaru is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with Lugaru. If not, see <http://www.gnu.org/licenses/>.
23 /**> HEADER FILES <**/
26 #include "Quaternions.h"
35 #define max_weapons 30
36 #define max_weaponinstances 20
45 Weapon(int type, int owner);
47 static Model throwingknifemodel;
48 static Texture knifetextureptr;
49 static Texture lightbloodknifetextureptr;
50 static Texture bloodknifetextureptr;
52 static Model swordmodel;
53 static Texture swordtextureptr;
54 static Texture lightbloodswordtextureptr;
55 static Texture bloodswordtextureptr;
57 static Model staffmodel;
58 static Texture stafftextureptr;
106 XYZ lastdrawnposition;
107 XYZ lastdrawntippoint;
108 float lastdrawnrotation1;
109 float lastdrawnrotation2;
110 float lastdrawnrotation3;
111 float lastdrawnbigrotation;
112 float lastdrawnbigtilt;
113 float lastdrawnbigtilt2;
114 float lastdrawnsmallrotation;
115 float lastdrawnsmallrotation2;
119 class Weapons : public std::vector<Weapon>
129 extern Weapons weapons;