Subversion Repositories Kolibri OS

Rev

Rev 1566 | Rev 1760 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1566 Rev 1677
Line 1... Line 1...
1
;;===Game_over_mode============================================================================================================
1
;;===Game_over_mode============================================================================================================
Line 2... Line 2...
2
 
2
 
Line -... Line 3...
-
 
3
Game_over:
-
 
4
 
-
 
5
    cmp  [play_mode],   LEVELS_MODE
-
 
6
     jne @f
-
 
7
    dec  [lives]
-
 
8
     jz  @f
-
 
9
      call      Draw_splash
-
 
10
     jmp Level_begin
-
 
11
  @@:
-
 
12
 
-
 
13
    mov  byte[window_title+5],  0
3
Game_over:
14
      mcall     71,1,window_title
Line 4... Line 15...
4
 
15
      mcall     66,1,0                          ; set ascii mode for keyboard
Line 5... Line 16...
5
      call      Show_cursor
16
      call      Show_cursor
Line 20... Line 31...
20
  .done:
31
  .done:
Line 21... Line 32...
21
 
32
 
Line 22... Line 33...
22
      mcall     40,100111b                      ; set events: standart + mouse
33
      mcall     40,100111b                      ; set events: standart + mouse
-
 
34
 
23
 
35
  .redraw:
24
  .redraw:
-
 
25
      mcall     12,1
-
 
26
    mov  ebx, [wp_x]
-
 
27
    shl  ebx, 16
-
 
28
    add  ebx, dword[window_width]
-
 
29
    mov  ecx, [wp_y]
-
 
30
    shl  ecx, 16
36
      call      Set_geometry
Line 31... Line 37...
31
    add  ecx, dword[window_height]
37
      mcall     12,1
32
      mcall     0, , ,[window_style], ,window_title
38
      mcall     0, , ,[window_style], ,window_title
33
 
39