mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-03 10:17:59 +03:00
44 lines
No EOL
1.3 KiB
C++
44 lines
No EOL
1.3 KiB
C++
#pragma once
|
|
#include "items.h"
|
|
#include "control/control.h"
|
|
|
|
#define EffectFunction void(ITEM_INFO* item)
|
|
|
|
constexpr auto NUM_FLIPEFFECTS = 47;
|
|
|
|
extern int FlipEffect;
|
|
|
|
extern std::function<EffectFunction> effect_routines[];
|
|
|
|
void AddLeftFootprint(ITEM_INFO* item);
|
|
void AddRightFootprint(ITEM_INFO* item);
|
|
void VoidEffect(ITEM_INFO* item);
|
|
void FinishLevel(ITEM_INFO* item);
|
|
void Turn180(ITEM_INFO* item);
|
|
void FloorShake(ITEM_INFO* item);
|
|
void PlaySoundEffect(ITEM_INFO* item);
|
|
void RubbleFX(ITEM_INFO* item);
|
|
void PoseidonSFX(ITEM_INFO* item);
|
|
void ActivateCamera(ITEM_INFO* item);
|
|
void ActivateKey(ITEM_INFO* item);
|
|
void SwapCrowbar(ITEM_INFO* item);
|
|
void ExplosionFX(ITEM_INFO* item);
|
|
void LaraLocation(ITEM_INFO* item);
|
|
void LaraLocationPad(ITEM_INFO* item);
|
|
void KillActiveBaddies(ITEM_INFO* item);
|
|
void LaraHandsFree(ITEM_INFO* item);
|
|
void ShootRightGun(ITEM_INFO* item);
|
|
void ShootLeftGun(ITEM_INFO* item);
|
|
void SetFog(ITEM_INFO* item);
|
|
void InvisibilityOn(ITEM_INFO* item);
|
|
void InvisibilityOff(ITEM_INFO* item);
|
|
void ResetHair(ITEM_INFO* item);
|
|
void Pickup(ITEM_INFO* item);
|
|
void Puzzle(ITEM_INFO* item);
|
|
void DrawRightPistol(ITEM_INFO* item);
|
|
void DrawLeftPistol(ITEM_INFO* item);
|
|
void MeshSwapToPour(ITEM_INFO* item);
|
|
void MeshSwapFromPour(ITEM_INFO* item);
|
|
void FlashOrange(ITEM_INFO* item);
|
|
|
|
void DoFlipEffect(int number, ITEM_INFO* item = NULL); |