2015-01-11 18:24:19 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
PREP(rotateVectLineGetMap);
|
|
|
|
PREP(rotateVectLine);
|
|
|
|
PREP(shootRay);
|
|
|
|
PREP(shootCone);
|
|
|
|
PREP(checkLos);
|
|
|
|
|
|
|
|
PREP(findStrongestRay);
|
|
|
|
|
2015-04-14 23:20:03 +00:00
|
|
|
PREP(onLaserDesignatorDraw);
|
|
|
|
|
2015-04-12 01:36:10 +00:00
|
|
|
PREP(seekerFindLaserSpot);
|
|
|
|
PREP(laserOn);
|
|
|
|
PREP(laserOff);
|
|
|
|
PREP(handleLaserOn);
|
|
|
|
PREP(handleLaserOff);
|
|
|
|
|
2015-04-12 18:01:22 +00:00
|
|
|
PREP(drawVisibleLaserTargets);
|
2015-04-12 01:36:10 +00:00
|
|
|
|
2015-01-11 18:24:19 +00:00
|
|
|
PREP(laser_init);
|
2015-04-12 21:03:15 +00:00
|
|
|
PREP(vanillaLaserSeekerHandler);
|
2015-01-11 18:24:19 +00:00
|
|
|
PREP(laserTargetPFH);
|
|
|
|
|
2015-04-12 21:12:21 +00:00
|
|
|
GVAR(VanillaLasers) = [];
|
2015-04-12 18:38:07 +00:00
|
|
|
|
2015-05-01 18:31:37 +00:00
|
|
|
PREP(unitTurretCanLockLaser);
|
|
|
|
PREP(keyLaserCodeUp);
|
|
|
|
PREP(keyLaserCodeDown);
|
|
|
|
|
2015-04-12 18:38:07 +00:00
|
|
|
// Laser default variables
|
2015-04-12 01:36:10 +00:00
|
|
|
ACE_DEFAULT_LASER_CODE = 1001;
|
2015-04-12 18:38:07 +00:00
|
|
|
ACE_DEFAULT_LASER_WAVELENGTH = 1550;
|
|
|
|
ACE_DEFAULT_LASER_BEAMSPREAD = 1;
|
2015-04-12 01:36:10 +00:00
|
|
|
|
|
|
|
GVAR(laserEmitters) = HASH_CREATE;
|