mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
eb557bf777
- Children positions are calculated directly on screen space - Saves a lot of worldToScreen, ATLtoASL, etc calls - Selector is now a control instead of a 3D icon
52 lines
975 B
Plaintext
52 lines
975 B
Plaintext
#include "script_component.hpp"
|
|
|
|
ADDON = false;
|
|
|
|
PREP(addActionToClass);
|
|
PREP(addActionToObject);
|
|
PREP(compileMenu);
|
|
PREP(compileMenuSelfAction);
|
|
PREP(collectActiveActionTree);
|
|
PREP(createAction);
|
|
PREP(findActionNode);
|
|
PREP(isSubPath);
|
|
PREP(keyDown);
|
|
PREP(keyDownSelfAction);
|
|
PREP(keyUp);
|
|
PREP(keyUpSelfAction);
|
|
PREP(removeActionFromClass);
|
|
PREP(removeActionFromObject);
|
|
PREP(render);
|
|
PREP(renderBaseMenu);
|
|
PREP(renderIcon);
|
|
PREP(renderMenu);
|
|
PREP(renderSelector);
|
|
PREP(splitPath);
|
|
|
|
GVAR(keyDown) = false;
|
|
GVAR(keyDownSelfAction) = false;
|
|
GVAR(keyDownTime) = 0;
|
|
|
|
GVAR(lastTime) = diag_tickTime;
|
|
GVAR(rotationAngle) = 0;
|
|
|
|
GVAR(selectedAction) = [[],[]];
|
|
GVAR(actionSelected) = false;
|
|
GVAR(selectedTarget) = objNull;
|
|
|
|
GVAR(menuDepthPath) = [];
|
|
GVAR(lastPos) = [0,0,0];
|
|
|
|
GVAR(currentOptions) = [];
|
|
|
|
GVAR(lastPath) = [];
|
|
|
|
GVAR(expanded) = false;
|
|
|
|
GVAR(startHoverTime) = diag_tickTime;
|
|
GVAR(expandedTime) = diag_tickTime;
|
|
GVAR(iconCtrls) = [];
|
|
GVAR(iconCount) = 0;
|
|
|
|
ADDON = true;
|