An exciting survival game with random terrain by Jonne
Dependencies: PokittoLib
Fork of AnimationTest by
ter_tree.cpp@9:e92847eb42bf, 2018-05-02 (annotated)
- Committer:
- Pokitto
- Date:
- Wed May 02 06:48:29 2018 +0000
- Revision:
- 9:e92847eb42bf
- Parent:
- 8:809b1982b4ae
New pokittolib with improved volume controls & better button handling
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 4:1b2348ec80ad | 1 | |
Pokitto | 4:1b2348ec80ad | 2 | |
Pokitto | 4:1b2348ec80ad | 3 | /* |
Pokitto | 4:1b2348ec80ad | 4 | * BMP image as 4bpp (16 colour index) data |
Pokitto | 4:1b2348ec80ad | 5 | */ |
Pokitto | 4:1b2348ec80ad | 6 | |
Pokitto | 4:1b2348ec80ad | 7 | #include <stdint.h> |
Pokitto | 8:809b1982b4ae | 8 | #include "Pixonia.h" |
Pokitto | 4:1b2348ec80ad | 9 | |
Pokitto | 4:1b2348ec80ad | 10 | const uint16_t ter_tree_pal[] = { |
Pokitto | 4:1b2348ec80ad | 11 | 22530,12922,10764,9284,13670,20137,65312,41728,33280,65535,46486,38066,29614,0,63488,63519 |
Pokitto | 4:1b2348ec80ad | 12 | }; |
Pokitto | 4:1b2348ec80ad | 13 | |
Pokitto | 4:1b2348ec80ad | 14 | const uint8_t ter_tree[] = { |
Pokitto | 4:1b2348ec80ad | 15 | 16,20, |
Pokitto | 4:1b2348ec80ad | 16 | 255,255,255,253,255,255,255,255,255,255,255,221,223,255,255,255, |
Pokitto | 4:1b2348ec80ad | 17 | 255,255,255,211,223,255,255,255,255,255,212,51,61,255,255,255, |
Pokitto | 4:1b2348ec80ad | 18 | 255,255,61,61,211,255,255,255,255,253,51,51,61,223,255,255, |
Pokitto | 4:1b2348ec80ad | 19 | 255,253,67,211,51,223,255,255,255,243,221,51,77,61,255,255, |
Pokitto | 4:1b2348ec80ad | 20 | 255,253,51,211,211,212,223,255,253,211,211,211,61,61,63,255, |
Pokitto | 4:1b2348ec80ad | 21 | 255,211,51,61,61,61,255,255,255,253,61,61,221,63,255,255, |
Pokitto | 4:1b2348ec80ad | 22 | 255,255,208,208,208,223,255,255,255,244,48,112,4,67,79,255, |
Pokitto | 4:1b2348ec80ad | 23 | 244,52,68,125,4,68,67,79,52,68,64,208,8,68,68,67, |
Pokitto | 4:1b2348ec80ad | 24 | 116,68,68,77,68,68,68,71,136,131,68,68,68,68,55,120, |
Pokitto | 4:1b2348ec80ad | 25 | 136,120,131,68,68,55,119,119,136,135,136,131,55,119,136,119, |
Pokitto | 4:1b2348ec80ad | 26 | |
Pokitto | 4:1b2348ec80ad | 27 | }; |
Pokitto | 8:809b1982b4ae | 28 |