equal
deleted
inserted
replaced
6 #include "gfx.h" |
6 #include "gfx.h" |
7 #include "viewport.h" |
7 #include "viewport.h" |
8 #include "player.h" |
8 #include "player.h" |
9 #include "gui.h" |
9 #include "gui.h" |
10 #include "screenshot.h" |
10 #include "screenshot.h" |
|
11 |
|
12 char _screenshot_format_name[8]; |
|
13 uint _num_screenshot_formats; |
|
14 uint _cur_screenshot_format; |
11 |
15 |
12 // called by the ScreenShot proc to generate screenshot lines. |
16 // called by the ScreenShot proc to generate screenshot lines. |
13 typedef void ScreenshotCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n); |
17 typedef void ScreenshotCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n); |
14 typedef bool ScreenshotHandlerProc(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette); |
18 typedef bool ScreenshotHandlerProc(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette); |
15 |
19 |