ST10 radio buttons now functional.
This commit is contained in:
@@ -3582,7 +3582,7 @@ DisplayBoxes:
|
|||||||
.noaddon
|
.noaddon
|
||||||
cmp al,18
|
cmp al,18
|
||||||
jne .nochipconfig
|
jne .nochipconfig
|
||||||
call DisplayGUIChip
|
call DisplayGUIChipConfig
|
||||||
jmp .finstuff
|
jmp .finstuff
|
||||||
.nochipconfig
|
.nochipconfig
|
||||||
cmp al,19
|
cmp al,19
|
||||||
|
|||||||
@@ -985,6 +985,8 @@ GUIWinClicked:
|
|||||||
je near DisplayGUIComboClick
|
je near DisplayGUIComboClick
|
||||||
cmp ebx,17
|
cmp ebx,17
|
||||||
je near DisplayGUIAddOnClick
|
je near DisplayGUIAddOnClick
|
||||||
|
cmp ebx,18
|
||||||
|
je near DisplayGUIChipClick
|
||||||
ret
|
ret
|
||||||
|
|
||||||
%macro GUIClickCButton 3
|
%macro GUIClickCButton 3
|
||||||
@@ -3229,6 +3231,11 @@ DisplayGUIAddOnClick:
|
|||||||
GUIClickCButton 109,93,byte[nssdip6]
|
GUIClickCButton 109,93,byte[nssdip6]
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
DisplayGUIChipClick
|
||||||
|
GUIPButtonHole 20,25,byte[st010difficulty],0
|
||||||
|
GUIPButtonHole 75,25,byte[st010difficulty],1
|
||||||
|
ret
|
||||||
|
|
||||||
DrawMouse:
|
DrawMouse:
|
||||||
mov edi,[vidbuffer]
|
mov edi,[vidbuffer]
|
||||||
add edi,16
|
add edi,16
|
||||||
|
|||||||
@@ -6280,7 +6280,7 @@ GUIAddOnTextC db 'DIP 6',0
|
|||||||
|
|
||||||
SECTION .text
|
SECTION .text
|
||||||
|
|
||||||
DisplayGUIChip:
|
DisplayGUIChipConfig:
|
||||||
GUIDrawWindowBox 18,GUIChipConfigDisp
|
GUIDrawWindowBox 18,GUIChipConfigDisp
|
||||||
sub byte[GUItextcolor],15
|
sub byte[GUItextcolor],15
|
||||||
GUIOuttextwin2 18,15,18,GUIChipText1
|
GUIOuttextwin2 18,15,18,GUIChipText1
|
||||||
|
|||||||
Reference in New Issue
Block a user