mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:13:29 +00:00
added defines for main addon
This commit is contained in:
17
addons/main/script_component.hpp
Normal file
17
addons/main/script_component.hpp
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#define COMPONENT main
|
||||||
|
#define COMPONENT_BEAUTIFIED Main
|
||||||
|
#include "\armatak\armatak\armatak_main\script_mod.hpp"
|
||||||
|
|
||||||
|
// #define DEBUG_MODE_FULL
|
||||||
|
// #define DISABLE_COMPILE_CACHE
|
||||||
|
// #define ENABLE_PERFORMANCE_COUNTERS
|
||||||
|
|
||||||
|
#ifdef DEBUG_ENABLED_MAIN
|
||||||
|
#define DEBUG_MODE_FULL
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef DEBUG_SETTINGS_MAIN
|
||||||
|
#define DEBUG_SETTINGS DEBUG_SETTINGS_MAIN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "\z\ace\addons\main\script_macros.hpp"
|
||||||
25
addons/main/script_mod.hpp
Normal file
25
addons/main/script_mod.hpp
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
// COMPONENT should be defined in the script_component.hpp and included BEFORE this hpp
|
||||||
|
|
||||||
|
#define MAINPREFIX armatak
|
||||||
|
#define PREFIX armatak
|
||||||
|
|
||||||
|
#include "script_version.hpp"
|
||||||
|
|
||||||
|
#define VERSION MAJOR.MINOR
|
||||||
|
#define VERSION_STR MAJOR.MINOR.PATCHLVL.BUILD
|
||||||
|
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
|
||||||
|
|
||||||
|
#define PROJECT_AUTHOR QUOTE(Valmo Trindade)
|
||||||
|
|
||||||
|
// MINIMAL required version for the Mod. Components can specify others..
|
||||||
|
#define REQUIRED_VERSION 2.18
|
||||||
|
#define REQUIRED_CBA_VERSION {3,18,2}
|
||||||
|
|
||||||
|
#ifndef COMPONENT_BEAUTIFIED
|
||||||
|
#define COMPONENT_BEAUTIFIED COMPONENT
|
||||||
|
#endif
|
||||||
|
#ifdef SUBCOMPONENT_BEAUTIFIED
|
||||||
|
#define COMPONENT_NAME QUOTE(ARMATAK - COMPONENT_BEAUTIFIED - SUBCOMPONENT_BEAUTIFIED)
|
||||||
|
#else
|
||||||
|
#define COMPONENT_NAME QUOTE(ARMATAK - COMPONENT_BEAUTIFIED)
|
||||||
|
#endif
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#define build 0
|
#define build 0
|
||||||
#define major 1
|
#define major 1
|
||||||
#define minor 0
|
#define minor 1
|
||||||
#define patch 0
|
#define patch 0
|
||||||
Reference in New Issue
Block a user