Debian Codegraph @

2dlib/hardsurf.cpp

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: /descent3/main/2dlib/hardsurf.cpp $
21 * $Revision: 8 $
22 * $Date: 6/12/97 6:28p $
23 * $Author: Samir $
24 *
25 * hardware surface class
26 *
27 * $Log: /descent3/main/2dlib/hardsurf.cpp $
28 *
29 * 8 6/12/97 6:28p Samir
30 * DDGR v2.0 Changes in 2d system implemeted.
31 *
32 * 7 1/30/97 6:01p Samir
33 * The partition of memory and os surfaces as well as the change in
34 * ddgr_surface structure and all related changes.
35 *
36 * $NoKeywords: $
37 */
38
39 #include "gr.h"
40
41 // ----------------------------------------------------------------------------
42 // constructor and destructor
43 // ----------------------------------------------------------------------------
44
45 grHardwareSurface::grHardwareSurface() : grSurface() {}
46
47 grHardwareSurface::grHardwareSurface(int w, int h, int bpp, unsigned flags, const char *name)
48 : grSurface(w, h, bpp, SURFTYPE_GENERIC, flags, name) {}
49
50 grHardwareSurface::~grHardwareSurface() {}
51
52 // ----------------------------------------------------------------------------
53 // initialize a hardware surface with these values
54 // ----------------------------------------------------------------------------
55
56 bool grHardwareSurface::create(int w, int h, int bpp, unsigned flags, const char *name) {
57 grSurface::create(w, h, bpp, SURFTYPE_GENERIC, flags, name);
58 return true;
59 }