mirror of
https://github.com/simtactics/niotso.git
synced 2025-03-23 11:22:20 +00:00
Support for SPR# and SPR2 was added to iff2html. *NOTE: The default exporter used is the PNG one, since web browsers don't like targa. However, since there is a bug in my PNG exporter, I would recommend that you use the targa exporter for a precise representation of the loaded sprite frame(s). Feel free to fix the PNG exporter, btw :)
29 lines
No EOL
574 B
C
29 lines
No EOL
574 B
C
/* BHAV chunk */
|
|
|
|
typedef struct TreeNodeParams
|
|
{
|
|
uint16_t Param0;
|
|
uint16_t Param1;
|
|
uint16_t Param2;
|
|
uint16_t Param3;
|
|
} IFF_TRETABLENODEPARAMS;
|
|
|
|
typedef struct TreeTableNode
|
|
{
|
|
uint16_t PrimitiveNumber;
|
|
uint8_t TransitionTrue;
|
|
uint8_t TransitionFalse;
|
|
IFF_TRETABLENODEPARAMS Parameters;
|
|
} IFF_TREETABLENODE;
|
|
|
|
typedef struct TreeTable
|
|
{
|
|
uint16_t StreamVersion;
|
|
uint8_t Type;
|
|
uint8_t NumParams;
|
|
uint8_t NumLocals;
|
|
uint32_t TreeVersion;
|
|
|
|
IFF_TREETABLENODE *NodesBegin;
|
|
IFF_TREETABLENODE *NodesEnd;
|
|
} IFF_TREETABLE; |