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:
parent
3a5c4eba52
commit
cb36a28b09
3 changed files with 49 additions and 1 deletions
|
@ -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)
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue