-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
23a83a7
commit 5a50f95
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
description: Sega NN NODENAMELIST Data Chunk Format Specification | ||
--- | ||
|
||
# NODENAMELIST | ||
|
||
## NNS_NODENAMELIST | ||
|
||
!!! important | ||
This is the "main" (root) struct for all NN node (bone) name list chunks. | ||
|
||
```c | ||
struct NNS_NODENAMELIST | ||
{ | ||
/* The sorting type */ | ||
NNE_NODENAME_SORTTYPE SortType; | ||
|
||
/* The size of [pNodeNameList] array */ | ||
uint32_t nNode; | ||
|
||
NNS_NODENAME* pNodeNameList; | ||
}; | ||
``` | ||
|
||
!!! todo | ||
Find the macros used in the text-form file format | ||
|
||
## NNS_NODENAME | ||
|
||
The actual node (bone) name | ||
|
||
```c | ||
struct NNS_NODENAME | ||
{ | ||
/* The node index */ | ||
int iNode; | ||
|
||
/* The node name */ | ||
char* Name; | ||
}; | ||
``` | ||
|
||
## NNE_NODENAME_SORTTYPE | ||
|
||
This enum indicates the sorting type used in the node name list. | ||
|
||
```c | ||
enum NNE_NODENAME_SORTTYPE | ||
{ | ||
/* Sorting by index */ | ||
NNE_NODENAME_SORTTYPE_INDEX, | ||
|
||
/* Sorting by name */ | ||
NNE_NODENAME_SORTTYPE_NAME | ||
}; | ||
``` | ||
|
||
!!! todo | ||
Find the macros used in the text-form file format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters