author | rubidium |
Thu, 01 Feb 2007 15:49:12 +0000 | |
changeset 5893 | 7e431a4abebb |
parent 5475 | 2e6990a8c7c4 |
child 6247 | 7d81e3a5d803 |
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
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
11 |
typedef enum ScreenshotType { |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
12 |
SC_NONE, |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
13 |
SC_VIEWPORT, |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
14 |
SC_WORLD |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
15 |
} ScreenshotType; |
541f819f2125
(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
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
18 |
void SetScreenshotType(ScreenshotType t); |
541f819f2125
(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
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
21 |
extern char _screenshot_format_name[8]; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
22 |
extern uint _num_screenshot_formats; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
23 |
extern uint _cur_screenshot_format; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
24 |
|
2436
7d5df545bd5d
(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 */ |