Files
@ r4725:3a289e38fda7
Branch filter:
Location: cpp/openttd-patchpack/source/screenshot.h - annotation
r4725:3a289e38fda7
501 B
text/x-c
(svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot()
This revealed duplicated code like aircraft lists got invalidated twice
Moved invalidation of the vehicle detail window to VehicleServiceInDepot() as it should always be updated when serviced
This revealed duplicated code like aircraft lists got invalidated twice
Moved invalidation of the vehicle detail window to VehicleServiceInDepot() as it should always be updated when serviced
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 */
|