mirror of
https://github.com/celisej567/mcpe.git
synced 2026-01-02 01:48:27 +03:00
* Mac OS X 10.6 & More C++03 Support * Fix SDL2 options.txt loading for C++03 * Output/Logging Overhaul * Added StandardOut class * Renamed LOGX macros to LOG_X * Removed LogMsg macros in favor of LOG_X * Added console window for debug Windows builds * Updated Xcode Project + StandardOut.hpp + StandardOut.cpp * StandardOut_windows * Replaced the Windows #ifdefs in StandardOut with StandardOut_windows --------- Co-authored-by: Brent Da Mage <BrentDaMage@users.noreply.github.com>
63 lines
1.3 KiB
C++
63 lines
1.3 KiB
C++
/********************************************************************
|
|
Minecraft: Pocket Edition - Decompilation Project
|
|
Copyright (C) 2023 iProgramInCpp
|
|
|
|
The following code is licensed under the BSD 1 clause license.
|
|
SPDX-License-Identifier: BSD-1-Clause
|
|
********************************************************************/
|
|
|
|
#include "MemoryLevelStorage.hpp"
|
|
#include "MemoryLevelStorageSource.hpp"
|
|
|
|
#ifdef DEMO
|
|
|
|
std::string MemoryLevelStorageSource::getName()
|
|
{
|
|
return "Memory Storage";
|
|
}
|
|
|
|
LevelStorage* MemoryLevelStorageSource::selectLevel(const std::string& x, bool y)
|
|
{
|
|
return new MemoryLevelStorage;
|
|
}
|
|
|
|
void MemoryLevelStorageSource::clearAll()
|
|
{
|
|
}
|
|
|
|
int MemoryLevelStorageSource::getDataTagFor(const std::string& x)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::isNewLevelIdAcceptable(const std::string& x)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void MemoryLevelStorageSource::deleteLevel(const std::string& x)
|
|
{
|
|
LOG_I("Delete level: %s", x.c_str());
|
|
}
|
|
|
|
void MemoryLevelStorageSource::renameLevel(const std::string& x, const std::string& y)
|
|
{
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::isConvertible(const std::string& x)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
bool MemoryLevelStorageSource::requiresConversion(const std::string& x)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
int MemoryLevelStorageSource::convertLevel(const std::string& x, ProgressListener* y)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
#endif
|