Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 5097 → Rev 5098

/programs/games/fara/trunk/Tupfile.lua
0,0 → 1,9
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_msvc.lua")
tup.append_table(OBJS,
tup.foreach_rule("memcmp.asm", "fasm %f %o", "%B.obj")
)
table.insert(OBJS, "lzma_unpack.obj") -- ??? it doesn't work after fasm recompilation
compile_msvc{"*.cpp"}
link_msvc("fara")
/programs/games/fara/trunk/memcmp.asm
0,0 → 1,15
format MS COFF
section '.text' code readable executable
public _memcmp
_memcmp:
push esi edi
mov esi, [esp+12]
mov edi, [esp+16]
mov ecx, [esp+20]
repz cmpsb
pop edi esi
setb ah
seta al
sub al, ah
movsx eax, al
ret
/programs/games/fara/trunk/top10wnd.cpp
166,7 → 166,7
 
 
//
void ReleaseTop10()
void __cdecl ReleaseTop10()
{
//
if ( top10Heroes != NULL )