timeline refactor, bit broken rn
This commit is contained in:
@@ -4,10 +4,7 @@
|
||||
#include <string>
|
||||
#include <tinyxml2/tinyxml2.h>
|
||||
|
||||
#include <glm/glm/vec2.hpp>
|
||||
#include <glm/glm/vec3.hpp>
|
||||
#include <glm/glm/vec4.hpp>
|
||||
|
||||
#include "anm2_type.h"
|
||||
#include "types.h"
|
||||
|
||||
namespace anm2ed::anm2
|
||||
@@ -15,39 +12,6 @@ namespace anm2ed::anm2
|
||||
constexpr auto FRAME_DELAY_MIN = 1;
|
||||
constexpr auto FRAME_DELAY_MAX = 100000;
|
||||
|
||||
#define TYPE_LIST \
|
||||
X(NONE, "None", "None") \
|
||||
X(ROOT, "Root", "RootAnimation") \
|
||||
X(LAYER, "Layer", "LayerAnimation") \
|
||||
X(NULL_, "Null", "NullAnimation") \
|
||||
X(TRIGGER, "Trigger", "Triggers")
|
||||
|
||||
enum Type
|
||||
{
|
||||
#define X(symbol, string, animationString) symbol,
|
||||
TYPE_LIST
|
||||
#undef X
|
||||
};
|
||||
|
||||
constexpr const char* TYPE_STRINGS[] = {
|
||||
#define X(symbol, string, animationString) string,
|
||||
TYPE_LIST
|
||||
#undef X
|
||||
};
|
||||
|
||||
constexpr const char* TYPE_ANIMATION_STRINGS[] = {
|
||||
#define X(symbol, string, animationString) animationString,
|
||||
TYPE_LIST
|
||||
#undef X
|
||||
};
|
||||
|
||||
enum ChangeType
|
||||
{
|
||||
ADD,
|
||||
SUBTRACT,
|
||||
ADJUST
|
||||
};
|
||||
|
||||
#define MEMBERS \
|
||||
X(isVisible, bool, true) \
|
||||
X(isInterpolated, bool, false) \
|
||||
|
||||
Reference in New Issue
Block a user