forked from DeadHamster35/Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SharedFunctions.h
34 lines (29 loc) · 1.18 KB
/
SharedFunctions.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef SharedFunctionsH
#define SharedFunctionsH
#include "MainInclude.h"
extern int LoadData(int SourceInput, int SizeData);
extern bool CheckPlatform();
extern bool CheckEmulator();
extern void runDMA();
extern void runRAM();
extern void runTKM();
extern void runMIO();
extern void loadEEPROM(uint Destination);
extern void saveEEPROM(uint Source);
extern uint getStarTimer(uchar playerID);
extern uint getBooTimer(uchar playerID);
extern ushort GetRGBA16(int R, int G, int B, int A);
extern uint GetRGB32(int R, int G, int B);
extern void SetFontColor(int FontR, int FontG, int FontB, int ShadowR, int ShadowG, int ShadowB);
extern void printFloat(int X, int Y, float Value);
extern int GetRealAddress(int RSPAddress);
extern void loadNiceFont();
extern void ResetObject();
extern void DrawBox(int X, int Y, int SizeX, int SizeY, int R, int G, int B, int A);
extern char* printHex(char *buf, int num, int nDigits);
extern void printNumberSprite(int X, int Y, int Value);
extern void ShiftVertColor(uint address,uint counter,uint v_buff,char alpha,char red,char green,char blue);
extern char ReturnStringLength(char *stringAddress);
extern char CharacterConvert[];
extern char CharacterUnconvert[];
#endif