Debian Codegraph @

lib/ddvid.h

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18 --- HISTORICAL COMMENTS FOLLOW ---
19
20 * $Logfile: /DescentIII/Main/lib/ddvid.h $
21 * $Revision: 4 $
22 * $Date: 12/29/97 5:50p $
23 * $Author: Samir $
24 *
25 * Video library.
26 *
27 * $Log: /DescentIII/Main/lib/ddvid.h $
28 *
29 * 4 12/29/97 5:50p Samir
30 * Added ability to close ddvid system.
31 *
32 * 3 12/22/97 7:13p Samir
33 * Moved constants to grdefs.h
34 *
35 * 2 12/22/97 6:58p Samir
36 * Restored type ddgr_color
37 *
38 * 1 12/22/97 12:45p Samir
39 * Initial revision
40 *
41 * $NoKeywords: $
42 */
43
44 #ifndef DDVID_H
45 #define DDVID_H
46
47 #include "pstypes.h"
48 #include "grdefs.h"
49
50 class oeApplication;
51
52 // called first to allow fullscreen video access
53 bool ddvid_Init(oeApplication *app, char *driver);
54 void ddvid_Close();
55
56 // sets the appropriate video mode.
57 bool ddvid_SetVideoMode(int w, int h, int color_depth, bool paged);
58
59 // sets screen handle
60 void ddvid_SetVideoHandle(unsigned handle);
61
62 #endif