Added keys to increment/decrement state slot

This commit is contained in:
pagefault
2001-09-12 23:14:31 +00:00
parent 640be5bc0b
commit 363920e57a
4 changed files with 103 additions and 2 deletions

View File

@@ -597,6 +597,8 @@ NEWSYM AutoIncSaveSlot, db 0
NEWSYM TCPIPAddress, db 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
NEWSYM SoundInterpType, db 2
NEWSYM KeyDisplayFPS, dd 0
NEWSYM KeyIncStateSlot, dd 0
NEWSYM KeyDecStateSlot, dd 0
GUIsave equ $-GUIRAdd
@@ -617,9 +619,9 @@ ModemPTimer dd 0 ; Timer for modem process
ModemOKStat db 0 ; OK is detected on modem status
; LOAD STAT INPT OPT VID SND CHT NET GMKEY GUIOP ABT RSET SRC STCN MOVE CMBO ADDO
GUIwinposxo dd 0,5 ,60 ,30 ,55 ,50 ,35 ,5 ,30 ,20 ,10 ,80 ,65 ,20 ,70 ,50 ,3 ,50
GUIwinposxo dd 0,5 ,60 ,30 ,55 ,50 ,35 ,5 ,30 ,10 ,10 ,80 ,65 ,20 ,70 ,50 ,3 ,50
GUIwinposyo dd 0,20 ,70 ,30 ,20 ,20 ,20 ,20 ,30 ,20 ,20 ,50 ,60 ,30 ,65 ,50 ,22 ,60
GUIwinsizex dd 0,244 ,126 ,189 ,167 ,170 ,188 ,244 ,8*16,224 ,240 ,7*16,9*16,8*16,9*16,140 ,250 ,160
GUIwinsizex dd 0,244 ,126 ,189 ,167 ,170 ,188 ,244 ,8*16,235 ,240 ,7*16,9*16,8*16,9*16,140 ,250 ,160
GUIwinsizey dd 0,190 ,3*16,166 ,190 ,192 ,184 ,191 ,40 ,189 ,192 ,108 ,42 ,40 ,42 ,70 ,190 ,60
GUIwinptr db 0

View File

@@ -2712,10 +2712,12 @@ DisplayGameOptnsClick:
DGOptnsProcBox 27+45*3,120,[KeyDisableSC7]
DGOptnsProcBox 27+45*2,132,[KeyStateSlc0]
DGOptnsProcBox 27+45*3,132,[KeyStateSlc1]
DGOptnsProcBox 27+45*4,132,[KeyIncStateSlot]
DGOptnsProcBox 27,140,[KeyStateSlc2]
DGOptnsProcBox 27+45,140,[KeyStateSlc3]
DGOptnsProcBox 27+45*2,140,[KeyStateSlc4]
DGOptnsProcBox 27+45*3,140,[KeyStateSlc5]
DGOptnsProcBox 27+45*4,140,[KeyDecStateSlot]
DGOptnsProcBox 27,148,[KeyStateSlc6]
DGOptnsProcBox 27+45,148,[KeyStateSlc7]
DGOptnsProcBox 27+45*2,148,[KeyStateSlc8]

View File

@@ -4482,6 +4482,7 @@ DisplayGameOptns:
GUIOuttextwin2 9,9+45*2,134,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'1'
GUIOuttextwin2 9,9+45*3,134,GUIGameOptnsText7
GUIOuttextwin2 9,9+45*4,134,GUIGameOptnsTextY
mov byte[GUIGameOptnsText7+2],'2'
GUIOuttextwin2 9,9,141,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'3'
@@ -4490,6 +4491,7 @@ DisplayGameOptns:
GUIOuttextwin2 9,9+45*2,142,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'5'
GUIOuttextwin2 9,9+45*3,142,GUIGameOptnsText7
GUIOuttextwin2 9,9+45*4,142,GUIGameOptnsTextZ
mov byte[GUIGameOptnsText7+2],'6'
GUIOuttextwin2 9,9,150,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'7'
@@ -4588,6 +4590,7 @@ DisplayGameOptns:
GUIOuttextwin2 9,8+45*2,133,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'1'
GUIOuttextwin2 9,8+45*3,133,GUIGameOptnsText7
GUIOuttextwin2 9,8+45*4,133,GUIGameOptnsTextY
mov byte[GUIGameOptnsText7+2],'2'
GUIOuttextwin2 9,8,141,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'3'
@@ -4596,6 +4599,7 @@ DisplayGameOptns:
GUIOuttextwin2 9,8+45*2,141,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'5'
GUIOuttextwin2 9,8+45*3,141,GUIGameOptnsText7
GUIOuttextwin2 9,8+45*4,141,GUIGameOptnsTextZ
mov byte[GUIGameOptnsText7+2],'6'
GUIOuttextwin2 9,8,149,GUIGameOptnsText7
mov byte[GUIGameOptnsText7+2],'7'
@@ -4654,10 +4658,12 @@ DisplayGameOptns:
DGOptnsDrawBox 27+45*3,120,[KeyDisableSC7]
DGOptnsDrawBox 27+45*2,132,[KeyStateSlc0]
DGOptnsDrawBox 27+45*3,132,[KeyStateSlc1]
DGOptnsDrawBox 27+45*4,132,[KeyIncStateSlot]
DGOptnsDrawBox 27,140,[KeyStateSlc2]
DGOptnsDrawBox 27+45,140,[KeyStateSlc3]
DGOptnsDrawBox 27+45*2,140,[KeyStateSlc4]
DGOptnsDrawBox 27+45*3,140,[KeyStateSlc5]
DGOptnsDrawBox 27+45*4,140,[KeyDecStateSlot]
DGOptnsDrawBox 27,148,[KeyStateSlc6]
DGOptnsDrawBox 27+45,148,[KeyStateSlc7]
DGOptnsDrawBox 27+45*2,148,[KeyStateSlc8]
@@ -4709,6 +4715,8 @@ GUIGameOptnsTextT db 'SLOWDWN KEY',0
GUIGameOptnsTextU db 'CLOCK',0
GUIGameOptnsTextV db 'SAVE SPC',0
GUIGameOptnsTextX db 'DISPLAY FPS',0
GUIGameOptnsTextY db 'ST+',0
GUIGameOptnsTextZ db 'ST-',0
DisplayGUIOptns:
GUIDrawWindowBox 10,GUIGUIDisp