Add a very crude screenshot function (press F3)

Files are named after the current date+time (down to seconds),
and written to the gameFolder directory.
This commit is contained in:
Jonas Kulla 2013-12-20 09:17:15 +01:00
parent 3a5c4eba52
commit cb36a28b09
3 changed files with 49 additions and 1 deletions

View file

@ -176,6 +176,8 @@ struct RGSSThreadData
QByteArray rgssErrorMsg;
volatile bool rqScreenshot;
RGSSThreadData(EventThread *ethread,
const char *argv0,
SDL_Window *window)
@ -184,7 +186,8 @@ struct RGSSThreadData
ethread(ethread),
argv0(argv0),
window(window),
sizeResoRatio(1, 1)
sizeResoRatio(1, 1),
rqScreenshot(false)
{}
};