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
5ced9f1f
Commit
5ced9f1f
authored
18 years ago
by
Shon Ferguson
Browse files
Options
Downloads
Patches
Plain Diff
Added AParticleModifier as a test of the defines and the template generation script.
parent
bfb2d137
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
niflib.vcproj
+9
-0
9 additions, 0 deletions
niflib.vcproj
obj/NiObject.h
+1
-0
1 addition, 0 deletions
obj/NiObject.h
obj/NiObjectNET.h
+0
-1
0 additions, 1 deletion
obj/NiObjectNET.h
xml_extract.h
+6
-6
6 additions, 6 deletions
xml_extract.h
with
16 additions
and
7 deletions
niflib.vcproj
+
9
−
0
View file @
5ced9f1f
...
...
@@ -134,6 +134,9 @@
Name=
"Source Files"
Filter=
"cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier=
"{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=
".\obj\AParticleModifier.cpp"
>
</File>
<File
RelativePath=
".\NIF_IO.cpp"
>
</File>
...
...
@@ -170,6 +173,9 @@
Name=
"Header Files"
Filter=
"h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier=
"{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=
".\obj\AParticleModifier.h"
>
</File>
<File
RelativePath=
".\NIF_IO.h"
>
</File>
...
...
@@ -179,6 +185,9 @@
<File
RelativePath=
".\niflib.h"
>
</File>
<File
RelativePath=
".\xml_extract.h"
>
</File>
<Filter
Name=
"obj"
Filter=
""
>
...
...
This diff is collapsed.
Click to expand it.
obj/NiObject.h
+
1
−
0
View file @
5ced9f1f
...
...
@@ -44,6 +44,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include
<vector>
#include
"NIF_IO.h"
#include
"Ref.h"
#include
"xml_extract.h"
using
namespace
std
;
...
...
This diff is collapsed.
Click to expand it.
obj/NiObjectNET.h
+
0
−
1
View file @
5ced9f1f
...
...
@@ -4,7 +4,6 @@ All rights reserved. Please see niflib.h for licence. */
#ifndef _NIOBJECTNET_H_
#define _NIOBJECTNET_H_
#include
"xml_extract.h"
#include
"NiObject.h"
/*
...
...
This diff is collapsed.
Click to expand it.
xml_extract.h
+
6
−
6
View file @
5ced9f1f
...
...
@@ -46,7 +46,7 @@
#define _XML_EXTRACT_H_
#include
"NIF_IO.h"
#include
"obj\
NiObject
.h"
#include
"obj\
Ref
.h"
#include
<iostream>
#include
<fstream>
#include
<vector>
...
...
@@ -1275,7 +1275,7 @@ NiObject::FixLinks( objects, link_stack, version ); \
Ref<AParticleModifier > nextModifier; \
AParticleModifier * previousModifier; \
#define A_PARTICLE_MODIFIER_PARENTS NiObject
\
#define A_PARTICLE_MODIFIER_PARENTS NiObject
#define A_PARTICLE_MODIFIER_CONSTRUCT \
...
...
@@ -1289,8 +1289,8 @@ link_stack.push_back( block_num ); \
#define A_PARTICLE_MODIFIER_WRITE \
NiObject::Write( out, link_map, version ); \
NifStream( link_map[nextModifier], out, version ); \
NifStream( link_map[previousModifier], out, version ); \
NifStream( link_map[
StaticCast<NiObject>(
nextModifier
)
], out, version ); \
NifStream( link_map[
StaticCast<NiObject>(
previousModifier
)
], out, version ); \
#define A_PARTICLE_MODIFIER_STRING \
stringstream out; \
...
...
@@ -1301,9 +1301,9 @@ return out.str(); \
#define A_PARTICLE_MODIFIER_FIXLINKS \
NiObject::FixLinks( objects, link_stack, version ); \
nextModifier =
block
s[link_stack.front()]; \
nextModifier =
DynamicCast<AParticleModifier>(object
s[link_stack.front()]
)
; \
link_stack.pop_front(); \
previousModifier =
block
s[link_stack.front()]; \
previousModifier =
DynamicCast<AParticleModifier>(object
s[link_stack.front()]
)
; \
link_stack.pop_front(); \
#define A_P_SYS_MODIFIER_MEMBERS \
...
...
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