Nuclide
Software Development Kit for id Technology (BETA)
Main Page
Related Pages
Topics
Classes
Loading...
Searching...
No Matches
NodeEditor.h
1
/*
2
* Copyright (c) 2024 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
21
22
class
23
ncNodeEditor
24
{
26
nonvirtual
void
LinkNodes(
graphNode_t
*,
graphNode_t
*);
28
nonvirtual
void
UnlinkNodes(
graphNode_t
*,
graphNode_t
*);
29
/* Unlinks a single node from its neighbors. */
30
nonvirtual
void
UnlinkNode(
graphNode_t
*wp);
32
nonvirtual
int
FindClosestNode(vector);
34
nonvirtual
bool
SaveFile(
string
);
36
nonvirtual
bool
ReadFile(
string
,
bool
);
38
nonvirtual
void
Flush(
void
);
39
40
nonvirtual
void
Cmd(
void
);
41
nonvirtual
void
DrawDebugInfo(
void
);
42
43
private
:
44
nonvirtual
void
AutoLink(
int
wpidx);
45
nonvirtual
void
CreateNode(entity ePlayer,
int
iAutoLink);
46
nonvirtual
void
DeleteNode(
int
iID);
47
nonvirtual
void
SetRadius(
int
iID,
float
flRadValue);
48
nonvirtual
void
LinkFlag(
int
linkFlag);
49
nonvirtual
void
Unlink(
void
);
50
nonvirtual
void
UnlinkTwo(
void
);
51
nonvirtual
void
HelperSpawns(
void
);
52
nonvirtual
void
GoToPoint(entity pl);
53
nonvirtual
void
ConnectOne(
void
);
54
nonvirtual
void
ConnectTwo(
void
);
55
nonvirtual
void
LoadCurrentMapNavMesh(
void
);
56
};
57
// end of nav
ncNodeEditor
Definition
NodeEditor.h:24
graphNode_t
Data holding Node entries.
Definition
nodes.h:24
src
nav
NodeEditor.h
2009-2025 (C) Nuclide is a project by
Vera Visions, L.L.C.
and is available under the
ISC License
.