/programs/games/bnc/trunk/macros.inc |
---|
File deleted |
\ No newline at end of file |
/programs/games/bnc/trunk/Tupfile.lua |
---|
1,3 → 1,4 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"bnc.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "bnc") |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_fasm.lua") |
tup.rule("bnc.asm", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o " .. tup.getconfig("KPACK_CMD"), "bnc") |
/programs/games/megamaze/trunk/macros.inc |
---|
File deleted |
/programs/games/megamaze/trunk/Tupfile.lua |
---|
1,2 → 1,4 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("megamaze.asm", "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "megamaze") |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_fasm.lua") |
tup.rule("megamaze.asm", FASM .. " %f %o " .. tup.getconfig("KPACK_CMD"), "megamaze") |
/programs/games/megamaze/trunk/megamaze.asm |
---|
589,11 → 589,11 |
mov ebp,[pack] |
.red: |
mcall 12,1 |
mov ebx,[prc_info.x_start] |
add ebx,[prc_info.x_size] |
mov ebx,[prc_info.box.left] |
add ebx,[prc_info.box.width] |
shl ebx,16 |
add ebx,310 |
mov ecx,[prc_info.y_start] |
mov ecx,[prc_info.box.top] |
shl ecx,16 |
add ecx,220 |
mcall 0,,,0x03c0c0c0 |
/programs/games/rsquare/trunk/MACROS.INC |
---|
File deleted |
\ No newline at end of file |
/programs/games/rsquare/trunk/Tupfile.lua |
---|
1,3 → 1,4 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"rsquare.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "rsquare") |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_fasm.lua") |
tup.rule("rsquare.asm", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o " .. tup.getconfig("KPACK_CMD"), "rsquare") |
/programs/games/rsquare/trunk/rsquare.asm |
---|
17,9 → 17,8 |
dd stak+0x400 ; memory for app |
dd stak+0x400 ; esp |
dd 0x0 , 0x0 ; I_Param , I_Icon |
include "lang.inc" |
include "MACROS.INC" |
;include "DEBUG.INC" |
include "macros.inc" |
;include "debug.inc" |
run: |
if LEVELCONV eq 1 |
/programs/games/soko/trunk/MACROS.INC |
---|
File deleted |
\ No newline at end of file |
/programs/games/soko/trunk/SOKO.ASM |
---|
29,11 → 29,9 |
format binary as "" |
include '../../../macros.inc' ; decrease code size (optional) |
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 '/sys/games/' ; change it to appropriate path |
/programs/games/soko/trunk/Tupfile.lua |
---|
1,3 → 1,4 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"SOKO.ASM", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "SOKO") |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_fasm.lua") |
tup.rule("SOKO.ASM", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o " .. tup.getconfig("KPACK_CMD"), "SOKO") |
/programs/games/sq_game/trunk/MACROS.INC |
---|
File deleted |
\ No newline at end of file |
/programs/games/sq_game/trunk/SQ_GAME.ASM |
---|
28,8 → 28,7 |
dd 0x0 ; ¤à¥á ¡ãä¥à ¤«ï ¯ à ¬¥â஢ (¥ ¨á¯®«ì§ã¥âáï) |
dd 0x0 ; § १¥à¢¨à®¢ ® |
include 'lang.inc' |
include 'MACROS.INC' ; ¬ ªà®áë ®¡«¥£ç îâ ¦¨§ì áᥬ¡«¥à騪®¢! |
include 'macros.inc' ; ¬ ªà®áë ®¡«¥£ç îâ ¦¨§ì áᥬ¡«¥à騪®¢! |
START: |
/programs/games/sq_game/trunk/Tupfile.lua |
---|
1,3 → 1,4 |
if tup.getconfig("NO_FASM") ~= "" then return end |
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) |
tup.rule({"SQ_GAME.ASM", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "SQ_GAME") |
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
tup.include(HELPERDIR .. "/use_fasm.lua") |
tup.rule("SQ_GAME.ASM", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o " .. tup.getconfig("KPACK_CMD"), "SQ_GAME") |