restore include paths for cross-platform builds because i messed absolutely every #include up.
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
#include "Minecraft.h"
|
#include "Minecraft.h"
|
||||||
#include "Options.h"
|
#include "Options.h"
|
||||||
#include "IBuildInput.h"
|
#include "client/Options.h"
|
||||||
#include "Keyboard.h"
|
#include "client/player/input/IBuildInput.h"
|
||||||
#include "Item.h"
|
#include "platform/input/Keyboard.h"
|
||||||
#include "ItemInstance.h"
|
#include "world/item/Item.h"
|
||||||
#include "XperiaPlayInput.h"
|
#include "world/item/ItemInstance.h"
|
||||||
#include "ControllerTurnInput.h"
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|
||||||
@@ -25,13 +24,9 @@
|
|||||||
#include "../world/level/storage/LevelStorageSource.h"
|
#include "../world/level/storage/LevelStorageSource.h"
|
||||||
#include "../world/level/storage/LevelStorage.h"
|
#include "../world/level/storage/LevelStorage.h"
|
||||||
#include "player/input/KeyboardInput.h"
|
#include "player/input/KeyboardInput.h"
|
||||||
<<<<<<< HEAD
|
|
||||||
#include "player/input/ControllerTurnInput.h"
|
#include "player/input/ControllerTurnInput.h"
|
||||||
#include "player/input/XperiaPlayInput.h"
|
#include "player/input/XperiaPlayInput.h"
|
||||||
#include "world/level/chunk/ChunkSource.h"
|
#include "world/level/chunk/ChunkSource.h"
|
||||||
=======
|
|
||||||
#include "ChunkSource.h"
|
|
||||||
>>>>>>> abfb9e0 (more refactoring for iOS)
|
|
||||||
|
|
||||||
#ifndef STANDALONE_SERVER
|
#ifndef STANDALONE_SERVER
|
||||||
#include "player/input/touchscreen/TouchInputHolder.h"
|
#include "player/input/touchscreen/TouchInputHolder.h"
|
||||||
|
|||||||
@@ -94,6 +94,9 @@ typedef std::vector<std::string> StringVector;
|
|||||||
class Options
|
class Options
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
// deepfriedwaffles: for iOS, was getting compile errors saying: No member named 'sound' in 'Options' and No member named 'music' in 'Options' so I floated them here. 1.0f means full volume out of the box, but if everything is too loud, you might want to try adjusting this
|
||||||
|
float sound = 1.0f;
|
||||||
|
float music = 1.0f;
|
||||||
|
|
||||||
static bool debugGl;
|
static bool debugGl;
|
||||||
|
|
||||||
@@ -158,9 +161,7 @@ private:
|
|||||||
if (m_options[key] == nullptr) return nullptr;
|
if (m_options[key] == nullptr) return nullptr;
|
||||||
return dynamic_cast<T*>(m_options[key]);
|
return dynamic_cast<T*>(m_options[key]);
|
||||||
}
|
}
|
||||||
// apple stuff
|
|
||||||
float sound;
|
|
||||||
float music;
|
|
||||||
std::array<Option*, OPTIONS_COUNT> m_options;
|
std::array<Option*, OPTIONS_COUNT> m_options;
|
||||||
OptionsFile optionsFile;
|
OptionsFile optionsFile;
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#include "Gui.h"
|
#include "Gui.h"
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
#include "Options.h"
|
#include "client/Options.h"
|
||||||
#include "Keyboard.h"
|
#include "platform/input/Keyboard.h"
|
||||||
#include "screens/IngameBlockSelectionScreen.h"
|
#include "screens/IngameBlockSelectionScreen.h"
|
||||||
#include "screens/ChatScreen.h"
|
#include "screens/ChatScreen.h"
|
||||||
#include "screens/ConsoleScreen.h"
|
#include "screens/ConsoleScreen.h"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#include "../../../platform/log.h"
|
#include "../../../platform/log.h"
|
||||||
#include "../../../util/Mth.h"
|
#include "../../../util/Mth.h"
|
||||||
#include "../../renderer/Textures.h"
|
#include "../../renderer/Textures.h"
|
||||||
#include "../../Option.h"
|
#include <client/Option.h>
|
||||||
|
|
||||||
|
|
||||||
ImageButton::ImageButton(int id, const std::string& msg)
|
ImageButton::ImageButton(int id, const std::string& msg)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "Button.h"
|
#include "Button.h"
|
||||||
#include "Options.h"
|
#include <client/Options.h>
|
||||||
|
|
||||||
class KeyOption : public Touch::TButton {
|
class KeyOption : public Touch::TButton {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include "TextBox.h"
|
#include "TextBox.h"
|
||||||
#include "Options.h"
|
#include <client/Options.h>
|
||||||
|
|
||||||
class TextOption : public TextBox {
|
class TextOption : public TextBox {
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
#ifndef NET_MINECRAFT_CLIENT_PLAYER__XperiaPlayInput_H__
|
#ifndef NET_MINECRAFT_CLIENT_PLAYER__XperiaPlayInput_H__
|
||||||
#define NET_MINECRAFT_CLIENT_PLAYER__XperiaPlayInput_H__
|
#define NET_MINECRAFT_CLIENT_PLAYER__XperiaPlayInput_H__
|
||||||
#include "Player.h"
|
|
||||||
#include "Controller.h"
|
|
||||||
|
|
||||||
//package net.minecraft.client.player;
|
//package net.minecraft.client.player;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user