author | celestar |
Sat, 30 Dec 2006 13:15:15 +0000 | |
branch | custombridgeheads |
changeset 5603 | f3aa14b91b0a |
parent 4184 | f38abcb8b18d |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
430 | 3 |
#ifndef SCREENSHOT_H |
4 |
#define SCREENSHOT_H |
|
5 |
||
6 |
void InitializeScreenshotFormats(void); |
|
7 |
||
8 |
const char *GetScreenshotFormatDesc(int i); |
|
9 |
void SetScreenshotFormat(int i); |
|
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 | 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 | 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 */ |