Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nifplg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grant Kim
nifplg
Commits
b8c1c05a
Commit
b8c1c05a
authored
18 years ago
by
Gundalf
Browse files
Options
Downloads
Patches
Plain Diff
basic placing of markers
parent
32ff2615
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NifPlugins.h
+21
-0
21 additions, 0 deletions
NifPlugins.h
with
21 additions
and
0 deletions
NifPlugins.h
+
21
−
0
View file @
b8c1c05a
...
...
@@ -4,6 +4,8 @@
#include
"niflib/nif_math.h"
using
Niflib
::
Vector3
;
/* node properties */
#define NP_HASCOLL _T("np_coll")
#define NP_HVK_LAYER _T("np_hvk_layer")
#define NP_HVK_MATERIAL _T("np_hvk_mtl")
...
...
@@ -19,6 +21,9 @@ using Niflib::Vector3;
#define NP_HVK_MOTION_SYSTEM _T("np_hvk_msys")
#define NP_HVK_QUALITY_TYPE _T("np_hvk_qtype")
#define NP_FRN_POS _T("np_frn_pos")
/* default values */
#define NP_DEFAULT_HVK_MATERIAL 9
#define NP_DEFAULT_HVK_LAYER 1
#define NP_DEFAULT_HVK_MASS 0
...
...
@@ -32,6 +37,22 @@ using Niflib::Vector3;
#define NP_DEFAULT_HVK_MOTION_SYSTEM 7
#define NP_DEFAULT_HVK_QUALITY_TYPE 1
#define NP_DEFAULT_FRN_MARKER_TYPE NP_FRN_SLEEP_LEFT
/* other constants */
enum
NpFrnPos
{
NP_FRN_SLEEP_LEFT
=
1
,
NP_FRN_SLEEP_RIGHT
=
2
,
NP_FRN_BEDROLL_LEFT
=
3
,
NP_FRN_BEDROLL_RIGHT
=
4
,
NP_FRN_SIT_LEFT
=
11
,
NP_FRN_SIT_RIGHT
=
12
,
NP_FRN_SIT_BACK
=
13
,
NP_FRN_SIT_FRONT
=
14
};
/* property access */
bool
npIsCollision
(
INode
*
node
);
void
npSetCollision
(
INode
*
node
,
bool
coll
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment