ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/BFW_Utility.h
Revision: 446
Committed: Mon Jul 20 02:06:23 2009 UTC (16 years, 2 months ago) by gumby
Content type: text/x-chdr
File size: 1400 byte(s)
Log Message:

File Contents

# Content
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 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();
15
16 typedef struct {
17 int16_t Top;
18 int16_t Left;
19 int16_t Right;
20 int16_t Bottom;
21 } OniRectangle;
22
23
24 void* TestContext;
25 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);
26 int16_t ONICALL TSrContext_DrawText(uint32_t TSrContext, char* Text, int alpha, uint32_t usuallyzero, OniRectangle* pRect);
27 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*);
28 int16_t ONICALL TMrInstance_GetDataPtr(int, char*, void*); //int TMrInstance_GetDataPtr( Type 'TSFF', char* "Tahoma", ptr);
29
30 int __cdecl AUrMessageBox(int Buttons, char *Message, ...);
31
32 extern uint32_t COgConsoleLines;
33 extern uint32_t COgFadeTimeValue;
34 extern uint32_t COgDefaultTextShade;
35 extern uint32_t COgDefaultTextShadow;
36
37 extern FILE* ONgFileStartup;
38
39 #endif