(svn r18156) -Add: crash screenshot, created from blitter buffer

This commit is contained in:
smatz
2009-11-17 23:12:42 +00:00
parent 4eaa558ca1
commit 5924863a49
6 changed files with 37 additions and 2 deletions

View File

@@ -154,6 +154,16 @@ public:
*/
bool WriteSavegame(char *filename, const char *filename_last) const;
/**
* Write the (crash) screenshot to a file.
* @note On success the filename will be filled with the full path of the
* screenshot. Make sure filename is at least \c MAX_PATH big.
* @param filename Output for the filename of the written file.
* @param filename_last The last position in the filename buffer.
* @return true when the crash screenshot was successfully made.
*/
bool WriteScreenshot(char *filename, const char *filename_last) const;
/**
* Makes the crash log, writes it to a file and then subsequently tries
* to make a crash dump and crash savegame. It uses DEBUG to write