Skip to content

Commit

Permalink
Merge pull request #479 from CBATeam/remove-obsolete-opc-opd-sync
Browse files Browse the repository at this point in the history
remove unused, non functional code from networking component, target master
  • Loading branch information
commy2 authored Aug 22, 2016
2 parents 3b63db7 + 62565ce commit cf9e3a4
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 81 deletions.
12 changes: 0 additions & 12 deletions addons/network/CfgEventHandlers.hpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@

class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preStart));
};
};

class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
};
};

class Extended_PostInit_EventHandlers {
class ADDON {
serverInit = QUOTE(call COMPILE_FILE(XEH_postServerInit));
};
};
23 changes: 0 additions & 23 deletions addons/network/XEH_postServerInit.sqf

This file was deleted.

8 changes: 0 additions & 8 deletions addons/network/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,12 @@ ADDON = false;
#endif


// COMPATIBILITY Feature - Make sure Override variables are initialized appropriately for sync broadcast.
ISNIL(timeSync_Disabled,true); // deprecated
ISNIL(weatherSync_Disabled,true);

DEPRECATE(fnc_remoteExecute,fnc_globalExecute);
DEPRECATE(fnc_remoteSay,fnc_globalSay);

// TODO: Add functions that add to opc/opd, instead of direct handling?

if (SLX_XEH_MACHINE select 3) then {
PREP(opc);
PREP(opd);
PREP(sync);

FUNC(id) = { "server" };

// [QGVAR(join), { [QGVAR(opc), _this] call CBA_fnc_localEvent }] call CBA_fnc_addEventHandler;
Expand Down
5 changes: 0 additions & 5 deletions addons/network/XEH_preStart.sqf

This file was deleted.

17 changes: 0 additions & 17 deletions addons/network/fnc_opc.sqf

This file was deleted.

8 changes: 0 additions & 8 deletions addons/network/fnc_opd.sqf

This file was deleted.

8 changes: 0 additions & 8 deletions addons/network/fnc_sync.sqf

This file was deleted.

0 comments on commit cf9e3a4

Please sign in to comment.