Fix motion blur text in GUI

This commit is contained in:
pagefault
2003-03-16 05:48:19 +00:00
parent 06ad0a578e
commit edc7be9cdc
3 changed files with 5 additions and 0 deletions

View File

@@ -1162,6 +1162,7 @@ GUIVideoKeys:
cmp dh,'M' cmp dh,'M'
jne .nomotionblur jne .nomotionblur
xor ebx,ebx xor ebx,ebx
mov bl,[cvidmode]
cmp byte[GUIMBVID+ebx],0 cmp byte[GUIMBVID+ebx],0
je .nomotionblur je .nomotionblur
xor byte[MotionBlur],1 xor byte[MotionBlur],1

View File

@@ -2255,6 +2255,7 @@ DisplayGUIVideoClick:
GUIClickCButton5 11,173,byte[Mode7HiRes16b],1 GUIClickCButton5 11,173,byte[Mode7HiRes16b],1
.nocheckboxm7 .nocheckboxm7
%ifndef __MSDOS__ %ifndef __MSDOS__
mov bl,[cvidmode]
cmp byte[GUIMBVID+ebx],0 cmp byte[GUIMBVID+ebx],0
je .nocheckboxmb je .nocheckboxmb
GUIClickCButton5 11,173,byte[MotionBlur],1 GUIClickCButton5 11,173,byte[MotionBlur],1

View File

@@ -1743,6 +1743,7 @@ DisplayGUIVideo:
GUIOuttextwin2u 5,26,178,GUIVideoText8b,0 GUIOuttextwin2u 5,26,178,GUIVideoText8b,0
.notext8 .notext8
%ifndef __MSDOS__ %ifndef __MSDOS__
mov al,[cvidmode]
cmp byte[GUIMBVID+eax],0 cmp byte[GUIMBVID+eax],0
je .notext82 je .notext82
GUIOuttextwin2u 5,26,178,GUIVideoText8b2,0 GUIOuttextwin2u 5,26,178,GUIVideoText8b2,0
@@ -1850,6 +1851,7 @@ DisplayGUIVideo:
GUIOuttextwin2 5,25,177,GUIVideoText8b GUIOuttextwin2 5,25,177,GUIVideoText8b
.notext8b .notext8b
%ifndef __MSDOS__ %ifndef __MSDOS__
mov al,[cvidmode]
cmp byte[GUIMBVID+eax],0 cmp byte[GUIMBVID+eax],0
je .notext8b2 je .notext8b2
GUIOuttextwin2 5,25,177,GUIVideoText8b2 GUIOuttextwin2 5,25,177,GUIVideoText8b2
@@ -1981,6 +1983,7 @@ DisplayGUIVideo:
GUIDisplayIconWin 5,11,173,[GUITemp] GUIDisplayIconWin 5,11,173,[GUITemp]
.nocheckboxm72 .nocheckboxm72
%ifndef __MSDOS__ %ifndef __MSDOS__
mov al,[cvidmode]
cmp byte[GUIMBVID+eax],0 cmp byte[GUIMBVID+eax],0
je .nocheckboxmb2 je .nocheckboxmb2
mov dword[GUITemp],GUIIconDataCheckBoxUC mov dword[GUITemp],GUIIconDataCheckBoxUC