X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FTile.cpp;h=2b7e0f23bb2a56117b63166fe572605581dca548;hb=e1dab8a680a76f8621e967a693dbf2b481ba8f75;hp=9f75d229d0af60e1b3ee312df0d943fe3443985d;hpb=1907ca03c5e865c4d398170042aa384c67ffff29;p=l2e.git diff --git a/src/map/Tile.cpp b/src/map/Tile.cpp index 9f75d22..2b7e0f2 100644 --- a/src/map/Tile.cpp +++ b/src/map/Tile.cpp @@ -1,10 +1,3 @@ -/* - * Tile.cpp - * - * Created on: Sep 29, 2012 - * Author: holy - */ - #include "Tile.h" #include "../loader/Interpreter.h" @@ -18,7 +11,8 @@ namespace map { Tile::Tile() : battlebg(0) -, flags(0) { +, flags(0) +, frames(1) { } @@ -33,6 +27,7 @@ void Tile::CreateTypeDescription() { td.AddField("battlebg", FieldDescription(((char *)&t.battlebg) - ((char *)&t), Interpreter::IMAGE_ID).SetReferenced()); td.AddField("t", FieldDescription(((char *)&t.offset) - ((char *)&t), Interpreter::VECTOR_ID)); td.AddField("flags", FieldDescription(((char *)&t.flags) - ((char *)&t), Interpreter::NUMBER_ID)); + td.AddField("frames", FieldDescription(((char *)&t.frames) - ((char *)&t), Interpreter::NUMBER_ID)); }