diff options
author | tron <tron@openttd.org> | 2004-11-15 19:25:59 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2004-11-15 19:25:59 +0000 |
commit | 450c669eb27dd0510d5c62622936635ece2a237f (patch) | |
tree | 4e3568628d8f2cd98e94bdd8cab9529eaf20e3bd /screenshot.h | |
parent | fb4b5fa841533cbf48727f068e6a704455bdaa97 (diff) | |
download | openttd-450c669eb27dd0510d5c62622936635ece2a237f.tar.xz |
(svn r631) Merge r440, r444, r485, r630 to trunk:
r440
Move screenshot function declarations to new file screenshot.h
Clean up screenshot.c a bit, mostly whitespace, alloca() -> malloc() and checking return values
r485
Remove unused field from struct ScreenshotFormat
Diffstat (limited to 'screenshot.h')
-rw-r--r-- | screenshot.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/screenshot.h b/screenshot.h new file mode 100644 index 000000000..900c1e702 --- /dev/null +++ b/screenshot.h @@ -0,0 +1,12 @@ +#ifndef SCREENSHOT_H +#define SCREENSHOT_H + +void InitializeScreenshotFormats(void); + +const char *GetScreenshotFormatDesc(int i); +void SetScreenshotFormat(int i); + +bool MakeScreenshot(void); +bool MakeWorldScreenshot(int left, int top, int width, int height, int zoom); + +#endif |