5 for (y
= 0; y
< 17; y
++) for (x
= 0; x
< 17; x
++)
13 for (y
= 0; y
< 17; y
++) for (x
= 0; x
< 17; x
++)
14 if (BonusGrid
[x
][y
]) DrawBlock (x
, y
, BonusGrid
[x
][y
] + (Frame
& 2), 4);
17 //Check whether a player receives a bonus
22 for (p
= 0; p
< Players
; p
++) {
23 //Calculate coordinates
28 if (BonusGrid
[x
][y
]) {
29 //Take appropriate action
30 if (BonusGrid
[x
][y
] == 1) if (MaxRange
[p
] < 15) MaxRange
[p
]++;
31 if (BonusGrid
[x
][y
] == 2) if (MaxBombs
[p
] < 8) MaxBombs
[p
]++;
34 PlaySound ((LPCSTR
)Bonus
, NULL
, SND_ASYNC
| SND_MEMORY
);
38 DrawBlock (x
, y
, 0, 0);