[WIP] Fix script errors reporting wrong line numbers (#6407)

* advanced_ballistics

* advanced_fatigue

* advanced_throwing

* ai

* aircraft

* arsenal

* atragmx

* attach

* backpacks

* ballistics

* captives

* cargo

* chemlights

* common

* concertina_wire

* cookoff

* dagr

* disarming

* disposable

* dogtags

* dragging

* explosives

* fastroping

* fcs

* finger

* frag

* gestures

* gforces

* goggles

* grenades

* gunbag

* hearing

* hitreactions

* huntir

* interact_menu

* interaction

* inventory

* kestrel4500

* laser

* laserpointer

* logistics_uavbattery

* logistics_wirecutter

* magazinerepack

* map

* map_gestures

* maptools

* markers

* medical

* medical_ai

* medical_blood

* medical_menu

* microdagr

* minedetector

* missileguidance

* missionmodules

* mk6mortar

* modules

* movement

* nametags

* nightvision

* nlaw

* optics

* optionsmenu

* overheating

* overpressure

* parachute

* pylons

* quickmount

* rangecard

* rearm

* recoil

* refuel

* reload

* reloadlaunchers

* repair

* respawn

* safemode

* sandbag

* scopes

* slideshow

* spectator

* spottingscope

* switchunits

* tacticalladder

* tagging

* trenches

* tripod

* ui

* vector

* vehiclelock

* vehicles

* viewdistance

* weaponselect

* weather

* winddeflection

* yardage450

* zeus

* arsenal defines.hpp

* optionals

* DEBUG_MODE_FULL 1

* DEBUG_MODE_FULL 2

* Manual fixes

* Add SQF Validator check for #include after block comment

* explosives fnc_openTimerUI

* fix uniqueItems
This commit is contained in:
Dedmen Miller 2018-09-17 21:19:29 +02:00 committed by PabstMirror
parent 803d497d8a
commit e2ac18a05d
1643 changed files with 1702 additions and 2094 deletions

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_muzzleVelocityShiftTable", "_temperature"]; params ["_muzzleVelocityShiftTable", "_temperature"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -18,7 +19,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_ballisticCoefficient", "_temperature"/*in C*/, "_pressure"/*in hPa*/, "_relativeHumidity"/*as ratio 0-1*/, "_atmosphereModel"/*"ICAO" or "ASM"*/]; params ["_ballisticCoefficient", "_temperature"/*in C*/, "_pressure"/*in hPa*/, "_relativeHumidity"/*as ratio 0-1*/, "_atmosphereModel"/*"ICAO" or "ASM"*/];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg, MikeMatrix, joko // Jonas * Author: Ruthberg, MikeMatrix, joko // Jonas
* *
@ -17,7 +18,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_barrelLength", "_muzzleVelocityTable", "_barrelLengthTable", "_muzzleVelocity"]; params ["_barrelLength", "_muzzleVelocityTable", "_barrelLengthTable", "_muzzleVelocity"];
TRACE_4("params",_barrelLength,_muzzleVelocityTable,_barrelLengthTable,_muzzleVelocity); TRACE_4("params",_barrelLength,_muzzleVelocityTable,_barrelLengthTable,_muzzleVelocity);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -16,7 +17,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
// Source: GNU Exterior Ballistics // Source: GNU Exterior Ballistics

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -20,7 +21,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_caliber", "_bulletLength", "_bulletMass", "_barrelTwist", "_muzzleVelocity", "_temperature", "_barometricPressure"]; params ["_caliber", "_bulletLength", "_bulletMass", "_barrelTwist", "_muzzleVelocity", "_temperature", "_barometricPressure"];

View File

@ -1,3 +1,5 @@
#define DEBUG_MODE_FULL
#include "script_component.hpp"
/* /*
* Author: esteldunedain * Author: esteldunedain
* *
@ -15,8 +17,6 @@
* *
* Public: No * Public: No
*/ */
#define DEBUG_MODE_FULL
#include "script_component.hpp"
private _diagnoseStartTime = diag_tickTime; private _diagnoseStartTime = diag_tickTime;
#ifdef DEBUG_INIT_SPEEDS #ifdef DEBUG_INIT_SPEEDS

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#define __dsp (uiNamespace getVariable "RscProtractor") #define __dsp (uiNamespace getVariable "RscProtractor")
#define __ctrl1 (__dsp displayCtrl 132950) #define __ctrl1 (__dsp displayCtrl 132950)

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Glowbal, Ruthberg, joko // Jonas * Author: Glowbal, Ruthberg, joko // Jonas
* Handle the PFH for Bullets * Handle the PFH for Bullets
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
{ {
_x params ["_bullet","_caliber","_bulletTraceVisible","_index"]; _x params ["_bullet","_caliber","_bulletTraceVisible","_index"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Glowbal, Ruthberg * Author: Glowbal, Ruthberg
* *
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
//IGNORE_PRIVATE_WARNING ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_vehicle", "_gunner", "_turret"]; //IGNORE_PRIVATE_WARNING ["_unit", "_weapon", "_muzzle", "_mode", "_ammo", "_magazine", "_projectile", "_vehicle", "_gunner", "_turret"];
TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectile, _vehicle, _gunner, _turret); TRACE_10("firedEH:",_unit, _weapon, _muzzle, _mode, _ammo, _magazine, _projectile, _vehicle, _gunner, _turret);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Glowbal, Ruthberg * Author: Glowbal, Ruthberg
* Module for adjusting the advanced ballistics settings * Module for adjusting the advanced ballistics settings
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_logic","_units", "_activated"]; params ["_logic","_units", "_activated"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* Initializes the advanced ballistics dll extension with terrain data * Initializes the advanced ballistics dll extension with terrain data
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if (!hasInterface) exitWith {}; if (!hasInterface) exitWith {};
if (!GVAR(enabled)) exitWith {}; if (!GVAR(enabled)) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -25,7 +26,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
TRACE_1("Reading Ammo Config",_this); TRACE_1("Reading Ammo Config",_this);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Ruthberg * Author: Ruthberg
* *
@ -16,7 +17,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
private _weaponConfig = (configFile >> "CfgWeapons" >> _this); private _weaponConfig = (configFile >> "CfgWeapons" >> _this);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Adds a duty factor. * Adds a duty factor.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params [["_id", "", [""]], ["_factor", 1, [0, {}]]]; params [["_id", "", [""]], ["_factor", 1, [0, {}]]];
if (_id == "" || {_factor isEqualTo 1}) exitWith {}; if (_id == "" || {_factor isEqualTo 1}) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Creates the stamina bar. * Creates the stamina bar.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_display"]; params ["_display"];
private _staminaBar = _display ctrlCreate [QGVAR(StaminaBarContainer), -1]; private _staminaBar = _display ctrlCreate [QGVAR(StaminaBarContainer), -1];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Calculates the duty of the current animation. * Calculates the duty of the current animation.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", "_animName"]; params ["_unit", "_animName"];
private _duty = 1; private _duty = 1;

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Calculates the current metabolic costs for a unit. * Calculates the current metabolic costs for a unit.
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", "_velocity"]; params ["_unit", "_velocity"];
private _gearMass = ((_unit getVariable [QEGVAR(movement,totalLoad), loadAbs _unit]) / 22.046) * GVAR(loadFactor); private _gearMass = ((_unit getVariable [QEGVAR(movement,totalLoad), loadAbs _unit]) / 22.046) * GVAR(loadFactor);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Handles any audible, visual and physical effects of fatigue. * Handles any audible, visual and physical effects of fatigue.
@ -16,7 +17,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", "_fatigue", "_speed", "_overexhausted"]; params ["_unit", "_fatigue", "_speed", "_overexhausted"];
#ifdef DEBUG_MODE_FULL #ifdef DEBUG_MODE_FULL

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Handles switching units (once on init and afterwards via Zeus). * Handles switching units (once on init and afterwards via Zeus).
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_newUnit", "_oldUnit"]; params ["_newUnit", "_oldUnit"];
TRACE_2("unit changed",_newUnit,_oldUnit); TRACE_2("unit changed",_newUnit,_oldUnit);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Handles visual changes of the stamina bar. * Handles visual changes of the stamina bar.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stamina"]; params ["_stamina"];
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull]; private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Main looping function that updates fatigue values. * Main looping function that updates fatigue values.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if (!alive ACE_player) exitWith { // Dead people don't breath, Will also handle null (Map intros) if (!alive ACE_player) exitWith { // Dead people don't breath, Will also handle null (Map intros)
[FUNC(mainLoop), [], 1] call CBA_fnc_waitAndExecute; [FUNC(mainLoop), [], 1] call CBA_fnc_waitAndExecute;
private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull]; private _staminaBarContainer = uiNamespace getVariable [QGVAR(staminaBarContainer), controlNull];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Initializes the module settings. * Initializes the module settings.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_logic"]; params ["_logic"];
[_logic, QGVAR(enabled), "Enabled"] call EFUNC(common,readSettingFromModule); [_logic, QGVAR(enabled), "Enabled"] call EFUNC(common,readSettingFromModule);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: BaerMitUmlaut * Author: BaerMitUmlaut
* Removes a duty factor. * Removes a duty factor.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params [["_id", "", [""]]]; params [["_id", "", [""]]];
GVAR(dutyList) params ["_idList", "_factorList"]; GVAR(dutyList) params ["_idList", "_factorList"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Jonpas * Author: Jonpas
* Checks if a throwable can be prepared. * Checks if a throwable can be prepared.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", ["_ignoreLastThrownTime", false]]; params ["_unit", ["_ignoreLastThrownTime", false]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Jonpas * Author: Jonpas
* Checks if a throwable can be thrown. * Checks if a throwable can be thrown.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit"]; params ["_unit"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Zapat, Dslyecxi, Jonpas * Author: Zapat, Dslyecxi, Jonpas
* Draws throw arc. * Draws throw arc.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
// Disable drawing when intersecting with the vehicle // Disable drawing when intersecting with the vehicle
if !([ACE_player] call FUNC(canThrow)) exitWith { if !([ACE_player] call FUNC(canThrow)) exitWith {

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas, SilentSpike * Author: Dslyecxi, Jonpas, SilentSpike
* Handles drawing the currently selected or cooked throwable. * Handles drawing the currently selected or cooked throwable.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if (dialog || {!(ACE_player getVariable [QGVAR(inHand), false])} || {!([ACE_player, true] call FUNC(canPrepare))}) exitWith { if (dialog || {!(ACE_player getVariable [QGVAR(inHand), false])} || {!([ACE_player, true] call FUNC(canPrepare))}) exitWith {
[ACE_player, "In dialog or no throwable in hand or cannot prepare throwable"] call FUNC(exitThrowMode); [ACE_player, "In dialog or no throwable in hand or cannot prepare throwable"] call FUNC(exitThrowMode);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Exits throw mode. * Exits throw mode.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", "_reason"]; params ["_unit", "_reason"];
TRACE_2("params",_unit,_reason); TRACE_2("params",_unit,_reason);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: PabstMirror * Author: PabstMirror
* Retrieve muzzle name from config. * Retrieve muzzle name from config.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_magazineClassname"]; params ["_magazineClassname"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Jonpas * Author: Jonpas
* Initializes the Advanced Throwing module. * Initializes the Advanced Throwing module.
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_logic", "_units", "_activated"]; params ["_logic", "_units", "_activated"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Key down event. * Key down event.
@ -17,7 +18,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {false}; if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {false};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Mouse button down event. * Mouse button down event.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {}; if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Mouse scroll wheel changed event. * Mouse scroll wheel changed event.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {}; if !(ACE_player getVariable [QGVAR(inHand), false]) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Jonpas * Author: Jonpas
* Picks up a throwable from the ground. * Picks up a throwable from the ground.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_helper", "_unit"]; params ["_helper", "_unit"];
TRACE_2("params",_helper,_unit); TRACE_2("params",_helper,_unit);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Prepares throwable or selects the next. * Prepares throwable or selects the next.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit"]; params ["_unit"];
TRACE_1("params",_unit); TRACE_1("params",_unit);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Primes the throwable, creates global throwable vehicle and throws Fired XEH. * Primes the throwable, creates global throwable vehicle and throws Fired XEH.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit", ["_showHint", false]]; params ["_unit", ["_showHint", false]];
TRACE_2("params",_unit,_showHint); TRACE_2("params",_unit,_showHint);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: PabstMirror, Jonpas * Author: PabstMirror, Jonpas
* When interact_menu starts rendering (from "interact_keyDown" event). * When interact_menu starts rendering (from "interact_keyDown" event).
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
[{ [{
params ["_args", "_idPFH"]; params ["_args", "_idPFH"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dslyecxi, Jonpas * Author: Dslyecxi, Jonpas
* Throw selected throwable. * Throw selected throwable.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_unit"]; params ["_unit"];
TRACE_1("params",_unit); TRACE_1("params",_unit);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: CBA Team * Author: CBA Team
* Throws Fired XEH. * Throws Fired XEH.
@ -19,7 +20,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
TRACE_1("Fired",_this); TRACE_1("Fired",_this);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Jonpas * Author: Jonpas
* Updates controls hints based on current state. * Updates controls hints based on current state.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if (!GVAR(showMouseControls)) exitWith {}; if (!GVAR(showMouseControls)) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: alganthe * Author: alganthe
* Garrison function used to garrison AI inside buildings. * Garrison function used to garrison AI inside buildings.
@ -19,7 +20,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [["_startingPos",[0,0,0], [[]], 3], ["_buildingTypes", ["Building"], [[]]], ["_unitsArray", [], [[]]], ["_fillingRadius", 50, [0]], ["_fillingType", 0, [0]], ["_topDownFilling", false, [true]], ["_teleport", false, [true]]]; params [["_startingPos",[0,0,0], [[]], 3], ["_buildingTypes", ["Building"], [[]]], ["_unitsArray", [], [[]]], ["_fillingRadius", 50, [0]], ["_fillingType", 0, [0]], ["_topDownFilling", false, [true]], ["_teleport", false, [true]]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: alganthe * Author: alganthe
* Internal function used by ace_ai_fnc_garrison to make the units move to the positions it picked. * Internal function used by ace_ai_fnc_garrison to make the units move to the positions it picked.
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params [ ["_unitMoveList", nil, [[]]] ]; params [ ["_unitMoveList", nil, [[]]] ];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: alganthe * Author: alganthe
* Used to un-garrison units. * Used to un-garrison units.
@ -14,7 +15,6 @@
* Public: Yes * Public: Yes
* *
*/ */
#include "script_component.hpp"
params [["_units", [], [[]]]]; params [["_units", [], [[]]]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dystopian * Author: Dystopian
* Check if Eject action can be shown. * Check if Eject action can be shown.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#define FULLCREW_UNIT 0 #define FULLCREW_UNIT 0
#define FULLCREW_ROLE 1 #define FULLCREW_ROLE 1

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dystopian * Author: Dystopian
* Add Eject action to vehicle if needed. * Add Eject action to vehicle if needed.
@ -13,7 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_vehicle"]; params ["_vehicle"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dedmen * Author: Dedmen
* Add a listbox row. * Add a listbox row.
@ -13,8 +14,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params ["_configCategory", "_className", "_ctrlPanel", ["_pictureEntryName", "picture", [""]]]; params ["_configCategory", "_className", "_ctrlPanel", ["_pictureEntryName", "picture", [""]]];
private _cacheNamespace = _ctrlPanel; //For better readability. private _cacheNamespace = _ctrlPanel; //For better readability.

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Add a stat to ACE Arsenal. * Add a stat to ACE Arsenal.
@ -29,7 +30,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [ params [
["_tabs", [[], []], [[]], 2], ["_tabs", [[], []], [[]], 2],
["_class", "", [""]], ["_class", "", [""]],

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe, Dedmen * Author: Alganthe, Dedmen
* Add virtual items to the provided target. * Add virtual items to the provided target.
@ -16,8 +18,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params [["_object", objNull, [objNull]], ["_items", [], [true, []]], ["_global", false, [false]]]; params [["_object", objNull, [objNull]], ["_items", [], [true, []]], ["_global", false, [false]]];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Add or remove item(s) when the + or - button is pressed in the right panel. * Add or remove item(s) when the + or - button is pressed in the right panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_addOrRemove"]; params ["_display", "_addOrRemove"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Clear the current container. * Clear the current container.
@ -10,8 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display"]; params ["_display"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Export current loadout / default loadouts list to clipboard. * Export current loadout / default loadouts list to clipboard.
@ -10,7 +11,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_display"]; params ["_display"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Hide / show arsenal interface. * Hide / show arsenal interface.
@ -10,8 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display"]; params ["_display"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Import loadout / default loadouts list from clipboard. * Import loadout / default loadouts list from clipboard.
@ -10,8 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display"]; params ["_display"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Delete / unshare loadout currently selected. * Delete / unshare loadout currently selected.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Load selected loadout. * Load selected loadout.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Rename selected loadout. * Rename selected loadout.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Save selected loadout. * Save selected loadout.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Share selected loadout. * Share selected loadout.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Toggle the stats control group * Toggle the stats control group
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display"]; params ["_display"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles the previous / next page buttons for stats * Handles the previous / next page buttons for stats
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control", "_nextPage"]; params ["_display", "_control", "_nextPage"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Clear the provided searchbar. * Clear the provided searchbar.
@ -12,8 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control", "_rightButton"]; params ["_display", "_control", "_rightButton"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Create the internal stats arrays when needed for the first time * Create the internal stats arrays when needed for the first time
@ -10,7 +11,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
if (!isNil QGVAR(statsListLeftPanel)) exitWith {}; if (!isNil QGVAR(statsListLeftPanel)) exitWith {};

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Fill left panel. * Fill left panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Fill loadouts list. * Fill loadouts list.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Fill right panel. * Fill right panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles keyboard inputs inside the searchbars text boxes. * Handles keyboard inputs inside the searchbars text boxes.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Karel Moricky, modified by Alganthe * Author: Karel Moricky, modified by Alganthe
* Update the camera position and pitch/bank. * Update the camera position and pitch/bank.
@ -15,8 +17,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["", "_args"]; params ["", "_args"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handle the mouse wheel. * Handle the mouse wheel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["", "_args"]; params ["", "_args"];
_args params ["", "_zPos"]; _args params ["", "_zPos"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles keyboard inputs inside the searchbars text boxes. * Handles keyboard inputs inside the searchbars text boxes.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles the stats control group * Handles the stats control group
@ -13,8 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control", "_curSel", "_itemCfg"]; params ["_display", "_control", "_curSel", "_itemCfg"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Initialize a box / object for arsenal. * Initialize a box / object for arsenal.
@ -16,7 +17,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [["_object", objNull, [objNull]], ["_items", true, [[], true]], ["_global", true, [true]]]; params [["_object", objNull, [objNull]], ["_items", true, [[], true]], ["_global", true, [true]]];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Update arsenal's info box. * Update arsenal's info box.
@ -13,8 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control", "_curSel" ,"_itemCfg"]; params ["_display", "_control", "_curSel" ,"_itemCfg"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles tab changing for the loadouts display. * Handles tab changing for the loadouts display.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control"]; params ["_display", "_control"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Displays messages in arsenal. * Displays messages in arsenal.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_message"]; params ["_display", "_message"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* onUnLoad EH for arsenal. * onUnLoad EH for arsenal.
@ -10,7 +11,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
(_this select 1) params ["", "_exitCode"]; (_this select 1) params ["", "_exitCode"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* onLoad EH for arsenal. * onLoad EH for arsenal.
@ -12,8 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["", "_args"]; params ["", "_args"];
_args params ["_display"]; _args params ["_display"];

View File

@ -1,3 +1,6 @@
#include "script_component.hpp"
#include "..\defines.hpp"
#include "\A3\ui_f\hpp\defineDIKCodes.inc"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles keyboard inputs in arsenal. * Handles keyboard inputs in arsenal.
@ -14,9 +17,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
#include "\A3\ui_f\hpp\defineDIKCodes.inc"
params ["", "_args"]; params ["", "_args"];
_args params ["_display", "_keyPressed", "_shiftState", "_ctrlState", "_altState"]; _args params ["_display", "_keyPressed", "_shiftState", "_ctrlState", "_altState"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* onUnLoad EH for arsenal loadouts display. * onUnLoad EH for arsenal loadouts display.
@ -10,8 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
GVAR(currentLoadoutsTab) = nil; GVAR(currentLoadoutsTab) = nil;

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* onLoad EH for arsenal loadouts display. * onLoad EH for arsenal loadouts display.
@ -12,8 +14,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["", "_args"]; params ["", "_args"];
_args params ["_display"]; _args params ["_display"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles selection changes on the left panel. * Handles selection changes on the left panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_control", "_curSel"]; params ["_control", "_curSel"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles selection changes on loadouts panel. * Handles selection changes on loadouts panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_display", "_control", "_curSel"]; params ["_display", "_control", "_curSel"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles selection changes on the right panel. * Handles selection changes on the right panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_control", "_curSel"]; params ["_control", "_curSel"];

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Handles selection changes on the right panel (listnbox). * Handles selection changes on the right panel (listnbox).
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_control", "_curSel"]; params ["_control", "_curSel"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Replace the 3DEN "edit loadout" menu action * Replace the 3DEN "edit loadout" menu action
@ -11,7 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
private _entity = (uinamespace getvariable ["bis_fnc_3DENEntityMenu_data",[]]) param [1, objnull]; private _entity = (uinamespace getvariable ["bis_fnc_3DENEntityMenu_data",[]]) param [1, objnull];
[_entity, _entity, true] call FUNC(openBox); [_entity, _entity, true] call FUNC(openBox);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Open arsenal. * Open arsenal.
@ -15,7 +16,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [["_object", objNull, [objNull]], ["_center", objNull, [objNull]], ["_mode", false, [false]]]; params [["_object", objNull, [objNull]], ["_center", objNull, [objNull]], ["_mode", false, [false]]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: alganthe * Author: alganthe
* Port VA loadouts to ACE Arsenal. * Port VA loadouts to ACE Arsenal.
@ -10,7 +11,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
private _VALoadouts = +(profilenamespace getvariable ["bis_fnc_saveInventory_data",[]]); private _VALoadouts = +(profilenamespace getvariable ["bis_fnc_saveInventory_data",[]]);
private _aceLoadouts = +(profileNamespace getVariable [QGVAR(saved_loadouts),[]]); private _aceLoadouts = +(profileNamespace getVariable [QGVAR(saved_loadouts),[]]);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Remove arsenal from target. * Remove arsenal from target.
@ -14,7 +15,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [["_object", objNull, [objNull]], ["_global", true, [true]]]; params [["_object", objNull, [objNull]], ["_global", true, [true]]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Remove a stat from ACE Arsenal. * Remove a stat from ACE Arsenal.
@ -13,7 +14,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params ["_IDList"]; params ["_IDList"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Remove virtual items to the provided target. * Remove virtual items to the provided target.
@ -16,7 +17,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params [ ["_object", objNull, [objNull]], ["_items", [], [true, [""]]], ["_global", false, [false]] ]; params [ ["_object", objNull, [objNull]], ["_items", [], [true, [""]]], ["_global", false, [false]] ];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Dedmen * Author: Dedmen
* Cache an array of all the compatible items for arsenal. * Cache an array of all the compatible items for arsenal.
@ -10,7 +11,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
private _cargo = [ private _cargo = [
[[], [], []], // Weapons 0, primary, secondary, handgun [[], [], []], // Weapons 0, primary, secondary, handgun

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Change unit animation / play sound preview. * Change unit animation / play sound preview.
@ -10,8 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
if (GVAR(centerNotPlayer)) exitWith {}; if (GVAR(centerNotPlayer)) exitWith {};

View File

@ -1,3 +1,5 @@
#include "script_component.hpp"
#include "..\defines.hpp"
/* /*
* Author: Alganthe, Dedmen * Author: Alganthe, Dedmen
* Sort arsenal panel. * Sort arsenal panel.
@ -11,8 +13,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
#include "..\defines.hpp"
params ["_control", "_mode"]; params ["_control", "_mode"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Accuracy bar statement. * Accuracy bar statement.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stat", "_config", "_args"]; params ["_stat", "_config", "_args"];
_args params ["_statMinMax", "_barLimits"]; _args params ["_statMinMax", "_barLimits"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Generic bar statement for stats. * Generic bar statement for stats.
@ -15,7 +16,6 @@
* *
* Public: Yes * Public: Yes
*/ */
#include "script_component.hpp"
params ["_stat", "_config", "_args"]; params ["_stat", "_config", "_args"];
_args params ["_statMinMax", "_barLimits", "_configExtremeBool"]; _args params ["_statMinMax", "_barLimits", "_configExtremeBool"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Impact bar statement. * Impact bar statement.
@ -15,7 +16,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stats", "_config", "_args"]; params ["_stats", "_config", "_args"];
_args params ["_hitMinMax", "_initSpeedMinMax", "_launcherTabIDC"]; _args params ["_hitMinMax", "_initSpeedMinMax", "_launcherTabIDC"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Rate of fire bar statement. * Rate of fire bar statement.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stat", "_config", "_args"]; params ["_stat", "_config", "_args"];
_args params ["_statMinMax", "_barLimits"]; _args params ["_statMinMax", "_barLimits"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Accuracy text statement. * Accuracy text statement.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stat", "_config", "_args"]; params ["_stat", "_config", "_args"];
_args params ["_statMinMax", "_configExtremeBool"]; _args params ["_statMinMax", "_configExtremeBool"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Text statement for the mass stat. * Text statement for the mass stat.
@ -11,7 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["", "_config"]; params ["", "_config"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: Alganthe * Author: Alganthe
* Rate of fire text statement. * Rate of fire text statement.
@ -14,7 +15,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["_stat", "_config", "_args"]; params ["_stat", "_config", "_args"];
_args params ["_statMinMax", "_configExtremeBool"]; _args params ["_statMinMax", "_configExtremeBool"];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/* /*
* Author: PabstMirror * Author: PabstMirror
* Text statement for the scope magnification stat. * Text statement for the scope magnification stat.
@ -11,7 +12,6 @@
* *
* Public: No * Public: No
*/ */
#include "script_component.hpp"
params ["", "_config"]; params ["", "_config"];
TRACE_1("statTextStatement_scopeMag",_config); TRACE_1("statTextStatement_scopeMag",_config);

Some files were not shown because too many files have changed in this diff Show More