Skip to content

Commit

Permalink
* updated readme
Browse files Browse the repository at this point in the history
* added cba versioning
* raised version to 1.0.5.0
  • Loading branch information
NemesisRE committed May 14, 2020
1 parent 6310d4c commit 352f388
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 10 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

<p align="center">
<a href="https://github.com/quies-in-proelium/qipBFT/releases/latest">
<img src="https://img.shields.io/badge/Version-1.0.2-blue.svg?style=flat-square" alt="qipBFT Version">
<img src="https://img.shields.io/github/v/release/quies-in-proelium/qipBFT" alt="qipBFT Version">
</a>
<a href="https://github.com/quies-in-proelium/qipBFT/issues">
<img src="https://img.shields.io/github/issues-raw/quies-in-proelium/qipBFT.svg?style=flat-square&label=Issues" alt="qipBFT Issues">
<img src="https://img.shields.io/github/issues/quies-in-proelium/qipBFT" alt="qipBFT Issues">
</a>
<a href="https://github.com/quies-in-proelium/qipBFT/releases">
<img src="https://img.shields.io/github/downloads/quies-in-proelium/qipBFT/total.svg?style=flat-square&label=Downloads" alt="qipBFT Downloads">
<img src="https://img.shields.io/github/downloads/quies-in-proelium/qipBFT/total" alt="qipBFT Downloads">
</a>
<a href="https://forums.bohemia.net/forums/topic/225047-qip-bft/">
<img src="https://img.shields.io/badge/BIF-Thread-lightgrey.svg?style=flat-square" alt="BIF Thread">
<img src="https://img.shields.io/badge/BIF-Thread-lightgrey.svg" alt="BIF Thread">
</a>
<a href="https://github.com/quies-in-proelium/qipBFT/blob/master/LICENSE">
<img src="https://img.shields.io/badge/License-CC%20BY--NC--SA-orange?style=flat-square" alt="qipBFT License">
<img src="https://img.shields.io/badge/License-CC%20BY--NC--SA-orange" alt="qipBFT License">
</a>
</p>

Expand Down
12 changes: 12 additions & 0 deletions addons/main/CfgSettings.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
class CfgSettings {
class CBA {
class Versioning {
class qipTPL {
class dependencies {
//ACE will hard exit if this is missing
CBA[] = {"cba_main", REQUIRED_CBA_VERSION, "(true)"};
};
};
};
};
};
1 change: 1 addition & 0 deletions addons/main/config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ class CfgMods {
};
};

#include "CfgSettings.hpp"
#include "CfgModuleCategories.hpp"
9 changes: 5 additions & 4 deletions addons/main/script_mod.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@

#include "script_version.hpp"

#define VERSION MAJOR.MINOR.PATCHLVL.BUILD
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD
#define VERSION MAJOR.MINOR
#define VERSION_STR MAJOR.MINOR.PATCHLVL.BUILD
#define VERSION_AR MAJOR,MINOR,PATCHLVL,BUILD

// MINIMAL required version for the Mod. Components can specify others..
#define REQUIRED_VERSION 1.94
#define REQUIRED_CBA_VERSION {3,12,1}
#define REQUIRED_VERSION 1.98
#define REQUIRED_CBA_VERSION {3,15,0}

#ifdef COMPONENT_BEAUTIFIED
#define COMPONENT_NAME QUOTE(qipBFT - COMPONENT_BEAUTIFIED)
Expand Down
2 changes: 1 addition & 1 deletion addons/main/script_version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#define MAJOR 1
#define MINOR 0
#define PATCHLVL 4
#define PATCHLVL 5
#define BUILD 0

0 comments on commit 352f388

Please sign in to comment.