ST10 radio buttons now functional.

This commit is contained in:
n-a-c-h
2004-01-09 02:02:06 +00:00
parent 2250ad7d67
commit 6a7e71e4f4
3 changed files with 9 additions and 2 deletions

View File

@@ -3582,7 +3582,7 @@ DisplayBoxes:
.noaddon
cmp al,18
jne .nochipconfig
call DisplayGUIChip
call DisplayGUIChipConfig
jmp .finstuff
.nochipconfig
cmp al,19

View File

@@ -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

View File

@@ -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