|
Devilution
Diablo devolved - magic behind the 1996 computer game
|
#include <fstream>#include "all.h"#include "../3rdParty/Storm/Source/storm.h"#include "file_util.h"Go to the source code of this file.
Functions | |
| static DEVILUTION_BEGIN_NAMESPACE BOOL | CaptureHdr (short width, short height, std::ofstream *out) |
| Write the PCX-file header. More... | |
| static BOOL | CapturePal (SDL_Color *palette, std::ofstream *out) |
| static BYTE * | CaptureEnc (BYTE *src, BYTE *dst, int width) |
| static bool | CapturePix (WORD width, WORD height, WORD stride, BYTE *pixels, std::ofstream *out) |
| static std::ofstream * | CaptureFile (char *dst_path) |
| Returns a pointer because in GCC < 5 ofstream itself is not moveable due to a bug. More... | |
| static void | RedPalette () |
| remove green and blue from the current palette More... | |
| void | CaptureScreen () |
Implementation of the screenshot function.
Definition in file capture.cpp.
1.8.17