Rev 5251 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5251 | Rev 5260 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | str_num[2] = '0' + ( (game.score / 1) % 10); |
51 | str_num[2] = '0' + ( (game.score / 1) % 10); |
Line 52... | Line 52... | ||
52 | 52 | ||
53 | game_textout_at_center( 0, 260, 0, s ); |
53 | game_textout_at_center( 0, 260, 0, s ); |
Line -... | Line 54... | ||
- | 54 | game_textout_at_center( -3, 260-2, 3, s ); |
|
- | 55 | ||
- | 56 | if (game.score == game.hiscore) { |
|
- | 57 | game_textout_at_center( 0, 290, 0, L_NEW_HISCORE); |
|
- | 58 | game_textout_at_center( -3, 290-2, 3, L_NEW_HISCORE ); |
|
- | 59 | } |
|
- | 60 | else { |
|
- | 61 | char hs[] = L_HISCORE; |
|
- | 62 | str_num = strchr(hs, 'x'); |
|
- | 63 | str_num[0] = '0' + ( (game.hiscore / 100) % 10); |
|
- | 64 | str_num[1] = '0' + ( (game.hiscore / 10) % 10); |
|
- | 65 | str_num[2] = '0' + ( (game.hiscore / 1) % 10); |
|
- | 66 | game_textout_at_center( 0, 290, 0, hs); |
|
- | 67 | game_textout_at_center( -3, 290-2, 3, hs ); |
|
- | 68 | }; |
|
- | 69 | ||
- | 70 | ||
- | 71 | } |
|
- | 72 | else { |
|
- | 73 | if (game.hiscore) { |
|
- | 74 | char *str_num; |
|
- | 75 | char hs[] = L_HISCORE; |
|
- | 76 | str_num = strchr(hs, 'x'); |
|
- | 77 | str_num[0] = '0' + ( (game.hiscore / 100) % 10); |
|
- | 78 | str_num[1] = '0' + ( (game.hiscore / 10) % 10); |
|
- | 79 | str_num[2] = '0' + ( (game.hiscore / 1) % 10); |
|
- | 80 | game_textout_at_center( 0, 230, 0, hs); |
|
54 | game_textout_at_center( -3, 260-2, 3, s ); |
81 | game_textout_at_center( -3, 230-2, 3, hs ); |
Line 55... | Line 82... | ||
55 | 82 | }; |
|
56 | }; |
83 | }; |
57 | 84 | ||
58 | if (!game.menu_replay_timeout) { |
85 | if (!game.menu_replay_timeout) { |
Line 59... | Line 86... | ||
59 | game_textout_at_center( 0, 300, 0, L_START ); |
86 | game_textout_at_center( 0, 400, 0, L_START ); |