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();