Path: blob/master/SonicMania/Objects/FBZ/FBZSetup.h
338 views
#ifndef OBJ_FBZSETUP_H1#define OBJ_FBZSETUP_H23#include "Game.h"45typedef enum { FBZ_GENERICTRIGGER_EXTERIOR, FBZ_GENERICTRIGGER_INTERIOR } GenericTriggerTypesFBZ;67typedef enum {8FBZ_BG_INSIDE1,9FBZ_BG_INSIDE2,10FBZ_BG_INSIDE1_NOSTORM,11} BGSwitchIDsFBZ;1213typedef enum {14FBZ_DECORATION_BLUEPRINT1,15FBZ_DECORATION_BLUEPRINT2,16} DecorationTypesFBZ;1718typedef enum {19FBZ_PARALLAXSPRITE_CLOUDS,20} ParallaxSpriteAniIDsFBZ;2122// Object Class23struct ObjectFBZSetup {24RSDK_OBJECT25int32 unused;26int32 cylinderAniFrame;27int32 propellerShaftAniFrame;28int32 spiralPlatformAniFrame;29int32 propellerShaftAniFrameUnused;30int32 scanlineDeformX[0x400];31int32 positionYMove[0x400];32int32 scanlinePosY[0x400];33uint16 aniTiles;34uint16 backgroundOutside;35EntityFBZ1Outro *outro;36};3738// Entity Class39struct EntityFBZSetup {40RSDK_ENTITY41};4243// Object Struct44extern ObjectFBZSetup *FBZSetup;4546// Standard Entity Events47void FBZSetup_Update(void);48void FBZSetup_LateUpdate(void);49void FBZSetup_StaticUpdate(void);50void FBZSetup_Draw(void);51void FBZSetup_Create(void *data);52void FBZSetup_StageLoad(void);53#if GAME_INCLUDE_EDITOR54void FBZSetup_EditorDraw(void);55void FBZSetup_EditorLoad(void);56#endif57void FBZSetup_Serialize(void);5859// Extra Entity Functions60void FBZSetup_ActTransitionLoad(void);6162void FBZSetup_AddDynamicBG(ScanlineInfo *scanlines, int32 parallaxFactorX, int32 parallaxFactorY, int32 startLine, int32 lineCount, int32 sourcePosY);63void FBZSetup_Scanline_BGInside(ScanlineInfo *scanlines);6465void FBZSetup_BGSwitch_ShowInside1(void);66void FBZSetup_BGSwitch_ShowInside2(void);67void FBZSetup_BGSwitch_ShowInside1_NoStorm(void);6869void FBZSetup_Trigger_ShowExterior(void);70void FBZSetup_Trigger_ShowInterior(void);7172void FBZSetup_StageFinish_EndAct1(void);73#if MANIA_USE_PLUS74void FBZSetup_StageFinish_EndAct2(void);75#endif7677#endif //! OBJ_FBZSETUP_H787980