From 916902ab686c7361f30ef7155c5ea055541251d0 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Mon, 30 Sep 2024 00:03:52 -0400 Subject: [PATCH] Changes Needed For Hodgepodge --- docs/CHANGELOG.md | 2 +- launcher/src/client/available-feature-flags | 2 +- mods/src/misc/misc.cpp | 2 +- symbols/CMakeLists.txt | 1 + symbols/src/entity/TripodCamera.def | 3 +++ symbols/src/tile/EntityTile.def | 2 ++ 6 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 symbols/src/entity/TripodCamera.def diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 4bcf634147..1d983a1890 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -44,7 +44,7 @@ * `Improved Classic Title Positioning` (Enabled By Default) * `Use Updated Title` (Enabled By Default) * `Hide Block Outline When GUI Is Hidden` (Enabled By Default) - * `Fix Crash When Generating Certain Seed` (Enabled By Default) + * `Fix Crash When Generating Certain Seeds` (Enabled By Default) * `Click Buttons On Mouse Down` (Enabled By Default) * Existing Functionality (All Enabled By Default) * `Fix Screen Rendering When Hiding HUD` diff --git a/launcher/src/client/available-feature-flags b/launcher/src/client/available-feature-flags index b12436da7d..4e18eca529 100644 --- a/launcher/src/client/available-feature-flags +++ b/launcher/src/client/available-feature-flags @@ -107,5 +107,5 @@ TRUE Allow High-Resolution Title TRUE Improved Classic Title Positioning TRUE Use Updated Title TRUE Hide Block Outline When GUI Is Hidden -TRUE Fix Crash When Generating Certain Seed +TRUE Fix Crash When Generating Certain Seeds TRUE Click Buttons On Mouse Down \ No newline at end of file diff --git a/mods/src/misc/misc.cpp b/mods/src/misc/misc.cpp index 783b13e540..1d6f8acdd7 100644 --- a/mods/src/misc/misc.cpp +++ b/mods/src/misc/misc.cpp @@ -589,7 +589,7 @@ void init_misc() { } // Rare Segfault - if (feature_has("Fix Crash When Generating Certain Seed", server_enabled)) { + if (feature_has("Fix Crash When Generating Certain Seeds", server_enabled)) { overwrite_call((void *) 0xb198c, (void *) Dimension_isValidSpawn_Level_getTopTile_injection); } diff --git a/symbols/CMakeLists.txt b/symbols/CMakeLists.txt index 1a82f07392..1114e3f945 100644 --- a/symbols/CMakeLists.txt +++ b/symbols/CMakeLists.txt @@ -37,6 +37,7 @@ set(SRC src/entity/PathfinderMob.def src/entity/HumanoidModel.def src/entity/TripodCameraRenderer.def + src/entity/TripodCamera.def src/entity/MobFactory.def src/entity/EntityRenderDispatcher.def src/entity/MobRenderer.def diff --git a/symbols/src/entity/TripodCamera.def b/symbols/src/entity/TripodCamera.def new file mode 100644 index 0000000000..f7232e5cfb --- /dev/null +++ b/symbols/src/entity/TripodCamera.def @@ -0,0 +1,3 @@ +extends Mob; + +vtable 0x10c870; \ No newline at end of file diff --git a/symbols/src/tile/EntityTile.def b/symbols/src/tile/EntityTile.def index bc1e59e82d..310bd7a964 100644 --- a/symbols/src/tile/EntityTile.def +++ b/symbols/src/tile/EntityTile.def @@ -1,5 +1,7 @@ extends Tile; +constructor (int id, int texture, const Material *material) = 0xbe578; + vtable 0x111348; vtable-size 0x108; size 0x5c;