Path: blob/master/SonicMania/Objects/PGZ/PSZLauncher.h
338 views
#ifndef OBJ_PSZLAUNCHER_H1#define OBJ_PSZLAUNCHER_H23#include "Game.h"45// Object Class6struct ObjectPSZLauncher {7RSDK_OBJECT8TABLE(int32 heightTable[33], { 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 15, 15, 16, 16, 0 });9Hitbox hitboxLaunch;10uint16 aniFrames;11};1213// Entity Class14struct EntityPSZLauncher {15RSDK_ENTITY16StateMachine(state);17uint8 stoodPlayers;18uint8 activePlayers;19Animator animator;20uint8 power;21};2223// Object Struct24extern ObjectPSZLauncher *PSZLauncher;2526// Standard Entity Events27void PSZLauncher_Update(void);28void PSZLauncher_LateUpdate(void);29void PSZLauncher_StaticUpdate(void);30void PSZLauncher_Draw(void);31void PSZLauncher_Create(void *data);32void PSZLauncher_StageLoad(void);33#if GAME_INCLUDE_EDITOR34void PSZLauncher_EditorDraw(void);35void PSZLauncher_EditorLoad(void);36#endif37void PSZLauncher_Serialize(void);3839// Extra Entity Functions40void PSZLauncher_DebugSpawn(void);41void PSZLauncher_DebugDraw(void);4243void PSZLauncher_HandlePlayerCollisions(void);44void PSZLauncher_HandlePlayerInteractions(void);45void PSZLauncher_State_Init(void);46void PSZLauncher_State_Active(void);4748#endif //! OBJ_PSZLAUNCHER_H495051