2024-01-10 00:56:08 +01:00
|
|
|
/// @file script_api/common.h
|
|
|
|
/// EVT scripting API functions available at all times.
|
|
|
|
/// @sa script_api/battle.h script_api/map.h
|
|
|
|
|
|
|
|
// Command for reading all declarations in a source file:
|
|
|
|
// $ cat src/evt/*.c | grep "ApiStatus [^{]*" -o | sed "s/ $/;/"
|
|
|
|
|
2020-10-19 23:58:57 +02:00
|
|
|
#ifndef _SCRIPT_API_COMMON_H_
|
|
|
|
#define _SCRIPT_API_COMMON_H_
|
|
|
|
|
2024-01-21 21:37:36 +01:00
|
|
|
#include "../common.h"
|
2021-10-25 13:44:55 +02:00
|
|
|
#include "macros.h"
|
2020-10-19 23:58:57 +02:00
|
|
|
|
2024-01-10 00:56:08 +01:00
|
|
|
/// @{
|
|
|
|
/// @name Map
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(TranslateModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RotateModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ScaleModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetModelIndex);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InvalidateModelTransform);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CloneModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetModelCenter);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetTexPanner);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCustomGfxEnabled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetModelCustomGfx);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetModelTexVariant);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableTexPanning);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetGroupVisibility);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetTexPanOffset);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCustomGfx);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCustomGfxBuilders);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetModelFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeTransformGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetTransformGroupEnabled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(TranslateGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RotateGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ScaleGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetTransformGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableGroup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeLocalVertexCopy);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ModifyColliderFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ResetFromLava);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetColliderCenter);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ParentColliderToModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UpdateColliderTransform);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetZoneEnabled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GotoMap);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GotoMapSpecial);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GotoMapByID);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetEntryID);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetMapID);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetLoadType);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetRenderMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAtModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAtCollider);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Animated Model
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InitAnimatedModels);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(LoadAnimatedModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(LoadAnimatedMesh);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayModelAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayModelAnimationStartingFrom);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ChangeModelAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatedModelRootPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAnimatedModelRootPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddAnimatedModelRootPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatedModelRootRotation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatedModelRootScale);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatedModelRenderMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DeleteAnimatedModel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatorFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAnimatedNodePosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAnimatedNodeRotation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAnimatedPositionByTreeIndex);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAnimatedRotationByTreeIndex);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetAnimatedNodeFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Camera
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamEnabled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamNoDraw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamPerspective);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CA90C);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CA988);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamViewport);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CABE8);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CACC0);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamBGColor);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CAE50);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamTarget);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InterpCamTargetPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShakeCam);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamLeadPlayer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CB710);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PanToTarget);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseSettingsFrom);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(LoadSettings);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamType);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamPitch);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamDistance);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamPosA);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamPosB);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamPosC);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPanTarget);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamType);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamPitch);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamDistance);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamPosA);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamPosB);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamPosC);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(WaitForCam);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetCamProperties);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AdjustCam);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ResetCam);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name NPC
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CreateNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DeleteNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNpcPointer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcRotation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcRotationPivot);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcScale);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcCollisionSize);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcJumpscale);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNpcAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcAnimationSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcMoveTo);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcJump0);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcJump1);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcFlyTo);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNpcYaw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcYaw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InterpNpcYaw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcFacePlayer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcFaceNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcFlagBits);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNpcPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcCollisionChannel);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcSprite);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableNpcShadow);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableNpcBlur);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClearPartnerMoveHistory);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(NpcSetHomePosToCurrent);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPartnerPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DisablePartnerAI);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnablePartnerAI);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CF54C);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802CF56C);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BringPartnerOut);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PutPartnerAway);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCurrentPartnerID);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PartnerCanUseAbility);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PartnerIsFlying);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcImgFXParams);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcImgFXFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcPaletteSwapMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcPaletteSwapLower);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcPaletteSwapping);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcDecoration);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAtNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcRenderMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Encounter
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetEncounterStatusFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(IsStartingConversation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_80044238);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(LoadDemoBattle);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_80044290);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeNpcs);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveEncounter);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetBattleOutcome);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_800445A8);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_800445D4);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetOwnerEncounterTrigger);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DoNpcDefeat);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(StartBattle);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(StartBattleWith);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(StartBossBattle);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetBattleMusic);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcAI);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcIdle);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RestartNpcAI);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableNpcAI);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcAux);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcAux);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RestartNpcAux);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableNpcAux);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcInteract);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcHit);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(BindNpcDefeat);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSelfVar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetSelfVar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetNpcVar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNpcVar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSelfRotation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSelfEnemyFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSelfEnemyFlagBits);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SelfEnemyOverrideSyncPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetSelfNpcID);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClearDefeatedEnemies);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetEnemyFlagBits);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_8004572C);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetSelfAnimationFromTable);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_80045798);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetOwnerInstigatorValue);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetBattleAsScripted);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetEncounterTriggerHitTier);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_80045838);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_800458CC);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(OnPlayerFled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetTattleMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMerleeCoinMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMerleeRanOutMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeInMerlee);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeOutMerlee);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MerleeUpdateFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MerleeStopFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayMerleeGatherFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayMerleeOrbFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMerleeCoinMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMerleeRanOutMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeBackgroundDarken);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeBackgroundLighten);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeInMerlee);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeOutMerlee);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MerleeUpdateFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MerleeStopFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetCamLookAtObjVector);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(HasMerleeCasts);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayMerleeGatherFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayMerleeOrbFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(OnDefeatEnemy);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(OnFleeBattleDrops);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Message
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SpeakToPlayer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EndSpeech);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ContinueSpeech);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SpeakToNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMessageAtScreenPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowMessageAtWorldPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CloseMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SwitchMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowChoice);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CloseChoice);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CancelMessage);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMessageImages);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D0C94);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMessageText);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMessageValue);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Player
|
|
|
|
|
|
|
|
/// Hides the player's shadow if `hide` is `TRUE`, shows it if `FALSE`.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param hide Whether to hide the player's shadow.
|
|
|
|
/// @see disable_player_shadow, enable_player_shadow
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(HidePlayerShadow);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Disables player physics if `disable` is `TRUE`, enables it if `FALSE`.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param disable Whether to disable player physics.
|
|
|
|
/// @see disable_player_static_collisions, enable_player_static_collisions
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DisablePlayerPhysics);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Disables player and partner input, and disables the status menu.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param disable Whether to disable player input.
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DisablePlayerInput);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Sets the player position.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param x
|
|
|
|
/// @param y `-1000` is used for hiding the player.
|
|
|
|
/// @param z
|
|
|
|
/// @see GetPlayerPos
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Overrides the player collision size.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param height
|
|
|
|
/// @param diameter
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerCollisionSize);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Sets the move speed of the player for subequent \ref PlayerMoveTo calls.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param speed Float multiplier.
|
|
|
|
/// @see SetNpcSpeed
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerJumpscale);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerActionState);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerAnimationSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayerMoveTo);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D1270);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D1380);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayerJump);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayerJump1);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayerJump2);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InterpPlayerYaw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayerFaceNpc);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPlayerTargetYaw);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerFlagBits);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPlayerActionState);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPlayerPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPlayerAnimation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FullyRestoreHPandFP);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FullyRestoreSP);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Enables switching to the given partner.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param partnerID The \ref PartnerIDs "partner id" to enable.
|
|
|
|
/// @see DisablePartner
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnablePartner);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Disables switching to the given partner.
|
|
|
|
/// @evtapi
|
|
|
|
/// @param partnerID The \ref PartnerIDs "partner id" to disable.
|
|
|
|
/// @see EnablePartner
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DisablePartner);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseEntryHeading);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D2148);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseExitHeading);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(WaitForPlayerTouchingFloor);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D2484);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(IsPlayerOnValidFloor);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(WaitForPlayerMoveToComplete);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(WaitForPlayerInputEnabled);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UpdatePlayerImgFX);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerImgFXFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FacePlayerTowardPoint);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DisablePulseStone);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetPartnerInUse);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ForceUsePartner);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InterruptUsePartner);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// Enables and disables the 8-bit Mario easter egg.
|
|
|
|
///
|
|
|
|
/// @evtapi
|
|
|
|
/// @param disable Disable the easter egg if `TRUE`, enable it if `FALSE`.
|
|
|
|
///
|
|
|
|
/// Whilst active, the player uses a retro sprite, and the following actions are disabled:
|
|
|
|
/// - Spin dash
|
|
|
|
/// - Hammer
|
|
|
|
/// - Spin jump and tornado jump
|
|
|
|
/// - Menus
|
|
|
|
/// - Partner usage and partner switching
|
|
|
|
///
|
|
|
|
/// @see PA_FLAG_8BIT_MARIO
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(Disable8bitMario);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D2C14);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetPlayerPushVelocity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAtPlayer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Math
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeLerp);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UpdateLerp);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RandInt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAngleBetweenNPCs);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAngleToNPC);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetAngleToPlayer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AwaitPlayerApproach);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(IsPlayerWithin);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AwaitPlayerLeave);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddVectorPolar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D4BDC);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D4C4C);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D4CC4);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D4D14);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D4D88);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
|
|
|
/// @see GetNextPathPos
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(LoadPath);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
|
|
|
/// @see LoadPath
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetNextPathPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetDist2D);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetTimeFreezeMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ModifyGlobalOverrideFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetValueByRef);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetValueByRef);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetGameMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClampAngleInt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClampAngleFloat);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
#ifdef VERSION_PAL
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetLanguage);
|
2024-01-10 00:56:08 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name UI
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableWorldStatusBar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowWorldStatusBar);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowCoinCounter);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Audio
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PollMusicEvents);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RegisterMusicEvents);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeOutMusic);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMusicTrack);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FadeInMusic);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableMusicProximityMix);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AdjustMusicProximityMix);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMusicTrackVolumes);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PopSong);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PushSong);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PopBattleSong);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PushBattleSong);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetBattleSong);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClearAmbientSounds);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlayAmbientSounds);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySound);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundWithVolume);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(StopSound);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(StopTrackingSoundPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseDoorSounds);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseRoomDoorSounds);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(PlaySoundAtF);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Virtual Entity
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InitVirtualEntityList);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CreateVirtualEntityAt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CreateVirtualEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CreateVirtualEntity_ALT);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DeleteVirtualEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityRenderCommands);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetVirtualEntityPosition);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityRotation);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityScale);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityMoveSpeed);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityJumpGravity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(VirtualEntityMoveTo);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(VirtualEntityJumpTo);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(VirtualEntityLandJump);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityFlagBits);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetVirtualEntityRenderMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Item
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowKeyChoicePopup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowConsumableChoicePopup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveKeyItemAt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveItemAt);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddKeyItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CloseChoicePopup);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(HasKeyItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FindKeyItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ClearVariable);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(FindItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(CountFortessKeys);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveFortressKeys);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeItemEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DropItemEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DropResizableItemEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveItemEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddBadge);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveBadge);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetItemPos);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetItemFlags);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetItemAlpha);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddCoin);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddStarPoints);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AddStarPieces);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetItemPower);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowGotItem);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Effect
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowStartRecoveryShimmer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowRecoveryShimmer);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D7690);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowEmote);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(RemoveEffect);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DismissEffect);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DismissItemOutline);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(func_802D7B74);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(InterpMotionBlurParams);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetMotionBlurParams);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowSweat);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(ShowSleepBubble);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSleepBubbleTimeLeft);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-21 14:04:47 +01:00
|
|
|
/// @see PlayEffect
|
|
|
|
API_CALLABLE(PlayEffect_impl);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Entity
|
|
|
|
|
|
|
|
// TODO: document varargs better
|
|
|
|
/// Creates an entity.
|
|
|
|
///
|
|
|
|
/// @evtapi
|
|
|
|
/// @param blueprint Pointer to \ref EntityBlueprint to use.
|
|
|
|
/// @param x
|
|
|
|
/// @param y
|
|
|
|
/// @param z
|
|
|
|
/// @param flags \ref EntityFlags
|
|
|
|
/// @param ... Varargs.
|
|
|
|
/// @param MAKE_ENTITY_END Terminates the varargs.
|
|
|
|
/// @vars{out | LVar0 | Created entity's ID.}
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(MakeEntity);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetEntityCullMode);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(UseDynamicShadow);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignScript);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignSwitchFlag);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignBlockFlag);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignChestFlag);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignPanelFlag);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(AssignCrateFlag);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
2024-01-21 14:04:47 +01:00
|
|
|
/// Removes a trigger previously bound with \ref BindTrigger.
|
2024-01-10 00:56:08 +01:00
|
|
|
/// @evtapi
|
|
|
|
/// @param triggerPtr
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DeleteTrigger);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Sprite shading
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(SetSpriteShading);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(EnableSpriteShading);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @}
|
|
|
|
|
|
|
|
/// @{
|
|
|
|
/// @name Demo
|
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(GetDemoState);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DemoPressButton);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DemoReleaseButton);
|
2024-01-10 00:56:08 +01:00
|
|
|
|
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DemoSetButtons);
|
2020-10-19 23:58:57 +02:00
|
|
|
|
2024-01-10 00:56:08 +01:00
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DemoJoystickRadial);
|
2023-02-18 09:13:07 +01:00
|
|
|
|
2024-01-10 00:56:08 +01:00
|
|
|
/// @evtapi
|
2024-01-16 05:56:57 +01:00
|
|
|
API_CALLABLE(DemoJoystickXY);
|
2021-02-04 17:16:02 +01:00
|
|
|
|
2024-01-10 00:56:08 +01:00
|
|
|
/// @}
|
2021-12-28 18:11:07 +01:00
|
|
|
|
2022-01-16 14:28:09 +01:00
|
|
|
extern EvtScript EnemyNpcHit;
|
|
|
|
extern EvtScript EnemyNpcDefeat;
|
2020-10-19 23:58:57 +02:00
|
|
|
|
|
|
|
#endif
|