瀏覽代碼

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;
     }
 }