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:
parent
0d55f43977
commit
1e8e700ee6
4 changed files with 10 additions and 7 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue