Updated paths box.

This commit is contained in:
n-a-c-h
2004-01-09 12:12:35 +00:00
parent d2629141f5
commit 7c52cf7d2e
3 changed files with 56 additions and 2 deletions

View File

@@ -163,7 +163,6 @@ EXTSYM GUIHQ3X
EXTSYM GUIHQ4X EXTSYM GUIHQ4X
EXTSYM firstsaveinc EXTSYM firstsaveinc
EXTSYM nssdip1,nssdip2,nssdip3,nssdip4,nssdip5,nssdip6 EXTSYM nssdip1,nssdip2,nssdip3,nssdip4,nssdip5,nssdip6
NEWSYM st010difficulty, db 0 ; place holder till we commit the other Seta 10 file
;EXTSYM st010difficulty ;EXTSYM st010difficulty
%ifdef __LINUX__ %ifdef __LINUX__
EXTSYM numlockptr EXTSYM numlockptr
@@ -611,6 +610,8 @@ NEWSYM KeyUsePlayer1234, dd 0
NEWSYM hqFilter, db 0 NEWSYM hqFilter, db 0
NEWSYM reserved, db 0 NEWSYM reserved, db 0
NEWSYM scale2xFilter, db 0 NEWSYM scale2xFilter, db 0
NEWSYM st010difficulty, db 0 ; place holder till we commit the other Seta 10 file
NEWSYM SRAMPath, times 16384 db '0'
GUIsave equ $-GUIRAdd GUIsave equ $-GUIRAdd

View File

@@ -987,6 +987,8 @@ GUIWinClicked:
je near DisplayGUIAddOnClick je near DisplayGUIAddOnClick
cmp ebx,18 cmp ebx,18
je near DisplayGUIChipClick je near DisplayGUIChipClick
cmp ebx,19
je near DisplayGUIPathsClick
ret ret
%macro GUIClickCButton 3 %macro GUIClickCButton 3
@@ -3236,6 +3238,16 @@ DisplayGUIChipClick
GUIPButtonHole 75,25,byte[st010difficulty],1 GUIPButtonHole 75,25,byte[st010difficulty],1
ret ret
DisplayGUIPathsClick
GUITextBoxInput 75,15,230,25,SRAMPath,16384
;GUITextBoxInput 75,35,230,45,,16384
;GUITextBoxInput 75,55,230,65,,16384
;GUITextBoxInput 8,95,100,105,,16384
;GUITextBoxInput 8,120,100,130,,16384
;GUITextBoxInput 135,95,235,105,,16384
;GUITextBoxInput 135,120,235,130,,16384
ret
DrawMouse: DrawMouse:
mov edi,[vidbuffer] mov edi,[vidbuffer]
add edi,16 add edi,16

View File

@@ -6303,10 +6303,51 @@ SECTION .text
DisplayGUIPaths: DisplayGUIPaths:
GUIDrawWindowBox 19,GUIPathsDisp GUIDrawWindowBox 19,GUIPathsDisp
sub byte[GUItextcolor],15
GUIOuttextwin2 19,8,18,GUIPathsText1
GUIOuttextwin2 19,8,38,GUIPathsText2
GUIOuttextwin2 19,8,58,GUIPathsText3
GUIOuttextwin2 19,60,78,GUIPathsText4
GUIOuttextwin2 19,8,88,GUIPathsText5
GUIOuttextwin2 19,135,88,GUIPathsText6
GUIOuttextwin2 19,8,113,GUIPathsText8
GUIOuttextwin2 19,135,113,GUIPathsText7
add byte[GUItextcolor],15
GUIOuttextwin2 19,7,17,GUIPathsText1
GUIOuttextwin2 19,7,37,GUIPathsText2
GUIOuttextwin2 19,7,57,GUIPathsText3
GUIOuttextwin2 19,59,77,GUIPathsText4
GUIOuttextwin2 19,7,87,GUIPathsText5
GUIOuttextwin2 19,134,87,GUIPathsText6
GUIOuttextwin2 19,7,112,GUIPathsText8
GUIOuttextwin2 19,134,112,GUIPathsText7
;Input boxes - alternate color
DrawGUIWinBox 19,74,14,231,26,177
DrawGUIWinBox 19,74,34,231,46,177
DrawGUIWinBox 19,74,54,231,66,177
DrawGUIWinBox 19,7,94,101,106,177
DrawGUIWinBox 19,7,119,101,131,177
DrawGUIWinBox 19,134,94,236,106,177
DrawGUIWinBox 19,134,119,236,131,177
;Input boxes
DrawGUIWinBox 19,75,15,230,25,167
DrawGUIWinBox 19,75,35,230,45,167
DrawGUIWinBox 19,75,55,230,65,167
DrawGUIWinBox 19,8,95,100,105,167
DrawGUIWinBox 19,8,120,100,130,167
DrawGUIWinBox 19,135,95,235,105,167
DrawGUIWinBox 19,135,120,235,130,167
ret ret
SECTION .data SECTION .data
GUIPathsText1 db 'SAVES:',0
GUIPathsText2 db 'SNAPSHOTS:',0
GUIPathsText3 db 'SPCS:',0
GUIPathsText4 db '--BIOS/BASE CARTS--',0
GUIPathsText5 db 'BS-X:',0
GUIPathsText6 db 'SUFAMI TURBO:',0
GUIPathsText7 db 'SD GUNDAM G-NEXT:',0
GUIPathsText8 db 'SAME GAME:',0