| author | glx | 
| Sun, 23 Dec 2007 13:31:24 +0000 | |
| changeset 8621 | 3dbd7d9a3c6f | 
| parent 6916 | e87d54a598ea | 
| child 10429 | 1b99254f9607 | 
| permissions | -rw-r--r-- | 
| 2186 | 1  | 
/* $Id$ */  | 
2  | 
||
| 
6916
 
e87d54a598ea
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
 
belugas 
parents: 
6574 
diff
changeset
 | 
3  | 
/** @file screenshot.h */  | 
| 
 
e87d54a598ea
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
 
belugas 
parents: 
6574 
diff
changeset
 | 
4  | 
|
| 430 | 5  | 
#ifndef SCREENSHOT_H  | 
6  | 
#define SCREENSHOT_H  | 
|
7  | 
||
| 6573 | 8  | 
void InitializeScreenshotFormats();  | 
| 430 | 9  | 
|
10  | 
const char *GetScreenshotFormatDesc(int i);  | 
|
11  | 
void SetScreenshotFormat(int i);  | 
|
12  | 
||
| 
6574
 
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
 
rubidium 
parents: 
6573 
diff
changeset
 | 
13  | 
enum ScreenshotType {
 | 
| 
4184
 
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
 
belugas 
parents: 
2436 
diff
changeset
 | 
14  | 
SC_NONE,  | 
| 
 
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
 
belugas 
parents: 
2436 
diff
changeset
 | 
15  | 
SC_VIEWPORT,  | 
| 
 
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
 
belugas 
parents: 
2436 
diff
changeset
 | 
16  | 
SC_WORLD  | 
| 
6574
 
e1d1a12faaf7
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
 
rubidium 
parents: 
6573 
diff
changeset
 | 
17  | 
};  | 
| 
4184
 
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
 
belugas 
parents: 
2436 
diff
changeset
 | 
18  | 
|
| 6573 | 19  | 
bool MakeScreenshot();  | 
| 
4184
 
f38abcb8b18d
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
 
belugas 
parents: 
2436 
diff
changeset
 | 
20  | 
void SetScreenshotType(ScreenshotType t);  | 
| 6573 | 21  | 
bool IsScreenshotRequested();  | 
| 430 | 22  | 
|
| 
2121
 
c86a863485ee
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
 
tron 
parents: 
430 
diff
changeset
 | 
23  | 
extern char _screenshot_format_name[8];  | 
| 
 
c86a863485ee
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
 
tron 
parents: 
430 
diff
changeset
 | 
24  | 
extern uint _num_screenshot_formats;  | 
| 
 
c86a863485ee
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
 
tron 
parents: 
430 
diff
changeset
 | 
25  | 
extern uint _cur_screenshot_format;  | 
| 
 
c86a863485ee
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
 
tron 
parents: 
430 
diff
changeset
 | 
26  | 
|
| 
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
 | 
27  | 
#endif /* SCREENSHOT_H */  |