Files
@ r5312:ffd375effb01
Branch filter:
Location: cpp/openttd-patchpack/source/screenshot.h - annotation
r5312:ffd375effb01
501 B
text/x-c
(svn r7468) -Codechange: [win32] Add some comments to MB/WIDE_TO_WIDE/MB_[BUFFER] macros and
use them some more in win32 code. Also for the clipboard use the convert_from_fs
function instead of calling Win32 API directly. Make the static buffers in OTTD2FS
and FS2OTTD the same size (character-length wise)
use them some more in win32 code. Also for the clipboard use the convert_from_fs
function instead of calling Win32 API directly. Make the static buffers in OTTD2FS
and FS2OTTD the same size (character-length wise)
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 */
|