From 7947568019533add06261e3c4d9292c93e62d291 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 4 Nov 2022 15:46:24 -0700 Subject: [PATCH] Add LE/LX entry table bundle type enum --- BurnOutSharp.Models/LinearExecutable/Enums.cs | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/BurnOutSharp.Models/LinearExecutable/Enums.cs b/BurnOutSharp.Models/LinearExecutable/Enums.cs index a472ee72..7c5ae0fa 100644 --- a/BurnOutSharp.Models/LinearExecutable/Enums.cs +++ b/BurnOutSharp.Models/LinearExecutable/Enums.cs @@ -2,6 +2,44 @@ namespace BurnOutSharp.Models.LinearExecutable { + // TODO: Should this be a flag? + public enum BundleType : byte + { + /// + /// Unused Entry. + /// + UnusedEntry = 0x00, + + /// + /// 16-bit Entry. + /// + SixteenBitEntry = 0x01, + + /// + /// 286 Call Gate Entry. + /// + TwoEightySixCallGateEntry = 0x02, + + /// + /// 32-bit Entry. + /// + ThirtyTwoBitEntry = 0x03, + + /// + /// Forwarder Entry. + /// + ForwarderEntry = 0x04, + + /// + /// Parameter Typing Information Present. + /// + /// + /// This bit signifies that additional information is contained in the + /// linear EXE module and will be used in the future for parameter type checking. + /// + ParameterTypingInformationPresent = 0x80, + } + public enum ByteOrder : byte { ///