diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-16 21:56:08 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-16 21:56:08 +0000 |
commit | 4d6374c9236b93e0bd457f99944164fc493d1120 (patch) | |
tree | ff9630fcef66e63c61cc0a74e97f21220e668f75 /apps/plugins/jewels.c | |
parent | 2c643b9f3e22ee07f7949a5471f726758dc40841 (diff) |
Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r-- | apps/plugins/jewels.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index d0bf1af5e1..d4bef240e8 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c @@ -1026,7 +1026,7 @@ static unsigned int jewels_nextlevel(struct game_context* bj) { while(bj->score >= LEVEL_PTS) { bj->score -= LEVEL_PTS; bj->level++; - rb->splash(HZ*2, true, "Level %d", bj->level); + rb->splash(HZ*2, "Level %d", bj->level); jewels_drawboard(bj); } @@ -1165,7 +1165,7 @@ static void jewels_savegame(struct game_context* bj) { static void jewels_callback(void* param) { struct game_context* bj = (struct game_context*) param; if(bj->dirty) { - rb->splash(HZ, true, "Saving high scores..."); + rb->splash(HZ, "Saving high scores..."); jewels_savescores(bj); } } @@ -1211,7 +1211,7 @@ static int jewels_main(struct game_context* bj) { case MRES_RESUME: if(!jewels_loadgame(bj)) { - rb->splash(HZ*2, true, "Nothing to resume"); + rb->splash(HZ*2, "Nothing to resume"); rb->lcd_clear_display(); } else { startgame = true; @@ -1438,7 +1438,7 @@ static int jewels_main(struct game_context* bj) { break; case MRES_SAVE: - rb->splash(HZ, true, "Saving game..."); + rb->splash(HZ, "Saving game..."); jewels_savegame(bj); return BJ_END; @@ -1602,14 +1602,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { while(!exit) { switch(jewels_main(&bj)){ case BJ_LOSE: - rb->splash(HZ*2, true, "No more moves!"); + rb->splash(HZ*2, "No more moves!"); /* fall through to BJ_END */ case BJ_END: if(!bj.resume) { if((position = jewels_recordscore(&bj))) { rb->snprintf(str, 19, "New high score #%d!", position); - rb->splash(HZ*2, true, str); + rb->splash(HZ*2, str); } } break; @@ -1620,7 +1620,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { case BJ_QUIT: if(bj.dirty) { - rb->splash(HZ, true, "Saving high scores..."); + rb->splash(HZ, "Saving high scores..."); jewels_savescores(&bj); } exit = true; @@ -1630,11 +1630,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { if(!bj.resume) { if((position = jewels_recordscore(&bj))) { rb->snprintf(str, 19, "New high score #%d!", position); - rb->splash(HZ*2, true, str); + rb->splash(HZ*2, str); } } if(bj.dirty) { - rb->splash(HZ, true, "Saving high scores..."); + rb->splash(HZ, "Saving high scores..."); jewels_savescores(&bj); } exit = true; |