Finished paths box.

This commit is contained in:
n-a-c-h
2004-01-11 01:29:40 +00:00
parent 50c74cba28
commit c5f6611a1a
4 changed files with 50 additions and 21 deletions

View File

@@ -611,13 +611,17 @@ 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 st010difficulty, db 0 ; place holder till we commit the other Seta 10 file
NEWSYM SRAMPath, times 16384 db 0 NEWSYM SRAMPath, times 1024 db 0
NEWSYM SnapPath, times 16384 db 0 NEWSYM SnapPath, times 1024 db 0
NEWSYM SPCPath, times 16384 db 0 NEWSYM SPCPath, times 1024 db 0
NEWSYM BSXPath, times 16384 db 0 NEWSYM BSXPath, times 1024 db 0
NEWSYM STPath, times 16384 db 0 NEWSYM STPath, times 1024 db 0
NEWSYM GNextPath, times 16384 db 0 NEWSYM GNextPath, times 1024 db 0
NEWSYM SGPath, times 16384 db 0 NEWSYM SGPath, times 1024 db 0
NEWSYM FEOEZPath, times 1024 db 0
NEWSYM SJNSPath, times 1024 db 0
NEWSYM MDHPath, times 1024 db 0
NEWSYM SPL4Path, times 1024 db 0
GUIsave equ $-GUIRAdd GUIsave equ $-GUIRAdd

View File

@@ -1503,6 +1503,26 @@ GUIPathKeys:
mov eax,GNextPath mov eax,GNextPath
jmp .boxselected jmp .boxselected
.notBox7 .notBox7
cmp dword[GUIInputBox],8
jne .notBox8
mov eax,FEOEZPath
jmp .boxselected
.notBox8
cmp dword[GUIInputBox],9
jne .notBox9
mov eax,SJNSPath
jmp .boxselected
.notBox9
cmp dword[GUIInputBox],10
jne .notBox10
mov eax,MDHPath
jmp .boxselected
.notBox10
cmp dword[GUIInputBox],11
jne .notBox11
mov eax,SPL4Path
jmp .boxselected
.notBox11
.boxselected .boxselected
mov ecx,eax mov ecx,eax
@@ -1525,7 +1545,7 @@ GUIPathKeys:
.notbackspace .notbackspace
;check if we're at the end ;check if we're at the end
add ecx,16383 add ecx,dword[GUIInputLimit]
cmp eax,ecx cmp eax,ecx
jne .stillroom jne .stillroom
ret ret
@@ -1537,6 +1557,7 @@ GUIPathKeys:
SECTION .bss SECTION .bss
GUIInputBox resd 1 GUIInputBox resd 1
GUIInputLimit resd 1
SECTION .text SECTION .text
GUIComboKeys: GUIComboKeys:

View File

@@ -1783,7 +1783,7 @@ SECTION .text
%%noclick %%noclick
%endmacro %endmacro
%macro GUITextBoxInputNach 5 %macro GUITextBoxInputNach 6
cmp eax,%1 cmp eax,%1
jl %%noclick jl %%noclick
cmp edx,%2 cmp edx,%2
@@ -1793,6 +1793,7 @@ SECTION .text
cmp edx,%4 cmp edx,%4
jg %%noclick jg %%noclick
mov dword[GUIInputBox],%5 mov dword[GUIInputBox],%5
mov dword[GUIInputLimit],%6-1
%%noclick %%noclick
%endmacro %endmacro
@@ -3252,18 +3253,17 @@ DisplayGUIChipClick
ret ret
DisplayGUIPathsClick DisplayGUIPathsClick
GUITextBoxInputNach 75,15,230,25,1 ;SRAMPath GUITextBoxInputNach 75,15,230,25,1,1024 ;SRAMPath
GUITextBoxInputNach 75,35,230,45,2 ;SnapPath GUITextBoxInputNach 75,35,230,45,2,1024 ;SnapPath
GUITextBoxInputNach 75,55,230,65,3 ;SPCPath GUITextBoxInputNach 75,55,230,65,3,1024 ;SPCPath
GUITextBoxInputNach 8,95,100,105,4 ;BSXPath GUITextBoxInputNach 8,95,100,105,4,1024 ;BSXPath
GUITextBoxInputNach 8,120,100,130,5 ;SGPath GUITextBoxInputNach 8,120,100,130,5,1024 ;SGPath
GUITextBoxInputNach 135,95,235,105,6 ;STPath GUITextBoxInputNach 135,95,235,105,6,1024 ;STPath
GUITextBoxInputNach 135,120,235,130,7 ;GNextPath GUITextBoxInputNach 135,120,235,130,7,1024 ;GNextPath
GUITextBoxInputNach 8,155,100,165,8,1024 ;FEOEZPath
;GUITextBoxInput 8,155,100,165,,16384 GUITextBoxInputNach 8,180,100,190,9,1024 ;SJNSPath
;GUITextBoxInput 8,180,100,190,,16384 GUITextBoxInputNach 135,155,235,165,10,1024 ;MDHPath
;GUITextBoxInput 135,155,235,165,,16384 GUITextBoxInputNach 135,180,235,190,11,1024 ;SPL4Path
;GUITextBoxInput 135,180,235,190,,16384
ret ret
DrawMouse: DrawMouse:

View File

@@ -6387,6 +6387,10 @@ DisplayGUIPaths:
GUIOuttextwin2d 19,10,124,SGPath,15 GUIOuttextwin2d 19,10,124,SGPath,15
GUIOuttextwin2d 19,137,99,STPath,15 GUIOuttextwin2d 19,137,99,STPath,15
GUIOuttextwin2d 19,137,124,GNextPath,15 GUIOuttextwin2d 19,137,124,GNextPath,15
GUIOuttextwin2d 19,10,159,FEOEZPath,15
GUIOuttextwin2d 19,10,184,SJNSPath,15
GUIOuttextwin2d 19,137,159,MDHPath,15
GUIOuttextwin2d 19,137,184,SPL4Path,15
ret ret
SECTION .data SECTION .data