refactor: updated module registration to core rev 4++

This commit is contained in:
BytesGalore
2021-09-17 17:36:27 +02:00
parent 17db6230e1
commit 3528807f3f
4 changed files with 7 additions and 10 deletions

View File

@@ -8,8 +8,8 @@ jobs:
strategy:
fail-fast: false
matrix:
compiler: [clang6, clang9, clang10]
runs-on: ubuntu-20.04
compiler: [clang]
runs-on: ubuntu-latest
name: ${{ matrix.compiler }}
env:
COMPILER: ${{ matrix.compiler }}

View File

@@ -1,7 +0,0 @@
CU_SET_PATH("CMAKE_MOD_MONEYFORKILLS_DIR" "${CMAKE_CURRENT_LIST_DIR}")
AC_ADD_SCRIPT("${CMAKE_CURRENT_LIST_DIR}/src/mod_moneyforkills.cpp")
AC_ADD_SCRIPT_LOADER("MoneyForKills" "${CMAKE_CURRENT_LIST_DIR}/src/loader_moneyforkills.h")
AC_ADD_CONFIG_FILE("${CMAKE_CURRENT_LIST_DIR}/conf/mod_moneyforkills.conf.dist")

5
src/MFK_loader.cpp Normal file
View File

@@ -0,0 +1,5 @@
void AddMoneyForKillsScripts();
void Addmod_money_for_killsScripts() {
AddMoneyForKillsScripts();
}

View File

@@ -1 +0,0 @@
void AddMoneyForKillsScripts();