Nuclide
Software Development Kit for id Technology (BETA)
NavInfo.h
1/*
2 * Copyright (c) 2025 Vera Visions LLC.
3 *
4 * Permission to use, copy, modify, and distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies.
7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 * WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
13 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
14 * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */
16
17class
19{
20public:
21 nonvirtual vector PositionOfClosestNode(vector);
22
27 nonvirtual vector FindCoverFromEnemy(ncActor targetEnemy);
28
34 nonvirtual vector FindBackFromPosition(vector targetPosition, vector eulerDirection);
35
36
42 nonvirtual vector FindCoverFromEnemyNearNode(ncActor targetEnemy, vector nodePosition);
43
44
50 nonvirtual vector FindCoverFromEnemyFarNode(ncActor targetEnemy, vector nodePosition);
51
52
58 nonvirtual vector FindCoverFromPosition(entity traceEntity, vector targetOrigin);
59
60
68 nonvirtual vector FindEmptySpotNearPosition(entity traceEntity, vector position, float minRadius, float maxRadius);
69
70
78 nonvirtual vector FindEmptySpotAwayFromPosition(entity traceEntity, vector position, float minRadius, float maxRadius);
79};
This entity class represents an object with choreographed/free-form movement.
Definition: Actor.h:72
Definition: NavInfo.h:19