Eliminated 2 macros
This commit is contained in:
@@ -2278,20 +2278,6 @@ DrawWindowSearch:
|
|||||||
GUIDrawWindowBox 13,GUISearchDisp
|
GUIDrawWindowBox 13,GUISearchDisp
|
||||||
ret
|
ret
|
||||||
|
|
||||||
%macro TextWindowMacro 4
|
|
||||||
sub byte[GUItextcolor],15
|
|
||||||
GUIOuttextwin2 %1,%2+1,%3+1,%4
|
|
||||||
add byte[GUItextcolor],15
|
|
||||||
GUIOuttextwin2 %1,%2,%3,%4
|
|
||||||
%endmacro
|
|
||||||
|
|
||||||
%macro TextWindowMacrou 5
|
|
||||||
sub byte[GUItextcolor],15
|
|
||||||
GUIOuttextwin2u %1,%2+1,%3+1,%4,%5
|
|
||||||
add byte[GUItextcolor],15
|
|
||||||
GUIOuttextwin2 %1,%2,%3,%4
|
|
||||||
%endmacro
|
|
||||||
|
|
||||||
CSRemoveFlash:
|
CSRemoveFlash:
|
||||||
.loop
|
.loop
|
||||||
cmp byte[esi],'_'
|
cmp byte[esi],'_'
|
||||||
@@ -2490,8 +2476,8 @@ DisplayChtSrcRes: ; Buttons (Restart/View/Search)
|
|||||||
call FindChtSrcRes
|
call FindChtSrcRes
|
||||||
mov esi,GUICSrcTextG1
|
mov esi,GUICSrcTextG1
|
||||||
call convertnum
|
call convertnum
|
||||||
TextWindowMacro 13,12,125,GUICSrcTextG1b
|
GUIDisplayText 13,12,125,GUICSrcTextG1b
|
||||||
TextWindowMacro 13,97,125,GUICSrcTextG1
|
GUIDisplayText 13,97,125,GUICSrcTextG1
|
||||||
mov dword[GUIcurrentchtsrcviewloc],0
|
mov dword[GUIcurrentchtsrcviewloc],0
|
||||||
mov dword[GUIcurrentchtsrccursloc],0
|
mov dword[GUIcurrentchtsrccursloc],0
|
||||||
ret
|
ret
|
||||||
@@ -2697,7 +2683,7 @@ Cheatmodeadd: ; Add Window
|
|||||||
inc ecx
|
inc ecx
|
||||||
call converthex
|
call converthex
|
||||||
.dec
|
.dec
|
||||||
TextWindowMacro 13,71,130,GUICSrcTextG1
|
GUIDisplayText 13,71,130,GUICSrcTextG1
|
||||||
|
|
||||||
cmp byte[CurCStextpos],0 ; Cheat Input
|
cmp byte[CurCStextpos],0 ; Cheat Input
|
||||||
jne near .nofirstbox
|
jne near .nofirstbox
|
||||||
|
|||||||
Reference in New Issue
Block a user