Debian Codegraph @

Descent3/renderobject.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
19 #ifndef RENDEROBJECT_H
20 #define RENDEROBJECT_Hcxx . . $ `Descent3/renderobject.h:20:9`!
21
22 #include "object.h"cxx . . $ `<file>/Descent3/object.h`/
23 #include "polymodel.h"cxx . . $ `<file>/model/polymodel.h`/
24
25 #ifdef _DEBUGcxx . . $ `<built-in>:482:9`!
26 void DrawDebugInfocxx . . $ DrawDebugInfo(419c470199a90a97).(objectcxx . . $ object# *obj);
27 void DrawRoomVisPntscxx . . $ DrawRoomVisPnts(419c470199a90a97).(objectcxx . . $ object# *obj);
28 #endif
29
30 // Render an object. Calls one of several routines based on type
31 void RenderObjectcxx . . $ RenderObject(419c470199a90a97).(objectcxx . . $ object# *obj);
32
33 // Sets the polygon render object type to static (one lightval for whole object)
34 void RenderObject_SetStaticcxx . . $ RenderObject_SetStatic(bd1040fe176e0786).(float r, float g, float b);
35
36 // Sets the polygon render object type to gouraud
37 void RenderObject_SetGouraudcxx . . $ RenderObject_SetGouraud(3eea5de0da32321b).(vectorcxx . . $ vector# *dir, float r, float g, float b, float scalar = 1.0);
38
39 // Sets the object render to draw a polymodel with lightmaps applied
40 void RenderObject_SetLightmapscxx . . $ RenderObject_SetLightmaps(589ec6a7871cb4e1).(lightmap_objectcxx . . $ lightmap_object# *lmobject);
41
42 // Actually draws a polygon model based on the light parameters set by the above
43 // functions
44 void RenderObject_DrawPolymodelcxx . . $ RenderObject_DrawPolymodel(8af4de573afdac78).(objectcxx . . $ object# *obj, float *normalized_times);
45
46 // Sets the direction of the lightsource to be used when calculating vertex lighting
47 // The light source vector should be in the models coordinate space
48 void RenderObject_SetLightDirectioncxx . . $ RenderObject_SetLightDirection(ec8cf6451c36d470).(vectorcxx . . $ vector# *dir);
49
50 // Given a position in 3space and a size, returns whether or not that sized point is
51 // visible from the current view matrix
52 int IsPointVisiblecxx . . $ IsPointVisible(a3c3a6b9788a7132).(vectorcxx . . $ vector# *, float, float *pointz = NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:416:9`!);
53
54 // Draws the 'typing message' icon indicator above an object
55 void DrawPlayerTypingIndicatorcxx . . $ DrawPlayerTypingIndicator(419c470199a90a97).(objectcxx . . $ object# *obj);
56
57 #define POWERUP_SPARKLE_INTERVALcxx . . $ `Descent3/renderobject.h:57:9`! 1.0f / 30.0f
58 extern float Last_powerup_sparkle_timecxx . . $ Last_powerup_sparkle_time.;
59
60 #endif