mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
42 lines
813 B
Plaintext
42 lines
813 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP(handleCamera);
|
|
PREP(handleCompass);
|
|
PREP(handleInterface);
|
|
PREP(handleKilled);
|
|
PREP(handleMouse);
|
|
PREP(handleRespawn);
|
|
PREP(handleToolbar);
|
|
PREP(handleUnits);
|
|
PREP(moduleSpectatorSettings);
|
|
PREP(setCameraAttributes);
|
|
PREP(setSpectator);
|
|
PREP(transitionCamera);
|
|
PREP(toggleInterface);
|
|
PREP(updateUnits);
|
|
|
|
// Permanent variables
|
|
GVAR(camMode) = 0;
|
|
GVAR(camPan) = 0;
|
|
GVAR(camPos) = [worldSize * 0.5,worldSize * 0.5,20];
|
|
GVAR(camSpeed) = 1;
|
|
GVAR(camTilt) = -10;
|
|
GVAR(camUnit) = objNull;
|
|
GVAR(camVision) = -2;
|
|
GVAR(camZoom) = 1.3;
|
|
|
|
GVAR(showComp) = true;
|
|
GVAR(showHelp) = true;
|
|
GVAR(showInterface) = true;
|
|
GVAR(showMap) = false;
|
|
GVAR(showTool) = true;
|
|
GVAR(showUnit) = true;
|
|
|
|
GVAR(unitList) = [];
|
|
GVAR(unitBlacklist) = [];
|
|
GVAR(unitWhitelist) = [];
|
|
|
|
ADDON = true;
|