Removal of some useless symbols and MAJOR cleanup in sdllink.cpp

This commit is contained in:
theoddone33
2002-03-02 20:57:28 +00:00
parent 7b3fc665a6
commit f50c4d7ed2
5 changed files with 109 additions and 156 deletions

View File

@@ -43,7 +43,6 @@ EXTSYM ZFFTimeFName,ZFTime,ZFDate,ZFileGetFTime
EXTSYM GetTime
EXTSYM GetDate
extsym kbhit
extsym keyboardhit
extsym GUIkeydelay2
;extsym _kbhit
;EXTSYM _getch
@@ -584,11 +583,6 @@ NEWSYM Check_Key
mov al,0FFh
ret
; returns 0 if there are no keys in the keyboard buffer, 0xFF otherwise
; mov al,byte [keyboardhit]
; push eax
; xor eax,eax
; mov byte [keyboardhit],al
; pop eax
pushad
; call kbhit
call RefreshKeybBuffer

View File

@@ -41,7 +41,6 @@ DWORD Moving=0;
DWORD SoundBufferSize=1024*18;
DWORD FirstSound=1;
int AllowDefault=0;
int SoundEnabled=1;
DWORD FirstActivate = 1;
@@ -313,7 +312,6 @@ BOOL InputDeAcquire(void)
}
extern "C" {
unsigned char keyboardhit=0;
void initwinvideo();
void DosExit(void);
extern BYTE GUIOn2;