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
1d5b8c0d
Commit
1d5b8c0d
authored
18 years ago
by
Amorilia
Browse files
Options
Downloads
Patches
Plain Diff
Forgot part from previous commit... Also corrected writing of NULL references.
parent
7f4457b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gen/Footer.cpp
+4
-1
4 additions, 1 deletion
gen/Footer.cpp
gen/obj_defines.h
+517
-130
517 additions, 130 deletions
gen/obj_defines.h
with
521 additions
and
131 deletions
gen/Footer.cpp
+
4
−
1
View file @
1d5b8c0d
...
@@ -23,7 +23,10 @@ void Footer::Read( istream& in, list<uint> & link_stack, unsigned int version, u
...
@@ -23,7 +23,10 @@ void Footer::Read( istream& in, list<uint> & link_stack, unsigned int version, u
void
Footer
::
Write
(
ostream
&
out
,
map
<
NiObjectRef
,
uint
>
link_map
,
unsigned
int
version
,
unsigned
int
user_version
)
const
{
void
Footer
::
Write
(
ostream
&
out
,
map
<
NiObjectRef
,
uint
>
link_map
,
unsigned
int
version
,
unsigned
int
user_version
)
const
{
NifStream
(
numRoots
,
out
,
version
);
NifStream
(
numRoots
,
out
,
version
);
for
(
uint
i1
=
0
;
i1
<
roots
.
size
();
i1
++
)
{
for
(
uint
i1
=
0
;
i1
<
roots
.
size
();
i1
++
)
{
NifStream
(
link_map
[
StaticCast
<
NiObject
>
(
roots
[
i1
])],
out
,
version
);
if
(
roots
[
i1
]
!=
NULL
)
NifStream
(
link_map
[
StaticCast
<
NiObject
>
(
roots
[
i1
])],
out
,
version
);
else
NifStream
(
0xffffffff
,
out
,
version
);
};
};
}
}
...
...
This diff is collapsed.
Click to expand it.
gen/obj_defines.h
+
517
−
130
View file @
1d5b8c0d
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