Renamed swap players key with more meaningful name and message

This commit is contained in:
pagefault
2003-04-03 21:23:49 +00:00
parent afbb45a2a1
commit b42c3d534c
4 changed files with 14 additions and 14 deletions

View File

@@ -599,7 +599,7 @@ NEWSYM SoundInterpType, db 1
NEWSYM KeyDisplayFPS, dd 0 NEWSYM KeyDisplayFPS, dd 0
NEWSYM KeyIncStateSlot, dd 0 NEWSYM KeyIncStateSlot, dd 0
NEWSYM KeyDecStateSlot, dd 0 NEWSYM KeyDecStateSlot, dd 0
NEWSYM KeySwapPlayer1234, dd 0 NEWSYM KeyUsePlayer1234, dd 0
GUIsave equ $-GUIRAdd GUIsave equ $-GUIRAdd

View File

@@ -2771,7 +2771,7 @@ DisplayGameOptnsClick:
DGOptnsProcBox 27+45*2,24,[KeyBGDisble2] DGOptnsProcBox 27+45*2,24,[KeyBGDisble2]
DGOptnsProcBox 27+45*3,24,[KeyBGDisble3] DGOptnsProcBox 27+45*3,24,[KeyBGDisble3]
DGOptnsProcBox 27+45*4,24,[KeySprDisble] DGOptnsProcBox 27+45*4,24,[KeySprDisble]
DGOptnsProcBox 78,44,[KeySwapPlayer1234] DGOptnsProcBox 78,44,[KeyUsePlayer1234]
DGOptnsProcBox 78,52,[KeyResetAll] DGOptnsProcBox 78,52,[KeyResetAll]
DGOptnsProcBox 78,60,[KeyExtraEnab] DGOptnsProcBox 78,60,[KeyExtraEnab]
DGOptnsProcBox 78,68,[KeyNewGfxSwt] DGOptnsProcBox 78,68,[KeyNewGfxSwt]

View File

@@ -4727,7 +4727,7 @@ DisplayGameOptns:
DGOptnsDrawBox 27+45*2,24,[KeyBGDisble2] DGOptnsDrawBox 27+45*2,24,[KeyBGDisble2]
DGOptnsDrawBox 27+45*3,24,[KeyBGDisble3] DGOptnsDrawBox 27+45*3,24,[KeyBGDisble3]
DGOptnsDrawBox 27+45*4,24,[KeySprDisble] DGOptnsDrawBox 27+45*4,24,[KeySprDisble]
DGOptnsDrawBox 78,44,[KeySwapPlayer1234] DGOptnsDrawBox 78,44,[KeyUsePlayer1234]
DGOptnsDrawBox 78,52,[KeyResetAll] DGOptnsDrawBox 78,52,[KeyResetAll]
DGOptnsDrawBox 78,60,[KeyExtraEnab] DGOptnsDrawBox 78,60,[KeyExtraEnab]
DGOptnsDrawBox 78,68,[KeyNewGfxSwt] DGOptnsDrawBox 78,68,[KeyNewGfxSwt]
@@ -4818,7 +4818,7 @@ GUIGameOptnsTextV db 'SAVE SPC',0
GUIGameOptnsTextX db 'DISPLAY FPS',0 GUIGameOptnsTextX db 'DISPLAY FPS',0
GUIGameOptnsTextY db 'ST+',0 GUIGameOptnsTextY db 'ST+',0
GUIGameOptnsTextZ db 'ST-',0 GUIGameOptnsTextZ db 'ST-',0
GUIGameOptnsText1A db 'SW PL 12/34',0 GUIGameOptnsText1A db 'USE PL 12/34',0
SECTION .text SECTION .text
DisplayGUIOptns: DisplayGUIOptns:

View File

@@ -33,7 +33,7 @@ EXTSYM KeyBGDisble0,KeyBGDisble1,KeyBGDisble2,KeyBGDisble3,KeySprDisble
EXTSYM KeyResetAll,KeyExtraEnab,KeyWinDisble,KeyNewGfxSwt,KeyOffsetMSw EXTSYM KeyResetAll,KeyExtraEnab,KeyWinDisble,KeyNewGfxSwt,KeyOffsetMSw
EXTSYM KeyStateSlc0,KeyStateSlc1,KeyStateSlc2,KeyStateSlc3,KeyStateSlc4 EXTSYM KeyStateSlc0,KeyStateSlc1,KeyStateSlc2,KeyStateSlc3,KeyStateSlc4
EXTSYM KeyStateSlc5,KeyStateSlc6,KeyStateSlc7,KeyStateSlc8,KeyStateSlc9 EXTSYM KeyStateSlc5,KeyStateSlc6,KeyStateSlc7,KeyStateSlc8,KeyStateSlc9
EXTSYM KeyIncStateSlot,KeyDecStateSlot,KeySwapPlayer1234 EXTSYM KeyIncStateSlot,KeyDecStateSlot,KeyUsePlayer1234
EXTSYM maxskip,DSPMem,SprValAdd,dsp1ptr,dsp1array,FastFwdToggle,SaveSramData EXTSYM maxskip,DSPMem,SprValAdd,dsp1ptr,dsp1array,FastFwdToggle,SaveSramData
EXTSYM ngextbg,Mode7HiRes,Check60hz,Get_MouseData,Get_MousePositionDisplacement EXTSYM ngextbg,Mode7HiRes,Check60hz,Get_MouseData,Get_MousePositionDisplacement
EXTSYM WindowDisables,scanlines,romispal EXTSYM WindowDisables,scanlines,romispal
@@ -792,19 +792,19 @@ NEWSYM cachevideo
mov [MessageOn],eax mov [MessageOn],eax
xor dh,dh xor dh,dh
.nodecstateslot .nodecstateslot
mov eax,[KeySwapPlayer1234] mov eax,[KeyUsePlayer1234]
test byte[pressed+eax],1 test byte[pressed+eax],1
je .noswpl1234 je .nousepl1234
mov byte[pressed+eax],2 mov byte[pressed+eax],2
xor byte[pl12s34],1 xor byte[pl12s34],1
mov dword[Msgptr],plsw1234en mov dword[Msgptr],pluse1234en
cmp byte[pl12s34],1 cmp byte[pl12s34],1
je .swpl1234 je .usepl1234
mov dword[Msgptr],plsw1234dis mov dword[Msgptr],pluse1234dis
.swpl1234 .usepl1234
mov eax,[MsgCount] mov eax,[MsgCount]
mov [MessageOn],eax mov [MessageOn],eax
.noswpl1234 .nousepl1234
; do sound disables ; do sound disables
soundselcomp KeyDisableSC0,Voice0Disable,Voice0Status,'1' soundselcomp KeyDisableSC0,Voice0Disable,Voice0Status,'1'
@@ -994,8 +994,8 @@ NEWSYM sselm, db 'STATE SLOT 0 SELECTED',0
NEWSYM vollv, db 'VOLUME LEVEL : ',0 NEWSYM vollv, db 'VOLUME LEVEL : ',0
NEWSYM frlev, db 'FRAME SKIP SET TO ',0 NEWSYM frlev, db 'FRAME SKIP SET TO ',0
NEWSYM frlv0, db 'AUTO FRAMERATE ENABLED',0 NEWSYM frlv0, db 'AUTO FRAMERATE ENABLED',0
NEWSYM plsw1234en, db 'SWAPPED PLAYER 1/2 with 3/4',0 NEWSYM pluse1234en, db 'USE PLAYER 1/2 with 3/4 ON',0
NEWSYM plsw1234dis, db 'SWAPPED PLAYER 3/4 with 1/2',0 NEWSYM pluse1234dis, db 'USE PLAYER 1/2 with 3/4 OFF',0
sndchena db 'SOUND CH ENABLED',0 sndchena db 'SOUND CH ENABLED',0
sndchdis db 'SOUND CH DISABLED',0 sndchdis db 'SOUND CH DISABLED',0
bg1layena db 'BG1 LAYER ENABLED',0 bg1layena db 'BG1 LAYER ENABLED',0