-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwaves.c
53 lines (51 loc) · 2.36 KB
/
waves.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// WAVES OF RAINDROP DATA
//
// RAIN[] -> raindrop array [XPOS(drop), DELAY(between 2 drop),,,,]
// rain drop must be bewteen 6 and 32 x position (7 left---19 center -- right 31) with step of 2 )
// 255 = next wave
// 250 = cat appear on the left (cardir)
// 251 = cat appear on the right
// 252 = fireball appear on the left
// 253 = fireball appear on the right
// 200-226 = lightning appear and use this code to define x position of lighting (Xpox = code-200 + 7)
// 180-196 = Life fall
// 150-176 = ice fall
// 0x08 or 0x09 must be in hexa don't know why. Its look lika a bug ?!
unsigned char rain[] = { //----------------------------------------------|new wave|
// wave 1 time=3/2 x position (7 left---19 center -- right 31)
/*
255,0,
19,2, 31,2, 7,2, 19,2, 32,3, 250,0, 7,2, 251,0, 32,3, 19,3, 07,3, 32,3, 251,0 ,7,3, 16,3, 250,0, 18,3, 31,3,
07,3 ,9,3 ,250,0 ,26,3 ,28,3, 251,0, 32,3, 7,3, 250,0, 32,3, 15,3 ,17,3, 251,0 ,19,3 ,21,3, 250,0, 23,3,
07,3 ,9,3 ,11,3 ,251,0 ,28,3 ,32,3, 250,0, 07,3, 251,0 ,32,3, 22,3, 251,0, 21,3, 250,0, 7,3, 251,0, 32,2, 250, 0 , 19,6, // 39eme
255,5, // wave 2 time =2
*/
17,0,19,0,21,0,23,5,
7,3, 32,2, 32,2, 250,0, 7,2,
13,3 ,30,2, 251,0, 07,3, 215,0, 32,3, 250,0 ,18,3, 250,0, 07,3, 32,2, 217,0, //
07,2, 251,0, 32,3, 250,0, 07,3, 251,0, 32,3, 250,0, 07,3, 207,0,
31,2, 17,3, 217,0, 32,2, 224,0, 7,1, 19,6,
255,0, // wave 3
14,2, 251,0 ,25,2, 215,0, 250,0, 32,2, 07,2, 251,0, 32,2, // 73eme
14,2,250,0, 16,2, 251,0, 18,2, 250,0, 20,2,217,0,14,2,218,0,32,2,
07,2, 32,2, 251,0, 9,3, 220,0, 168,3, // ice here reprendre ici
32,3, 07,3, 215,0, 31,3, 215,0, 07,3, 216,0, 30,3,
255,0, // wave 4
250,0, 0x08,3,212,0, 13,2,
29,3, 251,0, 0x09,3, 230,0, 28,3, 251,0, 10,3, 251,0, 13,4, 230,0, 30,4, 16,4, 208,0,
07,4, 250,0, 32,4, 18,4, 07,4, 10,4, 251,0, 15,4, 11,4, 24,4,
255,0, // wave 5
19,3,
9,1, 11,1, 251,0, 13,1, 15,1, 250,0, 17,1,19,1,
251,0, 21,1, 23,1, 250,0, 25,1,27,4,
250,0, 15,0, 251,0, 17,0 ,19,0, 250,0, 21,0,23,0, 25,3,
7,0, 250,0, 9,0, 11,0, 250,0, 13,0 ,15,0, 17,3,251,0,
21,0, 23,0, 251,0, 25,0, 27,0, 29,0, 31,3,
7,0, 250,0, 9,0, 11,0, 251,0, 13,0 ,15,3,
21,0, 23,0, 25,0, 27,0, 29,0, 31,3,
7,0,9,0,11,1, 14,0,16,0,18,1, 21,0,23,0,25,1, 27,0,29,0,31,1,
19,2, 19,5,
// one line
// [x,y] y =0 -> force to align drops in same line
};