diff --git a/programs/games/bomber/bomber.asm b/programs/games/bomber/bomber.asm index ca6908b4d4..715d012077 100644 --- a/programs/games/bomber/bomber.asm +++ b/programs/games/bomber/bomber.asm @@ -52,7 +52,7 @@ use32 ; ;Область кода ;----------------- include ------------------------------------- - +include 'lang.inc' include 'ssmix.inc' ;--------------------------------------------------------------------------- @@ -2343,9 +2343,11 @@ file_info: ; db 0 _fi_pfilename dd ? - -;include 'ruslang.inc' -include 'englang.inc' +if lang eq ru + include 'ruslang.inc' +else + include 'englang.inc' +end if bmp_plane: file "plane.bmp":54 diff --git a/programs/games/bomber/build_en.bat b/programs/games/bomber/build_en.bat new file mode 100644 index 0000000000..519f17b421 --- /dev/null +++ b/programs/games/bomber/build_en.bat @@ -0,0 +1,12 @@ +if not exist bin mkdir bomber_eng_bin +@erase lang.inc +@echo lang fix en >lang.inc +@fasm -m 16384 bomber.asm bomber_eng_bin\bomber +@erase lang.inc +@kpack bomber_eng_bin\bomber +@fasm -m 16384 sounds\bomberdata.asm bomber_eng_bin\bomberdata.bin +@copy ackack.bmp bomber_eng_bin\ackack.bmp +@copy bomb.bmp bomber_eng_bin\bomb.bmp +@copy plane.bmp bomber_eng_bin\plane.bmp +@copy tile.bmp bomber_eng_bin\tile.bmp +@pause \ No newline at end of file diff --git a/programs/games/bomber/build_ru.bat b/programs/games/bomber/build_ru.bat new file mode 100644 index 0000000000..cf188674ae --- /dev/null +++ b/programs/games/bomber/build_ru.bat @@ -0,0 +1,12 @@ +if not exist bin mkdir bomber_rus_bin +@erase lang.inc +@echo lang fix ru >lang.inc +@fasm -m 16384 bomber.asm bomber_rus_bin\bomber +@erase lang.inc +@kpack bomber_rus_bin\bomber +@fasm -m 16384 sounds\bomberdata.asm bomber_rus_bin\bomberdata.bin +@copy ackack.bmp bomber_rus_bin\ackack.bmp +@copy bomb.bmp bomber_rus_bin\bomb.bmp +@copy plane.bmp bomber_rus_bin\plane.bmp +@copy tile.bmp bomber_rus_bin\tile.bmp +@pause \ No newline at end of file