Debian Codegraph @

port/psp/mygba.h

raw symbols SCIP
1 /*
2 * PROPRIETARY INFORMATION. This software is proprietary to POWDER
3 * Development, and is not to be reproduced, transmitted, or disclosed
4 * in any way without written permission.
5 *
6 * Produced by: Jeff Lait
7 *
8 * POWDER Development
9 *
10 * NAME: mygba.h ( POWDER Library, C++ )
11 *
12 * COMMENTS:
13 * This is a fake version of the HAM libraries mygba.h.
14 * It redefines the functions we need using hamfake.cpp.
15 */
16
17 #ifndef __mygba__
18 #define __mygba__
19
20 #define USING_SDL
21 #define HAS_DISKIO
22 //#define HAS_KEYBOARD
23 //#define HAS_STYLUS
24 #define HAS_XYBUTTON
25
26 /*
27 #ifdef LINUX
28 #define stricmp(a, b) strcasecmp(a, b)
29 #endif
30 */
31
32 // #define STRESS_TEST
33
34 #include <psptypes.h>
35
36 /*
37 typedef unsigned char u8;
38 typedef signed char s8;
39 typedef unsigned short u16;
40 typedef signed short s16;
41 typedef unsigned int u32;
42 typedef signed int s32;
43 */
44
45 #define INT_TYPE_VBL 0
46 #define INT_TYPE_HBL 1
47
48 #define WIN_BG0 0x01
49 #define WIN_BG1 0x02
50 #define WIN_BG2 0x04
51 #define WIN_BG3 0x08
52 #define WIN_OBJ 0x10
53
54 #include <string.h>
55 #include <stdio.h>
56 #include <stdlib.h>
57
58 #include "hamfake.h"
59
60 #endif
61