Clean unused privates

This commit is contained in:
PabstMirror 2015-05-14 17:17:41 -05:00
parent c27d84e382
commit d5db268fc0
12 changed files with 9 additions and 14 deletions

View File

@ -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)))

View File

@ -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);

View File

@ -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 };

View File

@ -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");

View File

@ -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]));

View File

@ -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;

View File

@ -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);

View File

@ -10,8 +10,6 @@
#include "script_component.hpp"
private ["_oldUnit","_sets"];
PARAMS_1(_unit);
_unit setvariable ["ACE_isDead",nil,true];

View File

@ -10,7 +10,7 @@
#include "script_component.hpp"
private ["_update","_global","_definedVariable","_defaultGlobal","_currentValue"];
private ["_global","_definedVariable"];
PARAMS_3(_unit,_variable,_value);

View File

@ -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;

View File

@ -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);

View File

@ -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;