summaryrefslogtreecommitdiffstats
path: root/source/cFileFormatUpdater.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cFileFormatUpdater.cpp')
-rw-r--r--source/cFileFormatUpdater.cpp23
1 files changed, 17 insertions, 6 deletions
diff --git a/source/cFileFormatUpdater.cpp b/source/cFileFormatUpdater.cpp
index e117c8075..d17a35bb0 100644
--- a/source/cFileFormatUpdater.cpp
+++ b/source/cFileFormatUpdater.cpp
@@ -2,21 +2,32 @@
#include "Globals.h"
#include "cFileFormatUpdater.h"
-#include "cMCLogger.h"
#include "Vector3d.h"
#include "Vector3f.h"
#include "cItem.h"
#include <json/json.h>
+
+
+
+
typedef std::list< std::string > StringList;
StringList GetDirectoryContents( const char* a_Directory );
+
+
+
+
void cFileFormatUpdater::UpdateFileFormat()
{
UpdatePlayersOfWorld("world");
}
+
+
+
+
// Convert player .bin files to JSON
void cFileFormatUpdater::UpdatePlayersOfWorld( const char* a_WorldName )
{
@@ -138,10 +149,6 @@ void cFileFormatUpdater::PlayerBINtoJSON( const char* a_FileName )
-
-
-
-
// Helper function
StringList GetDirectoryContents( const char* a_Directory )
{
@@ -177,4 +184,8 @@ StringList GetDirectoryContents( const char* a_Directory )
#endif
return AllFiles;
-} \ No newline at end of file
+}
+
+
+
+