Mercurial > hg > Members > kono > nitros9-code
changeset 3138:2071c1c4b6c8
New ALTCOLOR flag for window descriptors 1-7 & term_win40/80
Allows building with more readable default colors.
author | Bill Pierce <merlinious999@gmail.com> |
---|---|
date | Sat, 04 Feb 2017 02:10:37 +0100 |
parents | 8418259a032d |
children | 96cb9d947e0b |
files | level2/modules/term_win40.asm level2/modules/term_win80.asm level2/modules/w1.asm level2/modules/w2.asm level2/modules/w3.asm level2/modules/w4.asm level2/modules/w5.asm level2/modules/w6.asm level2/modules/w7.asm |
diffstat | 9 files changed, 54 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/level2/modules/term_win40.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/term_win40.asm Sat Feb 04 02:10:37 2017 +0100 @@ -28,9 +28,15 @@ sty set 1 window type cpx set 0 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Black. foreground color +prn2 set White. background color +prn3 set White. border color + ELSE prn1 set Black. foreground color prn2 set Green. background color prn3 set Green. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/term_win80.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/term_win80.asm Sat Feb 04 02:10:37 2017 +0100 @@ -28,9 +28,15 @@ sty set 2 window type cpx set 0 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Black. foreground color +prn2 set White. background color +prn3 set White. border color + ELSE prn1 set Black. foreground color prn2 set Green. background color prn3 set Green. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w1.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w1.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set 1 window type cpx set 0 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set White. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set Black. foreground color prn2 set White. background color prn3 set Red. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w2.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w2.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set $FF window type cpx set 28 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Blue. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set White. foreground color prn2 set Blue. background color prn3 set Blue. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w3.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w3.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set $FF window type cpx set 0 x cursor position cpy set 12 y cursor position + IFNE ALTCOLOR +prn1 set Green. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set Black. foreground color prn2 set Cyan. background color prn3 set Blue. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w4.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w4.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set 2 window type cpx set 0 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Red. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set White. foreground color prn2 set Blue. background color prn3 set Red. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w5.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w5.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set $FF window type cpx set 61 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Yellow. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set Black. foreground color prn2 set Cyan. background color prn3 set Red. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w6.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w6.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set $FF window type cpx set 0 x cursor position cpy set 12 y cursor position + IFNE ALTCOLOR +prn1 set Magenta. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set Black. foreground color prn2 set White. background color prn3 set Red. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam
--- a/level2/modules/w7.asm Sat Feb 04 02:10:36 2017 +0100 +++ b/level2/modules/w7.asm Sat Feb 04 02:10:37 2017 +0100 @@ -27,9 +27,15 @@ sty set 2 window type cpx set 0 x cursor position cpy set 0 y cursor position + IFNE ALTCOLOR +prn1 set Cyan. foreground color +prn2 set Black. background color +prn3 set Black. border color + ELSE prn1 set White. foreground color prn2 set Blue. background color prn3 set Blue. border color + ENDC mod eom,name,tylg,atrv,mgrnam,drvnam