[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: KoffeinFlummi
* Initializes the blue force tracking module.
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_logic"];
[_logic, QGVAR(BFT_Enabled), "Enabled"] call EFUNC(common,readSettingFromModule);

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: ACE-Team
* Update the blue force tracking.
@ -14,9 +15,6 @@
* Public: No
*/
// #define ENABLE_PERFORMANCE_COUNTERS
#include "script_component.hpp"
// BEGIN_COUNTER(blueForceTrackingUpdate);
// Delete last set of markers (always)

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: voiper
* Compile list of flashlight classnames and add to the "Flashlight" parent menu.
@ -16,8 +17,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["", "_player"];
private _actions = [];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Rocko and esteldunedain
* Calculates the current map illumination for a given unit
@ -15,8 +16,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
// Blend two colors

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Rocko
* Calculate the maximum zoom level allowed for the current map
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
private _grids = (configFile >> "CfgWorlds" >> worldName >> "Grid");
private _fourSize = -1;
private _sixSize = -1;

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: voiper
* Add or remove global flashlight glow for when player is looking at map.
@ -16,8 +17,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_unit", "_flashlightType", ["_set", true]];
private _unitLight = _unit getVariable [QGVAR(flashlight), ["", objNull]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: voiper
* Check a unit for any flashlights that can be used on map.
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_unit"];
private _flashlights = [];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: esteldunedain
* Initializes the Map module.
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_logic", "", "_activated"];
if !(_activated) exitWith {};

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: commy2
*
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
((_this select 0) displayCtrl 1016) ctrlShow GVAR(mapShowCursorCoordinates);
// hide clock when no watch in inventory, or whatever never ever

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: voiper
* Draw nearby lighting and sexy flashlight beams on main map.
@ -17,8 +18,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_mapCtrl", "_mapScale", "_mapCentre", "_lightLevel"];
private _unitLight = ACE_player getVariable [QGVAR(flashlight), ["", objNull]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: voioper
* Switch flashlight on/off.
@ -15,8 +16,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_unit", "_newFlashlight"];
private _unitLight = _unit getVariable [QGVAR(flashlight), ["", objNull]];

View File

@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Rocko and esteldunedain
* On map draw, updates the effects
@ -14,8 +15,6 @@
* Public: No
*/
#include "script_component.hpp"
params ["_mapCtrl"];
private _mapScale = ctrlMapScale _mapCtrl;
private _mapCentre = _mapCtrl ctrlMapScreenToWorld [0.5, 0.5];