From 4befb62b8c9ef0a00ad6a244624f54995c51e182 Mon Sep 17 00:00:00 2001 From: commy2 Date: Wed, 13 Jul 2016 20:03:58 +0200 Subject: [PATCH] remove obsolete unused files --- addons/common/XEH_preStart.sqf | 1 - addons/common/fnc_perFrameEngine.sqf | 17 ----------------- addons/common/init_perFrameHandler.sqf | 2 -- 3 files changed, 20 deletions(-) delete mode 100644 addons/common/fnc_perFrameEngine.sqf diff --git a/addons/common/XEH_preStart.sqf b/addons/common/XEH_preStart.sqf index 285774c12..87c0b5c2d 100644 --- a/addons/common/XEH_preStart.sqf +++ b/addons/common/XEH_preStart.sqf @@ -1,5 +1,4 @@ #include "script_component.hpp" -PREP(perFrameEngine); PREP(onTeamColorChanged); PREP(synchTeamColors); diff --git a/addons/common/fnc_perFrameEngine.sqf b/addons/common/fnc_perFrameEngine.sqf deleted file mode 100644 index 0b733db7b..000000000 --- a/addons/common/fnc_perFrameEngine.sqf +++ /dev/null @@ -1,17 +0,0 @@ -/* ---------------------------------------------------------------------------- -Internal Function: CBA_events_fnc_perFrameEngine - -THIS FUNCTION IS PRIVATE AND NOT FOR USER EXECUTION! - -This file creates two functions, one that executes every frame and is -added to the map control, and the other which spawns up and monitors -for a stoppage of the on frame handler (because alt-tabbing stops its -execution). ----------------------------------------------------------------------------- */ - -#include "script_component.hpp" - -// prepare our handlers list -uiNamespace setVariable ["CBA_PFHIDD", (_this select 0)]; -((_this select 0) displayCtrl 40122) ctrlSetEventHandler ["Draw", QUOTE([_this] call FUNC(onFrame)) ]; - diff --git a/addons/common/init_perFrameHandler.sqf b/addons/common/init_perFrameHandler.sqf index e1a423acf..5e13e3cd0 100644 --- a/addons/common/init_perFrameHandler.sqf +++ b/addons/common/init_perFrameHandler.sqf @@ -16,8 +16,6 @@ GVAR(nextFrameBufferA) = [[[], {GVAR(nextFrameNo) = diag_frameno;}]]; GVAR(nextFrameBufferB) = []; GVAR(waitUntilAndExecArray) = []; -PREP(perFrameEngine); - // per frame handler system FUNC(onFrame) = { private _tickTime = diag_tickTime;