Files
@ r4346:fa4ac6b6f852
Branch filter:
Location: cpp/openttd-patchpack/source/screenshot.h - annotation
r4346:fa4ac6b6f852
501 B
text/x-c
(svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
-Codechange: use IsValidXXX where ever possible
Note: both changes to prepare for new pool system, which needs those changes.
For every pool there are 2 ugly lines, which will be removed when done
implementing new pool system.
Based on FS#13 by blathijs, partly implemented.
-Codechange: use IsValidXXX where ever possible
Note: both changes to prepare for new pool system, which needs those changes.
For every pool there are 2 ugly lines, which will be removed when done
implementing new pool system.
Based on FS#13 by blathijs, partly implemented.
r2186:5ee653b1b5e1 r2186:5ee653b1b5e1 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r430:c6aefd620ab0 r4184:a139e10be323 r4184:a139e10be323 r4184:a139e10be323 r4184:a139e10be323 r4184:a139e10be323 r4184:a139e10be323 r430:c6aefd620ab0 r4184:a139e10be323 r4184:a139e10be323 r430:c6aefd620ab0 r2121:96bd03691149 r2121:96bd03691149 r2121:96bd03691149 r2121:96bd03691149 r2436:963efe8b84cc | /* $Id$ */
#ifndef SCREENSHOT_H
#define SCREENSHOT_H
void InitializeScreenshotFormats(void);
const char *GetScreenshotFormatDesc(int i);
void SetScreenshotFormat(int i);
typedef enum ScreenshotType {
SC_NONE,
SC_VIEWPORT,
SC_WORLD
} ScreenshotType;
bool MakeScreenshot(void);
void SetScreenshotType(ScreenshotType t);
bool IsScreenshotRequested(void);
extern char _screenshot_format_name[8];
extern uint _num_screenshot_formats;
extern uint _cur_screenshot_format;
#endif /* SCREENSHOT_H */
|