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"cxx . . $ `<file>/sndlib/ddsndgeometry.h`/
24
25 // specify a sound library to associate geometry with
26 bool llsGeometrycxx . . $ llsGeometry#::Initcxx . . $ llsGeometry#Init(ccd01c10275f7c86).(llsSystemcxx . . $ llsSystem# *snd_sys) { return false; }
27
28 // closes low level geometry system.
29 void llsGeometrycxx . . $ llsGeometry#::Shutdowncxx . . $ llsGeometry#Shutdown(49f6e7a06ebc5aa8).() {}
30
31 void llsGeometrycxx . . $ llsGeometry#::StartFramecxx . . $ llsGeometry#StartFrame(49f6e7a06ebc5aa8).() {}
32 void llsGeometrycxx . . $ llsGeometry#::EndFramecxx . . $ llsGeometry#EndFrame(49f6e7a06ebc5aa8).() {}
33
34 // clears out geometry info
35 void llsGeometrycxx . . $ llsGeometry#::Clearcxx . . $ llsGeometry#Clear(49f6e7a06ebc5aa8).() {}
36
37 // polygon lists
38 // is a group cached?, check before rendering it.
39 void llsGeometrycxx . . $ llsGeometry#::IsGroupValidcxx . . $ llsGeometry#IsGroupValid(d4f767463ce0a6b3).(int group) {}
40
41 // marks beginning of a list of polygons to render, (-1 group for non cache)
42 void llsGeometrycxx . . $ llsGeometry#::StartPolygonGroupcxx . . $ llsGeometry#StartPolygonGroup(d4f767463ce0a6b3).(int group) {}
43
44 // ends a list of polygons to render.
45 void llsGeometrycxx . . $ llsGeometry#::EndPolygonGroupcxx . . $ llsGeometry#EndPolygonGroup(d4f767463ce0a6b3).(int group) {}
46
47 // renders a group.
48 void llsGeometrycxx . . $ llsGeometry#::RenderGroupcxx . . $ llsGeometry#RenderGroup(d4f767463ce0a6b3).(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 llsGeometrycxx . . $ llsGeometry#::AddPolycxx . . $ llsGeometry#AddPoly(f4a69767f128d).(int nv, vectorcxx . . $ vector# **verts, unsigned tag, tSoundMaterialcxx . . $ tSoundMaterial# material) {}
53
54 // 4 verts here.
55 void llsGeometrycxx . . $ llsGeometry#::AddQuadcxx . . $ llsGeometry#AddQuad(a397e1d7f4d30a0b).(unsigned tag, vectorcxx . . $ vector# **verts) {}
56
57 // 3 verts here.
58 void llsGeometrycxx . . $ llsGeometry#::AddTrianglecxx . . $ llsGeometry#AddTriangle(a397e1d7f4d30a0b).(unsigned tag, vectorcxx . . $ vector# **verts) {}
59
60 void llsGeometrycxx . . $ llsGeometry#::CreateMaterialcxx . . $ llsGeometry#CreateMaterial(c31bc224e645f73e).(tSoundMaterialcxx . . $ tSoundMaterial# material, float transmit_gain, float transmit_highfreq,
61 float reflect_gain, float reflect_highfreq) {}
62
63 void llsGeometrycxx . . $ llsGeometry#::DestroyMaterialcxx . . $ llsGeometry#DestroyMaterial(d4f767463ce0a6b3).(tSoundMaterialcxx . . $ tSoundMaterial# material) {}