Nuclide
Software Development Kit for id Technology (BETA)
Main Page
Related Pages
Modules
Classes
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
22
class
23
ncNodeEditor
24
{
26
nonvirtual
void
LinkNodes(
graphNode_t
*,
graphNode_t
*);
28
nonvirtual
void
UnlinkNodes(
graphNode_t
*,
graphNode_t
*);
30
nonvirtual
int
FindClosestNode(vector);
32
nonvirtual
bool
SaveFile(
string
);
34
nonvirtual
bool
ReadFile(
string
,
bool
);
36
nonvirtual
void
Flush(
void
);
37
38
nonvirtual
void
Cmd(
void
);
39
nonvirtual
void
DrawDebugInfo(
void
);
40
41
private
:
42
nonvirtual
void
AutoLink(
int
wpidx);
43
nonvirtual
void
CreateNode(entity ePlayer,
int
iAutoLink);
44
nonvirtual
void
DeleteNode(
int
iID);
45
nonvirtual
void
SetRadius(
int
iID,
float
flRadValue);
46
nonvirtual
void
LinkFlag(
int
linkFlag);
47
nonvirtual
void
Unlink(
void
);
48
nonvirtual
void
UnlinkTwo(
void
);
49
nonvirtual
void
HelperSpawns(
void
);
50
nonvirtual
void
GoToPoint(entity pl);
51
nonvirtual
void
ConnectOne(
void
);
52
nonvirtual
void
ConnectTwo(
void
);
53
nonvirtual
void
LoadCurrentMapNavMesh(
void
);
54
};
55
// 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
.