#pragma once #ifndef BFW_UTILITY_H #define BFW_UTILITY_H #include //#include #include "Daodan.h" //void __cdecl UUrStartupMessage(const char* fmt, ...); typedef struct { int16_t Top; int16_t Left; int16_t Right; int16_t Bottom; } OniRectangle; void* TestContext; //void ONICALL COrTextArea_Print(uint32_t area, uint32_t priority, uint32_t textshade, uint32_t textshadowshade, const char* text, uint32_t unk_alwaws_0, uint32_t fadetime); void ONICALL COrMessage_Remove(char* Key); //int16_t ONICALL TMrInstance_GetDataPtr(int, char*, void*); //int TMrInstance_GetDataPtr( Type 'TSFF', char* "Tahoma", ptr); //int __cdecl AUrMessageBox(int Buttons, char *Message, ...); extern uint32_t COgConsoleLines; extern uint32_t COgFadeTimeValue; extern uint32_t COgDefaultTextShade; extern uint32_t COgDefaultTextShadow; extern FILE* ONgFileStartup; #endif