General cleanup/commenting of Movie Options window, also created shortcuts for each slot, the Start From options, and the Display Frames option
This commit is contained in:
@@ -346,6 +346,8 @@ GUIgetcurrentinput:
|
|||||||
je near GUICheatSearchKeys
|
je near GUICheatSearchKeys
|
||||||
cmp ebx,14
|
cmp ebx,14
|
||||||
je near GUIStateKeys
|
je near GUIStateKeys
|
||||||
|
cmp ebx,15
|
||||||
|
je near GUIMovieKeys
|
||||||
cmp ebx,16
|
cmp ebx,16
|
||||||
je near GUIComboKeys
|
je near GUIComboKeys
|
||||||
cmp ebx,17
|
cmp ebx,17
|
||||||
@@ -1506,6 +1508,92 @@ GUIInputBox resd 1
|
|||||||
GUIInputLimit resd 1
|
GUIInputLimit resd 1
|
||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
|
GUIMovieKeys:
|
||||||
|
cmp dh,'a' ;Setup
|
||||||
|
jb .nocap
|
||||||
|
cmp dh,'z'
|
||||||
|
ja .nocap
|
||||||
|
sub dh,'z'-'Z'
|
||||||
|
.nocap
|
||||||
|
; Ratio Buttons
|
||||||
|
cmp dh,'0' ;Select : Ratio Buttons
|
||||||
|
jne .noselect0
|
||||||
|
mov byte[CMovieExt],'v'
|
||||||
|
.noselect0
|
||||||
|
|
||||||
|
cmp dh,'1'
|
||||||
|
jne .noselect1
|
||||||
|
mov byte[CMovieExt],'1'
|
||||||
|
.noselect1
|
||||||
|
|
||||||
|
cmp dh,'2'
|
||||||
|
jne .noselect2
|
||||||
|
mov byte[CMovieExt],'2'
|
||||||
|
.noselect2
|
||||||
|
|
||||||
|
cmp dh,'3'
|
||||||
|
jne .noselect3
|
||||||
|
mov byte[CMovieExt],'3'
|
||||||
|
.noselect3
|
||||||
|
|
||||||
|
cmp dh,'4'
|
||||||
|
jne .noselect4
|
||||||
|
mov byte[CMovieExt],'4'
|
||||||
|
.noselect4
|
||||||
|
|
||||||
|
cmp dh,'5'
|
||||||
|
jne .noselect5
|
||||||
|
mov byte[CMovieExt],'5'
|
||||||
|
.noselect5
|
||||||
|
|
||||||
|
cmp dh,'6'
|
||||||
|
jne .noselect6
|
||||||
|
mov byte[CMovieExt],'6'
|
||||||
|
.noselect6
|
||||||
|
|
||||||
|
cmp dh,'7'
|
||||||
|
jne .noselect7
|
||||||
|
mov byte[CMovieExt],'7'
|
||||||
|
.noselect7
|
||||||
|
|
||||||
|
cmp dh,'8'
|
||||||
|
jne .noselect8
|
||||||
|
mov byte[CMovieExt],'8'
|
||||||
|
.noselect8
|
||||||
|
|
||||||
|
cmp dh,'9'
|
||||||
|
jne .noselect9
|
||||||
|
mov byte[CMovieExt],'9'
|
||||||
|
.noselect9
|
||||||
|
|
||||||
|
|
||||||
|
cmp dh,'N' ;Start From Ratio Buttons
|
||||||
|
jne .nonow
|
||||||
|
mov byte[MovieStartMethod],0
|
||||||
|
.nonow
|
||||||
|
|
||||||
|
cmp dh,'P'
|
||||||
|
jne .nopower
|
||||||
|
mov byte[MovieStartMethod],1
|
||||||
|
.nopower
|
||||||
|
|
||||||
|
cmp dh,'R'
|
||||||
|
jne .noreset
|
||||||
|
mov byte[MovieStartMethod],2
|
||||||
|
.noreset
|
||||||
|
|
||||||
|
cmp dh,'S'
|
||||||
|
jne .nopowsram
|
||||||
|
mov byte[MovieStartMethod],3
|
||||||
|
.nopowsram
|
||||||
|
|
||||||
|
cmp dh,'D' ;Checkbox
|
||||||
|
jne .nodisplay
|
||||||
|
xor byte[MovieDisplayFrame],1
|
||||||
|
.nodisplay
|
||||||
|
ret
|
||||||
|
|
||||||
|
|
||||||
GUIComboKeys:
|
GUIComboKeys:
|
||||||
; Calculate Position
|
; Calculate Position
|
||||||
xor eax,eax
|
xor eax,eax
|
||||||
|
|||||||
@@ -2050,13 +2050,14 @@ DisplayGUIChoseSaveClick:
|
|||||||
%endmacro
|
%endmacro
|
||||||
|
|
||||||
DisplayGUIMovieClick:
|
DisplayGUIMovieClick:
|
||||||
cmp byte[MovieRecordWinVal],0
|
cmp byte[MovieRecordWinVal],0 ; Overwrite Window
|
||||||
je near .displayboxa
|
je near .displayboxa
|
||||||
GUIPHoldbutton 17,55,59,66,19
|
GUIPHoldbutton 17,55,59,66,19
|
||||||
GUIPHoldbutton 70,55,112,66,20
|
GUIPHoldbutton 70,55,112,66,20
|
||||||
ret
|
ret
|
||||||
.displayboxa
|
|
||||||
GUIPHoldbutton 7,17,49,28,16
|
.displayboxa ; Main Window
|
||||||
|
GUIPHoldbutton 7,17,49,28,16 ; Buttons
|
||||||
GUIPHoldbutton 7,33,49,44,17
|
GUIPHoldbutton 7,33,49,44,17
|
||||||
GUIPHoldbutton 7,49,49,60,18
|
GUIPHoldbutton 7,49,49,60,18
|
||||||
GUIPHoldbutton 7,81,109,92,29
|
GUIPHoldbutton 7,81,109,92,29
|
||||||
@@ -2064,7 +2065,9 @@ DisplayGUIMovieClick:
|
|||||||
GUIPHoldbutton 7,113,109,124,31
|
GUIPHoldbutton 7,113,109,124,31
|
||||||
GUIPHoldbutton 7,65,49,76,32
|
GUIPHoldbutton 7,65,49,76,32
|
||||||
GUIPHoldbutton 61,65,155,76,34
|
GUIPHoldbutton 61,65,155,76,34
|
||||||
GUIPButtonHole 60,25,byte[CMovieExt],'v'
|
|
||||||
|
; Ratios
|
||||||
|
GUIPButtonHole 60,25,byte[CMovieExt],'v' ; Select
|
||||||
GUIPButtonHole 80,25,byte[CMovieExt],'1'
|
GUIPButtonHole 80,25,byte[CMovieExt],'1'
|
||||||
GUIPButtonHole 100,25,byte[CMovieExt],'2'
|
GUIPButtonHole 100,25,byte[CMovieExt],'2'
|
||||||
GUIPButtonHole 120,25,byte[CMovieExt],'3'
|
GUIPButtonHole 120,25,byte[CMovieExt],'3'
|
||||||
@@ -2074,15 +2077,18 @@ DisplayGUIMovieClick:
|
|||||||
GUIPButtonHole 100,40,byte[CMovieExt],'7'
|
GUIPButtonHole 100,40,byte[CMovieExt],'7'
|
||||||
GUIPButtonHole 120,40,byte[CMovieExt],'8'
|
GUIPButtonHole 120,40,byte[CMovieExt],'8'
|
||||||
GUIPButtonHole 140,40,byte[CMovieExt],'9'
|
GUIPButtonHole 140,40,byte[CMovieExt],'9'
|
||||||
|
|
||||||
DGOptnsProcBox 116,84,[KeyInsrtChap]
|
GUIPButtonHole 8,137,byte[MovieStartMethod],0 ; Start From
|
||||||
DGOptnsProcBox 116,100,[KeyPrevChap]
|
|
||||||
DGOptnsProcBox 116,116,[KeyNextChap]
|
|
||||||
GUIClickCButton 60,50,byte[MovieDisplayFrame]
|
|
||||||
GUIPButtonHole 8,137,byte[MovieStartMethod],0
|
|
||||||
GUIPButtonHole 43,137,byte[MovieStartMethod],1
|
GUIPButtonHole 43,137,byte[MovieStartMethod],1
|
||||||
GUIPButtonHole 88,137,byte[MovieStartMethod],2
|
GUIPButtonHole 88,137,byte[MovieStartMethod],2
|
||||||
GUIPButtonHole 8,147,byte[MovieStartMethod],3
|
GUIPButtonHole 8,147,byte[MovieStartMethod],3
|
||||||
|
|
||||||
|
DGOptnsProcBox 116,84,[KeyInsrtChap] ; Keyboard Shortcut Boxes
|
||||||
|
DGOptnsProcBox 116,100,[KeyPrevChap]
|
||||||
|
DGOptnsProcBox 116,116,[KeyNextChap]
|
||||||
|
|
||||||
|
GUIClickCButton 60,50,byte[MovieDisplayFrame] ; Checkbox
|
||||||
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4559,117 +4559,107 @@ GUIGUIAboutTextG db 'thoroughly before doing so.',0
|
|||||||
|
|
||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
DisplayGUIMovies:
|
DisplayGUIMovies: ; Movie Record/Playback options
|
||||||
GUIDrawWindowBox 15,GUIMovieDisp
|
GUIDrawWindowBox 15,GUIMovieDisp ; Display Window
|
||||||
cmp byte[MovieRecordWinVal],0
|
|
||||||
|
cmp byte[MovieRecordWinVal],0
|
||||||
je near .displayboxa
|
je near .displayboxa
|
||||||
cmp byte[GUIWincoladd],0
|
|
||||||
|
cmp byte[GUIWincoladd],0 ; Overwrite Message Box
|
||||||
je .zero4
|
je .zero4
|
||||||
mov byte[GUItextcolor],211
|
mov byte[GUItextcolor],211
|
||||||
.zero4
|
.zero4
|
||||||
sub byte[GUItextcolor],15
|
sub byte[GUItextcolor],15 ; Shadows
|
||||||
GUIOuttextwin2 15,9,16,GUIMovieText5
|
GUIOuttextwin2 15,9,16,GUIMovieTextX1
|
||||||
GUIOuttextwin2 15,9,26,GUIMovieText6
|
GUIOuttextwin2 15,9,26,GUIMovieTextX2
|
||||||
GUIOuttextwin2 15,9,41,GUIMovieText7
|
GUIOuttextwin2 15,9,41,GUIMovieTextX3
|
||||||
add byte[GUItextcolor],15
|
add byte[GUItextcolor],15 ; Text
|
||||||
GUIOuttextwin2 15,8,15,GUIMovieText5
|
GUIOuttextwin2 15,8,15,GUIMovieTextX1
|
||||||
GUIOuttextwin2 15,8,25,GUIMovieText6
|
GUIOuttextwin2 15,8,25,GUIMovieTextX2
|
||||||
GUIOuttextwin2 15,8,40,GUIMovieText7
|
GUIOuttextwin2 15,8,40,GUIMovieTextX3
|
||||||
DrawGUIButton 15,17,55,59,66,GUIMovieText8,19,0,0
|
DrawGUIButton 15,17,55,59,66,GUIMovieTextX4,19,0,0 ; Yes/No Buttons
|
||||||
DrawGUIButton 15,70,55,112,66,GUIMovieText9,20,0,0
|
DrawGUIButton 15,70,55,112,66,GUIMovieTextX5,20,0,0
|
||||||
ret
|
ret
|
||||||
.displayboxa
|
|
||||||
mov dword[GUIMovieTextA+9],'INAC'
|
|
||||||
mov dword[GUIMovieTextA+13],'TIVE'
|
.displayboxa ; Main Window
|
||||||
mov dword[GUIMovieTextA+17],' '
|
|
||||||
cmp byte[MovieProcessing],1
|
DrawGUIButton 15,7,17,49,28,GUIMovieTextA1,16,0,0 ; Draw Buttons
|
||||||
jne .noplay
|
DrawGUIButton 15,7,33,49,44,GUIMovieTextA2,17,0,0
|
||||||
mov dword[GUIMovieTextA+9],'PLAY'
|
DrawGUIButton 15,7,49,49,60,GUIMovieTextA3,18,0,0
|
||||||
mov dword[GUIMovieTextA+13],'ING '
|
DrawGUIButton 15,7,65,49,76,GUIMovieTextA4,32,0,0
|
||||||
mov dword[GUIMovieTextA+17],' '
|
DrawGUIButton 15,7,81,109,92,GUIMovieTextA5,29,0,0
|
||||||
.noplay
|
DrawGUIButton 15,7,97,109,108,GUIMovieTextA6,30,0,0
|
||||||
cmp byte[MovieProcessing],2
|
DrawGUIButton 15,7,113,109,124,GUIMovieTextA7,31,0,0
|
||||||
jne .norec
|
DrawGUIButton 15,61,65,155,76,GUIMovieTextA8,34,0,0
|
||||||
mov dword[GUIMovieTextA+9],'RECO'
|
|
||||||
mov dword[GUIMovieTextA+13],'RDIN'
|
cmp byte[GUIWincoladd],0 ; Output Text
|
||||||
mov dword[GUIMovieTextA+17],'G '
|
|
||||||
.norec
|
|
||||||
cmp byte[MovieProcessing],3
|
|
||||||
jne .nooldplay
|
|
||||||
mov dword[GUIMovieTextA+9],'OLD '
|
|
||||||
mov dword[GUIMovieTextA+13],'PLAY'
|
|
||||||
mov dword[GUIMovieTextA+17],'ING '
|
|
||||||
.nooldplay
|
|
||||||
DrawGUIButton 15,7,17,49,28,GUIMovieText1,16,0,0
|
|
||||||
DrawGUIButton 15,7,33,49,44,GUIMovieText2,17,0,0
|
|
||||||
DrawGUIButton 15,7,49,49,60,GUIMovieText3,18,0,0
|
|
||||||
DrawGUIButton 15,7,65,49,76,GUIMovieTextE,32,0,0
|
|
||||||
DrawGUIButton 15,61,65,155,76,GUIMovieTextEa,34,0,0
|
|
||||||
DrawGUIButton 15,7,81,109,92,GUIMovieTextB,29,0,0
|
|
||||||
DrawGUIButton 15,7,97,109,108,GUIMovieTextC,30,0,0
|
|
||||||
DrawGUIButton 15,7,113,109,124,GUIMovieTextD,31,0,0
|
|
||||||
cmp byte[GUIWincoladd],0
|
|
||||||
je .zero
|
je .zero
|
||||||
mov byte[GUItextcolor],211
|
mov byte[GUItextcolor],211
|
||||||
.zero
|
.zero
|
||||||
sub byte[GUItextcolor],15
|
sub byte[GUItextcolor],15
|
||||||
GUIOuttextwin2 15,61,16,GUIMovieText4
|
GUIOuttextwin2 15,61,16,GUIMovieTextB ; Save Select Shadow
|
||||||
mov byte[GUIChoseSaveText2],'0'
|
mov byte[GUIMovieTextB1],'0'
|
||||||
GUIOuttextwin2 15,71,28,GUIChoseSaveText2
|
GUIOuttextwin2 15,71,28,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'1'
|
mov byte[GUIMovieTextB1],'1'
|
||||||
GUIOuttextwin2 15,91,28,GUIChoseSaveText2
|
GUIOuttextwin2 15,91,28,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'2'
|
mov byte[GUIMovieTextB1],'2'
|
||||||
GUIOuttextwin2 15,111,28,GUIChoseSaveText2
|
GUIOuttextwin2 15,111,28,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'3'
|
mov byte[GUIMovieTextB1],'3'
|
||||||
GUIOuttextwin2 15,131,28,GUIChoseSaveText2
|
GUIOuttextwin2 15,131,28,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'4'
|
mov byte[GUIMovieTextB1],'4'
|
||||||
GUIOuttextwin2 15,151,28,GUIChoseSaveText2
|
GUIOuttextwin2 15,151,28,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'5'
|
mov byte[GUIMovieTextB1],'5'
|
||||||
GUIOuttextwin2 15,71,43,GUIChoseSaveText2
|
GUIOuttextwin2 15,71,43,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'6'
|
mov byte[GUIMovieTextB1],'6'
|
||||||
GUIOuttextwin2 15,91,43,GUIChoseSaveText2
|
GUIOuttextwin2 15,91,43,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'7'
|
mov byte[GUIMovieTextB1],'7'
|
||||||
GUIOuttextwin2 15,111,43,GUIChoseSaveText2
|
GUIOuttextwin2 15,111,43,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'8'
|
mov byte[GUIMovieTextB1],'8'
|
||||||
GUIOuttextwin2 15,131,43,GUIChoseSaveText2
|
GUIOuttextwin2 15,131,43,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'9'
|
mov byte[GUIMovieTextB1],'9'
|
||||||
GUIOuttextwin2 15,151,43,GUIChoseSaveText2
|
GUIOuttextwin2 15,151,43,GUIMovieTextB1
|
||||||
GUIOuttextwin2 15,71,55,GUIMovieTextI
|
GUIOuttextwin2u 15,71,55,GUIMovieTextB2,0
|
||||||
GUIOuttextwin2 15,9,130,GUIMovieTextJ
|
|
||||||
GUIOuttextwin2 15,21,140,GUIMovieTextK
|
GUIOuttextwin2 15,9,130,GUIMovieTextC ; "Start From" Section Shadow
|
||||||
GUIOuttextwin2 15,56,140,GUIMovieTextL
|
GUIOuttextwin2u 15,21,140,GUIMovieTextC1,0
|
||||||
GUIOuttextwin2 15,101,140,GUIMovieTextM
|
GUIOuttextwin2u 15,56,140,GUIMovieTextC2,0
|
||||||
GUIOuttextwin2 15,21,150,GUIMovieTextN
|
GUIOuttextwin2u 15,101,140,GUIMovieTextC3,0
|
||||||
add byte[GUItextcolor],15
|
GUIOuttextwin2u 15,21,150,GUIMovieTextC4,8
|
||||||
GUIOuttextwin2 15,60,15,GUIMovieText4
|
|
||||||
mov byte[GUIChoseSaveText2],'0'
|
add byte[GUItextcolor],15 ; State Select Text
|
||||||
GUIOuttextwin2 15,70,27,GUIChoseSaveText2
|
GUIOuttextwin2 15,60,15,GUIMovieTextB
|
||||||
mov byte[GUIChoseSaveText2],'1'
|
mov byte[GUIMovieTextB1],'0'
|
||||||
GUIOuttextwin2 15,90,27,GUIChoseSaveText2
|
GUIOuttextwin2 15,70,27,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'2'
|
mov byte[GUIMovieTextB1],'1'
|
||||||
GUIOuttextwin2 15,110,27,GUIChoseSaveText2
|
GUIOuttextwin2 15,90,27,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'3'
|
mov byte[GUIMovieTextB1],'2'
|
||||||
GUIOuttextwin2 15,130,27,GUIChoseSaveText2
|
GUIOuttextwin2 15,110,27,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'4'
|
mov byte[GUIMovieTextB1],'3'
|
||||||
GUIOuttextwin2 15,150,27,GUIChoseSaveText2
|
GUIOuttextwin2 15,130,27,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'5'
|
mov byte[GUIMovieTextB1],'4'
|
||||||
GUIOuttextwin2 15,70,42,GUIChoseSaveText2
|
GUIOuttextwin2 15,150,27,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'6'
|
mov byte[GUIMovieTextB1],'5'
|
||||||
GUIOuttextwin2 15,90,42,GUIChoseSaveText2
|
GUIOuttextwin2 15,70,42,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'7'
|
mov byte[GUIMovieTextB1],'6'
|
||||||
GUIOuttextwin2 15,110,42,GUIChoseSaveText2
|
GUIOuttextwin2 15,90,42,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'8'
|
mov byte[GUIMovieTextB1],'7'
|
||||||
GUIOuttextwin2 15,130,42,GUIChoseSaveText2
|
GUIOuttextwin2 15,110,42,GUIMovieTextB1
|
||||||
mov byte[GUIChoseSaveText2],'9'
|
mov byte[GUIMovieTextB1],'8'
|
||||||
GUIOuttextwin2 15,150,42,GUIChoseSaveText2
|
GUIOuttextwin2 15,130,42,GUIMovieTextB1
|
||||||
GUIOuttextwin2 15,70,54,GUIMovieTextI
|
mov byte[GUIMovieTextB1],'9'
|
||||||
GUIOuttextwin2 15,8,129,GUIMovieTextJ
|
GUIOuttextwin2 15,150,42,GUIMovieTextB1
|
||||||
GUIOuttextwin2 15,20,139,GUIMovieTextK
|
GUIOuttextwin2 15,70,54,GUIMovieTextB2
|
||||||
GUIOuttextwin2 15,55,139,GUIMovieTextL
|
|
||||||
GUIOuttextwin2 15,100,139,GUIMovieTextM
|
GUIOuttextwin2 15,8,129,GUIMovieTextC ; "Start From" Section Text
|
||||||
GUIOuttextwin2 15,20,149,GUIMovieTextN
|
GUIOuttextwin2 15,20,139,GUIMovieTextC1
|
||||||
GUIDisplayButtonHole 15,60,25,byte[CMovieExt],'v'
|
GUIOuttextwin2 15,55,139,GUIMovieTextC2
|
||||||
GUIDisplayButtonHole 15,80,25,byte[CMovieExt],'1'
|
GUIOuttextwin2 15,100,139,GUIMovieTextC3
|
||||||
|
GUIOuttextwin2 15,20,149,GUIMovieTextC4
|
||||||
|
; Status text is at end of window
|
||||||
|
; Display ratio buttons
|
||||||
|
GUIDisplayButtonHole 15,60,25,byte[CMovieExt],'v' ; Select:
|
||||||
|
GUIDisplayButtonHole 15,80,25,byte[CMovieExt],'1'
|
||||||
GUIDisplayButtonHole 15,100,25,byte[CMovieExt],'2'
|
GUIDisplayButtonHole 15,100,25,byte[CMovieExt],'2'
|
||||||
GUIDisplayButtonHole 15,120,25,byte[CMovieExt],'3'
|
GUIDisplayButtonHole 15,120,25,byte[CMovieExt],'3'
|
||||||
GUIDisplayButtonHole 15,140,25,byte[CMovieExt],'4'
|
GUIDisplayButtonHole 15,140,25,byte[CMovieExt],'4'
|
||||||
@@ -4679,7 +4669,55 @@ DisplayGUIMovies:
|
|||||||
GUIDisplayButtonHole 15,120,40,byte[CMovieExt],'8'
|
GUIDisplayButtonHole 15,120,40,byte[CMovieExt],'8'
|
||||||
GUIDisplayButtonHole 15,140,40,byte[CMovieExt],'9'
|
GUIDisplayButtonHole 15,140,40,byte[CMovieExt],'9'
|
||||||
|
|
||||||
mov al,[GUIWincol]
|
GUIDisplayButtonHole 15,8,137,byte[MovieStartMethod],0 ; Start From:
|
||||||
|
GUIDisplayButtonHole 15,43,137,byte[MovieStartMethod],1
|
||||||
|
GUIDisplayButtonHole 15,88,137,byte[MovieStartMethod],2
|
||||||
|
GUIDisplayButtonHole 15,8,147,byte[MovieStartMethod],3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DDrawBox 15,116,84,[KeyInsrtChap] ; Chapter Keyboard Shortcut Boxes
|
||||||
|
DDrawBox 15,116,100,[KeyPrevChap]
|
||||||
|
DDrawBox 15,116,116,[KeyNextChap]
|
||||||
|
|
||||||
|
DGOptnsBorderBox 15,115,83 ; Borders to above boxes
|
||||||
|
DGOptnsBorderBox 15,115,99
|
||||||
|
DGOptnsBorderBox 15,115,115
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxUC ; Checkbox
|
||||||
|
cmp byte[MovieDisplayFrame],0
|
||||||
|
je .nocheckboxMDF
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
|
.nocheckboxMDF
|
||||||
|
GUIDisplayIconWin 15,60,50,[GUITemp]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
mov dword[GUIMovieTextZ+9],'INAC' ; Determine Status
|
||||||
|
mov dword[GUIMovieTextZ+13],'TIVE'
|
||||||
|
mov dword[GUIMovieTextZ+17],' '
|
||||||
|
cmp byte[MovieProcessing],1
|
||||||
|
jne .noplay
|
||||||
|
mov dword[GUIMovieTextZ+9],'PLAY'
|
||||||
|
mov dword[GUIMovieTextZ+13],'ING '
|
||||||
|
mov dword[GUIMovieTextZ+17],' '
|
||||||
|
.noplay
|
||||||
|
cmp byte[MovieProcessing],2
|
||||||
|
jne .norec
|
||||||
|
mov dword[GUIMovieTextZ+9],'RECO'
|
||||||
|
mov dword[GUIMovieTextZ+13],'RDIN'
|
||||||
|
mov dword[GUIMovieTextZ+17],'G '
|
||||||
|
.norec
|
||||||
|
cmp byte[MovieProcessing],3
|
||||||
|
jne .nooldplay
|
||||||
|
mov dword[GUIMovieTextZ+9],'OLD '
|
||||||
|
mov dword[GUIMovieTextZ+13],'PLAY'
|
||||||
|
mov dword[GUIMovieTextZ+17],'ING '
|
||||||
|
.nooldplay
|
||||||
|
|
||||||
|
mov al,[GUIWincol] ; Display Status Text
|
||||||
mov [GUIGameOptnsColA],al
|
mov [GUIGameOptnsColA],al
|
||||||
mov byte[GUIGameOptnsColB],202
|
mov byte[GUIGameOptnsColB],202
|
||||||
cmp byte[GUIWincoladd],0
|
cmp byte[GUIWincoladd],0
|
||||||
@@ -4688,7 +4726,7 @@ DisplayGUIMovies:
|
|||||||
.zero3
|
.zero3
|
||||||
mov al,byte[GUIGameOptnsColA]
|
mov al,byte[GUIGameOptnsColA]
|
||||||
mov byte[GUItextcolor],al
|
mov byte[GUItextcolor],al
|
||||||
GUIOuttextwin2 15,6,162,GUIMovieTextA
|
GUIOuttextwin2 15,6,162,GUIMovieTextZ ; Shadow
|
||||||
|
|
||||||
mov byte[GUIGameOptnsColA],163
|
mov byte[GUIGameOptnsColA],163
|
||||||
mov byte[GUIGameOptnsColB],217
|
mov byte[GUIGameOptnsColB],217
|
||||||
@@ -4699,50 +4737,38 @@ DisplayGUIMovies:
|
|||||||
.zero5
|
.zero5
|
||||||
mov al,byte[GUIGameOptnsColA]
|
mov al,byte[GUIGameOptnsColA]
|
||||||
mov byte[GUItextcolor],al
|
mov byte[GUItextcolor],al
|
||||||
GUIOuttextwin2 15,5,161,GUIMovieTextA
|
GUIOuttextwin2 15,5,161,GUIMovieTextZ ; Text
|
||||||
|
|
||||||
DDrawBox 15,116,84,[KeyInsrtChap]
|
|
||||||
DDrawBox 15,116,100,[KeyPrevChap]
|
|
||||||
DDrawBox 15,116,116,[KeyNextChap]
|
|
||||||
|
|
||||||
DGOptnsBorderBox 15,115,83
|
|
||||||
DGOptnsBorderBox 15,115,99
|
|
||||||
DGOptnsBorderBox 15,115,115
|
|
||||||
|
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
|
||||||
cmp byte[MovieDisplayFrame],0
|
|
||||||
je .nocheckboxMDF
|
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
|
||||||
.nocheckboxMDF
|
|
||||||
GUIDisplayIconWin 15,60,50,[GUITemp]
|
|
||||||
GUIDisplayButtonHole 15,8,137,byte[MovieStartMethod],0
|
|
||||||
GUIDisplayButtonHole 15,43,137,byte[MovieStartMethod],1
|
|
||||||
GUIDisplayButtonHole 15,88,137,byte[MovieStartMethod],2
|
|
||||||
GUIDisplayButtonHole 15,8,147,byte[MovieStartMethod],3
|
|
||||||
ret
|
ret
|
||||||
|
|
||||||
SECTION .data
|
SECTION .data
|
||||||
GUIMovieText1 db 'PLAY',0
|
GUIMovieTextA1 db 'PLAY',0 ; Buttons
|
||||||
GUIMovieText2 db 'RECORD',0
|
GUIMovieTextA2 db 'RECORD',0
|
||||||
GUIMovieText3 db 'STOP',0
|
GUIMovieTextA3 db 'STOP',0
|
||||||
GUIMovieText4 db 'SELECT :',0
|
GUIMovieTextA4 db 'APPEND',0
|
||||||
GUIMovieText5 db 'WARNING : THIS MOVIE',0
|
GUIMovieTextA5 db 'INSERT CHAPTER',0
|
||||||
GUIMovieText6 db ' FILE ALREADY EXISTS',0
|
GUIMovieTextA6 db 'PREVIOUS CHAPTER',0
|
||||||
GUIMovieText7 db 'OKAY TO OVERWRITE?',0
|
GUIMovieTextA7 db 'NEXT CHAPTER',0
|
||||||
GUIMovieText8 db 'YES',0
|
GUIMovieTextA8 db 'DUMP RAW MOVIE',0
|
||||||
GUIMovieText9 db 'NO',0
|
|
||||||
GUIMovieTextA db 'STATUS : ',0
|
|
||||||
GUIMovieTextB db 'INSERT CHAPTER',0
|
GUIMovieTextB db 'SELECT :',0
|
||||||
GUIMovieTextC db 'PREVIOUS CHAPTER',0
|
GUIMovieTextB1 db ' ',0
|
||||||
GUIMovieTextD db 'NEXT CHAPTER',0
|
GUIMovieTextB2 db 'DISPLAY FRAMES',0
|
||||||
GUIMovieTextE db 'APPEND',0
|
|
||||||
GUIMovieTextEa db 'DUMP RAW MOVIE',0
|
GUIMovieTextC db 'START FROM:',0
|
||||||
GUIMovieTextI db 'DISPLAY FRAMES',0
|
GUIMovieTextC1 db 'NOW',0
|
||||||
GUIMovieTextJ db 'START FROM:',0
|
GUIMovieTextC2 db 'POWER',0
|
||||||
GUIMovieTextK db 'NOW',0
|
GUIMovieTextC3 db 'RESET',0
|
||||||
GUIMovieTextL db 'POWER',0
|
GUIMovieTextC4 db 'POWER + SRAM CLEAR',0
|
||||||
GUIMovieTextM db 'RESET',0
|
|
||||||
GUIMovieTextN db 'POWER + SRAM CLEAR',0
|
GUIMovieTextX1 db 'WARNING : THIS MOVIE',0 ; Overwrite Window
|
||||||
|
GUIMovieTextX2 db ' FILE ALREADY EXISTS',0
|
||||||
|
GUIMovieTextX3 db 'OKAY TO OVERWRITE?',0
|
||||||
|
GUIMovieTextX4 db 'YES',0
|
||||||
|
GUIMovieTextX5 db 'NO',0
|
||||||
|
|
||||||
|
GUIMovieTextZ db 'STATUS : ',0
|
||||||
|
|
||||||
NEWSYM CMovieExt, db 'v'
|
NEWSYM CMovieExt, db 'v'
|
||||||
|
|
||||||
SECTION .text
|
SECTION .text
|
||||||
|
|||||||
Reference in New Issue
Block a user