From 7cb639c4d370c775be6fd3c312836d6fc1bf20a3 Mon Sep 17 00:00:00 2001 From: fedesco Date: Sat, 27 Apr 2013 10:05:08 +0000 Subject: [PATCH] italian version git-svn-id: svn://kolibrios.org@3485 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/arcanii/trunk/arcanii.asm | 35 +++++++++++++++++++----- programs/games/arcanii/trunk/makefile | 24 ++++++++++++++++ 2 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 programs/games/arcanii/trunk/makefile diff --git a/programs/games/arcanii/trunk/arcanii.asm b/programs/games/arcanii/trunk/arcanii.asm index d6882e7d23..63c68398ae 100644 --- a/programs/games/arcanii/trunk/arcanii.asm +++ b/programs/games/arcanii/trunk/arcanii.asm @@ -416,7 +416,11 @@ intro: ; INTRO ; @@: label 146,200,'ARCANOID II v0.30',0x100000FF label 120,220,'by jj (jacek jerzy malinowski)',0x050505 - label 100,240,'press SPACE to start a new game',0x10FF0800 + if lang eq it + label 100,240,'Premi spazio per iniziare una nuova partita',0x10FF0800 + else + label 100,240,'press SPACE to start a new game',0x10FF0800 + end if label 15,240,'F1 + delay',0xFFA8FF label 15,260,'F2 + delay',0xFFA8FF delay 10 @@ -428,9 +432,19 @@ level_info: jne @f ret @@: - label 170,230,'L E V E L',0x100000FF + if lang eq it + label 170,230,'L I V E L LO',0x100000FF + else + label 170,230,'L E V E L',0x100000FF + end if + + outcount [level],195,250,0x100000FF,2*65536 - label 100,270,'press SPACE to start the level',0x10FF0800 + if lang eq it + label 100,270,'Premi spazio per iniziare il livello',0x10FF0800 + else + label 100,270,'press SPACE to start the level',0x10FF0800 + end if delay 10 ret @@ -442,7 +456,11 @@ game_over: ; GAME OVER ; call grad_fill_screen call show_screen ; flips the screen label 120,150,'G A M E O V E R',0x10050505 - label 140,200,'Thanks for playing',0x0FFF800 + if lang eq it + label 140,200,'Grazie per aver giocato',0x0FFF800 + else + label 140,200,'Thanks for playing',0x0FFF800 + end if delay 20 ret @@ -802,8 +820,12 @@ draw_window: mcall 12,1 mcall 0,<100,X_SIZE+8>,<100,Y_SIZE+21>,0x14ffffff, , VERSION - - label 200,8,'LIVES:',0x10ffffff + if lang eq it + label 200,8,'VITE:',0x10ffffff + else + label 200,8,'LIVES:',0x10ffffff + end if + outcount dword [lives],250,8,0x10ffffff,65536 cmp [is_rolled_up], 1 @@ -943,4 +965,3 @@ screen: proc_info: rb 1024 I_END: - diff --git a/programs/games/arcanii/trunk/makefile b/programs/games/arcanii/trunk/makefile new file mode 100644 index 0000000000..1da93caffe --- /dev/null +++ b/programs/games/arcanii/trunk/makefile @@ -0,0 +1,24 @@ +#Makefile per la compilazione + +#Macro +FASM=/opt/bin/fasm +KPACK=/opt/bin/kpack +LANG=lang.inc +FILE=arcanii +SOURCE=${FILE}.asm +OUT=${FILE}.bin + +ru: + echo "lang fix ru" > lang.inc + ${FASM} ${SOURCE} ${OUT} + +en: + echo "lang fix en" > lang.inc + ${FASM} ${SOURCE} ${OUT} + +it: + echo "lang fix it" > lang.inc + ${FASM} ${SOURCE} ${OUT} + +clean: + rm -f ${LANG} ${OUT}