From 013ae71c871c81437a1bad197e0bf7481d02b4a6 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 28 Feb 2012 12:11:14 +0000 Subject: Chunk now has an indicator of load failure; Chunk generator uses cChunkStay git-svn-id: http://mc-server.googlecode.com/svn/trunk@337 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cFileFormatUpdater.cpp | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'source/cFileFormatUpdater.cpp') 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 + + + + 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 +} + + + + -- cgit v1.2.3