Added Bilinear Filtering selection into the GUI
This commit is contained in:
@@ -174,7 +174,7 @@ EXTSYM ModemSendChar
|
||||
EXTSYM numlockptr
|
||||
%endif
|
||||
%ifdef __WIN32__
|
||||
EXTSYM CheckPriority
|
||||
EXTSYM CheckPriority,GUIBIFIL
|
||||
EXTSYM CheckAlwaysOnTop
|
||||
%endif
|
||||
%ifdef __LINUX__
|
||||
@@ -583,6 +583,7 @@ NEWSYM MouseWheel, db 1
|
||||
NEWSYM AlternateTimer, db 0
|
||||
NEWSYM AllowMultipleInst, db 0
|
||||
NEWSYM FilteredGUI, db 0
|
||||
NEWSYM BilinearFilter, db 0
|
||||
|
||||
GUIsave equ $-GUIRAdd
|
||||
|
||||
|
||||
@@ -2194,6 +2194,12 @@ DisplayGUIVideoClick:
|
||||
je .nocheckbox1b
|
||||
GUIClickCButton3 11,78,byte[antienab],byte[cfginterp],1
|
||||
.nocheckbox1b
|
||||
xor ebx,ebx
|
||||
mov bl,[cvidmode]
|
||||
cmp byte[GUIBIFIL+ebx],0
|
||||
je .nocheckbox1bf
|
||||
GUIClickCButton 11,78,byte[BilinearFilter]
|
||||
.nocheckbox1bf
|
||||
xor ebx,ebx
|
||||
mov bl,[cvidmode]
|
||||
cmp byte[GUIFSVID+ebx],0
|
||||
|
||||
@@ -1655,6 +1655,12 @@ DisplayGUIVideo:
|
||||
je near .notextb2
|
||||
GUIOuttextwin2 5,26,168,GUIVideoText3
|
||||
.notextb2
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUIBIFIL+eax],0
|
||||
je near .notextbf2
|
||||
GUIOuttextwin2 5,26,168,GUIVideoTextbf
|
||||
.notextbf2
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUIINVID+eax],0
|
||||
@@ -1737,6 +1743,12 @@ DisplayGUIVideo:
|
||||
je near .notextb2b
|
||||
GUIOuttextwin2 5,25,167,GUIVideoText3
|
||||
.notextb2b
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUIBIFIL+eax],0
|
||||
je near .notextb2bf
|
||||
GUIOuttextwin2 5,25,167,GUIVideoText3
|
||||
.notextb2bf
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUIINVID+eax],0
|
||||
@@ -1852,6 +1864,18 @@ DisplayGUIVideo:
|
||||
GUIDisplayIconWin 5,11,163,[GUITemp]
|
||||
.nocheckboxi2
|
||||
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUIBIFIL+eax],0
|
||||
je near .nocheckboxbf
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||
cmp byte[BilinearFilter],0
|
||||
je .nocheckbox1bf
|
||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||
.nocheckbox1bf
|
||||
GUIDisplayIconWin 5,11,163,[GUITemp]
|
||||
.nocheckboxbf
|
||||
|
||||
xor eax,eax
|
||||
mov al,[cvidmode]
|
||||
cmp byte[GUITBVID+eax],0
|
||||
@@ -2038,6 +2062,7 @@ GUIVideoTexta3 db '25%',0
|
||||
GUIVideoTextc db '2XSAI ENGINE',0
|
||||
GUIVideoTextd db 'SUPER EAGLE ENGINE',0
|
||||
GUIVideoTextd2 db 'SUPER 2XSAI ENGINE',0
|
||||
GUIVideoTextbf db 'BILINEAR FILTER',0
|
||||
GUIVideoText3 db 'INTERPOLATION',0 ; -y
|
||||
GUIVideoText4 db 'EAGLE ENGINE',0 ; -y
|
||||
GUIVideoText5 db 'FULL SCREEN',0 ; -c
|
||||
|
||||
Reference in New Issue
Block a user