forked from KapLex/PGE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pge.h
89 lines (74 loc) · 1.45 KB
/
pge.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
/*
* pge.h: Header for the engine
*
* This file is part of "Phoenix Game Engine".
*
* Copyright (C) 2008 Phoenix Game Engine
* Copyright (C) 2008 InsertWittyName <[email protected]>
* Copyright (C) 2008 MK2k <[email protected]>
*
*/
#ifndef __PGE_H__
#define __PGE_H__
#ifdef __cplusplus
extern "C" {
#endif
/** @defgroup pge Engine
* @{
*/
#include <pspkernel.h>
//#include <pspkerneltypes.h>
/*#include "pgeAdhoc.h"
#include "pgeWav.h"
#include "pgeTimer.h"
#include "pgeMath.h"
#include "pgeVram.h"
#include "pgeFont.h"
#include "pgeNet.h"
#include "pgeControls.h"
#include "pgeGfx.h"
#include "pgeTexture.h"
#include "pgeZip.h"
#include "pgeMp3.h"
#include "pgeUtils.h"
#include "pgeFile.h"
#include "pgeDir.h"
#include "pgeObj.h"
#include "pgeParticle.h"
#include "pgeUsb.h"
#include "pgeSystem.h"*/
#ifndef __PSP__
#include "SDL.h"
#include "SDL_opengl.h"
#include "pgeEmulator.h"
#endif
/**
* Check for program running status.
*
* @returns 1 if program running, 0 if exit has been requested.
*/
int pgeRunning(void);
/**
* Explicitely exit a program.
*/
void pgeExit(void);
/**
* Get PGE version
*
* @returns The version of PGE running.
*/
int pgeVersion(void);
/**
* Delay execution
*
* @param delay - Time to delay in microseconds
*/
void pgeDelay(unsigned int delay);
void *pgeMalloc(int size);
void *pgeRealloc(void *ptr, int size);
void pgeFree(void *ptr);
#ifdef __cplusplus
}
#endif // __cplusplus
/** @} */
#endif // __PGE_H__