diff --git a/autogen/lua_definitions/functions.lua b/autogen/lua_definitions/functions.lua index 0930f3bda..5dcbcb3ab 100644 --- a/autogen/lua_definitions/functions.lua +++ b/autogen/lua_definitions/functions.lua @@ -3837,7 +3837,7 @@ function djui_hud_set_font(fontType) end --- @return DjuiColor ---- Gets the current DJUI HUD color +--- Gets the current DJUI HUD global color function djui_hud_get_color() -- ... end @@ -3846,18 +3846,18 @@ end --- @param g integer --- @param b integer --- @param a integer ---- Sets the current DJUI HUD color +--- Sets the current DJUI HUD global color function djui_hud_set_color(r, g, b, a) -- ... end ---- Resets the current DJUI HUD color +--- Resets the current DJUI HUD global color function djui_hud_reset_color() -- ... end --- @return DjuiColor ---- Gets the current DJUI HUD text default color +--- Gets the current DJUI HUD text default color. This color is overridden by color codes function djui_hud_get_text_color() -- ... end @@ -3866,12 +3866,12 @@ end --- @param g integer --- @param b integer --- @param a integer ---- Sets the current DJUI HUD text default color +--- Sets the current DJUI HUD text default color. This color is overridden by color codes function djui_hud_set_text_color(r, g, b, a) -- ... end ---- Resets the current DJUI HUD text default color +--- Resets the current DJUI HUD text default color. This color is overridden by color codes function djui_hud_reset_text_color() -- ... end diff --git a/docs/lua/functions-3.md b/docs/lua/functions-3.md index 00c87ebfe..572b46f94 100644 --- a/docs/lua/functions-3.md +++ b/docs/lua/functions-3.md @@ -2858,7 +2858,7 @@ Sets the current DJUI HUD font ## [djui_hud_get_color](#djui_hud_get_color) ### Description -Gets the current DJUI HUD color +Gets the current DJUI HUD global color ### Lua Example `local djuiColorValue = djui_hud_get_color()` @@ -2879,7 +2879,7 @@ Gets the current DJUI HUD color ## [djui_hud_set_color](#djui_hud_set_color) ### Description -Sets the current DJUI HUD color +Sets the current DJUI HUD global color ### Lua Example `djui_hud_set_color(r, g, b, a)` @@ -2905,7 +2905,7 @@ Sets the current DJUI HUD color ## [djui_hud_reset_color](#djui_hud_reset_color) ### Description -Resets the current DJUI HUD color +Resets the current DJUI HUD global color ### Lua Example `djui_hud_reset_color()` @@ -2926,7 +2926,7 @@ Resets the current DJUI HUD color ## [djui_hud_get_text_color](#djui_hud_get_text_color) ### Description -Gets the current DJUI HUD text default color +Gets the current DJUI HUD text default color. This color is overridden by color codes ### Lua Example `local djuiColorValue = djui_hud_get_text_color()` @@ -2947,7 +2947,7 @@ Gets the current DJUI HUD text default color ## [djui_hud_set_text_color](#djui_hud_set_text_color) ### Description -Sets the current DJUI HUD text default color +Sets the current DJUI HUD text default color. This color is overridden by color codes ### Lua Example `djui_hud_set_text_color(r, g, b, a)` @@ -2973,7 +2973,7 @@ Sets the current DJUI HUD text default color ## [djui_hud_reset_text_color](#djui_hud_reset_text_color) ### Description -Resets the current DJUI HUD text default color +Resets the current DJUI HUD text default color. This color is overridden by color codes ### Lua Example `djui_hud_reset_text_color()` diff --git a/src/pc/djui/djui_hud_utils.h b/src/pc/djui/djui_hud_utils.h index efe1d7cf0..569b18a9b 100644 --- a/src/pc/djui/djui_hud_utils.h +++ b/src/pc/djui/djui_hud_utils.h @@ -76,17 +76,17 @@ void djui_hud_set_filter(enum HudUtilsFilter filterType); s8 djui_hud_get_font(void); /* |description|Sets the current DJUI HUD font|descriptionEnd| */ void djui_hud_set_font(s8 fontType); -/* |description|Gets the current DJUI HUD color|descriptionEnd| */ +/* |description|Gets the current DJUI HUD global color|descriptionEnd| */ struct DjuiColor* djui_hud_get_color(void); -/* |description|Sets the current DJUI HUD color|descriptionEnd| */ +/* |description|Sets the current DJUI HUD global color|descriptionEnd| */ void djui_hud_set_color(u8 r, u8 g, u8 b, u8 a); -/* |description|Resets the current DJUI HUD color|descriptionEnd| */ +/* |description|Resets the current DJUI HUD global color|descriptionEnd| */ void djui_hud_reset_color(void); -/* |description|Gets the current DJUI HUD text default color|descriptionEnd| */ +/* |description|Gets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */ struct DjuiColor* djui_hud_get_text_color(void); -/* |description|Sets the current DJUI HUD text default color|descriptionEnd| */ +/* |description|Sets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */ void djui_hud_set_text_color(u8 r, u8 g, u8 b, u8 a); -/* |description|Resets the current DJUI HUD text default color|descriptionEnd| */ +/* |description|Resets the current DJUI HUD text default color. This color is overridden by color codes|descriptionEnd| */ void djui_hud_reset_text_color(void); /* |description|Gets the current DJUI HUD rotation|descriptionEnd| */ void djui_hud_get_rotation(RET s16 *rotation, RET f32 *pivotX, RET f32 *pivotY);