2015-01-18 21:50:45 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-01-29 07:38:46 +00:00
|
|
|
ADDON = false;
|
|
|
|
|
2015-09-29 17:51:41 +00:00
|
|
|
// effects
|
|
|
|
PREP(applyDirtEffect);
|
|
|
|
PREP(applyDustEffect);
|
|
|
|
PREP(applyGlassesEffect);
|
|
|
|
PREP(applyRainEffect);
|
|
|
|
PREP(removeDirtEffect);
|
|
|
|
PREP(removeDustEffect);
|
|
|
|
PREP(removeGlassesEffect);
|
|
|
|
PREP(removeRainEffect);
|
|
|
|
|
2015-09-29 19:28:57 +00:00
|
|
|
// public
|
2015-09-29 17:51:41 +00:00
|
|
|
PREP(externalCamera);
|
|
|
|
PREP(isDivingGoggles);
|
|
|
|
PREP(isGogglesVisible);
|
2015-09-29 19:28:57 +00:00
|
|
|
|
|
|
|
// general
|
|
|
|
PREP(clearGlasses);
|
|
|
|
PREP(dustHandler);
|
2015-09-29 17:51:41 +00:00
|
|
|
PREP(getExplosionIndex);
|
2015-09-29 19:28:57 +00:00
|
|
|
PREP(isInRotorWash);
|
2015-09-29 17:51:41 +00:00
|
|
|
|
|
|
|
// eventhandlers
|
2015-09-29 14:22:57 +00:00
|
|
|
PREP(handleExplosion);
|
|
|
|
PREP(handleFired);
|
|
|
|
PREP(handleKilled);
|
|
|
|
|
|
|
|
|
2015-01-18 21:50:45 +00:00
|
|
|
|
|
|
|
PREP(checkGoggles);
|
|
|
|
PREP(onEachFrame);
|
|
|
|
|
2015-01-29 07:38:46 +00:00
|
|
|
|
2015-09-29 19:28:57 +00:00
|
|
|
|
2015-01-29 07:38:46 +00:00
|
|
|
ADDON = true;
|