Games: Locale comments for Megamaze

- Add locale related comments for Megamaze.
- Some whitespace cleanup.
This commit is contained in:
Andrew 2024-06-12 19:10:05 +01:00
parent 9ba3608ee2
commit f23bb705b7
2 changed files with 869 additions and 857 deletions

View File

@ -17,14 +17,14 @@ macro icall lbl
use32 use32
org 0x0 org 0x0
db 'MENUET01' ; 8 byte id db 'MENUET01' ; 8 byte id
dd 0x01 ; header version dd 0x01 ; header version
dd run ; start of code dd run ; start of code
dd I_END ; size of image dd I_END ; size of image
dd end_mem ; memory for app dd end_mem ; memory for app
dd stack_end ; esp dd stack_end ; esp
dd 0x0 , 0x0 ; I_Param , I_Icon dd 0x0 , 0x0 ; I_Param , I_Icon
lang fix ru_RU lang fix ru_RU ; TODO: Include lang.inc here? Currently in game text (below) is en_US.
include "macros.inc" include "macros.inc"
purge mov purge mov
;include "../../../debug.inc" ;include "../../../debug.inc"
@ -791,24 +791,34 @@ header db 'Mega Maze', 0
next_msg db '< >' next_msg db '< >'
; TODO: Translate in game text and support 'lang.inc'. Defaults to en_US.
game_names mstr \ game_names mstr \
'Teseus & Minotaur #',\ 'Teseus & Minotaur #',\
'1-2-3 Maze #',\ '1-2-3 Maze #',\
'Tilt Maze #',\ 'Tilt Maze #',\
'Double Tilt #',\ 'Double Tilt #',\
'Full-house #',\ 'Full-house #',\
'Loops #',\ 'Loops #',\
'Wriggle #',\ 'Wriggle #',\
'BlackBox #',\ 'BlackBox #',\
'Marble #',\ 'Marble #',\
'Counter Step #',\ 'Counter Step #',\
'Orientation #',\ 'Orientation #',\
'No left turn #',\ 'No left turn #',\
'Colour-zone #' 'Colour-zone #'
msgs mstr ' ','You win!!!','Game over.','Start cell?','Dead end!',\ msgs mstr ' ',\
" atoms hidden.",'Ray emerged.','Ray absorbed.','Ray reflected.',\ 'You win!!!',\
'Mark exactly guesses','Your score is','Guess mark toggled' 'Game over.',\
'Start cell?',\
'Dead end!',\
" atoms hidden.",\
'Ray emerged.',\
'Ray absorbed.',\
'Ray reflected.',\
'Mark exactly guesses',\
'Your score is',\
'Guess mark toggled'
I_END: I_END:
main_pid dd ? main_pid dd ?

View File

@ -1,3 +1,5 @@
; Language support for locales: ru_RU (CP866), en_US.
; level format ; level format
; [fx|fy]..[field cells x2]..[worm_count]..[worm_len][start cell #][body dirs x2] ; [fx|fy]..[field cells x2]..[worm_count]..[worm_len][start cell #][body dirs x2]