From 80bf2f8d93d66054c7eeae5e7686548762a3ed8f Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Sun, 13 Oct 2013 14:01:47 -0400 Subject: [PATCH] Re-add FT_Xml and FT_Sprite to FileType enum Doesn't associate any behavior with them yet. --- src/ActorUtil.cpp | 4 +++- src/ActorUtil.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ActorUtil.cpp b/src/ActorUtil.cpp index 78cb9ced76..7a8f6bb8cc 100644 --- a/src/ActorUtil.cpp +++ b/src/ActorUtil.cpp @@ -375,11 +375,13 @@ void ActorUtil::SortByZPosition( vector &vActors ) static const char *FileTypeNames[] = { "Bitmap", + "Sprite", "Sound", "Movie", "Directory", - "Lua", + "Xml", "Model", + "Lua", }; XToString( FileType ); LuaXType( FileType ); diff --git a/src/ActorUtil.h b/src/ActorUtil.h index 1be071be39..7679d7a236 100644 --- a/src/ActorUtil.h +++ b/src/ActorUtil.h @@ -31,11 +31,13 @@ Actor *CreateActor() { return new T; } enum FileType { FT_Bitmap, + FT_Sprite, FT_Sound, FT_Movie, FT_Directory, - FT_Lua, + FT_Xml, FT_Model, + FT_Lua, NUM_FileType, FileType_Invalid };