Subversion Repositories Kolibri OS

Rev

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

Rev 1608 Rev 1610
Line 377... Line 377...
377
.use_rect:
377
.use_rect:
378
	push	dword [rect.height]
378
	push	dword [rect.height]
379
@@:
379
@@:
380
	pop	dword [scr_buf.size]
380
	pop	dword [scr_buf.size]
Line 381... Line 381...
381
 
381
 
-
 
382
	cmp	[autoshoot_flag],1
Line -... Line 383...
-
 
383
	jne	.2
-
 
384
	
-
 
385
	bt	dword [ch5.flags],1  ; ¢ª«î祭® «¨  ¢â®á®åà ­¥­¨¥ ?
-
 
386
	jnc	@f
-
 
387
	call	save_file
-
 
388
@@:
382
	draw_status	shooted_ok
389
	draw_status	shooted_ok
383
 
390
.2:
384
	bt	dword [flags],1
391
	bt	dword [flags],1
385
	jnc	@f
392
	jnc	@f
Line 455... Line 462...
455
	jnc	@f
462
	jnc	@f
456
	mov	eax,51
463
	mov	eax,51
457
	xor	ebx,ebx
464
	xor	ebx,ebx
458
	inc	ebx
465
	inc	ebx
459
	mov	ecx,scr_window
466
	mov	ecx,scr_window
460
	mov	edx,i_end_tread-1000
467
	mov	edx,i_end_tread-512
461
	mcall
468
	mcall
462
@@:
469
@@:
463
popa
470
popa
464
ret
471
ret
Line 501... Line 508...
501
	mov	eax,51
508
	mov	eax,51
502
	;mov     ebx,1
509
	;mov     ebx,1
503
	xor	ebx,ebx
510
	xor	ebx,ebx
504
	inc	ebx
511
	inc	ebx
505
	mov	ecx,autoshoot
512
	mov	ecx,autoshoot
506
	mov	edx,i_end_tread-512
513
	mov	edx,i_end_tread
507
	mcall
514
	mcall
508
@@:
515
@@:
509
ret
516
ret
Line 510... Line 517...
510
 
517
 
Line 513... Line 520...
513
	btr	dword [flags],1
520
	btr	dword [flags],1
514
ret
521
ret
Line 515... Line 522...
515
 
522
 
516
;--- 横« ¯®â®ª   ¢â®áꥬª¨ ---
523
;--- 横« ¯®â®ª   ¢â®áꥬª¨ ---
-
 
524
autoshoot:
517
autoshoot:
525
	mov	[autoshoot_flag],1
518
	mov	ecx,[slot_n]
526
	mov	ecx,[slot_n]
519
	activ_window
527
	activ_window
520
.next:
528
.next:
521
	bt	dword [flags],1
529
	bt	dword [flags],1
Line 526... Line 534...
526
	mov	edx,messages.draw_number
534
	mov	edx,messages.draw_number
527
	mov	esi,2
535
	mov	esi,2
528
	mcall
536
	mcall
529
	call	shoot
537
	call	shoot
530
	jmp	autoshoot.next
538
	jmp	autoshoot.next
531
 
539
.close:
-
 
540
	mov	[autoshoot_flag],0
-
 
541
	jmp	close
532
;--- ¯à®æ¥¤ãà  ¯à®à¨á®¢ª¨ áâப¨ á®áâ®ï­¨ï ---
542
;--- ¯à®æ¥¤ãà  ¯à®à¨á®¢ª¨ áâப¨ á®áâ®ï­¨ï ---
533
; (¤®«¦­  ¢ë§ë¢ âìáï ¯®â®ª®¬ £« ¢­®£® ®ª­ )
543
; (¤®«¦­  ¢ë§ë¢ âìáï ¯®â®ª®¬ £« ¢­®£® ®ª­ )
534
dr_st:
544
dr_st:
535
	mov	eax,38		    ; ®â१®ª
545
	mov	eax,38		    ; ®â१®ª
536
	mov	ebx,0*65536+310
546
	mov	ebx,0*65536+310
Line 890... Line 900...
890
;---------------------------------------------------------------------
900
;---------------------------------------------------------------------
891
sign_n_input:
901
sign_n_input:
892
	db	'2',0
902
	db	'2',0
Line 893... Line 903...
893
 
903
 
-
 
904
PrintScreen	db  0
Line 894... Line 905...
894
PrintScreen	db  0
905
autoshoot_flag	db  0
895
	
906
	
Line 896... Line 907...
896
app_ipc ipc_buffer 32
907
app_ipc ipc_buffer 32