mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Clean unused privates
This commit is contained in:
parent
c27d84e382
commit
d5db268fc0
@ -9,8 +9,6 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_return"];
|
||||
|
||||
PARAMS_1(_unit);
|
||||
|
||||
(((_unit getvariable [QGVAR(canInteract),0]) < 1) && ([_unit] call FUNC(isAwake)) && !([_unit] call FUNC(isArrested)))
|
@ -14,7 +14,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_adjustSpeed", "_vdir", "_dir", "_up", "_l", "_r", "_vup", "_vel", "_vlat"];
|
||||
private ["_adjustSpeed", "_vdir", "_dir", "_up", "_vup", "_vel", "_vlat"];
|
||||
|
||||
PARAMS_3(_projectile,_adjustDir,_adjustUp);
|
||||
|
||||
|
@ -12,7 +12,7 @@
|
||||
#define DEFAULT_LOGGING_LEVEL -1
|
||||
#define DEFAULT_TEXT_DISPLAY -1
|
||||
|
||||
private ["_level", "_prefix", "_defaultLoglevel","_defaultLogDisplayLevel", "_message", "_from"];
|
||||
private ["_level", "_prefix", "_defaultLoglevel","_defaultLogDisplayLevel", "_message"];
|
||||
PARAMS_1(_msg);
|
||||
_level = if (count _this > 1) then {_this select 1} else { 2 };
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "script_component.hpp"
|
||||
|
||||
PARAMS_2(_vehicle,_position);
|
||||
private ["_turrets", "_turret", "_config", "_turret", "_povPos", "_povDir", "_gunBeginPos", "_gunEndPos", "_pov", "_gunBeg", "_gunEnd", "_pipDir"];
|
||||
private ["_turret", "_povPos", "_povDir", "_gunBeginPos", "_gunEndPos", "_pov", "_gunBeg", "_gunEnd", "_pipDir"];
|
||||
|
||||
_turret = [_vehicle, _position] call CBA_fnc_getTurret;
|
||||
_pov = getText (_turret >> "memoryPointGunnerOptics");
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_return"];
|
||||
PARAMS_1(_unit);
|
||||
|
||||
(!(_unit getvariable ["ACE_isUnconscious",false]) && alive _unit && !(_unit getvariable ["ACE_isDead",false]));
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_unit","_moveTo","_previousGroup","_newGroup", "_currentGroup", "_switchToGroup"];
|
||||
private ["_unit","_moveTo","_previousGroup","_newGroup", "_currentGroup"];
|
||||
_unit = [_this, 0,ObjNull,[ObjNull]] call BIS_fnc_Param;
|
||||
_moveTo = [_this, 1,false,[false]] call BIS_fnc_Param;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
*/
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_name", "_actionsVar", "_actionID", "_actions", "_currentID", "_actionIDs", "_count"];
|
||||
private ["_name", "_actionsVar", "_actionID", "_actions", "_currentID", "_actionIDs"];
|
||||
|
||||
PARAMS_3(_unit,_action,_id);
|
||||
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_oldUnit","_sets"];
|
||||
|
||||
PARAMS_1(_unit);
|
||||
|
||||
_unit setvariable ["ACE_isDead",nil,true];
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#include "script_component.hpp"
|
||||
|
||||
private ["_update","_global","_definedVariable","_defaultGlobal","_currentValue"];
|
||||
private ["_global","_definedVariable"];
|
||||
|
||||
PARAMS_3(_unit,_variable,_value);
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
PARAMS_2(_name,_args);
|
||||
|
||||
private["_ttl", "_eventData", "_internalData", "_eventLog"];
|
||||
private["_ttl", "_eventData"];
|
||||
|
||||
if( (count _this) > 2) then {
|
||||
_ttl = _this select 2;
|
||||
|
@ -7,7 +7,7 @@ if(!isServer) exitWith { false };
|
||||
// @TODO: This should be iteration limited to prevent FPS lag
|
||||
private["_data"];
|
||||
{
|
||||
private["_data", "_ttl", "_eventLog", "_newEventLog", "_name", "_globalEventTTL"];
|
||||
private["_data", "_eventLog", "_newEventLog", "_name", "_globalEventTTL"];
|
||||
_name = _x;
|
||||
|
||||
_data = HASH_GET(GVAR(syncedEvents),_name);
|
||||
|
@ -1,7 +1,7 @@
|
||||
//#define DEBUG_MODE_FULL
|
||||
#include "script_component.hpp"
|
||||
|
||||
private["_lastTime", "_lastRealTime", "_lastVirtualTime", "_lastGameTime", "_delta"];
|
||||
private["_lastRealTime", "_lastGameTime", "_delta"];
|
||||
|
||||
_lastRealTime = ACE_realTime;
|
||||
_lastGameTime = ACE_gameTime;
|
||||
|
Loading…
Reference in New Issue
Block a user