forked from len0rd/rockbox
plugins pong, properties remove dead code
Change-Id: I6645ff850a637343dde129600f0b5eaa2e4f6d31
This commit is contained in:
parent
363f6595b4
commit
1fea6f4670
2 changed files with 2 additions and 2 deletions
|
@ -535,7 +535,7 @@ static void ball(struct pong *p)
|
||||||
p->ball.x += p->ball.speedx;
|
p->ball.x += p->ball.speedx;
|
||||||
p->ball.y += p->ball.speedy;
|
p->ball.y += p->ball.speedy;
|
||||||
|
|
||||||
newx = p->ball.x/RES;
|
/*newx = p->ball.x/RES;*/
|
||||||
newy = p->ball.y/RES;
|
newy = p->ball.y/RES;
|
||||||
|
|
||||||
/* detect if ball hits a wall */
|
/* detect if ball hits a wall */
|
||||||
|
|
|
@ -195,7 +195,7 @@ static bool _dir_properties(DPS *dps)
|
||||||
dps->dc++; /* new directory */
|
dps->dc++; /* new directory */
|
||||||
if (*rb->current_tick - lasttick > (HZ/8))
|
if (*rb->current_tick - lasttick > (HZ/8))
|
||||||
{
|
{
|
||||||
unsigned log = human_size_log(dps->bc);
|
unsigned log;
|
||||||
lasttick = *rb->current_tick;
|
lasttick = *rb->current_tick;
|
||||||
rb->lcd_clear_display();
|
rb->lcd_clear_display();
|
||||||
rb->lcd_puts(0,0,"SCANNING...");
|
rb->lcd_puts(0,0,"SCANNING...");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue