Debian Codegraph @

Descent3/scorch.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/scorch.h $
21 * $Revision: 3 $
22 * $Date: 5/25/98 8:36p $
23 * $Author: Matt $
24 *
25 * Header for scorch system
26 *
27 * $Log: /DescentIII/main/scorch.h $
28 *
29 * 3 5/25/98 8:36p Matt
30 * Added code to set different sizes for different weapon scorch marks.
31 * Also, don't leave scorch marks on lights.
32 *
33 * 2 5/22/98 12:34p Matt
34 * Added scorch mark/bullet hole system.
35 *
36 * 1 5/21/98 11:32p Matt
37 *
38 */
39
40 #include "vecmat.h"
41
42 // Called when a new level is started to reset the data
43 void ResetScorches();
44
45 // Add a scorch mark
46 // Parameters: roomnum,facenum - the face that the scorch is on
47 // pos - where the scorch goes
48 // texture_handle - the texture for the scorch mark
49 // size - how big the scorch is
50 void AddScorch(int roomnum, int facenum, vector *pos, int texture_handle, float size);
51
52 // Draw the scorch(es) for a given face
53 void DrawScorches(int roomnum, int facenum);