forked from mirrors/kolyah35-minecraft-pe-0.6.1
Fixes and enhancements from my MCPE repository. (https://github.com/mschiller890/mcpe64)
This commit is contained in:
parent
0c97ceb340
commit
2fc323639a
69 changed files with 2509 additions and 639 deletions
|
|
@ -18,6 +18,7 @@
|
|||
//#include "world/level/storage/FolderMethods.h"
|
||||
#ifndef STANDALONE_SERVER
|
||||
#include "client/gui/screens/StartMenuScreen.h"
|
||||
#include "client/gui/screens/UsernameScreen.h"
|
||||
#endif
|
||||
#include "client/player/LocalPlayer.h"
|
||||
#ifndef STANDALONE_SERVER
|
||||
|
|
@ -110,6 +111,9 @@ void NinecraftApp::init()
|
|||
#ifndef STANDALONE_SERVER
|
||||
LOGI("This: %p\n", this);
|
||||
screenChooser.setScreen(SCREEN_STARTMENU);
|
||||
if (options.username.empty()) {
|
||||
setScreen(new UsernameScreen());
|
||||
}
|
||||
#else
|
||||
user->name = "Server";
|
||||
hostMultiplayer();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue