mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-29 01:39:41 +03:00
Rusty Earth - small fixes.
git-svn-id: svn://kolibrios.org@5319 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
99d55c030e
commit
f89947dea2
@ -25,8 +25,8 @@ protagonist_route_up:
|
||||
test ah,ah
|
||||
jnz action_stop
|
||||
|
||||
cmp al,BASE_WATER
|
||||
jz action_stop
|
||||
; cmp al,BASE_WATER
|
||||
; jz action_stop
|
||||
|
||||
; DEBUGF 1, "protagonist good route up\n"
|
||||
dec [protagonist_position.y]
|
||||
@ -45,8 +45,8 @@ protagonist_route_down:
|
||||
test ah,ah
|
||||
jnz action_stop
|
||||
|
||||
cmp al,BASE_WATER
|
||||
jz action_stop
|
||||
; cmp al,BASE_WATER
|
||||
; jz action_stop
|
||||
|
||||
; DEBUGF 1, "protagonist good route down\n"
|
||||
inc [protagonist_position.y]
|
||||
@ -65,8 +65,8 @@ protagonist_route_left:
|
||||
test ah,ah
|
||||
jnz action_stop
|
||||
|
||||
cmp al,BASE_WATER
|
||||
jz action_stop
|
||||
; cmp al,BASE_WATER
|
||||
; jz action_stop
|
||||
|
||||
; DEBUGF 1, "protagonist good route left\n"
|
||||
dec [protagonist_position.x]
|
||||
@ -85,8 +85,8 @@ protagonist_route_right:
|
||||
test ah,ah
|
||||
jnz action_stop
|
||||
|
||||
cmp al,BASE_WATER
|
||||
jz action_stop
|
||||
; cmp al,BASE_WATER
|
||||
; jz action_stop
|
||||
|
||||
; DEBUGF 1, "protagonist good route righ\n"
|
||||
inc [protagonist_position.x]
|
||||
|
@ -288,6 +288,8 @@ menu_credits_text_pointers:
|
||||
dd menu_credits_text.13
|
||||
dd menu_credits_text.14
|
||||
dd menu_credits_text.15
|
||||
dd menu_credits_text.16
|
||||
dd menu_credits_text.17
|
||||
dd 0
|
||||
;---------------------------------------------------------------------
|
||||
align 4
|
||||
@ -307,6 +309,7 @@ settings_menu_text_pointers:
|
||||
;---------------------------------------------------------------------
|
||||
align 4
|
||||
map_level_pointer:
|
||||
dd map_level_10
|
||||
dd map_level_0
|
||||
dd map_level_1
|
||||
dd map_level_2
|
||||
|
@ -147,8 +147,8 @@ key:
|
||||
add eax,plan_level
|
||||
mov ebx,[eax]
|
||||
|
||||
cmp bh,OBJECT_FINAL_MONSTER ;OBJECT_PROTAGONIST
|
||||
jbe .kill
|
||||
; cmp bh,OBJECT_FINAL_MONSTER ;OBJECT_PROTAGONIST
|
||||
; jbe .kill
|
||||
|
||||
cmp bh,OBJECT_WHITE_BRICK
|
||||
je .white_brick
|
||||
@ -181,12 +181,12 @@ key:
|
||||
; call show_tiles_one_iteration
|
||||
jmp calculate_action_for_all.2 ;still
|
||||
;--------------------------------------
|
||||
.kill:
|
||||
and ebx,0x000000ff
|
||||
add ebx,0x01000000
|
||||
mov [eax],ebx
|
||||
; call show_tiles_one_iteration
|
||||
jmp calculate_action_for_all.2
|
||||
;.kill:
|
||||
; and ebx,0x000000ff
|
||||
; add ebx,0x01000000
|
||||
; mov [eax],ebx
|
||||
;; call show_tiles_one_iteration
|
||||
; jmp calculate_action_for_all.2
|
||||
;--------------------------------------
|
||||
.white_brick:
|
||||
ror ebx,16
|
||||
|
@ -58,6 +58,8 @@ menu_credits_text:
|
||||
.13: db 0
|
||||
.14: db 'Glyphs of Russo free font by',0
|
||||
.15: db ' http://www.jovanny.ru',0
|
||||
.16: db 0
|
||||
.17: db 'Game author - Marat Zakyanov aka Mario79',0
|
||||
;---------------------------------------------------------------------
|
||||
menu_help_text:
|
||||
.1: db 'Game control',0
|
||||
|
@ -60,6 +60,8 @@ menu_credits_text:
|
||||
.13: db 0
|
||||
.14: db 'ƒ«¨äë ᢮¡®¤®£® èà¨äâ Russo ®â',0
|
||||
.15: db ' http://www.jovanny.ru',0
|
||||
.16: db 0
|
||||
.17: db '€¢â®à ¨£àë - Œ à â ‡ ª¨ï®¢ aka Mario79',0
|
||||
;---------------------------------------------------------------------
|
||||
menu_help_text:
|
||||
.1: db '“¯à ¢«¥¨¥ ¨£à®©',0
|
||||
|
@ -236,10 +236,13 @@ menu_help:
|
||||
@@:
|
||||
cmp ah,57 ; space
|
||||
je main_menu_start.red
|
||||
|
||||
|
||||
cmp ah,28 ; enter
|
||||
je main_menu_start.red
|
||||
|
||||
cmp ah,1 ; esc
|
||||
je main_menu_start.red
|
||||
|
||||
jmp .still
|
||||
;---------------------------------------------------------------------
|
||||
.extended_key:
|
||||
@ -316,6 +319,9 @@ settings_menu_start:
|
||||
|
||||
cmp ah,28 ; enter
|
||||
je .enter_to_point
|
||||
|
||||
cmp ah,1 ; esc
|
||||
je .exit
|
||||
|
||||
jmp .still
|
||||
;---------------------------------------------------------------------
|
||||
@ -368,7 +374,9 @@ settings_menu_start:
|
||||
@@:
|
||||
cmp [main_menu_pointer],2 ; exit
|
||||
jne .still
|
||||
|
||||
|
||||
;--------------------------------------
|
||||
.exit:
|
||||
call snd_kick_action
|
||||
mov al,[settings_menu_pointer]
|
||||
mov [main_menu_pointer],al
|
||||
|
Loading…
Reference in New Issue
Block a user