ACE3/addons/advanced_ballistics/XEH_postInit.sqf

26 lines
796 B
Plaintext
Raw Normal View History

2015-04-05 19:08:55 +00:00
#include "script_component.hpp"
#include "initKeybinds.sqf"
GVAR(currentbulletID) = -1;
2015-04-05 19:08:55 +00:00
GVAR(Protractor) = false;
GVAR(ProtractorStart) = ACE_time;
2015-04-05 19:08:55 +00:00
GVAR(currentGrid) = 0;
2015-05-08 14:00:41 +00:00
GVAR(initMessageEnabled) = false;
2015-04-05 19:08:55 +00:00
GVAR(extensionAvailable) = true;
2015-05-01 08:25:59 +00:00
/* @TODO: Remove this until versioning is in sync with cmake/build versioning
GVAR(extensionVersion) = ("ace_advanced_ballistics" callExtension "version");
GVAR(extensionAvailable) = (GVAR(extensionVersion) == EXTENSION_REQUIRED_VERSION);
if (!GVAR(extensionAvailable)) exitWith {
if (GVAR(extensionVersion) == "") then {
diag_log text "[ACE] ERROR: ace_advanced_ballistics.dll is missing";
} else {
diag_log text "[ACE] ERROR: ace_advanced_ballistics.dll is incompatible";
};
};
*/
2015-04-05 19:08:55 +00:00
[] call FUNC(initializeTerrainExtension);