Subversion Repositories Kolibri OS

Rev

Rev 485 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 485 Rev 3483
Line 416... Line 416...
416
 
416
 
417
 
417
 
418
draw_window:
418
draw_window:
-
 
419
    startwd
-
 
420
    window 0,0,400+8,480+24,window_Skinned
-
 
421
    if lang eq it
419
    startwd
422
        label 12,8,'ARCANOID: Usa le freccie    Vite      Punti',cl_White+font_Big
-
 
423
    else
-
 
424
        label 12,8,'ARCANOID: USE ARROW KEYS    LIVES      SCORE',cl_White+font_Big
Line 420... Line 425...
420
    window 0,0,400+8,480+24,window_Skinned
425
    end if
421
    label 12,8,'ARCANOID: USE ARROW KEYS    LIVES      SCORE',cl_White+font_Big
426
 
Line 422... Line 427...
422
 
427
 
423
    cmp [againbut],0
428
    cmp [againbut],0
-
 
429
    je  no_againbut
-
 
430
 
-
 
431
    cmp [nextlev],1
-
 
432
    je  nlev
424
    je  no_againbut
433
    if lang eq it
425
 
434
        label 160,200,'Hai perso!',cl_Red+font_Big
-
 
435
        label 130,220,'Punteggio:',cl_Red+font_Big
426
    cmp [nextlev],1
436
    else
427
    je  nlev
437
        label 160,200,'You Lose!',cl_Red+font_Big
428
    label 160,200,'You Lose!',cl_Red+font_Big
438
        label 130,220,'Youre Score:',cl_Red+font_Big
429
    label 130,220,'Youre Score:',cl_Red+font_Big
439
    end if
430
    outcount dword [scorea],230,220,cl_Red,5*65536
440
    outcount dword [scorea],230,220,cl_Red,5*65536
431
    mov ebx,150*65536+80
441
    mov ebx,150*65536+80
432
    mov ecx,240*65536+12
442
    mov ecx,240*65536+12
433
    mov edx,2
443
    mov edx,2
434
    mov esi,0x0000aa00
444
    mov esi,0x0000aa00
435
    mov eax,8
445
    mov eax,8
-
 
446
    mcall
-
 
447
    mov ecx,260*65536+12
-
 
448
    mov edx,1
436
    mcall
449
    mcall
-
 
450
    if lang eq it
437
    mov ecx,260*65536+12
451
        label 152,244,'Rigioca',cl_Red+font_Big
438
    mov edx,1
452
    else
-
 
453
        label 152,244,'Play again?',cl_Red+font_Big
-
 
454
    end if
-
 
455
    jmp elev
-
 
456
nlev:
439
    mcall
457
    if lang eq it
440
    label 152,244,'Play again?',cl_Red+font_Big
458
        label 160,200,'Hai vinto!',cl_Green+font_Big
-
 
459
        label 130,220,'Punteggio:',cl_Green+font_Big
441
    jmp elev
460
    else
442
nlev:
461
        label 160,200,'You Win!',cl_Green+font_Big
443
    label 160,200,'You Win!',cl_Green+font_Big
462
        label 130,220,'Youre Score:',cl_Green+font_Big
444
    label 130,220,'Youre Score:',cl_Green+font_Big
463
    end if
445
    outcount dword [scorea],230,220,cl_Green,5*65536
464
    outcount dword [scorea],230,220,cl_Green,5*65536
446
    mov ebx,150*65536+80
465
    mov ebx,150*65536+120  ;mov ebx,150*65536+80
447
    mov ecx,240*65536+12
466
    mov ecx,240*65536+12
448
    mov edx,2
467
    mov edx,2
449
    mov esi,0x0000aa00
468
    mov esi,0x0000aa00
450
    mov eax,8
469
    mov eax,8
-
 
470
    mcall
-
 
471
    mov ecx,260*65536+12
-
 
472
    mov edx,1
451
    mcall
473
    mcall
-
 
474
    if lang eq it
452
    mov ecx,260*65536+12
475
        label 152,244,'Prossimo Livello',cl_Red+font_Big
-
 
476
    else
-
 
477
        label 152,244,'Next level?',cl_Red+font_Big
453
    mov edx,1
478
    end if
454
    mcall
479
elev:
-
 
480
    if lang eq it
-
 
481
        label 178,264,'Esci',cl_Red+font_Big
455
    label 152,244,'Next level?',cl_Red+font_Big
482
    else
Line 456... Line 483...
456
elev:
483
        label 178,264,'Exit?',cl_Red+font_Big
457
 
484
    end if