2020-03-27 21:47:29 +01:00
|
|
|
#ifndef PRES_H
|
|
|
|
#define PRES_H
|
|
|
|
|
2020-05-30 11:52:56 +02:00
|
|
|
extern short fonttpage;
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-09 09:33:57 +01:00
|
|
|
extern void InitButtonTextures(); // 0x00074E54
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-09 09:33:57 +01:00
|
|
|
extern void LoadFont(char *buffer); // 0x00073CC8
|
|
|
|
|
|
|
|
extern void SetTextColour(unsigned char Red, unsigned char Green, unsigned char Blue); // 0x00074A10
|
2020-03-27 21:47:29 +01:00
|
|
|
extern int StringWidth(char *pString); // 0x00074A24
|
|
|
|
|
|
|
|
extern int OutputString(char *pString, int formatting, int x, int y, int xw, int r, int g, int b); // 0x00074AB0
|
2020-11-30 15:56:10 +01:00
|
|
|
extern int PrintStringRightAligned(char *pString, int x, int y); // 0x00074B8C
|
2020-03-27 21:47:29 +01:00
|
|
|
extern void PrintStringCentred(char *pString, short y); // 0x00074BD8
|
|
|
|
extern int PrintString(char *string, int x, int y); // 0x00073EA0
|
|
|
|
extern short PrintDigit(int x, int y, char *string); // 0x00074140
|
|
|
|
extern int PrintStringFeature(char *string, int x, int y, int w, int h, int transparent); // 0x00074D34
|
|
|
|
extern void PrintStringBoxed(char *string, int ix, int iy); // 0x00074364
|
|
|
|
|
2020-12-09 09:33:57 +01:00
|
|
|
extern void SetCLUT16Flags(ushort clutID, ushort mask, char transparent);
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
extern int PrintScaledString(int y, char *string, int scale); // 0x000745DC
|
2020-12-09 09:33:57 +01:00
|
|
|
extern char* GetNextWord(char *string, char *word); // 0x00074D54
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-09 09:33:57 +01:00
|
|
|
extern void* DrawButton(unsigned char button, void *prim, int x, int y); // 0x00074858
|
2020-03-27 21:47:29 +01:00
|
|
|
|
2020-12-09 09:33:57 +01:00
|
|
|
extern void* SetFontTPage(void *prim); // 0x00074D94
|
2020-03-27 21:47:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|