PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
libpff/integer.h@11:02ad9c807a21, 2017-10-15 (annotated)
- Committer:
- spinal
- Date:
- Sun Oct 15 18:03:02 2017 +0000
- Revision:
- 11:02ad9c807a21
- Parent:
- 0:e8b8f36b4505
fixed 4color refreshRegion code
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:e8b8f36b4505 | 1 | /*-------------------------------------------*/ |
Pokitto | 0:e8b8f36b4505 | 2 | /* Integer type definitions for FatFs module */ |
Pokitto | 0:e8b8f36b4505 | 3 | /*-------------------------------------------*/ |
Pokitto | 0:e8b8f36b4505 | 4 | |
Pokitto | 0:e8b8f36b4505 | 5 | #ifndef _INTEGER |
Pokitto | 0:e8b8f36b4505 | 6 | |
Pokitto | 0:e8b8f36b4505 | 7 | /* These types must be 16-bit, 32-bit or larger integer */ |
Pokitto | 0:e8b8f36b4505 | 8 | typedef int INT; |
Pokitto | 0:e8b8f36b4505 | 9 | typedef unsigned int UINT; |
Pokitto | 0:e8b8f36b4505 | 10 | |
Pokitto | 0:e8b8f36b4505 | 11 | /* These types must be 8-bit integer */ |
Pokitto | 0:e8b8f36b4505 | 12 | typedef signed char CHAR; |
Pokitto | 0:e8b8f36b4505 | 13 | typedef unsigned char UCHAR; |
Pokitto | 0:e8b8f36b4505 | 14 | typedef unsigned char BYTE; |
Pokitto | 0:e8b8f36b4505 | 15 | |
Pokitto | 0:e8b8f36b4505 | 16 | /* These types must be 16-bit integer */ |
Pokitto | 0:e8b8f36b4505 | 17 | typedef short SHORT; |
Pokitto | 0:e8b8f36b4505 | 18 | typedef unsigned short USHORT; |
Pokitto | 0:e8b8f36b4505 | 19 | typedef unsigned short WORD; |
Pokitto | 0:e8b8f36b4505 | 20 | typedef unsigned short WCHAR; |
Pokitto | 0:e8b8f36b4505 | 21 | |
Pokitto | 0:e8b8f36b4505 | 22 | /* These types must be 32-bit integer */ |
Pokitto | 0:e8b8f36b4505 | 23 | typedef long LONG; |
Pokitto | 0:e8b8f36b4505 | 24 | typedef unsigned long ULONG; |
Pokitto | 0:e8b8f36b4505 | 25 | typedef unsigned long DWORD; |
Pokitto | 0:e8b8f36b4505 | 26 | |
Pokitto | 0:e8b8f36b4505 | 27 | /* Boolean type */ |
Pokitto | 0:e8b8f36b4505 | 28 | // typedef enum { FALSE = 0, TRUE } BOOL; // for soe reason does not work, but otoh isnt used anywhere |
Pokitto | 0:e8b8f36b4505 | 29 | |
Pokitto | 0:e8b8f36b4505 | 30 | #define _INTEGER |
Pokitto | 0:e8b8f36b4505 | 31 | #endif |
Pokitto | 0:e8b8f36b4505 | 32 |