// Filename : MESSAGE.H // Coded by : Scott Evans // Created/Modified : 13/6/98 // Description : B2 message system #ifndef _MESSAGE_H_ #define _MESSAGE_H_ #ifdef YAROZE #include #include #else #include #include #include #include #include #include #include #endif #include #include #include #include #include #include #include "bouncer.h" #define MAX_PAGES 10 #define MAX_STRINGS_PER_PAGE 7 enum { MOVE_SCREEN_MESSAGES, ABOUT_B2_MESSAGES, INSTRUCTION_MESSAGES, SAVEGAME_MESSAGES, LOADGAME_MESSAGES, SAVEPROGRESS_MESSAGES, LOADPROGRESS_MESSAGES, FORMAT_MESSAGES, FORMATPROGRESS_MESSAGES, EXITGAME_MESSAGES }; void InitMessageSystem(void); OBJECT_STRING *CreateTextPage(u_byte *[],RECT *,u_word *); void HandleTextPageMessage(OBJECT *); OBJECT_STRING *CreateMessages(u_word,word); void ClearMessages(OBJECT_LIST_HEADER *); void HandleMessageExplosionFragment(OBJECT *); void DisplayMessages(GsOT *,u_word); void KillMessages(void); void StopMessage(OBJECT_STRING *); void StartMessage(OBJECT_STRING *,u_word); void SetMessagePosition(OBJECT_STRING *,BRIGHTNESS *b,word); #endif