mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-25 13:35:12 +00:00
Rename is_playerlist_open to djui_is_playerlist_open
This commit is contained in:
parent
9910aa32ad
commit
3d2436c808
6 changed files with 42 additions and 42 deletions
|
@ -8940,6 +8940,11 @@ function deref_s32_pointer(pointer)
|
||||||
-- ...
|
-- ...
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- @return boolean
|
||||||
|
function djui_is_playerlist_open()
|
||||||
|
-- ...
|
||||||
|
end
|
||||||
|
|
||||||
--- @return boolean
|
--- @return boolean
|
||||||
function djui_is_popup_disabled()
|
function djui_is_popup_disabled()
|
||||||
-- ...
|
-- ...
|
||||||
|
@ -9178,11 +9183,6 @@ function is_game_paused()
|
||||||
-- ...
|
-- ...
|
||||||
end
|
end
|
||||||
|
|
||||||
--- @return boolean
|
|
||||||
function is_playerlist_open()
|
|
||||||
-- ...
|
|
||||||
end
|
|
||||||
|
|
||||||
--- @return boolean
|
--- @return boolean
|
||||||
function is_transition_playing()
|
function is_transition_playing()
|
||||||
-- ...
|
-- ...
|
||||||
|
|
|
@ -1168,6 +1168,24 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
## [djui_is_playerlist_open](#djui_is_playerlist_open)
|
||||||
|
|
||||||
|
### Lua Example
|
||||||
|
`local booleanValue = djui_is_playerlist_open()`
|
||||||
|
|
||||||
|
### Parameters
|
||||||
|
- None
|
||||||
|
|
||||||
|
### Returns
|
||||||
|
- `boolean`
|
||||||
|
|
||||||
|
### C Prototype
|
||||||
|
`bool djui_is_playerlist_open(void);`
|
||||||
|
|
||||||
|
[:arrow_up_small:](#)
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
## [djui_is_popup_disabled](#djui_is_popup_disabled)
|
## [djui_is_popup_disabled](#djui_is_popup_disabled)
|
||||||
|
|
||||||
### Lua Example
|
### Lua Example
|
||||||
|
@ -1955,24 +1973,6 @@
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
## [is_playerlist_open](#is_playerlist_open)
|
|
||||||
|
|
||||||
### Lua Example
|
|
||||||
`local booleanValue = is_playerlist_open()`
|
|
||||||
|
|
||||||
### Parameters
|
|
||||||
- None
|
|
||||||
|
|
||||||
### Returns
|
|
||||||
- `boolean`
|
|
||||||
|
|
||||||
### C Prototype
|
|
||||||
`bool is_playerlist_open(void);`
|
|
||||||
|
|
||||||
[:arrow_up_small:](#)
|
|
||||||
|
|
||||||
<br />
|
|
||||||
|
|
||||||
## [is_transition_playing](#is_transition_playing)
|
## [is_transition_playing](#is_transition_playing)
|
||||||
|
|
||||||
### Lua Example
|
### Lua Example
|
||||||
|
|
|
@ -1658,6 +1658,7 @@
|
||||||
- [camera_unfreeze](functions-5.md#camera_unfreeze)
|
- [camera_unfreeze](functions-5.md#camera_unfreeze)
|
||||||
- [course_is_main_course](functions-5.md#course_is_main_course)
|
- [course_is_main_course](functions-5.md#course_is_main_course)
|
||||||
- [deref_s32_pointer](functions-5.md#deref_s32_pointer)
|
- [deref_s32_pointer](functions-5.md#deref_s32_pointer)
|
||||||
|
- [djui_is_playerlist_open](functions-5.md#djui_is_playerlist_open)
|
||||||
- [djui_is_popup_disabled](functions-5.md#djui_is_popup_disabled)
|
- [djui_is_popup_disabled](functions-5.md#djui_is_popup_disabled)
|
||||||
- [djui_popup_create_global](functions-5.md#djui_popup_create_global)
|
- [djui_popup_create_global](functions-5.md#djui_popup_create_global)
|
||||||
- [djui_reset_popup_disabled_override](functions-5.md#djui_reset_popup_disabled_override)
|
- [djui_reset_popup_disabled_override](functions-5.md#djui_reset_popup_disabled_override)
|
||||||
|
@ -1699,7 +1700,6 @@
|
||||||
- [hud_set_value](functions-5.md#hud_set_value)
|
- [hud_set_value](functions-5.md#hud_set_value)
|
||||||
- [hud_show](functions-5.md#hud_show)
|
- [hud_show](functions-5.md#hud_show)
|
||||||
- [is_game_paused](functions-5.md#is_game_paused)
|
- [is_game_paused](functions-5.md#is_game_paused)
|
||||||
- [is_playerlist_open](functions-5.md#is_playerlist_open)
|
|
||||||
- [is_transition_playing](functions-5.md#is_transition_playing)
|
- [is_transition_playing](functions-5.md#is_transition_playing)
|
||||||
- [movtexqc_register](functions-5.md#movtexqc_register)
|
- [movtexqc_register](functions-5.md#movtexqc_register)
|
||||||
- [play_transition](functions-5.md#play_transition)
|
- [play_transition](functions-5.md#play_transition)
|
||||||
|
|
|
@ -29391,6 +29391,21 @@ int smlua_func_deref_s32_pointer(lua_State* L) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int smlua_func_djui_is_playerlist_open(UNUSED lua_State* L) {
|
||||||
|
if (L == NULL) { return 0; }
|
||||||
|
|
||||||
|
int top = lua_gettop(L);
|
||||||
|
if (top != 0) {
|
||||||
|
LOG_LUA_LINE("Improper param count for '%s': Expected %u, Received %u", "djui_is_playerlist_open", 0, top);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
lua_pushboolean(L, djui_is_playerlist_open());
|
||||||
|
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
int smlua_func_djui_is_popup_disabled(UNUSED lua_State* L) {
|
int smlua_func_djui_is_popup_disabled(UNUSED lua_State* L) {
|
||||||
if (L == NULL) { return 0; }
|
if (L == NULL) { return 0; }
|
||||||
|
|
||||||
|
@ -30072,21 +30087,6 @@ int smlua_func_is_game_paused(UNUSED lua_State* L) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int smlua_func_is_playerlist_open(UNUSED lua_State* L) {
|
|
||||||
if (L == NULL) { return 0; }
|
|
||||||
|
|
||||||
int top = lua_gettop(L);
|
|
||||||
if (top != 0) {
|
|
||||||
LOG_LUA_LINE("Improper param count for '%s': Expected %u, Received %u", "is_playerlist_open", 0, top);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
lua_pushboolean(L, is_playerlist_open());
|
|
||||||
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int smlua_func_is_transition_playing(UNUSED lua_State* L) {
|
int smlua_func_is_transition_playing(UNUSED lua_State* L) {
|
||||||
if (L == NULL) { return 0; }
|
if (L == NULL) { return 0; }
|
||||||
|
|
||||||
|
@ -33735,6 +33735,7 @@ void smlua_bind_functions_autogen(void) {
|
||||||
smlua_bind_function(L, "camera_unfreeze", smlua_func_camera_unfreeze);
|
smlua_bind_function(L, "camera_unfreeze", smlua_func_camera_unfreeze);
|
||||||
smlua_bind_function(L, "course_is_main_course", smlua_func_course_is_main_course);
|
smlua_bind_function(L, "course_is_main_course", smlua_func_course_is_main_course);
|
||||||
smlua_bind_function(L, "deref_s32_pointer", smlua_func_deref_s32_pointer);
|
smlua_bind_function(L, "deref_s32_pointer", smlua_func_deref_s32_pointer);
|
||||||
|
smlua_bind_function(L, "djui_is_playerlist_open", smlua_func_djui_is_playerlist_open);
|
||||||
smlua_bind_function(L, "djui_is_popup_disabled", smlua_func_djui_is_popup_disabled);
|
smlua_bind_function(L, "djui_is_popup_disabled", smlua_func_djui_is_popup_disabled);
|
||||||
smlua_bind_function(L, "djui_popup_create_global", smlua_func_djui_popup_create_global);
|
smlua_bind_function(L, "djui_popup_create_global", smlua_func_djui_popup_create_global);
|
||||||
smlua_bind_function(L, "djui_reset_popup_disabled_override", smlua_func_djui_reset_popup_disabled_override);
|
smlua_bind_function(L, "djui_reset_popup_disabled_override", smlua_func_djui_reset_popup_disabled_override);
|
||||||
|
@ -33776,7 +33777,6 @@ void smlua_bind_functions_autogen(void) {
|
||||||
smlua_bind_function(L, "hud_set_value", smlua_func_hud_set_value);
|
smlua_bind_function(L, "hud_set_value", smlua_func_hud_set_value);
|
||||||
smlua_bind_function(L, "hud_show", smlua_func_hud_show);
|
smlua_bind_function(L, "hud_show", smlua_func_hud_show);
|
||||||
smlua_bind_function(L, "is_game_paused", smlua_func_is_game_paused);
|
smlua_bind_function(L, "is_game_paused", smlua_func_is_game_paused);
|
||||||
smlua_bind_function(L, "is_playerlist_open", smlua_func_is_playerlist_open);
|
|
||||||
smlua_bind_function(L, "is_transition_playing", smlua_func_is_transition_playing);
|
smlua_bind_function(L, "is_transition_playing", smlua_func_is_transition_playing);
|
||||||
smlua_bind_function(L, "movtexqc_register", smlua_func_movtexqc_register);
|
smlua_bind_function(L, "movtexqc_register", smlua_func_movtexqc_register);
|
||||||
smlua_bind_function(L, "play_transition", smlua_func_play_transition);
|
smlua_bind_function(L, "play_transition", smlua_func_play_transition);
|
||||||
|
|
|
@ -638,7 +638,7 @@ s32 get_dialog_response(void) {
|
||||||
|
|
||||||
///
|
///
|
||||||
|
|
||||||
bool is_playerlist_open(void) {
|
bool djui_is_playerlist_open(void) {
|
||||||
return gDjuiPlayerList->base.visible;
|
return gDjuiPlayerList->base.visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -158,7 +158,7 @@ u32 get_global_timer(void);
|
||||||
|
|
||||||
s32 get_dialog_response(void);
|
s32 get_dialog_response(void);
|
||||||
|
|
||||||
bool is_playerlist_open(void);
|
bool djui_is_playerlist_open(void);
|
||||||
|
|
||||||
void set_window_title(const char* title);
|
void set_window_title(const char* title);
|
||||||
void reset_window_title(void);
|
void reset_window_title(void);
|
||||||
|
|
Loading…
Reference in a new issue