source: Daodan/src/BFW_Utility.h@ 574

Last change on this file since 574 was 484, checked in by gumby, 15 years ago

ZOMG FLATLINE

File size: 1.5 KB
RevLine 
[272]1#pragma once
2#ifndef BFW_UTILITY_H
3#define BFW_UTILITY_H
4
5#include <stdio.h>
[275]6#include <stdint.h>
7#include "Daodan.h"
[272]8
9void __cdecl UUrStartupMessage(const char* fmt, ...);
[275]10int64_t ONICALL UUrMachineTime_High();
11double ONICALL UUrMachineTime_High_Frequency();
[276]12int64_t ONICALL UUrMachineTime_Sixtieths();
[322]13void ONICALL UUrPlatform_Initialize();
14void ONICALL UUrPlatform_Terminate();
[272]15
[446]16typedef struct {
17 int16_t Top;
18 int16_t Left;
19 int16_t Right;
20 int16_t Bottom;
21} OniRectangle;
22
23
24void* TestContext;
[437]25void 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);
[476]26int ONICALL COrMessage_Print(char* Message, char* Key, void* noidea);
27void ONICALL COrMessage_Remove(char* Key);
[446]28int16_t ONICALL TSrContext_DrawText(uint32_t TSrContext, char* Text, int alpha, uint32_t usuallyzero, OniRectangle* pRect);
29int16_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*);
30int16_t ONICALL TMrInstance_GetDataPtr(int, char*, void*); //int TMrInstance_GetDataPtr( Type 'TSFF', char* "Tahoma", ptr);
[484]31char* ONICALL TMrInstance_GetInstanceName(void* InstancePointer);
[326]32int __cdecl AUrMessageBox(int Buttons, char *Message, ...);
33
[437]34extern uint32_t COgConsoleLines;
35extern uint32_t COgFadeTimeValue;
36extern uint32_t COgDefaultTextShade;
37extern uint32_t COgDefaultTextShadow;
38
[272]39extern FILE* ONgFileStartup;
40
41#endif
Note: See TracBrowser for help on using the repository browser.