X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FWeapons.h;h=6b2ebbaa8dac0128147ed8c4fa81d14f7715549f;hb=4e3b68a29afbbd5d0b02dc29810cc89dd2b0d092;hp=35271f74e37625c8f5d5109f1b716de1f8087578;hpb=8a1a91c0a10a37799dc95d423f9db8dc5ff7b965;p=lugaru.git diff --git a/Source/Weapons.h b/Source/Weapons.h index 35271f7..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,20 +46,20 @@ 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(); + void DoStuff(int); int getType() { return type; } void setType(int);