diff --git a/programs/games/pong/trunk/build_en.bat b/programs/games/pong/trunk/build_en.bat index 0f0a14e74e..66a37fcb06 100644 --- a/programs/games/pong/trunk/build_en.bat +++ b/programs/games/pong/trunk/build_en.bat @@ -1,3 +1,5 @@ -@copy english.inc lang.inc +@erase lang.inc +@echo lang fix en >lang.inc @fasm pong.asm pong +@erase lang.inc @pause \ No newline at end of file diff --git a/programs/games/pong/trunk/build_ru.bat b/programs/games/pong/trunk/build_ru.bat index 267d5d37cd..8d853d3ee4 100644 --- a/programs/games/pong/trunk/build_ru.bat +++ b/programs/games/pong/trunk/build_ru.bat @@ -1,3 +1,5 @@ -@copy russian.inc lang.inc +@erase lang.inc +@echo lang fix ru >lang.inc @fasm pong.asm pong +@erase lang.inc @pause \ No newline at end of file diff --git a/programs/games/pong/trunk/lang.inc b/programs/games/pong/trunk/lang.inc deleted file mode 100644 index daad037c87..0000000000 --- a/programs/games/pong/trunk/lang.inc +++ /dev/null @@ -1,14 +0,0 @@ -scotext: - db 'SCORE: :' -welcome: - db 'PLAYER1: Q , A PLAYER2:  , ' -b0lab: - db 'NEW GAME' -labelt: - db 'PONG v1.1',0 -w1: - db 'Player 1 wins!' -w2: - db 'Player 2 wins!' -clsign: - db 'x' diff --git a/programs/games/pong/trunk/pong.asm b/programs/games/pong/trunk/pong.asm index a3970a8b6a..c74518d48c 100644 --- a/programs/games/pong/trunk/pong.asm +++ b/programs/games/pong/trunk/pong.asm @@ -456,6 +456,11 @@ is_up2 dd 0x0 ; | is_dn2 dd 0x0 ; / include "lang.inc" +if lang eq ru +include "russian.inc" +else +include "english.inc" +end if ball: file "ball.raw"