summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-07-19 06:47:07 +0000
committertron <tron@openttd.org>2005-07-19 06:47:07 +0000
commit28a6e10a637e5191d292395b75542cb2cc5da647 (patch)
tree93d6951cb75032c0fc278defaf8dc3e7926aa050 /screenshot.c
parent6b439d6f82f105a074e124e4a15dfdae406e09d1 (diff)
downloadopenttd-28a6e10a637e5191d292395b75542cb2cc5da647.tar.xz
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c4
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);