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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user