Added more keyboard shortcuts/changed version number to 1.28
This commit is contained in:
@@ -932,11 +932,27 @@ GUIGUIOptnsKeys:
|
|||||||
xor byte[JoyPad1Move],1
|
xor byte[JoyPad1Move],1
|
||||||
.guioptn6
|
.guioptn6
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
cmp dh,'H'
|
cmp dh,'A'
|
||||||
jne .guioptn7
|
jne .guioptn7
|
||||||
xor byte[MouseWheel],1
|
xor byte[AlwaysOnTop],1
|
||||||
.guioptn7
|
.guioptn7
|
||||||
|
cmp dh,'V'
|
||||||
|
jne .guioptn8
|
||||||
|
xor byte[SaveMainWindowPos],1
|
||||||
|
.guioptn8
|
||||||
|
cmp dh,'L'
|
||||||
|
jne .guioptn9
|
||||||
|
xor byte[AllowMultipleInst],1
|
||||||
|
.guioptn9
|
||||||
|
cmp dh,'H'
|
||||||
|
jne .guioptn10
|
||||||
|
xor byte[MouseWheel],1
|
||||||
|
.guioptn10
|
||||||
%endif
|
%endif
|
||||||
|
cmp dh,'T'
|
||||||
|
jne .guioptn11
|
||||||
|
xor byte[GUIEnableTransp],1
|
||||||
|
.guioptn11
|
||||||
ret
|
ret
|
||||||
|
|
||||||
GUISoundKeys:
|
GUISoundKeys:
|
||||||
@@ -969,6 +985,34 @@ GUISoundKeys:
|
|||||||
jne .notrevst
|
jne .notrevst
|
||||||
xor byte[RevStereo],1
|
xor byte[RevStereo],1
|
||||||
.notrevst
|
.notrevst
|
||||||
|
%ifdef __WIN32__
|
||||||
|
cmp dh,'X'
|
||||||
|
jne .noexclusivesound
|
||||||
|
xor byte[ExclusiveSound],1
|
||||||
|
.noexclusivesound
|
||||||
|
%endif
|
||||||
|
%ifdef __MSDOS__
|
||||||
|
cmp dh,'U'
|
||||||
|
jne .nosurround
|
||||||
|
xor byte[Surround],1
|
||||||
|
.nosurround
|
||||||
|
%endif
|
||||||
|
cmp dh,'O'
|
||||||
|
jne .nointersound
|
||||||
|
xor byte[InterSound],1
|
||||||
|
.nointersound
|
||||||
|
cmp dh,'L'
|
||||||
|
jne .nolowpass
|
||||||
|
xor byte[LowPassFilter],1
|
||||||
|
.nolowpass
|
||||||
|
cmp dh,'B'
|
||||||
|
jne .nosoundbuf
|
||||||
|
xor byte[SoundBufEn],1
|
||||||
|
.nosoundbuf
|
||||||
|
cmp dh,'C'
|
||||||
|
jne .nocubic
|
||||||
|
xor byte[UseCubicSpline],1
|
||||||
|
.nocubic
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.sampratenext db 1,4,5,6,2,3,0,0,0,0
|
.sampratenext db 1,4,5,6,2,3,0,0,0,0
|
||||||
|
|||||||
@@ -2081,16 +2081,16 @@ DisplayGUISound:
|
|||||||
; cmp byte[OSPort],3
|
; cmp byte[OSPort],3
|
||||||
; je near .win32s2
|
; je near .win32s2
|
||||||
%ifdef __MSDOS__
|
%ifdef __MSDOS__
|
||||||
GUIOuttextwin2 6,26,126,GUISoundTextI
|
GUIOuttextwin2u 6,26,126,GUISoundTextI,1
|
||||||
%endif
|
%endif
|
||||||
;.win32s2
|
;.win32s2
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIOuttextwin2 6,26,126,GUISoundTextIb
|
GUIOuttextwin2u 6,26,126,GUISoundTextIb,1
|
||||||
%endif
|
%endif
|
||||||
GUIOuttextwin2 6,26,136,GUISoundTextJ
|
GUIOuttextwin2u 6,26,136,GUISoundTextJ,1
|
||||||
GUIOuttextwin2 6,26,146,GUISoundTextK
|
GUIOuttextwin2u 6,26,146,GUISoundTextK,0
|
||||||
GUIOuttextwin2 6,26,156,GUISoundTextL
|
GUIOuttextwin2u 6,26,156,GUISoundTextL,6
|
||||||
GUIOuttextwin2 6,26,166,GUISoundTextM
|
GUIOuttextwin2u 6,26,166,GUISoundTextM,0
|
||||||
add byte[GUItextcolor],15
|
add byte[GUItextcolor],15
|
||||||
GUIOuttextwin2 6,25,25,GUISoundText1
|
GUIOuttextwin2 6,25,25,GUISoundText1
|
||||||
GUIOuttextwin2 6,25,34,GUISoundText3
|
GUIOuttextwin2 6,25,34,GUISoundText3
|
||||||
@@ -4778,12 +4778,12 @@ DisplayGUIOptns:
|
|||||||
GUIOuttextwin2 10,147,111,GUIGUIOptnsTextI
|
GUIOuttextwin2 10,147,111,GUIGUIOptnsTextI
|
||||||
GUIOuttextwin2 10,26,88,GUIGUIOptnsTextB
|
GUIOuttextwin2 10,26,88,GUIGUIOptnsTextB
|
||||||
GUIOuttextwin2 10,26,98,GUIGUIOptnsTextC
|
GUIOuttextwin2 10,26,98,GUIGUIOptnsTextC
|
||||||
GUIOuttextwin2 10,138,28,GUIGUIOptnsTextJ
|
GUIOuttextwin2u 10,138,28,GUIGUIOptnsTextJ,0
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIOuttextwin2 10,26,173,GUIGUIOptnsTextE
|
GUIOuttextwin2u 10,26,173,GUIGUIOptnsTextE,0
|
||||||
GUIOuttextwin2 10,26,183,GUIGUIOptnsTextF
|
GUIOuttextwin2u 10,26,183,GUIGUIOptnsTextF,2
|
||||||
GUIOuttextwin2u 10,138,38,GUIGUIOptnsTextK,1
|
GUIOuttextwin2u 10,138,38,GUIGUIOptnsTextK,1
|
||||||
GUIOuttextwin2 10,26,193,GUIGUIOptnsTextL
|
GUIOuttextwin2u 10,26,193,GUIGUIOptnsTextL,1
|
||||||
%endif
|
%endif
|
||||||
mov byte[GUIGUIOptnsText6],'R'
|
mov byte[GUIGUIOptnsText6],'R'
|
||||||
GUIOuttextwin2 10,16,123,GUIGUIOptnsText6
|
GUIOuttextwin2 10,16,123,GUIGUIOptnsText6
|
||||||
@@ -4997,7 +4997,7 @@ GUIGUIAboutText6b db ' TEUF',0
|
|||||||
GUIGUIAboutText6c db ' PAGEFAULT',0
|
GUIGUIAboutText6c db ' PAGEFAULT',0
|
||||||
GUIGUIAboutText6d db ' THEODDONE33',0
|
GUIGUIAboutText6d db ' THEODDONE33',0
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIGUIAboutText7 db 'WIN PORT V0.97',0
|
GUIGUIAboutText7 db 'WIN PORT V0.99',0
|
||||||
%elifdef __LINUX__
|
%elifdef __LINUX__
|
||||||
GUIGUIAboutText7 db 'LINUX PORT V0.19',0
|
GUIGUIAboutText7 db 'LINUX PORT V0.19',0
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ NEWSYM outofmemory
|
|||||||
SECTION .data
|
SECTION .data
|
||||||
NEWSYM mydebug, db '',13,10,0
|
NEWSYM mydebug, db '',13,10,0
|
||||||
NEWSYM outofmem, db 'You don',39,'t have enough memory to run this program!',13,10,0
|
NEWSYM outofmem, db 'You don',39,'t have enough memory to run this program!',13,10,0
|
||||||
%define ZVERSION '26 '
|
%define ZVERSION '28 '
|
||||||
;%define ZBETA 0
|
;%define ZBETA 0
|
||||||
|
|
||||||
; Line added by Peter Santing
|
; Line added by Peter Santing
|
||||||
|
|||||||
Reference in New Issue
Block a user