Added GUI Styles with 3 options: Java, Pi/Xperia and Pocket Hopefully fixed touch input eating and breaking blocks bug Fire should render on all mobs now Fixed only one side of the first person burning animation being animated Added Window Scaling Option for PC Users (Hasn't been tested on other platforms Render Distance is now configurable from the settings menu Tried to fix shadows again on IOS and Android, hopefully works? Block Outline Selection now has a thicker outline for better visibility
41 lines
863 B
C++
Executable File
41 lines
863 B
C++
Executable File
#ifndef NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__
|
|
#define NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__
|
|
|
|
#include "../Screen.h"
|
|
#include "../components/Button.h"
|
|
#include "../components/ImageButton.h"
|
|
|
|
class StartMenuScreen: public Screen
|
|
{
|
|
public:
|
|
StartMenuScreen();
|
|
virtual ~StartMenuScreen();
|
|
|
|
void init();
|
|
void setupPositions();
|
|
|
|
void tick();
|
|
void render(int xm, int ym, float a);
|
|
|
|
void buttonClicked(Button* button);
|
|
virtual void mouseClicked(int x, int y, int buttonNum);
|
|
bool handleBackEvent(bool isDown);
|
|
bool isInGameScreen();
|
|
private:
|
|
|
|
Button* bHost;
|
|
Button* bJoin;
|
|
Button* bOptions;
|
|
Button* bQuit;
|
|
|
|
std::string copyright;
|
|
int copyrightPosX;
|
|
|
|
std::string version;
|
|
int versionPosX;
|
|
|
|
std::string username;
|
|
};
|
|
|
|
#endif /*NET_MINECRAFT_CLIENT_GUI_SCREENS__StartMenuScreen_H__*/
|