mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 19:33:36 +00:00
chore: drop dead LinuxGame.h includes across minecraft
This commit is contained in:
parent
2519151583
commit
83b89eea3e
182
scripts/find_dead_app_includes.py
Normal file
182
scripts/find_dead_app_includes.py
Normal file
|
|
@ -0,0 +1,182 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Heuristic dead-include detector for app/ includes in minecraft/.
|
||||
|
||||
For each minecraft/ source file that includes a header from app/, check
|
||||
whether the file references any of the top-level identifiers that header
|
||||
defines. If zero references, the include is a candidate for removal.
|
||||
|
||||
Usage:
|
||||
python3 scripts/find_dead_app_includes.py [--apply] [DIR ...]
|
||||
|
||||
Without --apply, prints candidates only. With --apply, removes them.
|
||||
DIR is one or more subdirectories of targets/minecraft/ to scope the
|
||||
sweep (e.g. world/entity, server). Defaults to all of targets/minecraft/.
|
||||
|
||||
Caveats:
|
||||
- The "identifiers a header defines" heuristic catches type names,
|
||||
function names, struct/class/enum names, and macros. It can miss
|
||||
constants used through unusual paths and is fooled by includes that
|
||||
are needed only for transitive type completion. Always build clean
|
||||
after applying.
|
||||
- Comments and strings are not stripped from the consumer scan, so a
|
||||
file that mentions an app symbol only in a comment will look "live"
|
||||
and the include is conservatively kept.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
MINECRAFT_ROOT = REPO_ROOT / "targets" / "minecraft"
|
||||
APP_ROOT = REPO_ROOT / "targets" / "app"
|
||||
|
||||
INCLUDE_RE = re.compile(r'^\s*#\s*include\s*"(app/[^"]+)"\s*$', re.MULTILINE)
|
||||
|
||||
# Identifier-extracting regexes for header analysis. Best-effort.
|
||||
IDENT_RES = [
|
||||
# class/struct/union/enum tag definitions
|
||||
re.compile(r'\b(?:class|struct|union|enum(?:\s+class)?)\s+([A-Za-z_]\w*)'),
|
||||
# typedef NAME or typedef ... NAME;
|
||||
re.compile(r'\btypedef\b[^;]*?\b([A-Za-z_]\w*)\s*(?:\[|;)'),
|
||||
# using NAME = ...
|
||||
re.compile(r'\busing\s+([A-Za-z_]\w*)\s*='),
|
||||
# function declarations: WORD WORD ( where second WORD is identifier
|
||||
# this is too loose; skip in favour of usage by name
|
||||
# #define MACRO
|
||||
re.compile(r'^\s*#\s*define\s+([A-Za-z_]\w*)', re.MULTILINE),
|
||||
# extern variable declarations
|
||||
re.compile(r'\bextern\b[^;]*?\b([A-Za-z_]\w*)\s*[;\[(]'),
|
||||
]
|
||||
|
||||
CXX_KEYWORDS = {
|
||||
"if", "else", "while", "for", "do", "switch", "case", "default",
|
||||
"break", "continue", "return", "void", "int", "char", "short", "long",
|
||||
"float", "double", "bool", "true", "false", "nullptr", "class", "struct",
|
||||
"union", "enum", "namespace", "using", "typedef", "template", "typename",
|
||||
"const", "constexpr", "static", "extern", "inline", "virtual", "override",
|
||||
"final", "public", "private", "protected", "friend", "this", "new",
|
||||
"delete", "sizeof", "auto", "decltype", "operator", "throw", "try",
|
||||
"catch", "noexcept", "mutable", "volatile", "register", "explicit",
|
||||
"signed", "unsigned", "wchar_t", "char8_t", "char16_t", "char32_t",
|
||||
"size_t", "ptrdiff_t", "nullptr_t", "ifndef", "ifdef", "endif", "define",
|
||||
"include", "pragma", "elif", "error", "warning", "line", "undef",
|
||||
"alignas", "alignof", "concept", "requires", "co_await", "co_yield",
|
||||
"co_return", "consteval", "constinit", "static_cast", "dynamic_cast",
|
||||
"reinterpret_cast", "const_cast",
|
||||
}
|
||||
|
||||
|
||||
def extract_header_identifiers(header_path: Path) -> set[str]:
|
||||
"""Best-effort extraction of identifiers a header defines."""
|
||||
if not header_path.exists():
|
||||
return set()
|
||||
try:
|
||||
text = header_path.read_text(encoding="utf-8", errors="surrogateescape")
|
||||
except OSError:
|
||||
return set()
|
||||
idents: set[str] = set()
|
||||
for regex in IDENT_RES:
|
||||
for match in regex.finditer(text):
|
||||
name = match.group(1)
|
||||
if name and name not in CXX_KEYWORDS and not name.startswith("_"):
|
||||
idents.add(name)
|
||||
return idents
|
||||
|
||||
|
||||
def file_references_any(file_text: str, idents: set[str]) -> bool:
|
||||
"""Check if any identifier appears as a whole-word match in the file."""
|
||||
if not idents:
|
||||
return False
|
||||
# Build one big alternation
|
||||
pattern = r'\b(?:' + '|'.join(re.escape(i) for i in idents) + r')\b'
|
||||
return re.search(pattern, file_text) is not None
|
||||
|
||||
|
||||
def collect_minecraft_files(roots: list[Path]) -> list[Path]:
|
||||
files: list[Path] = []
|
||||
for root in roots:
|
||||
for dirpath, _dirnames, filenames in os.walk(root):
|
||||
for name in filenames:
|
||||
if name.endswith((".cpp", ".c", ".h", ".hpp")):
|
||||
files.append(Path(dirpath) / name)
|
||||
files.sort()
|
||||
return files
|
||||
|
||||
|
||||
def analyse(roots: list[Path], apply: bool) -> int:
|
||||
files = collect_minecraft_files(roots)
|
||||
header_cache: dict[str, set[str]] = {}
|
||||
candidate_count = 0
|
||||
|
||||
for path in files:
|
||||
try:
|
||||
text = path.read_text(encoding="utf-8", errors="surrogateescape")
|
||||
except OSError:
|
||||
continue
|
||||
includes = INCLUDE_RE.findall(text)
|
||||
if not includes:
|
||||
continue
|
||||
# Strip the include lines from the text we scan for symbols, so we
|
||||
# don't false-positive on the include path itself mentioning the
|
||||
# symbol name (e.g. ColourTable.h).
|
||||
scan_text = INCLUDE_RE.sub("", text)
|
||||
dead_includes: list[str] = []
|
||||
for include_path in includes:
|
||||
cache_key = include_path
|
||||
if cache_key not in header_cache:
|
||||
header_path = REPO_ROOT / "targets" / include_path
|
||||
header_cache[cache_key] = extract_header_identifiers(header_path)
|
||||
idents = header_cache[cache_key]
|
||||
if not idents:
|
||||
# Header has no extractable identifiers (or doesn't exist).
|
||||
# Conservatively skip - don't claim it's dead.
|
||||
continue
|
||||
if not file_references_any(scan_text, idents):
|
||||
dead_includes.append(include_path)
|
||||
if dead_includes:
|
||||
candidate_count += len(dead_includes)
|
||||
rel = path.relative_to(REPO_ROOT)
|
||||
for inc in dead_includes:
|
||||
print(f"{rel}: {inc}")
|
||||
if apply:
|
||||
new_text = text
|
||||
for inc in dead_includes:
|
||||
pattern = re.compile(
|
||||
r'^\s*#\s*include\s*"' + re.escape(inc) + r'"\s*\n',
|
||||
re.MULTILINE,
|
||||
)
|
||||
new_text = pattern.sub("", new_text)
|
||||
path.write_text(new_text, encoding="utf-8", errors="surrogateescape")
|
||||
|
||||
print(f"\n{candidate_count} candidate dead include lines"
|
||||
f" {'removed' if apply else 'identified'}")
|
||||
return 0
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--apply", action="store_true",
|
||||
help="Actually remove the candidate includes")
|
||||
parser.add_argument("dirs", nargs="*",
|
||||
help="Subdirectories of targets/minecraft/ to scan")
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.dirs:
|
||||
roots = [MINECRAFT_ROOT / d for d in args.dirs]
|
||||
for r in roots:
|
||||
if not r.exists():
|
||||
print(f"error: {r} does not exist", file=sys.stderr)
|
||||
return 1
|
||||
else:
|
||||
roots = [MINECRAFT_ROOT]
|
||||
|
||||
return analyse(roots, args.apply)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
100
scripts/sweep_linuxgame_includes.py
Normal file
100
scripts/sweep_linuxgame_includes.py
Normal file
|
|
@ -0,0 +1,100 @@
|
|||
#!/usr/bin/env python3
|
||||
"""Conservative sweep: remove dead app/linux/LinuxGame.h includes from minecraft/.
|
||||
|
||||
LinuxGame.h is included by 155 files in targets/minecraft/ but most of
|
||||
those are leftover from before the IGameServices refactor. The only real
|
||||
reasons to include it are:
|
||||
- to use the global `LinuxGame app;` extern
|
||||
- to use the LinuxGame class type by name
|
||||
- to use C4JStringTable (forward-declared in the header)
|
||||
|
||||
For each minecraft/ file that includes LinuxGame.h, this script checks
|
||||
whether the file references any of: LinuxGame, C4JStringTable, or
|
||||
contains `app.`/`app::`. If none of those appear, the include is dead
|
||||
and removed.
|
||||
|
||||
Usage:
|
||||
python3 scripts/sweep_linuxgame_includes.py [--apply]
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import os
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
REPO_ROOT = Path(__file__).resolve().parent.parent
|
||||
MINECRAFT_ROOT = REPO_ROOT / "targets" / "minecraft"
|
||||
|
||||
INCLUDE_RE = re.compile(
|
||||
r'^[ \t]*#[ \t]*include[ \t]*"app/linux/LinuxGame\.h"[ \t]*\n',
|
||||
re.MULTILINE,
|
||||
)
|
||||
|
||||
# Patterns that mean the include is genuinely needed.
|
||||
# LinuxGame.h transitively pulls in Game.h (LinuxGame : public Game), so any
|
||||
# reference to the Game class also keeps the include alive.
|
||||
USAGE_PATTERNS = [
|
||||
re.compile(r'\bLinuxGame\b'),
|
||||
re.compile(r'\bC4JStringTable\b'),
|
||||
re.compile(r'\bapp\s*\.'),
|
||||
re.compile(r'\bapp\s*::'),
|
||||
re.compile(r'\bGame\s*::'),
|
||||
re.compile(r'\bGame\s*\*'),
|
||||
re.compile(r'\bGame\s*&'),
|
||||
re.compile(r'class\s+\w+\s*:\s*(?:public|private|protected)?\s*Game\b'),
|
||||
]
|
||||
|
||||
|
||||
def file_needs_linuxgame(text: str) -> bool:
|
||||
# Strip the LinuxGame.h include line itself before checking, to avoid
|
||||
# the include path matching `LinuxGame`.
|
||||
scan = INCLUDE_RE.sub("", text)
|
||||
for pat in USAGE_PATTERNS:
|
||||
if pat.search(scan):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
parser.add_argument("--apply", action="store_true",
|
||||
help="Actually remove the dead includes")
|
||||
args = parser.parse_args()
|
||||
|
||||
candidates: list[Path] = []
|
||||
for dirpath, _dirnames, filenames in os.walk(MINECRAFT_ROOT):
|
||||
for name in filenames:
|
||||
if not name.endswith((".cpp", ".c", ".h", ".hpp")):
|
||||
continue
|
||||
path = Path(dirpath) / name
|
||||
try:
|
||||
text = path.read_text(encoding="utf-8", errors="surrogateescape")
|
||||
except OSError:
|
||||
continue
|
||||
if not INCLUDE_RE.search(text):
|
||||
continue
|
||||
if file_needs_linuxgame(text):
|
||||
continue
|
||||
candidates.append(path)
|
||||
|
||||
candidates.sort()
|
||||
for path in candidates:
|
||||
print(path.relative_to(REPO_ROOT))
|
||||
|
||||
print(f"\n{len(candidates)} files have a dead LinuxGame.h include")
|
||||
|
||||
if args.apply:
|
||||
for path in candidates:
|
||||
text = path.read_text(encoding="utf-8", errors="surrogateescape")
|
||||
new_text = INCLUDE_RE.sub("", text)
|
||||
path.write_text(new_text, encoding="utf-8", errors="surrogateescape")
|
||||
print(f"Removed from {len(candidates)} files")
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.exit(main())
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "KeyMapping.h"
|
||||
#include "app/common/Audio/SoundEngine.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "java/File.h"
|
||||
#include "java/InputOutputStream/BufferedReader.h"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/common/UI/All Platforms/UIEnums.h"
|
||||
#include "app/common/UI/All Platforms/UIStructs.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Linux_UIController.h"
|
||||
#include "platform/NetTypes.h"
|
||||
#include "platform/stubs.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "Facing.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/App_structs.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Linux_UIController.h"
|
||||
#include "platform/XboxStubs.h"
|
||||
#include "util/StringHelpers.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#include "MessageScreen.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "OptionsScreen.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
#include "minecraft/client/gui/Screen.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/Audio/SoundEngine.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/stubs.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
#include "minecraft/client/gui/Screen.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include "Button.h"
|
||||
#include "ConfirmScreen.h"
|
||||
#include "CreateWorldScreen.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "RenameWorldScreen.h"
|
||||
#include "util/StringHelpers.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/stubs.h"
|
||||
#include "minecraft/client/KeyMapping.h"
|
||||
#include "minecraft/client/Lighting.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <string>
|
||||
|
||||
#include "BeaconScreen.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/gui/inventory/AbstractBeaconButton.h"
|
||||
#include "minecraft/world/effect/MobEffect.h"
|
||||
#include "minecraft/client/renderer/Textures.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "platform/renderer/renderer.h"
|
||||
#include "AbstractContainerScreen.h"
|
||||
#include "app/common/UI/All Platforms/IUIScene_CreativeMenu.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/stubs.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
#include "minecraft/client/Lighting.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <numbers>
|
||||
|
||||
#include "platform/renderer/renderer.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/model/geom/Model.h"
|
||||
#include "minecraft/client/model/geom/ModelPart.h"
|
||||
#include "minecraft/world/entity/Entity.h"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@
|
|||
#include "app/common/UI/All Platforms/UIEnums.h"
|
||||
#include "app/common/UI/All Platforms/UIStructs.h"
|
||||
#include "app/common/UI/Scenes/In-Game Menu Screens/Containers/UIScene_TradingMenu.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Linux_UIController.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "MultiPlayerLevel.h"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include "app/common/Audio/SoundEngine.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "MultiPlayerChunkCache.h"
|
||||
#include "MultiPlayerLocalPlayer.h"
|
||||
#include "java/JavaMath.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include "platform/input/input.h"
|
||||
#include "LocalPlayer.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
#include "minecraft/client/multiplayer/MultiPlayerGameMode.h"
|
||||
#include "minecraft/world/entity/player/Abilities.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Pos.h"
|
||||
#include "minecraft/world/entity/player/Inventory.h"
|
||||
#include "minecraft/world/entity/player/Player.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include "minecraft/GameEnums.h"
|
||||
#include "platform/ShutdownManager.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "util/FrameProfiler.h"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
#include "platform/renderer/renderer.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Tesselator.h"
|
||||
#include "Textures.h"
|
||||
#include "TileRenderer.h"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,6 @@
|
|||
#include "app/common/Audio/SoundEngine.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/FrameProfiler.h"
|
||||
#include "minecraft/client/renderer/MobSkinMemTextureProcessor.h"
|
||||
#include "Tesselator.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "platform/renderer/renderer.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/stubs.h"
|
||||
#include "minecraft/client/MemoryTracker.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
#include "platform/renderer/renderer.h"
|
||||
#include "HttpTexture.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "minecraft/client/renderer/MemTexture.h"
|
||||
#include "minecraft/client/renderer/MemTextureProcessor.h"
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@
|
|||
#include "LightningBoltRenderer.h"
|
||||
#include "MinecartRenderer.h"
|
||||
#include "MinecartSpawnerRenderer.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "MobRenderer.h"
|
||||
#include "MushroomCowRenderer.h"
|
||||
#include "OcelotRenderer.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
#include "platform/renderer/renderer.h"
|
||||
#include "EntityRenderDispatcher.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "EntityRenderDispatcher.h"
|
||||
#include "HumanoidMobRenderer.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "minecraft/Facing.h"
|
||||
#include "minecraft/SharedConstants.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <format>
|
||||
#include <utility>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "SimpleIcon.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "StitchSlot.h"
|
||||
#include "Texture.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "platform/renderer/renderer.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "TextureManager.h"
|
||||
#include "java/Buffer.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "Stitcher.h"
|
||||
#include "Texture.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <format>
|
||||
#include <utility>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "StitchSlot.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
#include "platform/renderer/renderer.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/XboxStubs.h"
|
||||
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@
|
|||
#include "app/common/GameRules/LevelGeneration/LevelGenerationOptions.h"
|
||||
#include "app/common/Localisation/StringTable.h"
|
||||
#include "app/common/UI/All Platforms/ArchiveFile.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Linux_UIController.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/DLC/DLCManager.h"
|
||||
#include "app/common/DLC/DLCPack.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Linux_UIController.h"
|
||||
#include "java/File.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "platform/renderer/renderer.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "minecraft/client/BufferedImage.h"
|
||||
#include "util/StringHelpers.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/commands/Command.h"
|
||||
#include "minecraft/commands/CommandSender.h"
|
||||
#include "minecraft/commands/CommandsEnum.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <string>
|
||||
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/core/AbstractProjectileDispenseBehavior.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PacketListener.h"
|
||||
#include "minecraft/world/level/storage/ConsoleSaveFileIO/compression.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <limits>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "PacketListener.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <limits>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "PacketListener.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "minecraft/util/Log.h"
|
||||
#include "LoginPacket.h"
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PacketListener.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
#include "java/InputOutputStream/DataOutputStream.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "java/Exceptions.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <string>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PacketListener.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
#include "java/InputOutputStream/DataOutputStream.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <unordered_set>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "PacketListener.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@
|
|||
#include "app/common/GameRules/LevelGeneration/LevelGenerationOptions.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PlayerList.h"
|
||||
#include "Settings.h"
|
||||
#include "util/Timer.h"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
#include "app/common/Network/Socket.h"
|
||||
#include "app/common/Tutorial/Tutorial.h"
|
||||
#include "app/common/Tutorial/TutorialEnum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "platform/NetTypes.h"
|
||||
#include "MinecraftServer.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "ServerChunkCache.h"
|
||||
#include "ServerLevel.h"
|
||||
#include "ServerPlayer.h"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
#include "app/common/DLC/DLCManager.h"
|
||||
#include "app/common/DLC/DLCPack.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PlayerChunkMap.h"
|
||||
#include "Pos.h"
|
||||
#include "ServerChunkCache.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "EntityTracker.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PlayerChunkMap.h"
|
||||
#include "ServerLevel.h"
|
||||
#include "ServerPlayer.h"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
#include "app/common/GameRules/LevelRules/Rules/GameRulesInstance.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "ServerLevel.h"
|
||||
#include "ServerPlayerGameMode.h"
|
||||
#include "java/InputOutputStream/ByteArrayInputStream.h"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
#include "platform/PlatformTypes.h"
|
||||
#include "EntityTracker.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "ServerPlayer.h"
|
||||
#include "java/Class.h"
|
||||
#include "minecraft/SharedConstants.h"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@
|
|||
#include "app/common/BuildVer/BuildVer.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "platform/IPlatformNetwork.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "platform/NetTypes.h"
|
||||
#include "PlayerConnection.h"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/common/Network/NetworkPlayerInterface.h"
|
||||
#include "app/common/Network/Socket.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/client/model/SkinBox.h"
|
||||
#include "ServerConnection.h"
|
||||
#include "java/Class.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include <algorithm>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "PendingConnection.h"
|
||||
#include "PlayerConnection.h"
|
||||
#include "util/StringHelpers.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "GenericStats.h"
|
||||
#include "minecraft/IGameServices.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "StatFormatter.h"
|
||||
|
||||
class DecimalFormat;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
#include "minecraft/IGameServices.h"
|
||||
#include "CompoundContainer.h"
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/network/packet/ContainerOpenPacket.h"
|
||||
#include "minecraft/world/Container.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/world/Container.h"
|
||||
#include "minecraft/world/item/ItemInstance.h"
|
||||
#include "net.minecraft.world.ContainerListener.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/world/effect/MobEffect.h"
|
||||
#include "nbt/CompoundTag.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
#include "EntityPos.h"
|
||||
#include "SyncedEntityData.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <utility>
|
||||
|
||||
#include "Entity.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Painting.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/JavaIntHash.h"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/JavaMath.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/world/entity/Entity.h"
|
||||
#include "minecraft/world/entity/HangingEntity.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
#include "java/InputOutputStream/DataOutputStream.h"
|
||||
#include "minecraft/network/packet/Packet.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <wchar.h>
|
||||
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/util/HtmlString.h"
|
||||
#include "minecraft/world/entity/ai/attributes/Attribute.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <limits>
|
||||
#include <numbers>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/client/renderer/Textures.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <vector>
|
||||
|
||||
#include "platform/input/input.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/SharedConstants.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <numbers>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "SharedConstants.h"
|
||||
#include "java/JavaMath.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/world/Container.h"
|
||||
#include "minecraft/world/entity/item/ItemEntity.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/core/particles/ParticleTypes.h"
|
||||
#include "minecraft/sounds/SoundTypes.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <memory>
|
||||
#include <numbers>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
#include "minecraft/util/Mth.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/sounds/SoundTypes.h"
|
||||
#include "minecraft/world/Difficulty.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <unordered_set>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/world/entity/ai/attributes/Attribute.h"
|
||||
#include "minecraft/world/entity/ai/attributes/AttributeInstance.h"
|
||||
#include "minecraft/world/entity/ai/attributes/AttributeModifier.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <memory>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/Facing.h"
|
||||
#include "minecraft/sounds/SoundTypes.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <limits>
|
||||
#include <memory>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/sounds/SoundTypes.h"
|
||||
#include "minecraft/world/Difficulty.h"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Pos.h"
|
||||
#include "SharedConstants.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include <format>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/stats/GenericStats.h"
|
||||
#include "minecraft/world/entity/LivingEntity.h"
|
||||
#include "minecraft/world/entity/player/Abilities.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/core/particles/ParticleTypes.h"
|
||||
#include "minecraft/network/packet/GameEventPacket.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/SharedConstants.h"
|
||||
#include "minecraft/core/particles/ParticleTypes.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "minecraft/world/Container.h"
|
||||
#include "minecraft/world/entity/player/Abilities.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/JavaMath.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/util/HtmlString.h"
|
||||
#include "minecraft/world/IconRegister.h"
|
||||
#include "minecraft/world/item/DyePowderItem.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "minecraft/util/HtmlString.h"
|
||||
#include "minecraft/world/entity/player/Abilities.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "Direction.h"
|
||||
#include "Facing.h"
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/stats/GenericStats.h"
|
||||
#include "minecraft/util/HtmlString.h"
|
||||
#include "minecraft/world/entity/HangingEntity.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "HangingEntityItem.h"
|
||||
#include "MapItem.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/stats/Stats.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <memory>
|
||||
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/Facing.h"
|
||||
#include "minecraft/stats/GenericStats.h"
|
||||
#include "minecraft/world/entity/player/Player.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <utility>
|
||||
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/SharedConstants.h"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
#include "Facing.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/StringHelpers.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <string>
|
||||
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "minecraft/Facing.h"
|
||||
#include "minecraft/stats/GenericStats.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/world/inventory/CraftingContainer.h"
|
||||
#include "minecraft/world/item/CoalItem.h"
|
||||
#include "minecraft/world/item/Item.h"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
#include <string.h>
|
||||
|
||||
#include "platform/PlatformTypes.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Recipes.h"
|
||||
#include "minecraft/world/inventory/CraftingContainer.h"
|
||||
#include "minecraft/world/item/ItemInstance.h"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/core/particles/ParticleTypes.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <assert.h>
|
||||
|
||||
#include "minecraft/GameEnums.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
|
||||
// 4J: GameRules isn't in use anymore, just routes any requests to app game host
|
||||
// options, kept things commented out for context
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "util/FrameProfiler.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <utility>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "Pos.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/Direction.h"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <utility>
|
||||
|
||||
#include "BiomeSource.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "minecraft/world/level/biome/Biome.h"
|
||||
|
||||
BiomeCache::Block::Block(int x, int z, BiomeCache* parent) {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "minecraft/world/level/biome/BiomeDecorator.h"
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "app/linux/Stubs/winapi_stubs.h"
|
||||
#include "java/Random.h"
|
||||
#include "minecraft/world/level/Level.h"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include "platform/input/input.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/Random.h"
|
||||
#include "java/System.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include <utility>
|
||||
|
||||
#include "app/common/Network/GameNetworkManager.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "SparseLightStorage.h"
|
||||
#include "java/Class.h"
|
||||
#include "java/Random.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "java/System.h"
|
||||
#include "minecraft/world/level/chunk/storage/ChunkStorage.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
#include "platform/input/input.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "platform/C4JThread.h"
|
||||
#include "minecraft/world/level/storage/ConsoleSaveFileIO/compression.h"
|
||||
#include "java/InputOutputStream/BufferedOutputStream.h"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
#include "platform/input/input.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "util/Definitions.h"
|
||||
#include "java/File.h"
|
||||
#include "java/InputOutputStream/DataInputStream.h"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
#include "minecraft/GameEnums.h"
|
||||
#include "app/common/Colours/ColourTable.h"
|
||||
#include "app/common/Console_Debug_enum.h"
|
||||
#include "app/linux/LinuxGame.h"
|
||||
#include "NormalDimension.h"
|
||||
#include "TheEndDimension.h"
|
||||
#include "minecraft/client/Minecraft.h"
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue