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