nuke PlatformServices

This commit is contained in:
Tropical 2026-04-07 17:38:21 -05:00
parent 2f1a6f265f
commit c6285c903d
14 changed files with 1 additions and 18 deletions

View file

@ -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"

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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);

View file

@ -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) {

View file

@ -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;

View file

@ -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/");

View file

@ -1 +0,0 @@
#include "PlatformServices.h"

View file

@ -1,4 +0,0 @@
#pragma once
#include "IPlatformLeaderboard.h"
#include "IPlatformNetwork.h"