From 9415bd18bbd65c9c15605eceb279069dd7a8c39c Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 2 Jul 2023 10:07:55 -0700 Subject: [PATCH] fill out the rest of our primitives in mxtypes --- LEGO1/mxtypes.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/LEGO1/mxtypes.h b/LEGO1/mxtypes.h index bcc401b2..8a7d5026 100644 --- a/LEGO1/mxtypes.h +++ b/LEGO1/mxtypes.h @@ -2,11 +2,15 @@ #define MXTYPE_H typedef unsigned char MxU8; -typedef char MxS8; +typedef signed char MxS8; typedef unsigned short MxU16; -typedef short MxS16; +typedef signed short MxS16; 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 // assumes the former in all cases, which could become an issue in the future.