/programs/games/flood-it/trunk/compile_eng.bat |
1,7 → 1,7 |
del lang.h-- |
echo #define LANG_ENG 1 >lang.h-- |
..\C--\C-- flood-it.c |
C-- flood-it.c |
del flood-it! |
rename flood-it.com flood-it |
..\C--\kpack flood-it |
C--\kpack flood-it |
pause |
/programs/games/flood-it/trunk/lib/kolibri.h |
68,10 → 68,22 |
} |
|
|
inline fastcall word GetKey(){ //Gluk fix |
EAX = 2; // just read it key from buffer |
inline fastcall word GetKey() //+Gluk fix |
{ |
$push edx |
GETKEY: |
$mov eax,2 |
$int 0x40 |
EAX = EAX >> 8; |
$cmp eax,1 |
$jne GETKEYI |
$mov ah,dh |
$jmp GETKEYII //jz? |
GETKEYI: |
$mov dh,ah |
$jmp GETKEY |
GETKEYII: |
$pop edx |
$shr eax,8 |
} |
|
inline fastcall word GetButtonID(){ |