1
0
Fork 0
forked from len0rd/rockbox

commented and explained block_data array

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@294 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Felix Arends 2002-04-28 09:10:47 +00:00
parent 2ca73a8c7a
commit ca3d6dc5dc

View file

@ -45,6 +45,21 @@ char virtual[LCD_WIDTH*LCD_HEIGHT];
short level_speeds[10] = {1000,900,800,700,600,500,400,300,250,200}; short level_speeds[10] = {1000,900,800,700,600,500,400,300,250,200};
int blocks = 7; int blocks = 7;
int block_frames[7] = {1,2,2,2,4,4,4}; int block_frames[7] = {1,2,2,2,4,4,4};
/*
block_data is built up the following way
first array index specifies the block number
second array index specifies the rotation of the block
third array index specifies:
0: x-coordinates of pixels
1: y-coordinates of pixels
fourth array index specifies the coordinate of a pixel
each block consists of four pixels whose relative coordinates are given
with block_data
*/
int block_data[7][4][2][4] = int block_data[7][4][2][4] =
{ {
{ {