Mercurial > vba-clojure
diff src/gb/gbSGB.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/gb/gbSGB.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,30 @@ 1.4 +#ifndef VBA_GB_SGB_H 1.5 +#define VBA_GB_SGB_H 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 + 1.11 +#include "zlib.h" 1.12 +#include "../Port.h" 1.13 + 1.14 +void gbSgbInit(); 1.15 +void gbSgbShutdown(); 1.16 +void gbSgbCommand(); 1.17 +void gbSgbResetPacketState(); 1.18 +void gbSgbReset(); 1.19 +void gbSgbDoBitTransfer(u8); 1.20 +void gbSgbSaveGame(gzFile); 1.21 +void gbSgbReadGame(gzFile, int version); 1.22 +void gbSgbRenderBorder(); 1.23 + 1.24 +extern u8 gbSgbATF[20*18]; 1.25 +extern int32 gbSgbMode; 1.26 +extern int32 gbSgbMask; 1.27 +extern int32 gbSgbMultiplayer; 1.28 +extern u8 gbSgbNextController; 1.29 +extern int32 gbSgbPacketTimeout; 1.30 +extern u8 gbSgbReadingController; 1.31 +extern int32 gbSgbFourPlayers; 1.32 + 1.33 +#endif // VBA_GB_SGB_H