1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-06 17:41:04 +00:00

Change TileSpec::frames to be std::vector not std::map

Signed-off-by: Craig Robbins <kde.psych@gmail.com>
This commit is contained in:
unknown 2014-12-18 23:25:36 +11:00 committed by Craig Robbins
parent 0d55f43977
commit 1e8e700ee6
4 changed files with 10 additions and 7 deletions

View file

@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <IrrlichtDevice.h>
#include "threads.h"
#include <string>
#include <map>
#include <vector>
class IGameDef;
@ -272,7 +272,7 @@ struct TileSpec
// Animation parameters
u8 animation_frame_count;
u16 animation_frame_length_ms;
std::map<u32, FrameSpec> frames;
std::vector<FrameSpec> frames;
u8 rotation;
};