X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.h;h=6b2ebbaa8dac0128147ed8c4fa81d14f7715549f;hb=8557e339c9a2d10afdf6465e02eca6b87efc961f;hp=bb178c1c928198e6160880e7659d476a75efe24c;hpb=9842b9043399f44a19c58d15e297d2a9dfadd272;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index bb178c1..6b2ebba 100644 --- a/Source/Weapons.h +++ b/Source/Weapons.h @@ -31,6 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Terrain.h" #include "Sprite.h" #include "Person.h" +#include "Texture.h" #include #define max_weapons 30 @@ -45,17 +46,17 @@ class Weapon { Weapon(int type, int owner); static Model throwingknifemodel; - static GLuint knifetextureptr; - static GLuint lightbloodknifetextureptr; - static GLuint bloodknifetextureptr; + static Texture knifetextureptr; + static Texture lightbloodknifetextureptr; + static Texture bloodknifetextureptr; static Model swordmodel; - static GLuint swordtextureptr; - static GLuint lightbloodswordtextureptr; - static GLuint bloodswordtextureptr; + static Texture swordtextureptr; + static Texture lightbloodswordtextureptr; + static Texture bloodswordtextureptr; static Model staffmodel; - static GLuint stafftextureptr; + static Texture stafftextureptr; void Draw(); void DoStuff(int);