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(handleMouse);
PREP(handleRespawn);
PREP(handleTree);
PREP(handleUnits);
PREP(moduleSpectatorSettings);
PREP(setSpectator);
PREP(updateCamera);
@ -31,5 +31,4 @@ GVAR(unitList) = [];
GVAR(unitBlacklist) = [];
GVAR(unitWhitelist) = [];
ADDON = true;

View File

@ -130,7 +130,7 @@ switch (toLower _mode) do {
(_display displayCtrl IDC_TOOL_VIEW) ctrlSetText (["FREE","FIRST","THIRD"] select GVAR(camMode));
// 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
//_display displayAddEventHandler ["KeyUp", {[_this,'keyup'] call CBA_events_fnc_keyHandler}];
@ -241,6 +241,12 @@ switch (toLower _mode) do {
case 57: { // Spacebar
[[2,0,1] select GVAR(camMode)] call FUNC(updateCamera);
};
case 203: { // Left arrow
};
case 205: { // Right arrow
};
};
true

View File

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