home *** CD-ROM | disk | FTP | other *** search
- /*
-
- Standard defines
-
- */
-
- #ifndef STD_H
- #define STD_H
- // Machine Memory Types
- typedef unsigned char BYTE;
- typedef unsigned int WORD;
- typedef unsigned long DWORD;
-
- // Booleans
- #define NO (0)
- #define YES (!NO)
-
- typedef int BOOL; // Fastest boolean
- typedef char TBOOL; // Smallest boolean
-
- // Char types
- // char is default char type
- typedef signed char SCHAR; // Signed char (if you care)
- typedef unsigned char UCHAR; // Unsigned char (if you care)
-
-
- // For clarification of code
-
- #define FOREVER for(;;) // Most efficient forever loop
- #define NOTHING // e.g. while (x) NOTHING;
-
- // Artificial declarations
-
- #define PRIVATE static // For local functions and variables
-
- #endif // STD_H