mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 15:03:30 +00:00
added defines for main addon
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user