From ba108dab6d4105db223a16205a4b78f0579d5d47 Mon Sep 17 00:00:00 2001 From: Lucas Stoudt Date: Tue, 19 Oct 2021 11:42:59 -0400 Subject: [PATCH] updated loader --- CMakeLists.txt | 7 ------- src/achievements_loader.cpp | 6 ++++++ src/loader_achievements.h | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) delete mode 100644 CMakeLists.txt create mode 100644 src/achievements_loader.cpp delete mode 100644 src/loader_achievements.h diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 932d526..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -CU_SET_PATH("CMAKE_MOD_ACHIEVEMENTS_DIR" "${CMAKE_CURRENT_LIST_DIR}") - -AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_achievements.cpp") - -AC_ADD_SCRIPT_LOADER("AccountAchievements" "${CMAKE_CURRENT_LIST_DIR}/src/loader_achievements.h") - -AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_achievements.conf.dist") diff --git a/src/achievements_loader.cpp b/src/achievements_loader.cpp new file mode 100644 index 0000000..a8ae615 --- /dev/null +++ b/src/achievements_loader.cpp @@ -0,0 +1,6 @@ +void AddAccountAchievementsScripts(); + +void Addmod_account_achievementsScripts() +{ + AddAccountAchievementsScripts(); +} diff --git a/src/loader_achievements.h b/src/loader_achievements.h deleted file mode 100644 index 4e65e4a..0000000 --- a/src/loader_achievements.h +++ /dev/null @@ -1 +0,0 @@ -void AddAccountAchievementsScripts();