Skip to content

Commit

Permalink
remove deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Jul 30, 2016
1 parent c117a79 commit 05206f4
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 388 deletions.
5 changes: 0 additions & 5 deletions addons/common/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ class Extended_DisplayLoad_EventHandlers {
};

class Extended_InitPost_EventHandlers {
class All {
class GVAR(executePersistent) {
init = QUOTE([_this select 0] call FUNC(executePersistent));
};
};
class CAManBase {
class GVAR(setName) {
init = QUOTE(if (local (_this select 0)) then {[ARR_2(FUNC(setName),_this)] call CBA_fnc_execNextFrame};);
Expand Down
12 changes: 0 additions & 12 deletions addons/common/XEH_PREP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,27 +39,20 @@ PREP(endRadioTransmission);
PREP(eraseCache);
PREP(errorMessage);
PREP(execNextFrame);
PREP(execPersistentFnc);
PREP(execRemoteFnc);
PREP(executePersistent);
PREP(filter);
PREP(findUnloadPosition);
PREP(firedEH);
PREP(fixCollision);
PREP(fixFloating);
PREP(fixLoweredRifleAnimation);
PREP(fixPosition);
PREP(getAllDefinedSetVariables);
PREP(getAllGear);
PREP(getDeathAnim);
PREP(getCaptivityStatus);
PREP(getDefaultAnim);
PREP(getDefinedVariable);
PREP(getDefinedVariableDefault);
PREP(getDefinedVariableInfo);
PREP(getFirstObjectIntersection);
PREP(getFirstTerrainIntersection);
PREP(getForceWalkStatus);
PREP(getGunner);
PREP(getInPosition);
PREP(getMapData);
Expand Down Expand Up @@ -117,7 +110,6 @@ PREP(loadPersonLocal);
PREP(loadSettingsFromProfile);
PREP(loadSettingsOnServer);
PREP(loadSettingsLocalizedText);
PREP(map);
PREP(moduleCheckPBOs);
PREP(moduleLSDVehicles);
PREP(muteUnit);
Expand Down Expand Up @@ -146,12 +138,9 @@ PREP(runAfterSettingsInit);
PREP(sanitizeString);
PREP(sendRequest);
PREP(serverLog);
PREP(setAllGear);
PREP(setApproximateVariablePublic);
PREP(setCaptivityStatus);
PREP(setDefinedVariable);
PREP(setDisableUserInputStatus);
PREP(setForceWalkStatus);
PREP(setHearingCapability);
PREP(setName);
PREP(setParameter);
Expand Down Expand Up @@ -215,7 +204,6 @@ PREP(getVehicleCrew);
PREP(getVehicleUAVCrew);

// turrets
PREP(getTurrets);
PREP(getTurretIndex);
PREP(getTurretConfigPath);
PREP(getTurretGunner);
Expand Down
10 changes: 1 addition & 9 deletions addons/common/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,6 @@ if (isServer) then {
[FUNC(syncedEventPFH), 0.5, []] call CBA_fnc_addPerFrameHandler;
};

// @todo deprecated
QGVAR(remoteFnc) addPublicVariableEventHandler {
(_this select 1) call FUNC(execRemoteFnc);
};

// @todo figure out what this does.
[missionNamespace] call FUNC(executePersistent);


//////////////////////////////////////////////////
// Check files, previous installed version etc.
Expand Down Expand Up @@ -326,7 +318,7 @@ enableCamShake true;

// "playerInventoryChanged" event
["loadout", {
["ace_playerInventoryChanged", [ACE_player, [ACE_player, false] call FUNC(getAllGear)]] call CBA_fnc_localEvent;
["ace_playerInventoryChanged", [ACE_player, [ACE_player, false] call FUNC(getAllGear)]] call CBA_fnc_localEvent; //@todo
}] call CBA_fnc_addPlayerEventHandler;

// "playerVisionModeChanged" event
Expand Down
11 changes: 0 additions & 11 deletions addons/common/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,6 @@ ADDON = false;

#include "XEH_PREP.hpp"

// backwards comp
DFUNC(canUseWeapon) = {
ACE_DEPRECATED("ace_common_fnc_canUseWeapon","3.7.0","CBA_fnc_canUseWeapon");
_this call CBA_fnc_canUseWeapon;
};

DFUNC(selectWeaponMode) = {
ACE_DEPRECATED("ace_common_fnc_selectWeaponMode","3.7.0","CBA_fnc_selectWeapon");
_this call CBA_fnc_selectWeapon;
};

GVAR(syncedEvents) = HASH_CREATE;
GVAR(showHudHash) = [] call FUNC(hashCreate);

Expand Down
53 changes: 0 additions & 53 deletions addons/common/functions/fnc_execPersistentFnc.sqf

This file was deleted.

68 changes: 0 additions & 68 deletions addons/common/functions/fnc_execRemoteFnc.sqf

This file was deleted.

25 changes: 0 additions & 25 deletions addons/common/functions/fnc_executePersistent.sqf

This file was deleted.

31 changes: 0 additions & 31 deletions addons/common/functions/fnc_filter.sqf

This file was deleted.

20 changes: 0 additions & 20 deletions addons/common/functions/fnc_getCaptivityStatus.sqf

This file was deleted.

23 changes: 0 additions & 23 deletions addons/common/functions/fnc_getForceWalkStatus.sqf

This file was deleted.

54 changes: 0 additions & 54 deletions addons/common/functions/fnc_getTurrets.sqf

This file was deleted.

Loading

0 comments on commit 05206f4

Please sign in to comment.