Isle
Loading...
Searching...
No Matches
legotypes.h
Go to the documentation of this file.
1/*
2 This unpublished source code contains trade secrets and
3 copyrighted materials which are the property of Mindscape, Inc.
4 Unauthorized use, copying or distribution is a violation of U.S.
5 and international laws and is strictly prohibited.
6*/
7
14#ifndef __LEGOTYPES_H
15#define __LEGOTYPES_H
16
17#ifndef TRUE
18#define TRUE 1
19#endif
20
21#ifndef FALSE
22#define FALSE 0
23#endif
24
25#ifndef NULL
26#define NULL 0
27#endif
28
29#ifndef SUCCESS
30#define SUCCESS 0
31#endif
32
33#ifndef FAILURE
34#define FAILURE -1
35#endif
36
41typedef char LegoS8;
42
47typedef unsigned char LegoU8;
48
53typedef short LegoS16;
54
59typedef unsigned short LegoU16;
60
65typedef long LegoS32;
66
71typedef unsigned long LegoU32;
72
77typedef float LegoFloat;
78
83typedef char LegoChar;
84
90
96
102
103#endif // __LEGOTYPES_H
unsigned long LegoU32
[AI] Unsigned 32-bit integer type for cross-platform compatibility.
Definition: legotypes.h:71
LegoS32 LegoTime
[AI] Time value, typically used for tick counts, durations, or timing; defined as a signed 32-bit int...
Definition: legotypes.h:95
char LegoChar
[AI] Alias for char, for use in character/byte data and string handling.
Definition: legotypes.h:83
unsigned char LegoU8
[AI] Unsigned 8-bit integer type used throughout LEGO Island.
Definition: legotypes.h:47
LegoS32 LegoResult
[AI] Function result type (return code): typically SUCCESS (0) or FAILURE (-1).
Definition: legotypes.h:101
char LegoS8
[AI] Signed 8-bit integer type used throughout LEGO Island.
Definition: legotypes.h:41
long LegoS32
[AI] Signed 32-bit integer type for cross-platform compatibility.
Definition: legotypes.h:65
unsigned short LegoU16
[AI] Unsigned 16-bit integer type for cross-platform compatibility.
Definition: legotypes.h:59
short LegoS16
[AI] Signed 16-bit integer type for cross-platform compatibility.
Definition: legotypes.h:53
float LegoFloat
[AI] Floating point type used throughout LEGO Island.
Definition: legotypes.h:77
LegoU8 LegoBool
[AI] Boolean value used throughout the codebase.
Definition: legotypes.h:89