mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6ce625a52f
* Cleanup spaces in config macros * remove extra whitespace before call --------- Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
22 lines
842 B
C++
22 lines
842 B
C++
class EGVAR(arsenal,stats) {
|
|
class statBase;
|
|
class ACE_backblastAngle: statBase {
|
|
scope = 2;
|
|
priority = 2;
|
|
stats[] = {QGVAR(angle)};
|
|
displayName = CSTRING(statBackblastAngle);
|
|
showText = 1;
|
|
textStatement = QUOTE(params [ARR_2('_stat','_config')]; format [ARR_2('%1°',getNumber (_config >> _stat select 0))]);
|
|
tabs[] = {{2}, {}};
|
|
};
|
|
class ACE_backblastRange: statBase {
|
|
scope = 2;
|
|
priority = 1;
|
|
stats[] = {QGVAR(range)};
|
|
displayName = CSTRING(statBackblastRange);
|
|
showText = 1;
|
|
textStatement = QUOTE(params [ARR_2('_stat','_config')]; private _blastRangeStat = getNumber (_config >> _stat select 0); format [ARR_3('%1m (%2ft)',_blastRangeStat,(_blastRangeStat / 0.3048) toFixed 1)]);
|
|
tabs[] = {{2}, {}};
|
|
};
|
|
};
|