view src/gb/gbSGB.h @ 249:99227bec1123

Reworked the hxc definitions; they are now fns that optionally take a single rom arg and dynamically grab the data. Their commonalities are also consolidated into a single template function, hxc-thunk. Minor fixes include stripping pokenames of their padding and splitting the huge hxc-dialog string into a list.
author Dylan Holmes <ocsenave@gmail.com>
date Mon, 26 Mar 2012 03:45:24 -0500
parents f9f4f1b99eed
children
line wrap: on
line source
1 #ifndef VBA_GB_SGB_H
2 #define VBA_GB_SGB_H
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
8 #include "zlib.h"
9 #include "../Port.h"
11 void gbSgbInit();
12 void gbSgbShutdown();
13 void gbSgbCommand();
14 void gbSgbResetPacketState();
15 void gbSgbReset();
16 void gbSgbDoBitTransfer(u8);
17 void gbSgbSaveGame(gzFile);
18 void gbSgbReadGame(gzFile, int version);
19 void gbSgbRenderBorder();
21 extern u8 gbSgbATF[20*18];
22 extern int32 gbSgbMode;
23 extern int32 gbSgbMask;
24 extern int32 gbSgbMultiplayer;
25 extern u8 gbSgbNextController;
26 extern int32 gbSgbPacketTimeout;
27 extern u8 gbSgbReadingController;
28 extern int32 gbSgbFourPlayers;
30 #endif // VBA_GB_SGB_H