]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Weapons.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Objects / Weapons.hpp
index 4b40eb6e6baf29fb964d00f2a0ab5348a531a72c..e12b11e31e3ffe51179120963ce624606cccbefb 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -23,18 +23,15 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 
 #include "Animation/Skeleton.hpp"
 #include "Environment/Terrain.hpp"
-#include "Graphic/gamegl.hpp"
 #include "Graphic/Models.hpp"
 #include "Graphic/Sprite.hpp"
 #include "Graphic/Texture.hpp"
+#include "Graphic/gamegl.hpp"
 #include "Math/XYZ.hpp"
 #include "Objects/Person.hpp"
 
 #include <cmath>
 
-#define max_weapons 30
-#define max_weaponinstances 20
-
 #define knife 1
 #define sword 2
 #define staff 3
@@ -46,10 +43,11 @@ public:
 
     static void Load();
 
-    void Draw();
-    void DoStuff(int);
+    void draw();
+    void doStuff(int);
 
-    int getType() {
+    int getType()
+    {
         return type;
     }
     void setType(int);