src/screenshot.h
author celestar
Mon, 19 Mar 2007 09:33:17 +0000
branchgamebalance
changeset 9894 70d78ac95d6c
parent 5726 8f399788f6c9
child 6298 c30fe89622df
child 6573 7624f942237f
permissions -rw-r--r--
(svn r9310) [gamebalance] -Feature: Player performance now influences the wealth level of a town (albeit only on a small scale). This is the first feedback effect that the player has on the local and global economy. Please refrain from using the AI too much for the time being because it'll trash the ratings most likely.
2186
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 2121
diff changeset
     1
/* $Id$ */
461a2aff3486 (svn r2701) Insert Id tags into all source files
tron
parents: 2121
diff changeset
     2
430
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     3
#ifndef SCREENSHOT_H
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     4
#define SCREENSHOT_H
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     5
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     6
void InitializeScreenshotFormats(void);
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     7
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     8
const char *GetScreenshotFormatDesc(int i);
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
     9
void SetScreenshotFormat(int i);
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
    10
4184
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    11
typedef enum ScreenshotType {
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    12
	SC_NONE,
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    13
	SC_VIEWPORT,
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    14
	SC_WORLD
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    15
} ScreenshotType;
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    16
430
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
    17
bool MakeScreenshot(void);
4184
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    18
void SetScreenshotType(ScreenshotType t);
f38abcb8b18d (svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents: 2436
diff changeset
    19
bool IsScreenshotRequested(void);
430
75820dedf4f1 (svn r631) Merge r440, r444, r485, r630 to trunk:
tron
parents:
diff changeset
    20
2121
c86a863485ee (svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents: 430
diff changeset
    21
extern char _screenshot_format_name[8];
c86a863485ee (svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents: 430
diff changeset
    22
extern uint _num_screenshot_formats;
c86a863485ee (svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents: 430
diff changeset
    23
extern uint _cur_screenshot_format;
c86a863485ee (svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents: 430
diff changeset
    24
2436
177cb6a8339f (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
Darkvater
parents: 2186
diff changeset
    25
#endif /* SCREENSHOT_H */