Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 7133 → Rev 7134

/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