forked from len0rd/rockbox
Jewels: little changes regarding trademark issues
Brickmania: change the highscore file to the more apropriate "brickmania.score" (patch #4789 by Mikael Magnusson) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9169 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1c1915c0d1
commit
5a0bb99013
2 changed files with 5 additions and 5 deletions
|
@ -775,7 +775,7 @@ void sleep (int secs)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#define HIGH_SCORE "highscore.cfg"
|
#define HIGH_SCORE "brickmania.score"
|
||||||
#define MENU_LENGTH 4
|
#define MENU_LENGTH 4
|
||||||
int game_menu(int when)
|
int game_menu(int when)
|
||||||
{
|
{
|
||||||
|
|
|
@ -926,7 +926,7 @@ static unsigned int jewels_nextlevel(struct game_context* bj) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* bejeweld_recordscore() inserts a high score into the high scores list and
|
* jewels_recordscore() inserts a high score into the high scores list and
|
||||||
* returns the high score position.
|
* returns the high score position.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
static int jewels_recordscore(struct game_context* bj) {
|
static int jewels_recordscore(struct game_context* bj) {
|
||||||
|
@ -1048,9 +1048,9 @@ static void jewels_callback(void* param) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* bejeweled() is the main game subroutine, it returns the final game status.
|
* jewels_main() is the main game subroutine, it returns the final game status.
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
static int bejeweled(struct game_context* bj) {
|
static int jewels_main(struct game_context* bj) {
|
||||||
int i, j;
|
int i, j;
|
||||||
int w, h;
|
int w, h;
|
||||||
int button;
|
int button;
|
||||||
|
@ -1432,7 +1432,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) {
|
||||||
jewels_setcolors();
|
jewels_setcolors();
|
||||||
|
|
||||||
while(!exit) {
|
while(!exit) {
|
||||||
switch(bejeweled(&bj)){
|
switch(jewels_main(&bj)){
|
||||||
case BJ_LOSE:
|
case BJ_LOSE:
|
||||||
rb->splash(HZ*2, true, "No more moves!");
|
rb->splash(HZ*2, true, "No more moves!");
|
||||||
/* fall through to BJ_END */
|
/* fall through to BJ_END */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue