mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 07:11:16 +00:00
Move TWOCC/FOURCC to common header file
This commit is contained in:
parent
10e3d507a5
commit
c3c4f7db88
@ -5,8 +5,6 @@
|
|||||||
#define SI_MAJOR_VERSION 2
|
#define SI_MAJOR_VERSION 2
|
||||||
#define SI_MINOR_VERSION 2
|
#define SI_MINOR_VERSION 2
|
||||||
|
|
||||||
#define FOURCC(a, b, c, d) (((a) << 0) | ((b) << 8) | ((c) << 16) | ((d) << 24))
|
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100cc4b0
|
// OFFSET: LEGO1 0x100cc4b0
|
||||||
MxDSFile::MxDSFile(const char *filename, MxULong skipReadingChunks)
|
MxDSFile::MxDSFile(const char *filename, MxULong skipReadingChunks)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -41,4 +41,7 @@ typedef MxU8 MxBool;
|
|||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define TWOCC(a, b) (((a) << 0) | ((b) << 8))
|
||||||
|
#define FOURCC(a, b, c, d) (((a) << 0) | ((b) << 8) | ((c) << 16) | ((d) << 24))
|
||||||
|
|
||||||
#endif // MXTYPE_H
|
#endif // MXTYPE_H
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user