diff --git a/programs/games/rforces/trunk/kosSyst.cpp b/programs/games/rforces/trunk/kosSyst.cpp index 71fde4e980..193f352429 100644 --- a/programs/games/rforces/trunk/kosSyst.cpp +++ b/programs/games/rforces/trunk/kosSyst.cpp @@ -772,16 +772,6 @@ void kos_DeleteMouseCursor( Dword * handle ) } } -// 48.4 get windows title bar height -Dword kos_GetSkinHeight( Dword * handle ) -{ - __asm{ - mov eax, 48 - mov ebx, 4 - int 0x40 - } -} - // функция 38 нарисовать полосу void kos_DrawLine( Word x1, Word y1, Word x2, Word y2, Dword colour ) { @@ -874,6 +864,15 @@ void kos_DisplayNumberToWindowBg( } } +// 48.4 get windows title bar height +Dword kos_GetSkinHeight() +{ + __asm{ + mov eax, 48 + mov ebx, 4 + int 0x40 + } +} // функция 70 доступ к файловой системе Dword kos_FileSystemAccess( kosFileInfo *fileInfo ) diff --git a/programs/games/rforces/trunk/kosSyst.h b/programs/games/rforces/trunk/kosSyst.h index c33b802874..a6a2a95fd7 100644 --- a/programs/games/rforces/trunk/kosSyst.h +++ b/programs/games/rforces/trunk/kosSyst.h @@ -205,6 +205,8 @@ void kos_DisplayNumberToWindowBg( eNumberBase nBase = nbDecimal, bool valueIsPointer = false ); +// 48.4 get windows title bar height +Dword kos_GetSkinHeight(); // функция 58 доступ к файловой системе Dword kos_FileSystemAccess( kosFileInfo *fileInfo ); // функция 63