diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-20 23:19:06 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-20 23:19:06 +0100 |
| commit | 43cdfd38bc27fe96105b48d980799f3b2fdd8f0f (patch) | |
| tree | 9c654440614f1dbd626d5d139f3a1f46a7ce5c3a /include | |
| parent | 64f6f1eaa2ecc188292cfe4a7223606b8bcb3bf2 (diff) | |
| download | 2048-43cdfd38bc27fe96105b48d980799f3b2fdd8f0f.tar.gz 2048-43cdfd38bc27fe96105b48d980799f3b2fdd8f0f.tar.bz2 2048-43cdfd38bc27fe96105b48d980799f3b2fdd8f0f.zip | |
c++98 complient and README update
Diffstat (limited to 'include')
| -rw-r--r-- | include/graphics.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/graphics.hpp b/include/graphics.hpp index 42de214..f98f175 100644 --- a/include/graphics.hpp +++ b/include/graphics.hpp @@ -3,6 +3,7 @@ #include <string> #include <iostream> +#include <sstream> #include <vector> #include <map> #include <utility> @@ -50,6 +51,9 @@ class Graphics SDL_Texture *getNumberTex(int n) const; SDL_Texture *newTextTex(std::string s, SDL_Color c); void error() const; + + static SDL_Color makeColor(int r, int g, int b); + static std::string intToString(int n); }; #endif |
