Debian Codegraph @

Descent3/aiterrain.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/aiterrain.h $
21 * $Revision: 5 $
22 * $Date: 8/05/97 12:17p $
23 * $Author: Chris $
24 *
25 * Terrain specific AI stuff
26 *
27 * $Log: /DescentIII/Main/aiterrain.h $
28 *
29 * 5 8/05/97 12:17p Chris
30 *
31 * 4 7/30/97 1:31p Chris
32 * Made helicopters slightly more interesting.
33 *
34 * 3 7/29/97 12:20p Chris
35 * Incremental improvements. Fixed a memory bug.
36 *
37 * 2 7/28/97 1:19p Chris
38 * Expanding the AI system
39 *
40 * $NoKeywords: $
41 */
42
43 #ifndef AITERRAIN_H_
44 #define AITERRAIN_H_
45
46 struct ground_information {
47 float highest_y;
48 float lowest_y;
49 };
50
51 bool ait_GetGroundInfo(ground_information *ground_info, vector *p0, vector *p1, float rad = 0.0f, angle fov = 0);
52 void ait_Init(void);
53
54 #endif