aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche/color.h')
-rw-r--r--engines/avalanche/color.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/engines/avalanche/color.h b/engines/avalanche/color.h
new file mode 100644
index 0000000000..1a8e69da83
--- /dev/null
+++ b/engines/avalanche/color.h
@@ -0,0 +1,56 @@
+/* ScummVM - Graphic Adventure Engine
+ *
+ * ScummVM is the legal property of its developers, whose names
+ * are too numerous to list here. Please refer to the COPYRIGHT
+ * file distributed with this source distribution.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+/*
+ * This code is based on the original source code of Lord Avalot d'Argent version 1.3.
+ * Copyright (c) 1994-1995 Mike, Mark and Thomas Thurman.
+ */
+
+// Color constants replacing the colors from the CRT unit of Pascal
+
+#ifndef COLOR_H
+#define COLOR_H
+
+#include "common/system.h"
+
+namespace Avalanche {
+
+const byte black = 0;
+const byte blue = 1;
+const byte green = 2;
+const byte cyan = 3;
+const byte red = 4;
+const byte magenta = 5;
+const byte brown = 6;
+const byte lightgray = 7;
+const byte darkgray = 8;
+const byte lightblue = 9;
+const byte lightgreen = 10;
+const byte lightcyan = 11;
+const byte lightred = 12;
+const byte lightmagenta = 13;
+const byte yellow = 14;
+const byte white = 15;
+
+} // End of namespace Avalanche
+
+#endif // COLOR_H