Path: blob/master/SonicMania/Objects/PGZ/PrintBlock.h
338 views
#ifndef OBJ_PRINTBLOCK_H1#define OBJ_PRINTBLOCK_H23#include "Game.h"45typedef enum {6PRINTBLOCK_LETTER_E,7PRINTBLOCK_LETTER_T,8PRINTBLOCK_LETTER_A,9PRINTBLOCK_LETTER_O,10PRINTBLOCK_LETTER_I,11PRINTBLOCK_LETTER_N,12PRINTBLOCK_LETTER_S,13PRINTBLOCK_LETTER_H,14PRINTBLOCK_LETTER_R,15PRINTBLOCK_LETTER_D,16PRINTBLOCK_LETTER_L,17PRINTBLOCK_LETTER_U,18} PrintBlockLetters;1920// Object Class21struct ObjectPrintBlock {22RSDK_OBJECT23Animator animator;24uint16 aniFrames;25uint16 sfxLetter;26};2728// Entity Class29struct EntityPrintBlock {30MANIA_PLATFORM_BASE31uint16 interval;32uint16 intervalOffset;33uint16 duration;34uint8 letter;35};3637// Object Struct38extern ObjectPrintBlock *PrintBlock;3940// Standard Entity Events41void PrintBlock_Update(void);42void PrintBlock_LateUpdate(void);43void PrintBlock_StaticUpdate(void);44void PrintBlock_Draw(void);45void PrintBlock_Create(void *data);46void PrintBlock_StageLoad(void);47#if GAME_INCLUDE_EDITOR48void PrintBlock_EditorDraw(void);49void PrintBlock_EditorLoad(void);50#endif51void PrintBlock_Serialize(void);5253// Extra Entity Functions54void PrintBlock_State_Appear(void);55void PrintBlock_State_Disappear(void);5657#endif //! OBJ_PRINTBLOCK_H585960