From 13ee1b6e02ce997ddc44e19ceed518b8328cf0f6 Mon Sep 17 00:00:00 2001 From: FS-21 Date: Fri, 25 Jul 2025 17:38:17 +0200 Subject: [PATCH] Already tested functions in a new feature I'm doing: void RepairWoodBridgeAt(CellStruct const& cell) { JMP_THIS(0x570050); } void RepairConcreteBridgeAt(CellStruct const& cell) { JMP_THIS(0x573540); } void DestroyWoodBridgeAt(CellStruct const& cell) { JMP_THIS(0x574C20); } void DestroyConcreteBridgeAt(CellStruct const& cell) { JMP_THIS(0x574000); } --- MapClass.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MapClass.h b/MapClass.h index 8ba37adc..5e36f5c3 100644 --- a/MapClass.h +++ b/MapClass.h @@ -528,6 +528,18 @@ class NOVTABLE MapClass : public GScreenClass void RecalculateSubZones(CellStruct const& cell) { JMP_THIS(0x584550); } + void RepairWoodBridgeAt(CellStruct const& cell) + { JMP_THIS(0x570050); } + + void RepairConcreteBridgeAt(CellStruct const& cell) + { JMP_THIS(0x573540); } + + void DestroyWoodBridgeAt(CellStruct const& cell) + { JMP_THIS(0x574C20); } + + void DestroyConcreteBridgeAt(CellStruct const& cell) + { JMP_THIS(0x574000); } + protected: //Constructor