Debian Codegraph @

port/gp2x/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_PRINTF
25
26 #ifdef LINUX
27 #define stricmp(a, b) strcasecmp(a, b)
28 #endif
29
30 // #define STRESS_TEST
31
32 typedef unsigned char u8;
33 typedef signed char s8;
34 typedef unsigned short u16;
35 typedef signed short s16;
36 typedef unsigned int u32;
37 typedef signed int s32;
38
39 #define INT_TYPE_VBL 0
40 #define INT_TYPE_HBL 1
41
42 #define WIN_BG0 0x01
43 #define WIN_BG1 0x02
44 #define WIN_BG2 0x04
45 #define WIN_BG3 0x08
46 #define WIN_OBJ 0x10
47
48 #include <string.h>
49 #include <stdio.h>
50 #include <stdlib.h>
51 #include <memory.h>
52
53 #include "hamfake.h"
54
55 #endif
56