]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Graphic/Decal.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Graphic / Decal.hpp
index ae3862fbf603612c30f3161b8483a60521d57da0..289949118430e4f8b958feea11f7d148fda3b825 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.
 
@@ -22,10 +22,12 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #define _DECAL_HPP_
 
 class Terrain;
+class Model;
 
-#include "Math/Quaternions.hpp"
+#include "Math/XYZ.hpp"
 
-enum decal_type {
+enum decal_type
+{
     shadowdecal = 0,
     footprintdecal = 1,
     blooddecal = 2,
@@ -51,6 +53,7 @@ public:
 
     Decal();
     Decal(XYZ position, decal_type type, float opacity, float rotation, float brightness, int whichx, int whichy, float size, const Terrain& terrain, bool first);
+    Decal(XYZ position, decal_type type, float opacity, float rotation, float size, const Model& model, int i, int which);
 };
 
 #endif