pong: use standard language selection

git-svn-id: svn://kolibrios.org@5091 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2014-09-05 15:06:05 +00:00
parent 6ee337e0e7
commit 24aa6e8248
4 changed files with 11 additions and 16 deletions

View File

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

View File

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

View File

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

View File

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