diff --git a/metamod/extra/config.ini b/metamod/extra/config.ini new file mode 100644 index 0000000..d962351 --- /dev/null +++ b/metamod/extra/config.ini @@ -0,0 +1,2 @@ +debuglevel 0 +clientmeta no diff --git a/metamod/src/meta_api.h b/metamod/src/meta_api.h index 9378521..d7ead14 100644 --- a/metamod/src/meta_api.h +++ b/metamod/src/meta_api.h @@ -1,7 +1,7 @@ #pragma once -#include "h_export.h" #include "dllapi.h" // GETENTITYAPI_FN, etc +#include "h_export.h" #include "engine_api.h" // GET_ENGINE_FUNCTIONS_FN, etc #include "enginecallbacks.h" #include "plinfo.h" // plugin_info_t, etc diff --git a/metamod/src/mutil.h b/metamod/src/mutil.h index 0ced762..47eab29 100644 --- a/metamod/src/mutil.h +++ b/metamod/src/mutil.h @@ -1,6 +1,6 @@ #pragma once -#include +#include #include "plinfo.h" // For GetGameInfo: diff --git a/publish.gradle b/publish.gradle index 55b6286..576b9ce 100644 --- a/publish.gradle +++ b/publish.gradle @@ -69,8 +69,12 @@ task publishPrepareFiles << { into 'publish/publishRoot/metamod/sdk' } copy { - from 'metamod/extra' - into 'publish/publishRoot/metamod' + from 'metamod/extra/config.ini' + into 'publish/publishRoot/metamod/addons/metamod/' + } + copy { + from 'metamod/extra/example' + into 'publish/publishRoot/metamod/example' } copy { from 'publish/publishRoot/metamod/sdk'