author | peter1138 |
Sun, 03 Aug 2008 17:35:08 +0000 | |
changeset 9834 | 7474149531c1 |
parent 9111 | 48ce04029fe4 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
9111
48ce04029fe4
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
rubidium
parents:
6420
diff
changeset
|
3 |
/** @file screenshot.h Functions to make screenshots. */ |
6420
456c275f3313
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
belugas
parents:
6248
diff
changeset
|
4 |
|
430 | 5 |
#ifndef SCREENSHOT_H |
6 |
#define SCREENSHOT_H |
|
7 |
||
6247 | 8 |
void InitializeScreenshotFormats(); |
430 | 9 |
|
10 |
const char *GetScreenshotFormatDesc(int i); |
|
11 |
void SetScreenshotFormat(int i); |
|
12 |
||
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6247
diff
changeset
|
13 |
enum ScreenshotType { |
4184
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
14 |
SC_NONE, |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
15 |
SC_VIEWPORT, |
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
16 |
SC_WORLD |
6248
e4a2ed7e5613
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
rubidium
parents:
6247
diff
changeset
|
17 |
}; |
4184
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
18 |
|
6247 | 19 |
bool MakeScreenshot(); |
4184
541f819f2125
(svn r5626) CodeChange : Remove the global _make_screenshot and implement a more flexible mechanism
belugas
parents:
2436
diff
changeset
|
20 |
void SetScreenshotType(ScreenshotType t); |
6247 | 21 |
bool IsScreenshotRequested(); |
430 | 22 |
|
2121
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
23 |
extern char _screenshot_format_name[8]; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
24 |
extern uint _num_screenshot_formats; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
25 |
extern uint _cur_screenshot_format; |
267f7d75d036
(svn r2631) Move screenshot related variables from variables.h to screenshot.[ch]
tron
parents:
430
diff
changeset
|
26 |
|
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
|
27 |
#endif /* SCREENSHOT_H */ |