Isle
|
[AI] Defines basic fixed-width data types and platform-neutral constants for LEGO Island codebase. More...
Go to the source code of this file.
Macros | |
#define | TRUE 1 |
[AI] Boolean TRUE value. More... | |
#define | FALSE 0 |
[AI] Boolean FALSE value. More... | |
#define | NULL 0 |
[AI] Null pointer value (C/C++ semantics). More... | |
#define | SUCCESS 0 |
[AI] Used to indicate a successful operation in result codes. More... | |
#define | FAILURE -1 |
[AI] Used to indicate a failed operation in result codes. More... | |
Typedefs | |
typedef char | LegoS8 |
[AI] Signed 8-bit integer type used throughout LEGO Island. More... | |
typedef unsigned char | LegoU8 |
[AI] Unsigned 8-bit integer type used throughout LEGO Island. More... | |
typedef short | LegoS16 |
[AI] Signed 16-bit integer type for cross-platform compatibility. More... | |
typedef unsigned short | LegoU16 |
[AI] Unsigned 16-bit integer type for cross-platform compatibility. More... | |
typedef long | LegoS32 |
[AI] Signed 32-bit integer type for cross-platform compatibility. More... | |
typedef unsigned long | LegoU32 |
[AI] Unsigned 32-bit integer type for cross-platform compatibility. More... | |
typedef float | LegoFloat |
[AI] Floating point type used throughout LEGO Island. More... | |
typedef char | LegoChar |
[AI] Alias for char , for use in character/byte data and string handling. More... | |
typedef LegoU8 | LegoBool |
[AI] Boolean value used throughout the codebase. More... | |
typedef LegoS32 | LegoTime |
[AI] Time value, typically used for tick counts, durations, or timing; defined as a signed 32-bit integer. More... | |
typedef LegoS32 | LegoResult |
[AI] Function result type (return code): typically SUCCESS (0) or FAILURE (-1). More... | |
[AI] Defines basic fixed-width data types and platform-neutral constants for LEGO Island codebase.
[AI] This file provides typedefs for integer and floating point types as well as macros for success/error codes and boolean logic, ensuring consistent use throughout the game.
Definition in file legotypes.h.
#define FAILURE -1 |
[AI] Used to indicate a failed operation in result codes.
Definition at line 34 of file legotypes.h.
#define FALSE 0 |
[AI] Boolean FALSE value.
Definition at line 22 of file legotypes.h.
#define NULL 0 |
[AI] Null pointer value (C/C++ semantics).
Definition at line 26 of file legotypes.h.
#define SUCCESS 0 |
[AI] Used to indicate a successful operation in result codes.
Definition at line 30 of file legotypes.h.
#define TRUE 1 |
[AI] Boolean TRUE value.
Definition at line 18 of file legotypes.h.
[AI] Boolean value used throughout the codebase.
Defined as LegoU8 (0 for FALSE, 1 for TRUE).
Definition at line 89 of file legotypes.h.
[AI] Alias for char
, for use in character/byte data and string handling.
Definition at line 83 of file legotypes.h.
[AI] Floating point type used throughout LEGO Island.
(Usually float, 32-bit IEEE)
Definition at line 77 of file legotypes.h.
[AI] Function result type (return code): typically SUCCESS (0) or FAILURE (-1).
Definition at line 101 of file legotypes.h.
[AI] Signed 16-bit integer type for cross-platform compatibility.
Definition at line 53 of file legotypes.h.
[AI] Signed 32-bit integer type for cross-platform compatibility.
Definition at line 65 of file legotypes.h.
[AI] Signed 8-bit integer type used throughout LEGO Island.
Definition at line 41 of file legotypes.h.
[AI] Time value, typically used for tick counts, durations, or timing; defined as a signed 32-bit integer.
Definition at line 95 of file legotypes.h.
[AI] Unsigned 16-bit integer type for cross-platform compatibility.
Definition at line 59 of file legotypes.h.
[AI] Unsigned 32-bit integer type for cross-platform compatibility.
Definition at line 71 of file legotypes.h.
[AI] Unsigned 8-bit integer type used throughout LEGO Island.
Definition at line 47 of file legotypes.h.