From 84288612ef147fc89abbea2eac1771bdcaf9a1af Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sat, 2 Sep 2023 19:43:56 +0300 Subject: [PATCH] Add map_toggle_block_obj_viewing_on --- src/mapper/map_func.cc | 9 +++++++++ src/mapper/map_func.h | 1 + 2 files changed, 10 insertions(+) diff --git a/src/mapper/map_func.cc b/src/mapper/map_func.cc index b9f297d..def62b9 100644 --- a/src/mapper/map_func.cc +++ b/src/mapper/map_func.cc @@ -2,6 +2,9 @@ namespace fallout { +// 0x5595CC +static bool block_obj_view_on = false; + // 0x4825B0 void setup_map_dirs() { @@ -14,4 +17,10 @@ void copy_proto_lists() // TODO: Incomplete. } +// 0x485D44 +bool map_toggle_block_obj_viewing_on() +{ + return block_obj_view_on; +} + } // namespace fallout diff --git a/src/mapper/map_func.h b/src/mapper/map_func.h index 1292604..44d3166 100644 --- a/src/mapper/map_func.h +++ b/src/mapper/map_func.h @@ -5,6 +5,7 @@ namespace fallout { void setup_map_dirs(); void copy_proto_lists(); +bool map_toggle_block_obj_viewing_on(); } // namespace fallout