Mantis Bug Tracker

View Revisions: Issue #1377 All Revisions ] Back to Issue ]
Summary 0001377: Changing colors doesn't work as it's supposed to according to the DM4
Revision 2014-07-29 02:20 by DavidG
Minimal Source Text To Reproduce Constant CLR_CURRENT 0;
Constant COLOR;

Include "parser"; Include "verblib";
Object room "Color Room"
with
description [;
SetColour (CLR_YELLOW, CLR_BLUE);
print "foreground: Yellow, background: Blue^";
SetColour (CLR_RED, CLR_CURRENT);
print "foreground: Red, background: Blue^";
SetColour (CLR_CURRENT, CLR_BLACK);
print "foreground: Red, background: Black^";
SetColour (CLR_DEFAULT, CLR_DEFAULT);
print "foreground: Default, background: Default^";
],
         has light;
[ initialise i key;
clr_on = 1;
location = room;
];

Include "grammar";
Revision 2014-07-29 02:15 by DavidG
Minimal Source Text To Reproduce Constant CLR_CURRENT 0;
Constant COLOR;

Include "parser"; Include "verblib";
Object room "Color Room"
with
description [;
SetColour (CLR_YELLOW, CLR_BLUE);
print "foreground: Yellow, background: Blue^";
SetColour (CLR_RED, CLR_CURRENT);
print "foreground: Red, background: Blue^";
SetColour (CLR_CURRENT, CLR_BLACK);
print "foreground: Red, background: Black^";
SetColour (CLR_DEFAULT, CLR_DEFAULT);
print "foreground: Default, background: Default^";

],
has light;
[ initialise i key;
clr_on = 1;
location = room;
];

Include "grammar";


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker