version 1.5, 2009/04/11 13:01:54
|
version 1.6, 2009/04/22 03:54:22
|
Line 1287 void drawGoals( void ) {
|
Line 1287 void drawGoals( void ) {
|
drawImage( gfx, FRAME * 15, 0, FRAME, FRAME, |
drawImage( gfx, FRAME * 15, 0, FRAME, FRAME, |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
if( goals[i].fly ) { |
if( goals[i].fly ) { |
drawImage( gfx, FRAME * 16, 0, FRAME, FRAME, |
drawImage( gfx, FRAME * 17, 0, FRAME, FRAME, |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
} |
} |
if( goals[i].gator ) { |
if( goals[i].gator ) { |
int frame = 17; |
int frame = 18; |
|
int diff = 10; |
|
|
if ( goals[i].gator > ( ( int ) GATOR_MAX_TIME / 2 ) ) |
if ( goals[i].gator > ( ( int ) GATOR_MAX_TIME / 2 ) ) |
frame++; |
diff = 0; |
|
|
drawImage( gfx, FRAME * frame, 0, FRAME, FRAME, |
drawImage( gfx, FRAME * frame + diff, 0, FRAME, FRAME, |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
screen, goals[i].x + 13, goals[i].y + 5, 255 ); |
} |
} |
} |
} |