Rev 5310 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5310 | Rev 5315 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | /* c */ &menu_action_change_window_scale, |
12 | /* c */ &menu_action_change_window_scale, |
13 | /* d */ &menu_action_resume |
13 | /* d */ &menu_action_resume |
14 | }; |
14 | }; |
Line 15... | Line 15... | ||
15 | 15 | ||
16 | char window_scale_str[] = "c< 2X >"; |
16 | char window_scale_str[] = "c< 2X >"; |
Line 17... | Line 17... | ||
17 | char level_passed_score_str[] = " 000 "; |
17 | char level_passed_score_str[] = " 0000 "; |
18 | 18 | ||
19 | /* |
19 | /* |
20 | First char: |
20 | First char: |
Line 49... | Line 49... | ||
49 | " ", |
49 | " ", |
50 | "0"L_BACK, |
50 | "0"L_BACK, |
51 | 0 |
51 | 0 |
52 | }; |
52 | }; |
Line 53... | Line 53... | ||
53 | 53 | ||
54 | char* menu_level_passed_titles[] = { |
54 | char* menu_game_over_titles[] = { |
55 | " "L_LEVEL_PASSED, |
55 | " "L_GAME_OVER, |
56 | " "L_YOUR_SCORE, |
56 | " "L_YOUR_SCORE, |
57 | level_passed_score_str, |
57 | level_passed_score_str, |
58 | " ", |
58 | " ", |
59 | "0"L_BACK, |
59 | "0"L_BACK, |
60 | 0 |
60 | 0 |
Line 61... | Line 61... | ||
61 | }; |
61 | }; |
62 | 62 | ||
63 | char* menu_game_over_titles[] = { |
63 | //char* menu_game_over_titles[] = { |
64 | " "L_GAME_OVER, |
64 | // " "L_GAME_OVER, |
65 | " ", |
65 | // " ", |
66 | "0"L_BACK, |
66 | // "0"L_BACK, |
Line 67... | Line 67... | ||
67 | 0 |
67 | // 0 |
68 | }; |
68 | //}; |
69 | 69 | ||
70 | char* menu_pause_titles[] = { |
70 | char* menu_pause_titles[] = { |
Line 78... | Line 78... | ||
78 | 78 | ||
79 | char **menu_titles[] = { |
79 | char **menu_titles[] = { |
80 | /* 0 */ menu_main_titles, |
80 | /* 0 */ menu_main_titles, |
81 | /* 1 */ menu_settings_titles, |
81 | /* 1 */ menu_settings_titles, |
82 | /* 2 */ menu_about_titles, |
82 | /* 2 */ menu_about_titles, |
83 | /* 3 */ menu_level_passed_titles, |
83 | // /* 3 */ menu_level_passed_titles, |
84 | /* 4 */ menu_game_over_titles, |
84 | /* 3 */ menu_game_over_titles, |
85 | /* 5 */ menu_pause_titles, |
85 | /* 4 */ menu_pause_titles, |
86 | 0 |
86 | 0 |
Line 87... | Line 87... | ||
87 | }; |
87 | }; |
Line 111... | Line 111... | ||
111 | }; |
111 | }; |
112 | }; |
112 | }; |
Line 113... | Line 113... | ||
113 | 113 | ||
Line 114... | Line 114... | ||
114 | void menu_open(int i) { |
114 | void menu_open(int i) { |
115 | 115 | ||
116 | if ( (game.menu_index == MENU_PAUSE) && (i != MENU_PAUSE) ){ |
116 | if ( ((game.menu_index == MENU_PAUSE) && (i != MENU_PAUSE)) || (i == MENU_GAME_OVER) ) { |
Line 117... | Line 117... | ||
117 | soundbuf_play( &game.sound_music, SND_MODE_LOOP ); |
117 | soundbuf_play( &game.sound_music, SND_MODE_LOOP ); |
Line 168... | Line 168... | ||
168 | game.shoot_restore_delay = 0; |
168 | game.shoot_restore_delay = 0; |
Line 169... | Line 169... | ||
169 | 169 | ||
170 | game.score = 0; |
170 | game.score = 0; |
Line -... | Line 171... | ||
- | 171 | game.flags = 0; |
|
- | 172 | ||
171 | game.flags = 0; |
173 | game.stage_level = 0; |
Line 172... | Line 174... | ||
172 | 174 | ||
Line 173... | Line 175... | ||
173 | game.objs_count = 0; |
175 | game.objs_count = 0; |