fill out the rest of our primitives in mxtypes

This commit is contained in:
itsmattkc 2023-07-02 10:07:55 -07:00
parent 8fa45bbe0f
commit 9415bd18bb
No known key found for this signature in database
GPG key ID: 6B93BE98A7A61132

View file

@ -2,11 +2,15 @@
#define MXTYPE_H #define MXTYPE_H
typedef unsigned char MxU8; typedef unsigned char MxU8;
typedef char MxS8; typedef signed char MxS8;
typedef unsigned short MxU16; typedef unsigned short MxU16;
typedef short MxS16; typedef signed short MxS16;
typedef unsigned int MxU32; typedef unsigned int MxU32;
typedef int MxS32; typedef signed int MxS32;
typedef unsigned __int64 MxU64;
typedef signed __int64 MxS64;
typedef float MxFloat;
typedef double MxDouble;
// On MSVC, a long is 32-bit, but on GCC/Clang, it's 64-bit. LEGO Island obviously // On MSVC, a long is 32-bit, but on GCC/Clang, it's 64-bit. LEGO Island obviously
// assumes the former in all cases, which could become an issue in the future. // assumes the former in all cases, which could become an issue in the future.