Added KitchenSync video option to GUI
This commit is contained in:
@@ -601,6 +601,7 @@ NEWSYM KeyIncStateSlot, dd 0
|
|||||||
NEWSYM KeyDecStateSlot, dd 0
|
NEWSYM KeyDecStateSlot, dd 0
|
||||||
NEWSYM KeyUsePlayer1234, dd 0
|
NEWSYM KeyUsePlayer1234, dd 0
|
||||||
NEWSYM hq3xFilter, db 0
|
NEWSYM hq3xFilter, db 0
|
||||||
|
NEWSYM KitchenSync, db 0
|
||||||
|
|
||||||
GUIsave equ $-GUIRAdd
|
GUIsave equ $-GUIRAdd
|
||||||
|
|
||||||
|
|||||||
@@ -1225,6 +1225,10 @@ GUIVideoKeys:
|
|||||||
; mov byte[Triplebufen],0
|
; mov byte[Triplebufen],0
|
||||||
%endif
|
%endif
|
||||||
.novsync
|
.novsync
|
||||||
|
cmp dh,'K'
|
||||||
|
jne .nokitchensync
|
||||||
|
xor byte[KitchenSync],1
|
||||||
|
.nokitchensync
|
||||||
%endif
|
%endif
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|||||||
@@ -2328,6 +2328,7 @@ DisplayGUIVideoClick:
|
|||||||
GUIClickCButton 11,183,byte[GrayscaleMode]
|
GUIClickCButton 11,183,byte[GrayscaleMode]
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIClickCButtonf 115,183,byte[vsyncon],initDirectDraw
|
GUIClickCButtonf 115,183,byte[vsyncon],initDirectDraw
|
||||||
|
GUIClickCButton 83,173,byte[KitchenSync]
|
||||||
%endif
|
%endif
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
GUIClickCButtonT 115,183,byte[vsyncon],byte[Triplebufen]
|
GUIClickCButtonT 115,183,byte[vsyncon],byte[Triplebufen]
|
||||||
|
|||||||
@@ -1769,6 +1769,7 @@ DisplayGUIVideo:
|
|||||||
GUIOuttextwin2u 5,26,188,GUIVideoText8c,0
|
GUIOuttextwin2u 5,26,188,GUIVideoText8c,0
|
||||||
%ifndef __LINUX__
|
%ifndef __LINUX__
|
||||||
GUIOuttextwin2u 5,130,188,GUIVideoText9,0
|
GUIOuttextwin2u 5,130,188,GUIVideoText9,0
|
||||||
|
GUIOuttextwin2u 5,98,178,GUIVideoText10,0
|
||||||
%endif
|
%endif
|
||||||
add byte[GUItextcolor],15
|
add byte[GUItextcolor],15
|
||||||
|
|
||||||
@@ -1870,6 +1871,7 @@ DisplayGUIVideo:
|
|||||||
GUIOuttextwin2 5,25,187,GUIVideoText8c
|
GUIOuttextwin2 5,25,187,GUIVideoText8c
|
||||||
%ifndef __LINUX__
|
%ifndef __LINUX__
|
||||||
GUIOuttextwin2 5,129,187,GUIVideoText9
|
GUIOuttextwin2 5,129,187,GUIVideoText9
|
||||||
|
GUIOuttextwin2 5,97,177,GUIVideoText10
|
||||||
%endif
|
%endif
|
||||||
DrawGUIButton 5,128,60,164,71,GUIVideoText8,4,0,0
|
DrawGUIButton 5,128,60,164,71,GUIVideoText8,4,0,0
|
||||||
mov al,[GUIWincol]
|
mov al,[GUIWincol]
|
||||||
@@ -1994,6 +1996,12 @@ DisplayGUIVideo:
|
|||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckboxm74
|
.nocheckboxm74
|
||||||
GUIDisplayIconWin 5,115,183,[GUITemp]
|
GUIDisplayIconWin 5,115,183,[GUITemp]
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
|
cmp byte[KitchenSync],0
|
||||||
|
je .nocheckboxm75
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
|
.nocheckboxm75
|
||||||
|
GUIDisplayIconWin 5,83,173,[GUITemp]
|
||||||
%endif
|
%endif
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
mov al,[cvidmode]
|
mov al,[cvidmode]
|
||||||
@@ -2167,6 +2175,7 @@ GUIVideoText8b db 'HI-RES M7',0 ; -c
|
|||||||
GUIVideoText8c db 'GRAYSCALE MODE',0 ; -c
|
GUIVideoText8c db 'GRAYSCALE MODE',0 ; -c
|
||||||
GUIVideoText8 db 'SET',0 ; set button
|
GUIVideoText8 db 'SET',0 ; set button
|
||||||
GUIVideoText9 db 'VSYNC',0 ; -c
|
GUIVideoText9 db 'VSYNC',0 ; -c
|
||||||
|
GUIVideoText10 db 'KITCHENSYNC',0 ; -c
|
||||||
GUIVideoTextH db 'MODE : ',0
|
GUIVideoTextH db 'MODE : ',0
|
||||||
GUIVideoTextw0 db 'LEGEND:',0
|
GUIVideoTextw0 db 'LEGEND:',0
|
||||||
GUIVideoTextw1 db ' S = SCALED TO FIT SCREEN',0
|
GUIVideoTextw1 db ' S = SCALED TO FIT SCREEN',0
|
||||||
|
|||||||
Reference in New Issue
Block a user