summaryrefslogtreecommitdiff
path: root/src/game.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-11 01:52:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-13 22:17:00 +0300
commit7ad6bc89291c198122f087a11fd9ab585ea87034 (patch)
tree5b88547634c99dfd549b50fe3491e56a71f48304 /src/game.h
parent4e12e0514a3ade4f693c49353c369028481999d1 (diff)
downloadmv-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.gz
mv-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.bz2
mv-7ad6bc89291c198122f087a11fd9ab585ea87034.tar.xz
mv-7ad6bc89291c198122f087a11fd9ab585ea87034.zip
Some changes in screenshot code.
Diffstat (limited to 'src/game.h')
-rw-r--r--src/game.h4
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);