Преглед на файлове

Added the rest of the primary colors.

Eiyeron Fulmincendii преди 10 години
родител
ревизия
582f02e41a
променени са 2 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 5 0
      src/render/Pixel.cpp
  2. 3 0
      src/render/Pixel.h

+ 5 - 0
src/render/Pixel.cpp

@@ -33,4 +33,9 @@ CONST_COLOR(White, 255, 255, 255);
 CONST_COLOR(Red, 255, 0, 0);
 CONST_COLOR(Green, 0, 255, 0);
 CONST_COLOR(Blue, 0, 0, 255);
+
+CONST_COLOR(Yellow, 255, 255, 0);
+CONST_COLOR(Cyan, 0, 255, 255);
+CONST_COLOR(Magenta, 255, 0, 255);
+
 #undef CONST_COLOR

+ 3 - 0
src/render/Pixel.h

@@ -43,6 +43,9 @@ namespace WalrusRPG
         extern const Pixel Red;
         extern const Pixel Green;
         extern const Pixel Blue;
+        extern const Pixel Yellow;
+        extern const Pixel Cyan;
+        extern const Pixel Magenta;
     }
 }