Rusty Earth - small fixes.

git-svn-id: svn://kolibrios.org@5341 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2014-12-31 20:58:34 +00:00
parent fc4f197386
commit 8ed9813abf
4 changed files with 64 additions and 46 deletions

View File

@ -273,23 +273,24 @@ main_menu_text_pointers:
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4
menu_credits_text_pointers: menu_credits_text_pointers:
dd space_line
dd menu_credits_text.1 dd menu_credits_text.1
dd menu_credits_text.2 dd menu_credits_text.2
dd space_line
dd menu_credits_text.3 dd menu_credits_text.3
dd menu_credits_text.4 dd menu_credits_text.4
dd menu_credits_text.5 dd menu_credits_text.5
dd space_line
dd menu_credits_text.6 dd menu_credits_text.6
dd menu_credits_text.7 dd menu_credits_text.7
dd space_line
dd menu_credits_text.8 dd menu_credits_text.8
dd menu_credits_text.9 dd menu_credits_text.9
dd space_line
dd menu_credits_text.10 dd menu_credits_text.10
dd menu_credits_text.11 dd menu_credits_text.11
dd space_line
dd menu_credits_text.12 dd menu_credits_text.12
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 dd 0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4
@ -298,6 +299,7 @@ menu_help_text_pointers:
dd menu_help_text.2 dd menu_help_text.2
dd menu_help_text.3 dd menu_help_text.3
dd menu_help_text.4 dd menu_help_text.4
dd menu_help_text.5
dd 0 dd 0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
align 4 align 4

View File

@ -45,25 +45,29 @@ protagonist_death_text:
menu_credits_text: menu_credits_text:
.1: db 'Hello KolibriOS Team!',0 .1: db 'Hello KolibriOS Team!',0
.2: db ' Hello Habrahabr!',0 .2: db ' Hello Habrahabr!',0
.3: db 0
.4: db 'The game used graphics and sound material',0 .3: db 'The game used graphics and sound material',0
.5: db 'under a free license, borrowed from:',0 .4: db 'under a free license, borrowed from:',0
.6: db ' http://opengameart.org',0 .5: db ' http://opengameart.org',0
.7: db 0
.8: db 'NPC sprites by',0 .6: db 'NPC sprites by',0
.9: db ' http://untamed.wild-refuge.net',0 .7: db ' http://untamed.wild-refuge.net',0
.10: db 0
.11: db 'Hatsune Miku Sprites by',0 .8: db 'Hatsune Miku Sprites by',0
.12: db ' http://nekorandomnessqueen.deviantart.com',0 .9: db ' http://nekorandomnessqueen.deviantart.com',0
.13: db 0
.14: db 'Glyphs of Russo free font by',0 .10: db 'Glyphs of Russo free font by',0
.15: db ' http://www.jovanny.ru',0 .11: db ' http://www.jovanny.ru',0
.16: db 0
.17: db 'Game author - Marat Zakyanov aka Mario79',0 .12: db 'Game author - Marat Zakiyanov aka Mario79',0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
menu_help_text: menu_help_text:
.1: db 'Game control',0 .1: db ' Control',0
.2: db 'Move the player:',0 .2: db ' WASD',0
.3: db 'WASD, Arrows or Num8462',0 .3: db ' Arrows',0
.4: db 'Player kick : Space',0 .4: db ' Num8462',0
.5: db 'Kick SPACE',0
;---------------------------------------------------------------------
space_line:
db 0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------

View File

@ -47,25 +47,29 @@ protagonist_death_text:
menu_credits_text: menu_credits_text:
.1: db '<27>ਢ¥â KolibriOS Team!',0 .1: db '<27>ਢ¥â KolibriOS Team!',0
.2: db ' <20>ਢ¥â • ¡à å ¡à!',0 .2: db ' <20>ਢ¥â • ¡à å ¡à!',0
.3: db 0
.4: db 'ƒà ä¨ç¥áª¨¥ ¨ §¢ãª®¢ë¥ ¬ â¥à¨ «ë ¯®¤',0 .3: db 'ƒà ä¨ç¥áª¨¥ ¨ §¢ãª®¢ë¥ ¬ â¥à¨ «ë ¯®¤',0
.5: db '᢮¡®¤­ë¬¨ «¨æ¥­§¨ï¬¨, ¢§ïâë á á ©â ',0 .4: db '᢮¡®¤­ë¬¨ «¨æ¥­§¨ï¬¨, ¢§ïâë á á ©â ',0
.6: db ' http://opengameart.org',0 .5: db ' http://opengameart.org',0
.7: db 0
.8: db '‘¯à ©âë NPC ¢§ïâë á á ©â ',0 .6: db '‘¯à ©âë NPC ¢§ïâë á á ©â ',0
.9: db ' http://untamed.wild-refuge.net',0 .7: db ' http://untamed.wild-refuge.net',0
.10: db 0
.11: db 'C¯à ©âë Œ¨ªã • æã­í ®â',0 .8: db 'C¯à ©âë Œ¨ªã • æã­í ®â',0
.12: db ' http://nekorandomnessqueen.deviantart.com',0 .9: db ' http://nekorandomnessqueen.deviantart.com',0
.13: db 0
.14: db 'ƒ«¨äë ᢮¡®¤­®£® èà¨äâ  Russo ®â',0 .10: db 'ƒ«¨äë ᢮¡®¤­®£® èà¨äâ  Russo ®â',0
.15: db ' http://www.jovanny.ru',0 .11: db ' http://www.jovanny.ru',0
.16: db 0
.17: db '€¢â®à ¨£àë - Œ à â ‡ ª¨ï­®¢ aka Mario79',0 .12: db '€¢â®à ¨£àë - Œ à â ‡ ª¨ï­®¢ aka Mario79',0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
menu_help_text: menu_help_text:
.1: db '“¯à ¢«¥­¨¥ ¨£à®©',0 .1: db '“¯à ¢«¥­¨¥',0
.2: db '<27>¥à¥¬¥é¥­¨¥ ¨£à®ª :',0 .2: db ' WASD',0
.3: db 'WASD, áâ५ª¨ ¨«¨ Num8462',0 .3: db ' áâ५ª¨',0
.4: db '“¤ à ¨£à®ª : "<22>஡¥«"',0 .4: db '¨«¨ Num8462',0
.5: db '“¤ à SPACE',0
;---------------------------------------------------------------------
space_line:
db 0
;--------------------------------------------------------------------- ;---------------------------------------------------------------------

View File

@ -156,7 +156,13 @@ draw_menu_window:
call clear_screen call clear_screen
mov eax,4 mov eax,4
mov ebx,SPRITE_SIZE_X*3 shl 16 + SPRITE_SIZE_Y*3 mov ebx,SPRITE_SIZE_X*3 shl 16 + SPRITE_SIZE_Y*2
cmp [use_separate_draw_text],0
je @f
add ebx,SPRITE_SIZE_Y
;--------------------------------------
@@:
mov ecx,0x90ffffff mov ecx,0x90ffffff
mov esi,[menu_text_pointers] mov esi,[menu_text_pointers]
;-------------------------------------- ;--------------------------------------
@ -192,17 +198,19 @@ clear_screen:
menu_credits: menu_credits:
call snd_kick_action call snd_kick_action
mov [menu_text_pointers],menu_credits_text_pointers mov [menu_text_pointers],menu_credits_text_pointers
mov [use_separate_draw_text],0
mov [text_step_Y],20
jmp menu_help.1 jmp menu_help.1
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
menu_help: menu_help:
call snd_kick_action call snd_kick_action
mov [menu_text_pointers],menu_help_text_pointers mov [menu_text_pointers],menu_help_text_pointers
mov [text_step_Y],SPRITE_SIZE_Y
;-------------------------------------- ;--------------------------------------
.1: .1:
mov [text_step_Y],20
;-------------------------------------- ;--------------------------------------
.red: .red:
mov [use_separate_draw_text],0
call draw_menu_window call draw_menu_window
;--------------------------------------------------------------------- ;---------------------------------------------------------------------
.still: .still: