Port HuSprAnimRead
This commit is contained in:
parent
c54fd002ec
commit
3b31d9fcfc
10 changed files with 454 additions and 16 deletions
|
|
@ -67,7 +67,7 @@ typedef int BOOL;
|
|||
#define NULL ((void *)0)
|
||||
#endif
|
||||
#endif
|
||||
#if !defined(__cplusplus) || __cplusplus < 201103L
|
||||
#if !defined(__cplusplus)
|
||||
#ifndef nullptr
|
||||
#define nullptr NULL
|
||||
#endif
|
||||
|
|
|
|||
22
include/port/byteswap.h
Normal file
22
include/port/byteswap.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef _SRC_BYTESWAP_H_
|
||||
#define _SRC_BYTESWAP_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
#include "game/animdata.h"
|
||||
|
||||
void byteswap_animdata(void *src, AnimData* dest);
|
||||
void byteswap_animbankdata(void *src, AnimBankData *dest);
|
||||
void byteswap_animpatdata(void *src, AnimPatData *dest);
|
||||
void byteswap_animbmpdata(void *src, AnimBmpData *dest);
|
||||
void byteswap_animframedata(AnimFrameData *src);
|
||||
void byteswap_animlayerdata(AnimLayerData *src);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue