ACE3/addons/spectator/XEH_PREP.hpp
SilentSpike 85c5fbabe9 Remove locations tab from spectator (#5431)
* Fix incorrect function input for spectator hiding
* Remove locations tab from spectator

- Doesn't add much value, adds complexity and the implementation is half
baked. Would rather add back in at a later date (if at all) with a
better implementation.
- I have an idea to replace the locations tab with a meta tab so users
can toggle things like projectile drawing via the UI and are not forced
to use a hotkey. Might also be a good place to display the extended controls.
2017-08-17 12:50:43 +01:00

64 lines
1.4 KiB
C++

// Camera functions
PREP(cam);
PREP(cam_prepareTarget);
PREP(cam_resetTarget);
PREP(cam_setCameraMode);
PREP(cam_setTarget);
PREP(cam_setVisionMode);
PREP(cam_tick);
PREP(cam_toggleSlow);
// UI functions
PREP(ui);
PREP(ui_draw3D);
PREP(ui_fadeList);
PREP(ui_getTreeDataIndex);
PREP(ui_handleChildDestroyed);
PREP(ui_handleKeyDown);
PREP(ui_handleKeyUp);
PREP(ui_handleListClick);
PREP(ui_handleMapClick);
PREP(ui_handleMapDraw);
PREP(ui_handleMouseButtonDblClick);
PREP(ui_handleMouseButtonDown);
PREP(ui_handleMouseMoving);
PREP(ui_handleMouseZChanged);
PREP(ui_toggleMap);
PREP(ui_toggleUI);
PREP(ui_updateCamButtons);
PREP(ui_updateHelp);
PREP(ui_updateIconsToDraw);
PREP(ui_updateListEntities);
PREP(ui_updateListFocus);
PREP(ui_updateWidget);
// Utility functions
PREP(compat_counter);
PREP(compat_spectatorBI);
PREP(compat_zeus);
PREP(getGroupIcon);
PREP(getTargetEntities);
PREP(handleFired);
PREP(moduleSpectatorSettings);
PREP(respawnTemplate);
PREP(setFocus);
PREP(stageSpectator);
PREP(switchFocus);
// Public functions
PREP(getCameraAttributes);
PREP(players);
PREP(setCameraAttributes);
PREP(setSpectator);
PREP(updateCameraModes);
PREP(updateSides);
PREP(updateUnits);
PREP(updateVisionModes);
// Deprecated (temp)
PREP(interrupt);
DFUNC(updateSpectatableSides) = {
ACE_DEPRECATED(QFUNC(updateSpectatableSides),"3.12.0",QFUNC(updateSides));
_this call FUNC(updateSides);
};