Rev 5302 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5302 | Rev 5310 | ||
---|---|---|---|
Line 93... | Line 93... | ||
93 | soundbuf_play( &game.sound_hit, 0 ); |
93 | soundbuf_play( &game.sound_hit, 0 ); |
Line 94... | Line 94... | ||
94 | 94 | ||
95 | 95 | ||
96 | if (game.health < 1) { |
- | |
97 | game.status = STATUS_MENU; |
96 | if (game.health < 1) { |
98 | soundbuf_play( &game.sound_music, SND_MODE_LOOP ); |
97 | game.status = STATUS_MENU; |
Line 99... | Line 98... | ||
99 | menu_open( MENU_GAME_OVER ); |
98 | menu_open( MENU_GAME_OVER ); |
Line 274... | Line 273... | ||
274 | next_stage_after_sec(2); |
273 | next_stage_after_sec(2); |
275 | } |
274 | } |
276 | else if (game.stage == 10) { |
275 | else if (game.stage == 10) { |
Line 277... | Line 276... | ||
277 | 276 | ||
278 | game.status = STATUS_MENU; |
- | |
279 | soundbuf_play( &game.sound_music, SND_MODE_LOOP ); |
277 | game.status = STATUS_MENU; |
Line 280... | Line 278... | ||
280 | menu_open( MENU_LEVEL_PASSED ); |
278 | menu_open( MENU_LEVEL_PASSED ); |
281 | 279 | ||
282 | level_passed_score_str[1] = '0' + (game.score / 100) % 10; |
280 | level_passed_score_str[1] = '0' + (game.score / 100) % 10; |
Line 417... | Line 415... | ||
417 | 415 | ||
Line 418... | Line 416... | ||
418 | }; |
416 | }; |
Line 419... | Line 417... | ||
419 | 417 | ||
420 | game_draw(); |
418 | game_draw(); |
421 | 419 | ||
Line 422... | Line 420... | ||
422 | if (game.status == STATUS_MENU) { |
420 | if ( (game.status == STATUS_MENU) && (game.menu_index != MENU_PAUSE) ) { |