1 |
#pragma once |
2 |
#ifndef BFW_UTILITY_H |
3 |
#define BFW_UTILITY_H |
4 |
|
5 |
#include <stdio.h> |
6 |
//#include <stdint.h> |
7 |
#include "Daodan.h" |
8 |
|
9 |
//void __cdecl UUrStartupMessage(const char* fmt, ...); |
10 |
|
11 |
typedef struct { |
12 |
int16_t Top; |
13 |
int16_t Left; |
14 |
int16_t Right; |
15 |
int16_t Bottom; |
16 |
} OniRectangle; |
17 |
|
18 |
|
19 |
void* TestContext; |
20 |
//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); |
21 |
|
22 |
void ONICALL COrMessage_Remove(char* Key); |
23 |
//int16_t ONICALL TMrInstance_GetDataPtr(int, char*, void*); //int TMrInstance_GetDataPtr( Type 'TSFF', char* "Tahoma", ptr); |
24 |
|
25 |
//int __cdecl AUrMessageBox(int Buttons, char *Message, ...); |
26 |
|
27 |
extern uint32_t COgConsoleLines; |
28 |
extern uint32_t COgFadeTimeValue; |
29 |
extern uint32_t COgDefaultTextShade; |
30 |
extern uint32_t COgDefaultTextShadow; |
31 |
|
32 |
extern FILE* ONgFileStartup; |
33 |
|
34 |
#endif |