mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-19 22:43:32 +00:00
some improvements
This commit is contained in:
@@ -112,10 +112,10 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse) {
|
||||
unsigned int max = 10;
|
||||
bool isChatting = false;
|
||||
renderChatMessages(screenHeight, max, isChatting, font);
|
||||
#if !defined(RPI)
|
||||
#ifndef PLATFORM_DESKTOP
|
||||
renderOnSelectItemNameText(screenWidth, font, ySlot);
|
||||
#endif
|
||||
#if defined(RPI)
|
||||
#ifdef PLATFORM_DESKTOP
|
||||
renderDebugInfo();
|
||||
#endif
|
||||
|
||||
|
||||
@@ -295,7 +295,7 @@ static char ILLEGAL_FILE_CHARACTERS[] = {
|
||||
void SelectWorldScreen::tick()
|
||||
{
|
||||
if (_state == _STATE_CREATEWORLD) {
|
||||
#if defined(RPI)
|
||||
#if defined(PLATFORM_DESKTOP)
|
||||
std::string levelId = getUniqueLevelName("world");
|
||||
LevelSettings settings(getEpochTimeS(), GameType::Creative);
|
||||
minecraft->selectLevel(levelId, levelId, settings);
|
||||
|
||||
@@ -393,7 +393,7 @@ static char ILLEGAL_FILE_CHARACTERS[] = {
|
||||
void SelectWorldScreen::tick()
|
||||
{
|
||||
if (_state == _STATE_CREATEWORLD) {
|
||||
#if defined(RPI)
|
||||
#ifdef PLATFORM_DESKTOP
|
||||
std::string levelId = getUniqueLevelName("perf");
|
||||
//int seed = Util::hashCode("/r/Minecraft");
|
||||
LevelSettings settings(getEpochTimeS(), GameType::Creative);
|
||||
|
||||
Reference in New Issue
Block a user