Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Fix error line numbers being wrong #139

Merged
merged 1 commit into from
Oct 5, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_addActions.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Adds the child actions.
Expand All @@ -14,7 +15,6 @@
* Public: No
*/

#include "script_component.hpp"

params ["_player"];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_addDeployHandler.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Cuel, mharis001
* Adds a custom deploy handler.
Expand All @@ -15,7 +16,6 @@
*
* Public: Yes
*/
#include "script_component.hpp"

params [["_code", {}, [{}]]];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_axisLengths.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Gets the longest axis of the bounding box of the given object.
Expand All @@ -14,7 +15,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params [["_object", objNull, [objNull]]];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_buildLocationModule.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: PabstMirror
* Handles build location module
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_logic"];
TRACE_1("buildLocations",_logic);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_canFortify.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Checks whether the given player can fortify.
Expand All @@ -15,7 +16,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params ["_player", ["_cost", 0]];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_deployConfirm.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Confirms the deployment.
Expand All @@ -14,7 +15,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_unit", "_object"];
TRACE_2("deployConfirm",_unit,_object);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_deployObject.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Deploys the object to the player for them to move it around.
Expand All @@ -16,7 +17,6 @@
* Public: No
*/

#include "script_component.hpp"

params ["", "_player", "_params"];
_params params [["_side", sideUnknown, [sideUnknown]], ["_classname", "", [""]], ["_rotations", [0,0,0]]];
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_getBudget.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Gets the budget for the given side.
Expand All @@ -14,7 +15,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params ["_side"];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_getCost.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Gets the cost for the given side and classname.
Expand All @@ -15,7 +16,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params ["_side", "_classname"];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_getPlaceableSet.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Gets placeable object classnames and values.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_preset"];
TRACE_1("getPlaceableSet",_preset);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_handleChatCommand.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Handles the chat command usage by admin.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_args"];
TRACE_1("handleChatCommand",_args);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_handleScrollWheel.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Handles the object direction.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

if (GVAR(isPlacing) != PLACE_WAITING) exitWith {false};

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_modifyAction.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: PabstMirror
* Modifies the fortify action, shows current budget.
Expand All @@ -16,7 +17,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["", "_player", "", "_actionData"];

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_parseSide.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Parses the given text and returns a side.
Expand All @@ -16,7 +17,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params ["_side"];
TRACE_1("parseSide",_side);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_registerObjects.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Registers the given objects in the given side's player interaction menu.
Expand All @@ -19,7 +20,6 @@
* Public: Yes
*/

#include "script_component.hpp"

if (!isServer) exitWith {};

Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_setupModule.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: PabstMirror
* Handles setup module.
Expand All @@ -15,7 +16,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_logic", "", "_activated"];
TRACE_2("setupModule",_logic,_activated);
Expand Down
2 changes: 1 addition & 1 deletion addons/fortify/functions/fnc_updateBudget.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Kingsley
* Updates the given sides budget.
Expand All @@ -16,7 +17,6 @@
* Public: Yes
*/

#include "script_component.hpp"

params [["_side", sideUnknown, [sideUnknown]], ["_change", 0, [0]], ["_hint", true, [true]]];
TRACE_3("updateBudget",_side,_change,_hint);
Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_endMissionNoPlayers.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Ends mission on server if no players are connected.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

// Exit if players connected
if !(call CBA_fnc_players isEqualTo []) exitWith {
Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_handleConnectHC.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Registers connected Headless Client for use.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_headlessClient"];

Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_handleDisconnect.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Removes Headless Client from use.
Expand All @@ -14,7 +15,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_object"];
TRACE_1("HandleDisconnect",_this);
Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_handleSpawn.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Handles AI spawn and requests a rebalance if applicable.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_object"];
TRACE_1("Spawn",_object);
Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_moduleInit.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Initializes the Headless module.
Expand All @@ -12,7 +13,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_logic", "", "_activated"];

Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_rebalance.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Rebalance AI groups accross HCs.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_force"];

Expand Down
2 changes: 1 addition & 1 deletion addons/headless/functions/fnc_transferGroups.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Transfers AI groups to Headess Client(s).
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_force"];

Expand Down
2 changes: 1 addition & 1 deletion addons/killtracker/XEH_postInit.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: PabstMirror
* Tracks deaths/kills and logs to the end mission disaplay
Expand All @@ -15,7 +16,6 @@
* Public: No
*/
// #define DEBUG_MODE_FULL
#include "script_component.hpp"

// place the following in a misison's description.ext:
/*
Expand Down
2 changes: 1 addition & 1 deletion addons/sitting/functions/fnc_addSitActions.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Adds sit actions.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_seat"];

Expand Down
2 changes: 1 addition & 1 deletion addons/sitting/functions/fnc_canSit.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Check if the player can sit down.
Expand All @@ -14,7 +15,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_seat", "_player"];

Expand Down
2 changes: 1 addition & 1 deletion addons/sitting/functions/fnc_canStand.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Check if the player can stand up (is in sitting position).
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_player"];

Expand Down
2 changes: 1 addition & 1 deletion addons/sitting/functions/fnc_getRandomAnimation.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Gets a random animations from the list.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

// Select random animation from Animations Pool
selectRandom [
Expand Down
2 changes: 1 addition & 1 deletion addons/sitting/functions/fnc_handleInterrupt.sqf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "script_component.hpp"
/*
* Author: Jonpas
* Handles interruptions of sitting, like killed or unconsciousness.
Expand All @@ -13,7 +14,6 @@
*
* Public: No
*/
#include "script_component.hpp"

params ["_player"];

Expand Down
Loading