forked from KolibriOS/kolibrios
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:
parent
b3e5e9a448
commit
3e6613c6f9
@ -52,7 +52,7 @@ use32 ;
|
|||||||
;Îáëàñòü êîäà
|
;Îáëàñòü êîäà
|
||||||
|
|
||||||
;----------------- include -------------------------------------
|
;----------------- include -------------------------------------
|
||||||
|
include 'lang.inc'
|
||||||
include 'ssmix.inc'
|
include 'ssmix.inc'
|
||||||
|
|
||||||
;---------------------------------------------------------------------------
|
;---------------------------------------------------------------------------
|
||||||
@ -2343,9 +2343,11 @@ file_info: ;
|
|||||||
db 0
|
db 0
|
||||||
_fi_pfilename dd ?
|
_fi_pfilename dd ?
|
||||||
|
|
||||||
|
if lang eq ru
|
||||||
;include 'ruslang.inc'
|
include 'ruslang.inc'
|
||||||
include 'englang.inc'
|
else
|
||||||
|
include 'englang.inc'
|
||||||
|
end if
|
||||||
|
|
||||||
bmp_plane:
|
bmp_plane:
|
||||||
file "plane.bmp":54
|
file "plane.bmp":54
|
||||||
|
12
programs/games/bomber/build_en.bat
Normal file
12
programs/games/bomber/build_en.bat
Normal 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
|
12
programs/games/bomber/build_ru.bat
Normal file
12
programs/games/bomber/build_ru.bat
Normal 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
|
Loading…
Reference in New Issue
Block a user