author | celestar |
Mon, 19 Mar 2007 12:38:16 +0000 | |
branch | gamebalance |
changeset 9895 | 7bd07f43b0e3 |
parent 5726 | 8f399788f6c9 |
child 6307 | f40e88cff863 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
430 | 3 |
#ifndef SCREENSHOT_H |
4 |
#define SCREENSHOT_H |
|
5 |
||
9895
7bd07f43b0e3
(svn r9321) [gamebalance] -Sync: r9025:9314 from trunk
celestar
parents:
5726
diff
changeset
|
6 |
void InitializeScreenshotFormats(); |
430 | 7 |
|
8 |
const char *GetScreenshotFormatDesc(int i); |
|
9 |
void SetScreenshotFormat(int i); |
|
10 |
||
9895
7bd07f43b0e3
(svn r9321) [gamebalance] -Sync: r9025:9314 from trunk
celestar
parents:
5726
diff
changeset
|
11 |
enum ScreenshotType { |
4184
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 |
9895
7bd07f43b0e3
(svn r9321) [gamebalance] -Sync: r9025:9314 from trunk
celestar
parents:
5726
diff
changeset
|
15 |
}; |
4184
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
16 |
|
9895
7bd07f43b0e3
(svn r9321) [gamebalance] -Sync: r9025:9314 from trunk
celestar
parents:
5726
diff
changeset
|
17 |
bool MakeScreenshot(); |
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); |
9895
7bd07f43b0e3
(svn r9321) [gamebalance] -Sync: r9025:9314 from trunk
celestar
parents:
5726
diff
changeset
|
19 |
bool IsScreenshotRequested(); |
430 | 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 */ |