From 0833f4ec35cc8f022ba98ac1670b78d1b02b5d4c Mon Sep 17 00:00:00 2001 From: Yogev Ezra Date: Sun, 15 May 2011 03:22:25 +0000 Subject: [PATCH] games/soko: auto-build from sources git-svn-id: svn://kolibrios.org@1934 a494cfbc-eb01-0410-851d-a64ba20cac60 --- data/eng/Makefile | 8 ++++++++ data/rus/Makefile | 8 ++++++++ programs/games/soko/trunk/SOKO.ASM | 13 +++++++------ 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/data/eng/Makefile b/data/eng/Makefile index fcdf6182b4..0c02fdd2fc 100644 --- a/data/eng/Makefile +++ b/data/eng/Makefile @@ -145,6 +145,7 @@ FASM_PROGRAMS:=\ games/pong:GAMES/PONG:$(PROGS)/games/pong/trunk/pong.asm \ games/pong3:GAMES/PONG3:$(PROGS)/games/pong3/trunk/pong3.asm \ games/rsquare:GAMES/RSQUARE:$(PROGS)/games/rsquare/trunk/rsquare.asm \ + games/soko:GAMES/SOKO:$(PROGS)/games/soko/trunk/SOKO.ASM \ games/snake:GAMES/SNAKE:$(PROGS)/games/snake/trunk/snake.asm \ games/sq_game:GAMES/SQ_GAME:$(PROGS)/games/sq_game/trunk/SQ_GAME.ASM \ games/sudoku:GAMES/SUDOKU:$(PROGS)/games/sudoku/trunk/sudoku.asm \ @@ -213,6 +214,13 @@ COPY_FILES:=\ fonts/trip.chr:FONTS/TRIP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TRIP.CHR \ fonts/tscr.chr:FONTS/TSCR.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TSCR.CHR \ games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini \ + games/skin.raw:GAMES/SKIN.RAW:$(PROGS)/games/soko/trunk/SKIN.RAW \ + games/soko-4.lev:GAMES/SOKO-4.LEV:$(PROGS)/games/soko/trunk/SOKO-4.LEV \ + games/soko-5.lev:GAMES/SOKO-5.LEV:$(PROGS)/games/soko/trunk/SOKO-5.LEV \ + games/soko-6.lev:GAMES/SOKO-6.LEV:$(PROGS)/games/soko/trunk/SOKO-6.LEV \ + games/soko-7.lev:GAMES/SOKO-7.LEV:$(PROGS)/games/soko/trunk/SOKO-7.LEV \ + games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \ + games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \ media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \ .shell:.shell:$(PROGS)/system/shell/bin/eng/.shell \ mykey.ini:MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \ diff --git a/data/rus/Makefile b/data/rus/Makefile index c30c3d26a6..f7bd174ea1 100644 --- a/data/rus/Makefile +++ b/data/rus/Makefile @@ -145,6 +145,7 @@ FASM_PROGRAMS:=\ games/pong:GAMES/PONG:$(PROGS)/games/pong/trunk/pong.asm \ games/pong3:GAMES/PONG3:$(PROGS)/games/pong3/trunk/pong3.asm \ games/rsquare:GAMES/RSQUARE:$(PROGS)/games/rsquare/trunk/rsquare.asm \ + games/soko:GAMES/SOKO:$(PROGS)/games/soko/trunk/SOKO.ASM \ games/snake:GAMES/SNAKE:$(PROGS)/games/snake/trunk/snake.asm \ games/sq_game:GAMES/SQ_GAME:$(PROGS)/games/sq_game/trunk/SQ_GAME.ASM \ games/sudoku:GAMES/SUDOKU:$(PROGS)/games/sudoku/trunk/sudoku.asm \ @@ -213,6 +214,13 @@ COPY_FILES:=\ fonts/trip.chr:FONTS/TRIP.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TRIP.CHR \ fonts/tscr.chr:FONTS/TSCR.CHR:$(PROGS)/demos/bgitest/trunk/FONTS/TSCR.CHR \ games/snake.ini:GAMES/SNAKE.INI:$(PROGS)/games/snake/trunk/snake.ini \ + games/skin.raw:GAMES/SKIN.RAW:$(PROGS)/games/soko/trunk/SKIN.RAW \ + games/soko-4.lev:GAMES/SOKO-4.LEV:$(PROGS)/games/soko/trunk/SOKO-4.LEV \ + games/soko-5.lev:GAMES/SOKO-5.LEV:$(PROGS)/games/soko/trunk/SOKO-5.LEV \ + games/soko-6.lev:GAMES/SOKO-6.LEV:$(PROGS)/games/soko/trunk/SOKO-6.LEV \ + games/soko-7.lev:GAMES/SOKO-7.LEV:$(PROGS)/games/soko/trunk/SOKO-7.LEV \ + games/soko-8.lev:GAMES/SOKO-8.LEV:$(PROGS)/games/soko/trunk/SOKO-8.LEV \ + games/soko-9.lev:GAMES/SOKO-9.LEV:$(PROGS)/games/soko/trunk/SOKO-9.LEV \ media/kiv.ini:MEDIA/KIV.INI:$(PROGS)/media/kiv/trunk/kiv.ini \ .shell:.shell:$(PROGS)/system/shell/bin/rus/.shell \ mykey.ini:MYKEY.INI:$(PROGS)/system/MyKey/trunk/mykey.ini \ diff --git a/programs/games/soko/trunk/SOKO.ASM b/programs/games/soko/trunk/SOKO.ASM index 4529556d5b..58c87bedeb 100644 --- a/programs/games/soko/trunk/SOKO.ASM +++ b/programs/games/soko/trunk/SOKO.ASM @@ -27,7 +27,13 @@ ; COMPILE WITH FASM -CUR_DIR equ '/HD/1/MENUETOS/' ; change it to appropriate path +include '../../../macros.inc' ; decrease code size (optional) +include 'CELLTYPE.INC' ; object identifiers +;include 'debug.inc' +;lang equ ru ; russian interface; english if undefined +include 'lang.inc' + +;CUR_DIR equ '/HD/1/MENUETOS/' ; change it to appropriate path SKIN_SIZE equ 11520 ; size of skin file (16x240) @@ -76,11 +82,6 @@ use32 dd 0x0 dd 0x0 -include 'macros.inc' ; decrease code size (optional) -include 'celltype.inc' ; object identifiers -;include 'debug.inc' -;lang equ ru ; russian interface; english if undefined - START: mov eax,58 ; load skin image-it is in RAW 16x240 BGR mov ebx,file_info ; IrfanView recommended