3 |
|
#define BFW_UTILITY_H |
4 |
|
|
5 |
|
#include <stdio.h> |
6 |
< |
#include <stdint.h> |
6 |
> |
//#include <stdint.h> |
7 |
|
#include "Daodan.h" |
8 |
|
|
9 |
< |
void __cdecl UUrStartupMessage(const char* fmt, ...); |
10 |
< |
int64_t ONICALL UUrMachineTime_High(); |
11 |
< |
double ONICALL UUrMachineTime_High_Frequency(); |
12 |
< |
int64_t ONICALL UUrMachineTime_Sixtieths(); |
13 |
< |
void ONICALL UUrPlatform_Initialize(); |
14 |
< |
void ONICALL UUrPlatform_Terminate(); |
9 |
> |
//void __cdecl UUrStartupMessage(const char* fmt, ...); |
10 |
|
|
11 |
|
typedef struct { |
12 |
|
int16_t Top; |
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 |
< |
int ONICALL COrMessage_Print(char* Message, char* Key, void* noidea); |
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 TSrContext_DrawText(uint32_t TSrContext, char* Text, int alpha, uint32_t usuallyzero, OniRectangle* pRect); |
24 |
< |
int16_t ONICALL TSrContext_New( void* FontInstance, int size, int hthsik1,int hthsik2,int hthsik3, void* TSrContext); //int16_t TSrContext_New( TSFF*, size 7, ??? 1, ??? 1, ??? 0, TSrContext*); |
25 |
< |
int16_t ONICALL TMrInstance_GetDataPtr(int, char*, void*); //int TMrInstance_GetDataPtr( Type 'TSFF', char* "Tahoma", ptr); |
31 |
< |
char* ONICALL TMrInstance_GetInstanceName(void* InstancePointer); |
32 |
< |
int __cdecl AUrMessageBox(int Buttons, char *Message, ...); |
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; |