Jump to navigation Jump to search
- $COLOR:0 adds constants for colors 0-15. The actual constant names can be found in the file source/utilities/color0.bi.
- $COLOR:32 adds constants for 32-bit colors, similar to HTML color names. The actual constant names can be found in the file source/utilities/color32.bi.
- $COLOR is a shorthand to manually using $INCLUDE pointing to the files listed above.
- NOTE: When using $NOPREFIX, the color constants change to C_<old name> (ex: Blue becomes C_Blue).
Example 1: Adding named color constants for SCREEN 0:
Example 2: Adding named color constants for 32-bit modes: