Debian Codegraph @

sndlib/sdlgeometry.cpp

raw symbols SCIP
1 /*
2 * Descent 3
3 * Copyright (C) 2024 Parallax Software
4 * Copyright (C) 2024 Descent Developers
5 *
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20
21 ///////////////////////////////////////////////////////////////////////
22 // llsGeometry
23 #include "ddsndgeometry.h"
24
25 // specify a sound library to associate geometry with
26 bool llsGeometry::Init(llsSystem *snd_sys) { return false; }
27
28 // closes low level geometry system.
29 void llsGeometry::Shutdown() {}
30
31 void llsGeometry::StartFrame() {}
32 void llsGeometry::EndFrame() {}
33
34 // clears out geometry info
35 void llsGeometry::Clear() {}
36
37 // polygon lists
38 // is a group cached?, check before rendering it.
39 void llsGeometry::IsGroupValid(int group) {}
40
41 // marks beginning of a list of polygons to render, (-1 group for non cache)
42 void llsGeometry::StartPolygonGroup(int group) {}
43
44 // ends a list of polygons to render.
45 void llsGeometry::EndPolygonGroup(int group) {}
46
47 // renders a group.
48 void llsGeometry::RenderGroup(int group) {}
49
50 // primatives, nv = number of verts, and verts is an array of pointers to vertices.
51 // you can pass a sound material value if you want special reflective properties on this polygon.
52 void llsGeometry::AddPoly(int nv, vector **verts, unsigned tag, tSoundMaterial material) {}
53
54 // 4 verts here.
55 void llsGeometry::AddQuad(unsigned tag, vector **verts) {}
56
57 // 3 verts here.
58 void llsGeometry::AddTriangle(unsigned tag, vector **verts) {}
59
60 void llsGeometry::CreateMaterial(tSoundMaterial material, float transmit_gain, float transmit_highfreq,
61 float reflect_gain, float reflect_highfreq) {}
62
63 void llsGeometry::DestroyMaterial(tSoundMaterial material) {}