X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGraphic%2FDecal.hpp;h=289949118430e4f8b958feea11f7d148fda3b825;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=ae3862fbf603612c30f3161b8483a60521d57da0;hpb=4690d99d2bec493f809c7065b222eaf18f46df60;p=lugaru.git diff --git a/Source/Graphic/Decal.hpp b/Source/Graphic/Decal.hpp index ae3862f..2899491 100644 --- a/Source/Graphic/Decal.hpp +++ b/Source/Graphic/Decal.hpp @@ -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 . #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