Code updates
This commit is contained in:
@@ -1253,12 +1253,14 @@ GUISoundKeys:
|
|||||||
jne .nocubicinterp
|
jne .nocubicinterp
|
||||||
GUIkeystoggleoptn byte[SoundInterpType],2
|
GUIkeystoggleoptn byte[SoundInterpType],2
|
||||||
.nocubicinterp
|
.nocubicinterp
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp dh,'8'
|
cmp dh,'8'
|
||||||
jne .no8ptinterp
|
jne .no8ptinterp
|
||||||
cmp byte[MMXSupport],0
|
cmp byte[MMXSupport],0
|
||||||
je .no8ptinterp
|
je .no8ptinterp
|
||||||
GUIkeystoggleoptn byte[SoundInterpType],3
|
GUIkeystoggleoptn byte[SoundInterpType],3
|
||||||
.no8ptinterp
|
.no8ptinterp
|
||||||
|
%endif
|
||||||
cmp dh,'I'
|
cmp dh,'I'
|
||||||
jne .nosimplefilter
|
jne .nosimplefilter
|
||||||
GUIkeystoggleoptn byte[LowPassFilterType],1
|
GUIkeystoggleoptn byte[LowPassFilterType],1
|
||||||
@@ -1267,12 +1269,14 @@ GUISoundKeys:
|
|||||||
jne .nodynamicfilter
|
jne .nodynamicfilter
|
||||||
GUIkeystoggleoptn byte[LowPassFilterType],2
|
GUIkeystoggleoptn byte[LowPassFilterType],2
|
||||||
.nodynamicfilter
|
.nodynamicfilter
|
||||||
|
%ifndef __MSDOS__
|
||||||
cmp dh,'H'
|
cmp dh,'H'
|
||||||
jne .nohiqualityfilter
|
jne .nohiqualityfilter
|
||||||
cmp byte[MMXSupport],0
|
cmp byte[MMXSupport],0
|
||||||
je .nohiqualityfilter
|
je .nohiqualityfilter
|
||||||
GUIkeystoggleoptn byte[LowPassFilterType],3
|
GUIkeystoggleoptn byte[LowPassFilterType],3
|
||||||
.nohiqualityfilter
|
.nohiqualityfilter
|
||||||
|
%endif
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.sampratenext db 1,4,5,6,2,3,0,0,0,0
|
.sampratenext db 1,4,5,6,2,3,0,0,0,0
|
||||||
|
|||||||
@@ -2360,10 +2360,14 @@ DisplayGUISoundClick:
|
|||||||
GUIClickCButton 11,141,byte[SPCDisable]
|
GUIClickCButton 11,141,byte[SPCDisable]
|
||||||
GUIClickCButton5 11,163,byte[SoundInterpType],1
|
GUIClickCButton5 11,163,byte[SoundInterpType],1
|
||||||
GUIClickCButton5 11,173,byte[SoundInterpType],2
|
GUIClickCButton5 11,173,byte[SoundInterpType],2
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIClickCButton5MMX 11,183,byte[SoundInterpType],3
|
GUIClickCButton5MMX 11,183,byte[SoundInterpType],3
|
||||||
|
%endif
|
||||||
GUIClickCButton5 111,163,byte[LowPassFilterType],1
|
GUIClickCButton5 111,163,byte[LowPassFilterType],1
|
||||||
GUIClickCButton5 111,173,byte[LowPassFilterType],2
|
GUIClickCButton5 111,173,byte[LowPassFilterType],2
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIClickCButton5MMX 111,183,byte[LowPassFilterType],3
|
GUIClickCButton5MMX 111,183,byte[LowPassFilterType],3
|
||||||
|
%endif
|
||||||
cmp eax,15
|
cmp eax,15
|
||||||
jl near .nosrate
|
jl near .nosrate
|
||||||
cmp edx,61
|
cmp edx,61
|
||||||
|
|||||||
@@ -2183,10 +2183,14 @@ DisplayGUISound:
|
|||||||
GUIOuttextwin2u 6,26,146,GUISoundTextK,0
|
GUIOuttextwin2u 6,26,146,GUISoundTextK,0
|
||||||
GUIOuttextwin2u 6,26,168,GUISoundTextQ,0
|
GUIOuttextwin2u 6,26,168,GUISoundTextQ,0
|
||||||
GUIOuttextwin2u 6,26,178,GUISoundTextR,0
|
GUIOuttextwin2u 6,26,178,GUISoundTextR,0
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIOuttextwin2u 6,26,188,GUISoundTextS,0
|
GUIOuttextwin2u 6,26,188,GUISoundTextS,0
|
||||||
|
%endif
|
||||||
GUIOuttextwin2u 6,126,168,GUISoundTextU,1
|
GUIOuttextwin2u 6,126,168,GUISoundTextU,1
|
||||||
GUIOuttextwin2u 6,126,178,GUISoundTextV,1
|
GUIOuttextwin2u 6,126,178,GUISoundTextV,1
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIOuttextwin2u 6,126,188,GUISoundTextW,0
|
GUIOuttextwin2u 6,126,188,GUISoundTextW,0
|
||||||
|
%endif
|
||||||
add byte[GUItextcolor],15
|
add byte[GUItextcolor],15
|
||||||
GUIOuttextwin2 6,25,25,GUISoundText1
|
GUIOuttextwin2 6,25,25,GUISoundText1
|
||||||
GUIOuttextwin2 6,25,34,GUISoundText3
|
GUIOuttextwin2 6,25,34,GUISoundText3
|
||||||
@@ -2206,10 +2210,14 @@ DisplayGUISound:
|
|||||||
GUIOuttextwin2 6,25,145,GUISoundTextK
|
GUIOuttextwin2 6,25,145,GUISoundTextK
|
||||||
GUIOuttextwin2 6,25,167,GUISoundTextQ
|
GUIOuttextwin2 6,25,167,GUISoundTextQ
|
||||||
GUIOuttextwin2 6,25,177,GUISoundTextR
|
GUIOuttextwin2 6,25,177,GUISoundTextR
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIOuttextwin2 6,25,187,GUISoundTextS
|
GUIOuttextwin2 6,25,187,GUISoundTextS
|
||||||
|
%endif
|
||||||
GUIOuttextwin2 6,125,167,GUISoundTextU
|
GUIOuttextwin2 6,125,167,GUISoundTextU
|
||||||
GUIOuttextwin2 6,125,177,GUISoundTextV
|
GUIOuttextwin2 6,125,177,GUISoundTextV
|
||||||
|
%ifndef __MSDOS__
|
||||||
GUIOuttextwin2 6,125,187,GUISoundTextW
|
GUIOuttextwin2 6,125,187,GUISoundTextW
|
||||||
|
%endif
|
||||||
mov al,[GUIWincol]
|
mov al,[GUIWincol]
|
||||||
mov byte[GUItextcolor],al
|
mov byte[GUItextcolor],al
|
||||||
GUIOuttextwin2 6,6,16,GUISoundText6
|
GUIOuttextwin2 6,6,16,GUISoundText6
|
||||||
@@ -2294,12 +2302,14 @@ DisplayGUISound:
|
|||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox8
|
.nocheckbox8
|
||||||
GUIDisplayIconWin 6,11,173,[GUITemp]
|
GUIDisplayIconWin 6,11,173,[GUITemp]
|
||||||
|
%ifndef __MSDOS__
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[SoundInterpType],3
|
cmp byte[SoundInterpType],3
|
||||||
jne .nocheckbox9
|
jne .nocheckbox9
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox9
|
.nocheckbox9
|
||||||
GUIDisplayIconWin 6,11,183,[GUITemp]
|
GUIDisplayIconWin 6,11,183,[GUITemp]
|
||||||
|
%endif
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[LowPassFilterType],1
|
cmp byte[LowPassFilterType],1
|
||||||
jne .nocheckbox10
|
jne .nocheckbox10
|
||||||
@@ -2312,12 +2322,14 @@ DisplayGUISound:
|
|||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox11
|
.nocheckbox11
|
||||||
GUIDisplayIconWin 6,111,173,[GUITemp]
|
GUIDisplayIconWin 6,111,173,[GUITemp]
|
||||||
|
%ifndef __MSDOS__
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[LowPassFilterType],3
|
cmp byte[LowPassFilterType],3
|
||||||
jne .nocheckbox12
|
jne .nocheckbox12
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox12
|
.nocheckbox12
|
||||||
GUIDisplayIconWin 6,111,183,[GUITemp]
|
GUIDisplayIconWin 6,111,183,[GUITemp]
|
||||||
|
%endif
|
||||||
DrawGUIWinBox 6,15,61,69,69,167
|
DrawGUIWinBox 6,15,61,69,69,167
|
||||||
mov dword[GUITemp],GUISoundText7
|
mov dword[GUITemp],GUISoundText7
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
|
|||||||
@@ -1972,7 +1972,6 @@ extern DWORD AddEndBytes;
|
|||||||
extern DWORD NumBytesPerLine;
|
extern DWORD NumBytesPerLine;
|
||||||
extern unsigned char * WinVidMemStart;
|
extern unsigned char * WinVidMemStart;
|
||||||
extern void copy640x480x16bwin(void);
|
extern void copy640x480x16bwin(void);
|
||||||
extern unsigned char MMXSupport;
|
|
||||||
extern unsigned char NGNoTransp;
|
extern unsigned char NGNoTransp;
|
||||||
extern unsigned char newengen;
|
extern unsigned char newengen;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user