Skip to content
Snippets Groups Projects
Commit 254893b8 authored by jonwd7's avatar jonwd7
Browse files

Relaxed suffix enforcement for niflib

Duplicate name avoidance was too strict and unnecessary in these cases.  Nifdocsys will now attempt to cast subsequent duplicate names to the correct types in order to ensure correct read/write size.  As such the first type should always be the largest, so the "Flags" fields on NiAVObject were switched.

So in the case of Flags and Body Flags, a uint data member will be created on the class and will be read/written to with a cast during I/O.

The suffix is still required when the types are not castable between one another.
parent 089611d0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment