Added option for small message text
This commit is contained in:
@@ -581,7 +581,7 @@ NEWSYM GUIWBAdd, db 25
|
|||||||
|
|
||||||
NEWSYM GrayscaleMode, db 0
|
NEWSYM GrayscaleMode, db 0
|
||||||
NEWSYM MouseWheel, db 1
|
NEWSYM MouseWheel, db 1
|
||||||
NEWSYM AlternateTimer, db 0
|
NEWSYM SmallMsgText, db 0
|
||||||
NEWSYM AllowMultipleInst, db 0
|
NEWSYM AllowMultipleInst, db 0
|
||||||
NEWSYM FilteredGUI, db 0
|
NEWSYM FilteredGUI, db 0
|
||||||
NEWSYM BilinearFilter, db 0
|
NEWSYM BilinearFilter, db 0
|
||||||
|
|||||||
@@ -909,6 +909,10 @@ GUIOptionKeys:
|
|||||||
jne .nosavepath
|
jne .nosavepath
|
||||||
xor byte[DontSavePath],1
|
xor byte[DontSavePath],1
|
||||||
.nosavepath
|
.nosavepath
|
||||||
|
cmp dh,'S'
|
||||||
|
jne .nosmallmsgtext
|
||||||
|
xor byte[SmallMsgText],1
|
||||||
|
.nosmallmsgtext
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
cmp dh,'I'
|
cmp dh,'I'
|
||||||
jne .noscreensaver
|
jne .noscreensaver
|
||||||
|
|||||||
@@ -2266,6 +2266,7 @@ DisplayGUIOptionClick:
|
|||||||
GUIClickCButton 11,146,byte[LatestSave]
|
GUIClickCButton 11,146,byte[LatestSave]
|
||||||
GUIClickCButton 11,156,byte[AutoState]
|
GUIClickCButton 11,156,byte[AutoState]
|
||||||
GUIClickCButton 11,166,byte[DontSavePath]
|
GUIClickCButton 11,166,byte[DontSavePath]
|
||||||
|
GUIClickCButton 11,176,byte[SmallMsgText]
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIClickCButtonW 11,186,byte[DisableScreenSaver]
|
GUIClickCButtonW 11,186,byte[DisableScreenSaver]
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
@@ -1417,7 +1417,7 @@ DisplayGUIOption:
|
|||||||
GUIOuttextwin2u 4,26,151,GUIOptionTextH,9
|
GUIOuttextwin2u 4,26,151,GUIOptionTextH,9
|
||||||
GUIOuttextwin2u 4,26,161,GUIOptionTextI,15
|
GUIOuttextwin2u 4,26,161,GUIOptionTextI,15
|
||||||
GUIOuttextwin2u 4,26,171,GUIOptionTextJ,0
|
GUIOuttextwin2u 4,26,171,GUIOptionTextJ,0
|
||||||
; GUIOuttextwin2u 4,26,181,GUIOptionTextK,1
|
GUIOuttextwin2u 4,26,181,GUIOptionTextK,1
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIOuttextwin2u 4,26,191,GUIOptionTextL,1
|
GUIOuttextwin2u 4,26,191,GUIOptionTextL,1
|
||||||
%endif
|
%endif
|
||||||
@@ -1443,7 +1443,7 @@ DisplayGUIOption:
|
|||||||
GUIOuttextwin2 4,25,150,GUIOptionTextH
|
GUIOuttextwin2 4,25,150,GUIOptionTextH
|
||||||
GUIOuttextwin2 4,25,160,GUIOptionTextI
|
GUIOuttextwin2 4,25,160,GUIOptionTextI
|
||||||
GUIOuttextwin2 4,25,170,GUIOptionTextJ
|
GUIOuttextwin2 4,25,170,GUIOptionTextJ
|
||||||
; GUIOuttextwin2 4,25,180,GUIOptionTextK
|
GUIOuttextwin2 4,25,180,GUIOptionTextK
|
||||||
%ifdef __WIN32__
|
%ifdef __WIN32__
|
||||||
GUIOuttextwin2 4,25,190,GUIOptionTextL
|
GUIOuttextwin2 4,25,190,GUIOptionTextL
|
||||||
%endif
|
%endif
|
||||||
@@ -1547,18 +1547,18 @@ DisplayGUIOption:
|
|||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox14
|
.nocheckbox14
|
||||||
GUIDisplayIconWin 4,11,166,[GUITemp]
|
GUIDisplayIconWin 4,11,166,[GUITemp]
|
||||||
%ifdef __WIN32__
|
|
||||||
; mov dword[GUITemp],GUIIconDataCheckBoxUC
|
|
||||||
; cmp byte[AlternateTimer],0
|
|
||||||
; je .nocheckbox16
|
|
||||||
; mov dword[GUITemp],GUIIconDataCheckBoxC
|
|
||||||
;.nocheckbox16
|
|
||||||
; GUIDisplayIconWin 4,11,186,[GUITemp]
|
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
cmp byte[DisableScreenSaver],0
|
cmp byte[SmallMsgText],0
|
||||||
je .nocheckbox15
|
je .nocheckbox15
|
||||||
mov dword[GUITemp],GUIIconDataCheckBoxC
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
.nocheckbox15
|
.nocheckbox15
|
||||||
|
GUIDisplayIconWin 4,11,176,[GUITemp]
|
||||||
|
%ifdef __WIN32__
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxUC
|
||||||
|
cmp byte[DisableScreenSaver],0
|
||||||
|
je .nocheckbox16
|
||||||
|
mov dword[GUITemp],GUIIconDataCheckBoxC
|
||||||
|
.nocheckbox16
|
||||||
GUIDisplayIconWin 4,11,186,[GUITemp]
|
GUIDisplayIconWin 4,11,186,[GUITemp]
|
||||||
%endif
|
%endif
|
||||||
cmp byte[frameskip],0
|
cmp byte[frameskip],0
|
||||||
@@ -1624,7 +1624,7 @@ GUIOptionTextG db 'OLD GFX MODE 2',0
|
|||||||
GUIOptionTextH db 'START AT LATEST SAVE',0
|
GUIOptionTextH db 'START AT LATEST SAVE',0
|
||||||
GUIOptionTextI db 'AUTO STATE SAVE/LOAD',0
|
GUIOptionTextI db 'AUTO STATE SAVE/LOAD',0
|
||||||
GUIOptionTextJ db 'DON',39,'T SAVE CUR PATH',0
|
GUIOptionTextJ db 'DON',39,'T SAVE CUR PATH',0
|
||||||
GUIOptionTextK db 'BLANK SPACE',0
|
GUIOptionTextK db 'USE SMALL MESSAGE TEXT',0
|
||||||
GUIOptionTextL db 'DISABLE SCREENSAVER',0
|
GUIOptionTextL db 'DISABLE SCREENSAVER',0
|
||||||
GUIOptionText8 db '-',0
|
GUIOptionText8 db '-',0
|
||||||
GUIOptionText9 db '+',0
|
GUIOptionText9 db '+',0
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ EXTSYM ChatNick
|
|||||||
EXTSYM StringLength
|
EXTSYM StringLength
|
||||||
EXTSYM chatstrLt
|
EXTSYM chatstrLt
|
||||||
EXTSYM GUIOn,FilteredGUI,HalfTrans
|
EXTSYM GUIOn,FilteredGUI,HalfTrans
|
||||||
|
EXTSYM SmallMsgText
|
||||||
EXTSYM ClearScreen
|
EXTSYM ClearScreen
|
||||||
EXTSYM Mode7HiRes,mosenng,mosszng,intrlng,mode7hr ;,VESAAddr
|
EXTSYM Mode7HiRes,mosenng,mosszng,intrlng,mode7hr ;,VESAAddr
|
||||||
EXTSYM GUICPC, newgfx16b
|
EXTSYM GUICPC, newgfx16b
|
||||||
@@ -3572,6 +3573,8 @@ NEWSYM copyvid
|
|||||||
add esi,[vidbuffer]
|
add esi,[vidbuffer]
|
||||||
cmp edi,CSStatus
|
cmp edi,CSStatus
|
||||||
je .fivex5b
|
je .fivex5b
|
||||||
|
cmp byte[SmallMsgText],1
|
||||||
|
je .fivex5b
|
||||||
call OutputGraphicString.no16bit
|
call OutputGraphicString.no16bit
|
||||||
jmp .nfivex5b
|
jmp .nfivex5b
|
||||||
.fivex5b
|
.fivex5b
|
||||||
@@ -3589,6 +3592,8 @@ NEWSYM copyvid
|
|||||||
add esi,[vidbuffer]
|
add esi,[vidbuffer]
|
||||||
cmp edi,CSStatus
|
cmp edi,CSStatus
|
||||||
je .fivex5
|
je .fivex5
|
||||||
|
cmp byte[SmallMsgText],1
|
||||||
|
je .fivex5
|
||||||
call OutputGraphicString16b
|
call OutputGraphicString16b
|
||||||
jmp .nfivex5
|
jmp .nfivex5
|
||||||
.fivex5
|
.fivex5
|
||||||
|
|||||||
Reference in New Issue
Block a user