2015-06-29 02:34:21 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2015-07-24 16:13:03 +00:00
|
|
|
PREP(cacheUnitInfo);
|
2015-07-21 12:31:13 +00:00
|
|
|
PREP(cycleCamera);
|
2015-07-15 11:11:19 +00:00
|
|
|
PREP(handleCamera);
|
2015-07-19 01:25:52 +00:00
|
|
|
PREP(handleCompass);
|
2015-07-25 11:28:03 +00:00
|
|
|
PREP(handleIcons);
|
2015-07-15 11:03:54 +00:00
|
|
|
PREP(handleInterface);
|
2015-08-06 12:42:31 +00:00
|
|
|
PREP(handleMap);
|
2015-07-15 11:11:19 +00:00
|
|
|
PREP(handleMouse);
|
2015-07-19 15:35:53 +00:00
|
|
|
PREP(handleToolbar);
|
2015-07-18 15:20:19 +00:00
|
|
|
PREP(handleUnits);
|
2015-08-21 23:26:01 +00:00
|
|
|
PREP(interrupt);
|
2015-07-17 15:02:38 +00:00
|
|
|
PREP(moduleSpectatorSettings);
|
2015-08-04 21:11:34 +00:00
|
|
|
PREP(respawnTemplate);
|
2015-07-20 21:45:28 +00:00
|
|
|
PREP(setCameraAttributes);
|
2015-07-02 23:53:26 +00:00
|
|
|
PREP(setSpectator);
|
2015-08-01 17:10:11 +00:00
|
|
|
PREP(stageSpectator);
|
2015-07-20 21:45:11 +00:00
|
|
|
PREP(transitionCamera);
|
|
|
|
PREP(toggleInterface);
|
2015-07-21 19:19:54 +00:00
|
|
|
PREP(updateCameraModes);
|
2015-07-25 10:32:42 +00:00
|
|
|
PREP(updateSpectatableSides);
|
2015-07-15 13:58:38 +00:00
|
|
|
PREP(updateUnits);
|
2015-07-21 19:19:54 +00:00
|
|
|
PREP(updateVisionModes);
|
2015-07-18 14:52:44 +00:00
|
|
|
|
|
|
|
// Permanent variables
|
2015-07-21 12:31:13 +00:00
|
|
|
GVAR(availableModes) = [0,1,2];
|
2015-07-25 10:32:42 +00:00
|
|
|
GVAR(availableSides) = [west,east,resistance,civilian];
|
2015-07-21 12:31:13 +00:00
|
|
|
GVAR(availableVisions) = [-2,-1,0,1];
|
|
|
|
|
2015-08-04 21:11:34 +00:00
|
|
|
GVAR(camAgent) = objNull;
|
2015-09-09 22:21:49 +00:00
|
|
|
GVAR(camDistance) = 10;
|
2015-07-18 14:52:44 +00:00
|
|
|
GVAR(camMode) = 0;
|
|
|
|
GVAR(camPan) = 0;
|
2015-07-21 17:07:55 +00:00
|
|
|
GVAR(camPos) = ATLtoASL [worldSize * 0.5, worldSize * 0.5, 20];
|
2015-08-08 17:31:37 +00:00
|
|
|
GVAR(camSpeed) = 2.5;
|
2015-07-20 22:20:05 +00:00
|
|
|
GVAR(camTilt) = -10;
|
2015-07-18 14:52:44 +00:00
|
|
|
GVAR(camUnit) = objNull;
|
2015-07-21 10:59:20 +00:00
|
|
|
GVAR(camVision) = -2;
|
2015-07-21 21:56:47 +00:00
|
|
|
GVAR(camZoom) = 1.25;
|
2015-06-29 02:34:21 +00:00
|
|
|
|
2015-08-21 23:26:01 +00:00
|
|
|
GVAR(interrupts) = [];
|
2015-08-03 20:38:44 +00:00
|
|
|
GVAR(isSet) = false;
|
2015-08-02 11:34:35 +00:00
|
|
|
|
2015-07-18 14:42:07 +00:00
|
|
|
GVAR(showComp) = true;
|
|
|
|
GVAR(showHelp) = true;
|
2015-07-24 16:23:25 +00:00
|
|
|
GVAR(showIcons) = true;
|
2015-07-18 14:42:07 +00:00
|
|
|
GVAR(showInterface) = true;
|
|
|
|
GVAR(showMap) = false;
|
|
|
|
GVAR(showTool) = true;
|
|
|
|
GVAR(showUnit) = true;
|
|
|
|
|
2015-07-16 10:15:33 +00:00
|
|
|
GVAR(unitList) = [];
|
|
|
|
GVAR(unitBlacklist) = [];
|
|
|
|
GVAR(unitWhitelist) = [];
|
2015-08-06 12:42:31 +00:00
|
|
|
GVAR(groupList) = [];
|
2015-07-16 10:15:33 +00:00
|
|
|
|
2015-07-04 23:10:01 +00:00
|
|
|
ADDON = true;
|