Naming consistency

This commit is contained in:
SilentSpike 2015-07-18 16:20:19 +01:00
parent 382c9fbc35
commit bfd9be9ce1
3 changed files with 9 additions and 4 deletions

View File

@ -7,7 +7,7 @@ PREP(handleInterface);
PREP(handleKilled); PREP(handleKilled);
PREP(handleMouse); PREP(handleMouse);
PREP(handleRespawn); PREP(handleRespawn);
PREP(handleTree); PREP(handleUnits);
PREP(moduleSpectatorSettings); PREP(moduleSpectatorSettings);
PREP(setSpectator); PREP(setSpectator);
PREP(updateCamera); PREP(updateCamera);
@ -31,5 +31,4 @@ GVAR(unitList) = [];
GVAR(unitBlacklist) = []; GVAR(unitBlacklist) = [];
GVAR(unitWhitelist) = []; GVAR(unitWhitelist) = [];
ADDON = true; ADDON = true;

View File

@ -130,7 +130,7 @@ switch (toLower _mode) do {
(_display displayCtrl IDC_TOOL_VIEW) ctrlSetText (["FREE","FIRST","THIRD"] select GVAR(camMode)); (_display displayCtrl IDC_TOOL_VIEW) ctrlSetText (["FREE","FIRST","THIRD"] select GVAR(camMode));
// Keep unit tree up to date // Keep unit tree up to date
[FUNC(handleTree), 10] call CBA_fnc_addPerFrameHandler; [FUNC(handleUnits), 10] call CBA_fnc_addPerFrameHandler;
// Hacky way to enable keybindings // Hacky way to enable keybindings
//_display displayAddEventHandler ["KeyUp", {[_this,'keyup'] call CBA_events_fnc_keyHandler}]; //_display displayAddEventHandler ["KeyUp", {[_this,'keyup'] call CBA_events_fnc_keyHandler}];
@ -241,6 +241,12 @@ switch (toLower _mode) do {
case 57: { // Spacebar case 57: { // Spacebar
[[2,0,1] select GVAR(camMode)] call FUNC(updateCamera); [[2,0,1] select GVAR(camMode)] call FUNC(updateCamera);
}; };
case 203: { // Left arrow
};
case 205: { // Right arrow
};
}; };
true true

View File

@ -9,7 +9,7 @@
* None <NIL> * None <NIL>
* *
* Example: * Example:
* [] call ace_spectator_fnc_handleTree; * [ace_spectator_fnc_handleUnits, 10] call CBA_fnc_addPerFrameHandler;
* *
* Public: No * Public: No
*/ */