mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-07-23 17:47:05 +00:00
nuke PlatformServices
This commit is contained in:
parent
2f1a6f265f
commit
c6285c903d
|
|
@ -24,7 +24,6 @@
|
|||
#include "platform/NetTypes.h"
|
||||
#include "minecraft/client/model/SkinBox.h"
|
||||
#include "platform/XboxStubs.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/File.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -51,11 +51,10 @@ if get_option('ui_backend') == 'shiggy'
|
|||
client_dependencies += shiggy_dep
|
||||
endif
|
||||
|
||||
platform_services_src = files('../platform/PlatformServices.cpp')
|
||||
|
||||
client = executable(
|
||||
'Minecraft.Client',
|
||||
platform_sources + platform_services_src + localisation[1],
|
||||
platform_sources + localisation[1],
|
||||
include_directories: include_directories('..'),
|
||||
dependencies: client_dependencies,
|
||||
cpp_args: global_cpp_args
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@
|
|||
#include "minecraft/world/level/tile/Tile.h"
|
||||
#include "minecraft/world/phys/AABB.h"
|
||||
#include "nbt/CompoundTag.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
const double Ocelot::SNEAK_SPEED_MOD = 0.6;
|
||||
const double Ocelot::WALK_SPEED_MOD = 0.8;
|
||||
|
|
|
|||
|
|
@ -73,7 +73,6 @@
|
|||
#include "minecraft/world/phys/HitResult.h"
|
||||
#include "minecraft/world/phys/Vec3.h"
|
||||
#include "minecraft/world/scores/Scoreboard.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
class CompoundTag;
|
||||
class ItemInstance;
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
#include "minecraft/world/level/biome/BiomeCache.h"
|
||||
#include "minecraft/world/level/newbiome/layer/Layer.h"
|
||||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
#include "strings.h"
|
||||
|
||||
// 4J - removal of separate temperature & downfall layers brought forward
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "nbt/CompoundTag.h"
|
||||
#include "nbt/NbtIo.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
class DataInput;
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@
|
|||
#include "nbt/CompoundTag.h"
|
||||
#include "nbt/ListTag.h"
|
||||
#include "nbt/NbtIo.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
thread_local OldChunkStorage::ThreadStorage* OldChunkStorage::m_tlsStorage =
|
||||
nullptr;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "minecraft/world/level/tile/Tile.h"
|
||||
#include "minecraft/world/phys/Vec3.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
class Pos;
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,6 @@
|
|||
#include "minecraft/world/level/levelgen/HellRandomLevelSource.h"
|
||||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "minecraft/world/phys/Vec3.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
void HellDimension::init() {
|
||||
biomeSource = new FixedBiomeSource(Biome::hell, 1, 0);
|
||||
|
|
|
|||
|
|
@ -27,7 +27,6 @@
|
|||
#include "minecraft/world/level/newbiome/layer/SwampRiversLayer.h"
|
||||
#include "minecraft/world/level/newbiome/layer/VoronoiZoom.h"
|
||||
#include "minecraft/world/level/newbiome/layer/ZoomLayer.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
std::vector<std::shared_ptr<Layer>> Layer::getDefaultLayers(
|
||||
int64_t seed, LevelType* levelType) {
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
#include "minecraft/world/level/storage/ConsoleSaveFileIO/FileHeader.h"
|
||||
#include "minecraft/world/level/storage/LevelData.h"
|
||||
#include "platform/storage/storage.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
class ProgressListener;
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@
|
|||
#include "nbt/ListTag.h"
|
||||
#include "nbt/NbtIo.h"
|
||||
#include "platform/storage/storage.h"
|
||||
#include "platform/PlatformServices.h"
|
||||
|
||||
const std::wstring DirectoryLevelStorage::sc_szPlayerDir(L"players/");
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
#include "PlatformServices.h"
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "IPlatformLeaderboard.h"
|
||||
#include "IPlatformNetwork.h"
|
||||
Loading…
Reference in a new issue