Bomber - build.bat files and support for lang.inc

git-svn-id: svn://kolibrios.org@5282 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2014-12-28 21:06:18 +00:00
parent b3e5e9a448
commit 3e6613c6f9
3 changed files with 30 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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