Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 485 → Rev 484

/programs/games/arcanoid/trunk/arcanoid.asm
20,7 → 20,6
;******************************************************************************
 
include 'lang.inc'
include '..\..\..\macros.inc'
include 'ascl.inc'
include 'ascgl.inc'
include 'ascgml.inc'
319,7 → 318,7
; mov edx,2
; mov esi,0x0000ff00
; mov eax,8
; mcall
; int 0x40
mov [level],0
mov [nextlev],0
mov [againbut],1
335,7 → 334,7
 
key: ; key
mov eax,2
mcall
int 0x40
cmp ah,key_Left
jne no_l
sub dword [ply1rx],50 ;24 ;16
360,11 → 359,11
 
button: ; button
mov eax,17 ; get id
mcall
int 0x40
cmp ah,1 ; button id=1 ?
jne noclose
mov eax,-1 ; close this program
mcall
int 0x40
noclose:
cmp ah,2
jne noplayagain
433,10 → 432,10
mov edx,2
mov esi,0x0000aa00
mov eax,8
mcall
int 0x40
mov ecx,260*65536+12
mov edx,1
mcall
int 0x40
label 152,244,'Play again?',cl_Red+font_Big
jmp elev
nlev:
448,10 → 447,10
mov edx,2
mov esi,0x0000aa00
mov eax,8
mcall
int 0x40
mov ecx,260*65536+12
mov edx,1
mcall
int 0x40
label 152,244,'Next level?',cl_Red+font_Big
elev: