Added extra sound update
This commit is contained in:
@@ -1610,6 +1610,9 @@ NEWSYM Check60hz
|
|||||||
; Call the timer update function here
|
; Call the timer update function here
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
NEWSYM UpdateSoundAgain
|
||||||
|
ret
|
||||||
|
|
||||||
; ****************************
|
; ****************************
|
||||||
; TCP/IP Stuff
|
; TCP/IP Stuff
|
||||||
; ****************************
|
; ****************************
|
||||||
|
|||||||
@@ -1299,6 +1299,9 @@ NEWSYM Check60hz
|
|||||||
popad
|
popad
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
NEWSYM UpdateSoundAgain
|
||||||
|
ret
|
||||||
|
|
||||||
BitPosR db 11
|
BitPosR db 11
|
||||||
BitPosG db 5
|
BitPosG db 5
|
||||||
BitPosB db 0
|
BitPosB db 0
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ EXTSYM objadds1,objadds2,objmovs1,objmovs2,tltype4b,vidmemch4,vram
|
|||||||
EXTSYM bgptr,bgptrc,bgptrd,curtileptr,vcache2b
|
EXTSYM bgptr,bgptrc,bgptrd,curtileptr,vcache2b
|
||||||
EXTSYM vcache8b,vidmemch8
|
EXTSYM vcache8b,vidmemch8
|
||||||
EXTSYM offsetmshl
|
EXTSYM offsetmshl
|
||||||
EXTSYM tltype2b
|
EXTSYM tltype2b,UpdateSoundAgain
|
||||||
EXTSYM tltype8b,objwlrpos
|
EXTSYM tltype8b,objwlrpos
|
||||||
|
|
||||||
|
|
||||||
@@ -403,6 +403,7 @@ NEWSYM cachevideo
|
|||||||
push esi
|
push esi
|
||||||
push edi
|
push edi
|
||||||
push edx
|
push edx
|
||||||
|
call UpdateSoundAgain
|
||||||
inc byte[mousecheck]
|
inc byte[mousecheck]
|
||||||
and byte[mousecheck],07h
|
and byte[mousecheck],07h
|
||||||
cmp byte[mousecheck],0
|
cmp byte[mousecheck],0
|
||||||
|
|||||||
@@ -983,15 +983,18 @@ NEWSYM Output_Text ; Output character (ah=02h) or string (ah=09h)
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
|
NEWSYM TempBlah, dd 0
|
||||||
|
|
||||||
NEWSYM InitPreGame ; Executes before starting/continuing a game
|
NEWSYM InitPreGame ; Executes before starting/continuing a game
|
||||||
mov byte[pressed+1],2
|
mov byte[pressed+1],2
|
||||||
pushad
|
pushad
|
||||||
call Start60HZ
|
call Start60HZ
|
||||||
popad
|
popad
|
||||||
|
mov dword[TempBlah],1
|
||||||
pushad
|
pushad
|
||||||
call initwinvideo
|
call initwinvideo
|
||||||
popad
|
popad
|
||||||
|
mov dword[TempBlah],0
|
||||||
|
|
||||||
mov byte[RaisePitch],1
|
mov byte[RaisePitch],1
|
||||||
pushad
|
pushad
|
||||||
@@ -1586,6 +1589,9 @@ NEWSYM Check60hz
|
|||||||
popad
|
popad
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
NEWSYM UpdateSoundAgain
|
||||||
|
ret
|
||||||
|
|
||||||
BitPosR db 11
|
BitPosR db 11
|
||||||
BitPosG db 5
|
BitPosG db 5
|
||||||
BitPosB db 0
|
BitPosB db 0
|
||||||
|
|||||||
Reference in New Issue
Block a user