diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-11 01:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-13 22:17:00 +0300 |
commit | 7ad6bc89291c198122f087a11fd9ab585ea87034 (patch) | |
tree | 5b88547634c99dfd549b50fe3491e56a71f48304 /src/game.h | |
parent | 4e12e0514a3ade4f693c49353c369028481999d1 (diff) | |
download | plus-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.gz plus-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.bz2 plus-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.xz plus-7ad6bc89291c198122f087a11fd9ab585ea87034.zip |
Some changes in screenshot code.
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game.h b/src/game.h index ec49fafe1..e0c752f46 100644 --- a/src/game.h +++ b/src/game.h @@ -111,7 +111,9 @@ class Game bool getValidSpeed() { return mValidSpeed; } - static bool saveScreenshot(); + static bool createScreenshot(); + + static bool saveScreenshot(SDL_Surface *screenshot); private: void updateHistory(SDL_Event &event); |