Path: blob/master/SonicMania/Objects/LRZ/LRZ1Intro.h
338 views
#ifndef OBJ_LRZ1INTRO_H1#define OBJ_LRZ1INTRO_H23#include "Game.h"45#if MANIA_USE_PLUS6// Object Class7struct ObjectLRZ1Intro {8RSDK_OBJECT9uint16 aniFrames;10uint16 sfxSubLand;11uint16 sfxWalkerLegs2;12uint16 sfxLava;13};1415// Entity Class16struct EntityLRZ1Intro {17RSDK_ENTITY18StateMachine(state);19int32 timer;20int32 originY;21int32 spawnPosY;22Vector2 playerOffset[PLAYER_COUNT];23Animator animator;24};2526// Object Struct27extern ObjectLRZ1Intro *LRZ1Intro;2829// Standard Entity Events30void LRZ1Intro_Update(void);31void LRZ1Intro_LateUpdate(void);32void LRZ1Intro_StaticUpdate(void);33void LRZ1Intro_Draw(void);34void LRZ1Intro_Create(void *data);35void LRZ1Intro_StageLoad(void);36#if GAME_INCLUDE_EDITOR37void LRZ1Intro_EditorDraw(void);38void LRZ1Intro_EditorLoad(void);39#endif40void LRZ1Intro_Serialize(void);4142// Extra Entity Functions43void LRZ1Intro_HandlePlayerCollisions(void);44void LRZ1Intro_HandlePlayerMovement(void);45void LRZ1Intro_HandleExplosions(void);46void LRZ1Intro_HandleExplosions(void);4748void LRZ1Intro_State_SetupActors(void);49void LRZ1Intro_State_IntroDelay(void);50void LRZ1Intro_State_EnterSub(void);51void LRZ1Intro_State_RidingSub(void);52void LRZ1Intro_State_CrashedSub(void);53void LRZ1Intro_State_SubSinking(void);5455#endif5657#endif //! OBJ_LRZ1INTRO_H585960