* More work getting this shit to compile again

This commit is contained in:
iProgramInCpp
2023-08-05 14:57:18 +03:00
parent 8b92eced31
commit 71e700a300
48 changed files with 2076 additions and 2011 deletions

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "CThread.hpp"
#include "Utils.hpp"
#include "client/common/Utils.hpp"
#ifdef _WIN32
#include <Windows.h> // for Sleep()

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "PerlinNoise.hpp"
#include "Utils.hpp"
#include "client/common/Utils.hpp"
PerlinNoise::PerlinNoise(int nOctaves)
{

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Random.hpp"
#include "Utils.hpp"
#include "client/common/Utils.hpp"
/* Period parameters */
#define N 624

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "Timer.hpp"
#include "Utils.hpp"
#include "client/common/Utils.hpp"
#if !defined(_WIN32) && defined(USE_ACCURATE_TIMER)
#error "Implement getAccurateTimeMs() for your platform!"

View File

@@ -8,7 +8,7 @@
// note: not an official file name
#include "Utils.hpp"
#include "client/common/Utils.hpp"
#ifdef _WIN32

View File

@@ -10,8 +10,8 @@
#include "GuiComponent.hpp"
#include "Minecraft.hpp"
#include "Random.hpp"
#include "Utils.hpp"
#include "client/common/Random.hpp"
#include "client/common/Utils.hpp"
class Minecraft; // in case we're included from Minecraft.hpp

View File

@@ -8,8 +8,8 @@
#pragma once
#include "Tesselator.hpp"
#include "Font.hpp"
#include "client/renderer/Tesselator.hpp"
#include "client/renderer/Font.hpp"
class GuiComponent
{

View File

@@ -8,10 +8,10 @@
#pragma once
#include "Mouse.hpp"
#include "Keyboard.hpp"
#include "Button.hpp"
#include "TextInputBox.hpp"
#include "client/player/input/Mouse.hpp"
#include "client/player/input/Keyboard.hpp"
#include "components/Button.hpp"
#include "components/TextInputBox.hpp"
class Button;

View File

@@ -9,7 +9,7 @@
#pragma once
#include "ScrolledSelectionList.hpp"
#include "PingedCompatibleServer.hpp"
#include "client/network/PingedCompatibleServer.hpp"
class AvailableGamesList : public ScrolledSelectionList
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "GuiComponent.hpp"
#include "../GuiComponent.hpp"
#include "Minecraft.hpp"
class Screen;

View File

@@ -8,7 +8,7 @@
#pragma once
#include "GuiComponent.hpp"
#include "../GuiComponent.hpp"
#include "Minecraft.hpp"
class RolledSelectionList : public GuiComponent

View File

@@ -8,7 +8,7 @@
#pragma once
#include "GuiComponent.hpp"
#include "../GuiComponent.hpp"
#include "Minecraft.hpp"
class ScrolledSelectionList : public GuiComponent

View File

@@ -8,8 +8,8 @@
#pragma once
#include "Utils.hpp"
#include "GuiComponent.hpp"
#include "../GuiComponent.hpp"
#include "client/common/Utils.hpp"
class Minecraft;

View File

@@ -7,7 +7,7 @@
********************************************************************/
#include "WorldSelectionList.hpp"
#include "Utils.hpp"
#include "client/common/Utils.hpp"
static float WorldSelectionList_Static1(float a, float b, float c, float d)
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class ChatScreen : public Screen
{

View File

@@ -8,8 +8,8 @@
#pragma once
#include "Screen.hpp"
#include "SmallButton.hpp"
#include "../Screen.hpp"
#include "../components/SmallButton.hpp"
class ConfirmScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
#ifndef ORIGINAL_CODE

View File

@@ -9,6 +9,7 @@
#pragma once
#include "ConfirmScreen.hpp"
#include "world/level/storage/LevelStorageSource.hpp"
class DeleteWorldScreen : public ConfirmScreen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class Inventory;

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class InvalidLicenseScreen : public Screen
{

View File

@@ -8,8 +8,8 @@
#pragma once
#include "Screen.hpp"
#include "AvailableGamesList.hpp"
#include "../Screen.hpp"
#include "../components/AvailableGamesList.hpp"
class JoinGameScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class OptionsScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#include "PauseScreen.hpp"
#include "OptionsScreen.hpp"
#include "ServerSideNetworkHandler.hpp"
#include "client/network/ServerSideNetworkHandler.hpp"
PauseScreen::PauseScreen() :
m_btnBack(1, "Back to game"),

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class PauseScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class ProgressScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class RenameMPLevelScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
#ifdef ENH_IMPROVED_SAVING

View File

@@ -8,8 +8,8 @@
#pragma once
#include "Screen.hpp"
#include "WorldSelectionList.hpp"
#include "../Screen.hpp"
#include "../components/WorldSelectionList.hpp"
class SelectWorldScreen : public Screen
{

View File

@@ -8,7 +8,7 @@
#pragma once
#include "Screen.hpp"
#include "../Screen.hpp"
class StartMenuScreen : public Screen
{

View File

@@ -23,7 +23,7 @@ class UpdateBlockPacket;
class RequestChunkPacket;
class ChunkDataPacket;
class PlayerEquipmentPacket;
#include "Level.hpp"
#include "world/level/Level.hpp"
class Level;
class NetEventCallback

View File

@@ -9,7 +9,7 @@
#pragma once
#include <string>
#include "LongHack.hpp"
#include "client/common/LongHack.hpp"
#include "RakNetTypes.h"
#include "BitStream.h"
#include "MessageIdentifiers.h"

View File

@@ -9,7 +9,7 @@
#pragma once
#include "Textures.hpp"
#include "Options.hpp"
#include "client/common/Options.hpp"
class Font
{

View File

@@ -10,7 +10,7 @@
#include <map>
#include "compat/GL.hpp"
#include "Options.hpp"
#include "client/common/Options.hpp"
#include "AppPlatform.hpp"
#include "DynamicTexture.hpp"