2015-01-18 18:38:27 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
|
|
|
PREP(setToRender);
|
|
|
|
PREP(render);
|
|
|
|
PREP(renderIcon);
|
|
|
|
PREP(renderMenu);
|
|
|
|
PREP(probe);
|
|
|
|
PREP(rotateVectLineGetMap);
|
|
|
|
PREP(rotateVectLine);
|
|
|
|
PREP(keyDown);
|
|
|
|
PREP(keyUp);
|
|
|
|
PREP(compileMenu);
|
2015-01-19 04:08:34 +00:00
|
|
|
PREP(addAction);
|
|
|
|
PREP(removeAction);
|
2015-01-18 18:38:27 +00:00
|
|
|
|
|
|
|
GVAR(toRender) = [];
|
|
|
|
|
|
|
|
GVAR(keyDown) = false;
|
|
|
|
GVAR(keyDownTime) = 0;
|
|
|
|
|
|
|
|
GVAR(lastTime) = diag_tickTime;
|
|
|
|
GVAR(rotationAngle) = 0;
|
|
|
|
|
|
|
|
GVAR(selectedAction) = {};
|
|
|
|
GVAR(actionSelected) = false;
|
|
|
|
GVAR(selectedTarget) = objNull;
|
|
|
|
|
|
|
|
GVAR(filter) = [];
|
|
|
|
|
|
|
|
GVAR(menuDepthPath) = [];
|
|
|
|
GVAR(renderDepth) = 0;
|
|
|
|
GVAR(lastRenderDepth) = 0;
|
|
|
|
GVAR(vecLineMap) = [];
|
|
|
|
GVAR(lastPos) = [0,0,0];
|
|
|
|
|
|
|
|
GVAR(currentOptions) = [];
|
|
|
|
|
|
|
|
GVAR(lastPath) = [];
|
|
|
|
|
|
|
|
GVAR(expanded) = false;
|
|
|
|
|
|
|
|
GVAR(maxRenderDepth) = 0;
|
|
|
|
GVAR(startHoverTime) = diag_tickTime;
|
|
|
|
GVAR(iconCtrls) = [];
|
|
|
|
GVAR(iconCount) = 0;
|
|
|
|
|
|
|
|
GVAR(objectActionsHash) = HASH_CREATE;
|
|
|
|
|
2015-01-19 04:08:34 +00:00
|
|
|
GVAR(uidCounter) = 0;
|
|
|
|
|
2015-01-18 18:38:27 +00:00
|
|
|
ADDON = true;
|