From 20a41088c6687472ed09d3d1005fa304fc935059 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Mon, 3 Oct 2022 10:01:42 +0300 Subject: [PATCH] Remove trap.cc --- CMakeLists.txt | 2 -- src/game.cc | 4 ---- src/trap.cc | 12 ------------ src/trap.h | 10 ---------- 4 files changed, 28 deletions(-) delete mode 100644 src/trap.cc delete mode 100644 src/trap.h diff --git a/CMakeLists.txt b/CMakeLists.txt index 07f8ec8..d78d84e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -223,8 +223,6 @@ target_sources(${EXECUTABLE_NAME} PUBLIC "src/trait_defs.h" "src/trait.cc" "src/trait.h" - "src/trap.cc" - "src/trap.h" "src/vcr.cc" "src/vcr.h" "src/version.cc" diff --git a/src/game.cc b/src/game.cc index ac00be8..b89a53c 100644 --- a/src/game.cc +++ b/src/game.cc @@ -61,7 +61,6 @@ #include "text_font.h" #include "tile.h" #include "trait.h" -#include "trap.h" #include "version.h" #include "window_manager.h" #include "worldmap.h" @@ -173,8 +172,6 @@ int gameInitWithOptions(const char* windowTitle, bool isMapper, int font, int a4 showSplash(); } - _trap_init(); - interfaceFontsInit(); fontManagerAdd(&gModernFontManager); fontSetCurrent(font); @@ -431,7 +428,6 @@ void gameExit() partyMembersExit(); endgameDeathEndingExit(); interfaceFontsExit(); - _trap_init(); _windowClose(); dbExit(); gameConfigExit(true); diff --git a/src/trap.cc b/src/trap.cc deleted file mode 100644 index 6e1581e..0000000 --- a/src/trap.cc +++ /dev/null @@ -1,12 +0,0 @@ -#include "trap.h" - -namespace fallout { - -// NOTE: Likely collapsed trapInit/trapExit. -// -// 0x4B4190 -void _trap_init() -{ -} - -} // namespace fallout diff --git a/src/trap.h b/src/trap.h deleted file mode 100644 index c182d0e..0000000 --- a/src/trap.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef TRAP_H -#define TRAP_H - -namespace fallout { - -void _trap_init(); - -} // namespace fallout - -#endif /* TRAP_H */