From: Côme Chilliet Date: Wed, 4 Jan 2017 14:02:01 +0000 (+0100) Subject: Changed Weapon models and textures to be private X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=fa715e9d69feb1dd832365c31be2a95835d798fc;p=lugaru.git Changed Weapon models and textures to be private --- diff --git a/Source/Objects/Weapons.hpp b/Source/Objects/Weapons.hpp index 33d93aa..4b40eb6 100644 --- a/Source/Objects/Weapons.hpp +++ b/Source/Objects/Weapons.hpp @@ -44,19 +44,6 @@ class Weapon public: Weapon(int type, int owner); - static Model throwingknifemodel; - static Texture knifetextureptr; - static Texture lightbloodknifetextureptr; - static Texture bloodknifetextureptr; - - static Model swordmodel; - static Texture swordtextureptr; - static Texture lightbloodswordtextureptr; - static Texture bloodswordtextureptr; - - static Model staffmodel; - static Texture stafftextureptr; - static void Load(); void Draw(); @@ -94,7 +81,21 @@ public: float bigtilt2; float smallrotation; float smallrotation2; + private: + static Model throwingknifemodel; + static Texture knifetextureptr; + static Texture lightbloodknifetextureptr; + static Texture bloodknifetextureptr; + + static Model swordmodel; + static Texture swordtextureptr; + static Texture lightbloodswordtextureptr; + static Texture bloodswordtextureptr; + + static Model staffmodel; + static Texture stafftextureptr; + int type; XYZ oldtippoint;