Eiyeron Fulmincendii 10 anos atrás
pai
commit
31fb6cf421
2 arquivos alterados com 7 adições e 0 exclusões
  1. 4 0
      src/render/Pixel.cpp
  2. 3 0
      src/render/Pixel.h

+ 4 - 0
src/render/Pixel.cpp

@@ -29,7 +29,11 @@ PIXEL &PIXEL::operator=(unsigned value)
 #define CONST_COLOR(color, r, g, b) \
     const WalrusRPG::Graphics::Pixel WalrusRPG::Graphics::color(r, g, b)
 CONST_COLOR(Black, 0, 0, 0);
+CONST_COLOR(DarkGray, 64, 64, 64);
+CONST_COLOR(Gray, 128, 128, 128);
+CONST_COLOR(LightGray, 192, 192, 192);
 CONST_COLOR(White, 255, 255, 255);
+
 CONST_COLOR(Red, 255, 0, 0);
 CONST_COLOR(Green, 0, 255, 0);
 CONST_COLOR(Blue, 0, 0, 255);

+ 3 - 0
src/render/Pixel.h

@@ -39,6 +39,9 @@ namespace WalrusRPG
         };
 
         extern const Pixel Black;
+        extern const Pixel LightGray;
+        extern const Pixel Gray;
+        extern const Pixel DarkGray;
         extern const Pixel White;
         extern const Pixel Red;
         extern const Pixel Green;