]> git.jsancho.org Git - lugaru.git/commitdiff
Changed Weapon models and textures to be private
authorCôme Chilliet <come@chilliet.eu>
Wed, 4 Jan 2017 14:02:01 +0000 (15:02 +0100)
committerCôme Chilliet <come@chilliet.eu>
Wed, 4 Jan 2017 14:02:01 +0000 (15:02 +0100)
Source/Objects/Weapons.hpp

index 33d93aa9cbf724f62cfcc222665f186d91d9d44f..4b40eb6e6baf29fb964d00f2a0ab5348a531a72c 100644 (file)
@@ -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;