Jo Engine
2024.04.28
Jo Sega Saturn Engine
|
Jo Engine Standard colors. More...
Go to the source code of this file.
Functions | |
static __jo_force_inline void | jo_set_screen_color_filter_a (jo_scroll_screen screens, short r, short g, short b) |
Set color filter A for scroll screen. More... | |
static __jo_force_inline void | jo_set_screen_color_filter_b (jo_scroll_screen screens, short r, short g, short b) |
Set color filter A for scroll screen. More... | |
static __jo_force_inline void | jo_disable_screen_color_filter (jo_scroll_screen screens) |
Disable color filter for scroll screen. More... | |
static __jo_force_inline void | jo_disable_all_screen_color_filter (void) |
Disable color filter for all scroll screen. More... | |
Jo Engine Standard colors.
#define JO_COLOR_Black |
#define JO_COLOR_Blue |
#define JO_COLOR_Cyan |
#define JO_COLOR_DarkBlue |
#define JO_COLOR_DarkCyan |
#define JO_COLOR_DarkGray |
#define JO_COLOR_DarkGreen |
#define JO_COLOR_DarkPurple |
#define JO_COLOR_DarkRed |
#define JO_COLOR_DarkYellow |
#define JO_COLOR_Gray |
#define JO_COLOR_Green |
#define JO_COLOR_INDEX_Black |
#define JO_COLOR_INDEX_Blue |
#define JO_COLOR_INDEX_Green |
#define JO_COLOR_INDEX_Purple |
#define JO_COLOR_INDEX_Red |
#define JO_COLOR_INDEX_White |
#define JO_COLOR_INDEX_Yellow |
#define JO_COLOR_MediumBlue |
#define JO_COLOR_MediumCyan |
#define JO_COLOR_MediumGreen |
#define JO_COLOR_MediumPurple |
#define JO_COLOR_MediumRed |
#define JO_COLOR_MediumWhite |
#define JO_COLOR_MediumYellow |
#define JO_COLOR_Purple |
#define JO_COLOR_Red |
#define JO_COLOR_RGB | ( | R, | |
G, | |||
B | |||
) |
Get jo_color type from RGB additive color model.
R | Red [0, 255] |
G | Green [0, 255] |
B | Blue [0, 255] |
#define JO_COLOR_SATURN | ( | C | ) |
Internal, you should not use this macro.
#define JO_COLOR_SATURN_GET_B | ( | C | ) |
#define JO_COLOR_SATURN_GET_G | ( | C | ) |
#define JO_COLOR_SATURN_GET_R | ( | C | ) |
Internal, you should not use this macro.
#define JO_COLOR_SATURN_RGB | ( | R, | |
G, | |||
B | |||
) |
Internal, you should not use this macro.
#define JO_COLOR_SemiBlue |
#define JO_COLOR_SemiCyan |
#define JO_COLOR_SemiGreen |
#define JO_COLOR_SemiPurple |
#define JO_COLOR_SemiRed |
#define JO_COLOR_SemiYellow |
#define JO_COLOR_Transparent |
Transparent color.
#define JO_COLOR_White |
#define JO_COLOR_Yellow |
|
static |
Disable color filter for all scroll screen.
|
static |
Disable color filter for scroll screen.
screens | Scroll screens (You can pass multiple value using pipe(|). Example: JO_SPRITE_SCREEN|JO_NBG0_SCREEN) |
|
static |
Set color filter A for scroll screen.
screens | Scroll screens (You can pass multiple value using pipe(|). Example: JO_SPRITE_SCREEN|JO_NBG0_SCREEN) |
r | Red offset value (signed 9 bits) |
g | Green offset value (signed 9 bits) |
b | Blue offset value (signed 9 bits) |
|
static |
Set color filter A for scroll screen.
screens | Scroll screens (You can pass multiple value using pipe(|). Example: JO_SPRITE_SCREEN|JO_NBG0_SCREEN) |
r | Red offset value (signed 9 bits) |
g | Green offset value (signed 9 bits) |
b | Blue offset value (signed 9 bits) |