Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Niflib
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
Niflib
Commits
f3b976fe
Commit
f3b976fe
authored
16 years ago
by
Amorilia
Browse files
Options
Downloads
Patches
Plain Diff
nif.xml: Priority? -> Priority (syncing with PyFFI)
parent
8f265bab
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/gen/ControllerLink.h
+1
-1
1 addition, 1 deletion
include/gen/ControllerLink.h
src/gen/ControllerLink.cpp
+2
-2
2 additions, 2 deletions
src/gen/ControllerLink.cpp
src/obj/NiSequence.cpp
+5
-5
5 additions, 5 deletions
src/obj/NiSequence.cpp
with
8 additions
and
8 deletions
include/gen/ControllerLink.h
+
1
−
1
View file @
f3b976fe
...
@@ -49,7 +49,7 @@ struct ControllerLink {
...
@@ -49,7 +49,7 @@ struct ControllerLink {
* Idle animations tend to have low values for this, and NIF objects that have high
* Idle animations tend to have low values for this, and NIF objects that have high
* values tend to correspond with the important parts of the animation.
* values tend to correspond with the important parts of the animation.
*/
*/
byte
priority
_
;
byte
priority
;
/*!
/*!
* Refers to the NiStringPalette which contains the name of the controlled NIF
* Refers to the NiStringPalette which contains the name of the controlled NIF
* object.
* object.
...
...
This diff is collapsed.
Click to expand it.
src/gen/ControllerLink.cpp
+
2
−
2
View file @
f3b976fe
...
@@ -13,7 +13,7 @@ All rights reserved. Please see niflib.h for license. */
...
@@ -13,7 +13,7 @@ All rights reserved. Please see niflib.h for license. */
using
namespace
Niflib
;
using
namespace
Niflib
;
//Constructor
//Constructor
ControllerLink
::
ControllerLink
()
:
controller
(
NULL
),
interpolator
(
NULL
),
unknownLink2
(
NULL
),
unknownShort0
((
unsigned
short
)
0
),
priority
_
((
byte
)
0
),
stringPalette
(
NULL
),
nodeNameOffset
((
unsigned
int
)
-
1
),
propertyTypeOffset
((
unsigned
int
)
-
1
),
controllerTypeOffset
((
unsigned
int
)
-
1
),
variableOffset1
((
unsigned
int
)
-
1
),
variableOffset2
((
unsigned
int
)
-
1
)
{};
ControllerLink
::
ControllerLink
()
:
controller
(
NULL
),
interpolator
(
NULL
),
unknownLink2
(
NULL
),
unknownShort0
((
unsigned
short
)
0
),
priority
((
byte
)
0
),
stringPalette
(
NULL
),
nodeNameOffset
((
unsigned
int
)
-
1
),
propertyTypeOffset
((
unsigned
int
)
-
1
),
controllerTypeOffset
((
unsigned
int
)
-
1
),
variableOffset1
((
unsigned
int
)
-
1
),
variableOffset2
((
unsigned
int
)
-
1
)
{};
//Copy Constructor
//Copy Constructor
ControllerLink
::
ControllerLink
(
const
ControllerLink
&
src
)
{
ControllerLink
::
ControllerLink
(
const
ControllerLink
&
src
)
{
...
@@ -27,7 +27,7 @@ ControllerLink & ControllerLink::operator=( const ControllerLink & src ) {
...
@@ -27,7 +27,7 @@ ControllerLink & ControllerLink::operator=( const ControllerLink & src ) {
this
->
interpolator
=
src
.
interpolator
;
this
->
interpolator
=
src
.
interpolator
;
this
->
unknownLink2
=
src
.
unknownLink2
;
this
->
unknownLink2
=
src
.
unknownLink2
;
this
->
unknownShort0
=
src
.
unknownShort0
;
this
->
unknownShort0
=
src
.
unknownShort0
;
this
->
priority
_
=
src
.
priority
_
;
this
->
priority
=
src
.
priority
;
this
->
stringPalette
=
src
.
stringPalette
;
this
->
stringPalette
=
src
.
stringPalette
;
this
->
nodeName
=
src
.
nodeName
;
this
->
nodeName
=
src
.
nodeName
;
this
->
nodeNameOffset
=
src
.
nodeNameOffset
;
this
->
nodeNameOffset
=
src
.
nodeNameOffset
;
...
...
This diff is collapsed.
Click to expand it.
src/obj/NiSequence.cpp
+
5
−
5
View file @
f3b976fe
...
@@ -78,10 +78,10 @@ void NiSequence::Read( istream& in, list<unsigned int> & link_stack, const NifIn
...
@@ -78,10 +78,10 @@ void NiSequence::Read( istream& in, list<unsigned int> & link_stack, const NifIn
NifStream
(
controlledBlocks
[
i1
].
unknownShort0
,
in
,
info
);
NifStream
(
controlledBlocks
[
i1
].
unknownShort0
,
in
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
10
)
)
{
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
10
)
)
{
NifStream
(
controlledBlocks
[
i1
].
priority
_
,
in
,
info
);
NifStream
(
controlledBlocks
[
i1
].
priority
,
in
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
11
)
)
{
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
11
)
)
{
NifStream
(
controlledBlocks
[
i1
].
priority
_
,
in
,
info
);
NifStream
(
controlledBlocks
[
i1
].
priority
,
in
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A020000
)
&&
(
info
.
version
<=
0x14000005
)
)
{
if
(
(
info
.
version
>=
0x0A020000
)
&&
(
info
.
version
<=
0x14000005
)
)
{
NifStream
(
block_num
,
in
,
info
);
NifStream
(
block_num
,
in
,
info
);
...
@@ -207,10 +207,10 @@ void NiSequence::Write( ostream& out, const map<NiObjectRef,unsigned int> & link
...
@@ -207,10 +207,10 @@ void NiSequence::Write( ostream& out, const map<NiObjectRef,unsigned int> & link
NifStream
(
controlledBlocks
[
i1
].
unknownShort0
,
out
,
info
);
NifStream
(
controlledBlocks
[
i1
].
unknownShort0
,
out
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
10
)
)
{
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
10
)
)
{
NifStream
(
controlledBlocks
[
i1
].
priority
_
,
out
,
info
);
NifStream
(
controlledBlocks
[
i1
].
priority
,
out
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
11
)
)
{
if
(
(
info
.
version
>=
0x0A01006A
)
&&
(
info
.
userVersion
==
11
)
)
{
NifStream
(
controlledBlocks
[
i1
].
priority
_
,
out
,
info
);
NifStream
(
controlledBlocks
[
i1
].
priority
,
out
,
info
);
};
};
if
(
(
info
.
version
>=
0x0A020000
)
&&
(
info
.
version
<=
0x14000005
)
)
{
if
(
(
info
.
version
>=
0x0A020000
)
&&
(
info
.
version
<=
0x14000005
)
)
{
if
(
info
.
version
<
VER_3_3_0_13
)
{
if
(
info
.
version
<
VER_3_3_0_13
)
{
...
@@ -298,7 +298,7 @@ std::string NiSequence::asString( bool verbose ) const {
...
@@ -298,7 +298,7 @@ std::string NiSequence::asString( bool verbose ) const {
out
<<
" Interpolator: "
<<
controlledBlocks
[
i1
].
interpolator
<<
endl
;
out
<<
" Interpolator: "
<<
controlledBlocks
[
i1
].
interpolator
<<
endl
;
out
<<
" Unknown Link 2: "
<<
controlledBlocks
[
i1
].
unknownLink2
<<
endl
;
out
<<
" Unknown Link 2: "
<<
controlledBlocks
[
i1
].
unknownLink2
<<
endl
;
out
<<
" Unknown Short 0: "
<<
controlledBlocks
[
i1
].
unknownShort0
<<
endl
;
out
<<
" Unknown Short 0: "
<<
controlledBlocks
[
i1
].
unknownShort0
<<
endl
;
out
<<
" Priority
?
: "
<<
controlledBlocks
[
i1
].
priority
_
<<
endl
;
out
<<
" Priority: "
<<
controlledBlocks
[
i1
].
priority
<<
endl
;
out
<<
" String Palette: "
<<
controlledBlocks
[
i1
].
stringPalette
<<
endl
;
out
<<
" String Palette: "
<<
controlledBlocks
[
i1
].
stringPalette
<<
endl
;
out
<<
" Node Name: "
<<
controlledBlocks
[
i1
].
nodeName
<<
endl
;
out
<<
" Node Name: "
<<
controlledBlocks
[
i1
].
nodeName
<<
endl
;
out
<<
" Node Name Offset: "
<<
controlledBlocks
[
i1
].
nodeNameOffset
<<
endl
;
out
<<
" Node Name Offset: "
<<
controlledBlocks
[
i1
].
nodeNameOffset
<<
endl
;
...
...
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