Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove broken function 'CBA_fnc_peek' #477

Merged
merged 1 commit into from
Aug 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions addons/diagnostic/CfgFunctions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ class CfgFunctions
description = "Logs a message to the RPT log.";
file = "\x\cba\addons\diagnostic\fnc_log.sqf";
};
// CBA_fnc_peek
class peek
{
description = "Peek at variable on the server To receive the variable content back, you will have to [""cba_diagnostics_receive_peak"", {_this call myFunction}] call CBA_fnc_addEventHandler;";
file = "\x\cba\addons\diagnostic\fnc_peek.sqf";
};
// CBA_fnc_test
class test
{
Expand Down
16 changes: 0 additions & 16 deletions addons/diagnostic/XEH_preInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,4 @@ LOG(MSG_INIT);

[QUOTE(GVAR(debug)), { _this call (uiNamespace getVariable "CBA_fnc_debug") }] call (uiNamespace getVariable "CBA_fnc_addEventHandler");

if (SLX_XEH_MACHINE select 3) then
{
FUNC(handle_peak) =
{
params ["_variable"];
if (isNil _variable) then
{
[QUOTE(GVAR(receive_peak)), [_variable, nil]] call (uiNamespace getVariable "CBA_fnc_globalEvent");
} else {
[QUOTE(GVAR(receive_peak)), [_variable, call compile _variable]] call (uiNamespace getVariable "CBA_fnc_globalEvent");
};

};
[QUOTE(GVAR(peek)), { _this call CBA_fnc_handle_peak }] call (uiNamespace getVariable "CBA_fnc_addEventHandler");
};

PREP(perf_loop);
28 changes: 0 additions & 28 deletions addons/diagnostic/fnc_peek.sqf

This file was deleted.