diff options
author | tron <tron@openttd.org> | 2005-07-19 06:47:07 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-19 06:47:07 +0000 |
commit | 28a6e10a637e5191d292395b75542cb2cc5da647 (patch) | |
tree | 93d6951cb75032c0fc278defaf8dc3e7926aa050 /screenshot.c | |
parent | 6b439d6f82f105a074e124e4a15dfdae406e09d1 (diff) | |
download | openttd-28a6e10a637e5191d292395b75542cb2cc5da647.tar.xz |
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
Diffstat (limited to 'screenshot.c')
-rw-r--r-- | screenshot.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/screenshot.c b/screenshot.c index afcfff086..c9deaca7e 100644 --- a/screenshot.c +++ b/screenshot.c @@ -9,6 +9,10 @@ #include "gui.h" #include "screenshot.h" +char _screenshot_format_name[8]; +uint _num_screenshot_formats; +uint _cur_screenshot_format; + // called by the ScreenShot proc to generate screenshot lines. typedef void ScreenshotCallback(void *userdata, Pixel *buf, uint y, uint pitch, uint n); typedef bool ScreenshotHandlerProc(const char *name, ScreenshotCallback *callb, void *userdata, uint w, uint h, int pixelformat, const Colour *palette); |