mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-12 12:08:00 +01:00
more member name cleanup
This commit is contained in:
parent
492aa79a6b
commit
1b9b16cf15
6 changed files with 9 additions and 9 deletions
2
Doxyfile
2
Doxyfile
|
@ -561,7 +561,7 @@ INLINE_INFO = YES
|
|||
# name. If set to NO, the members will appear in declaration order.
|
||||
# The default value is: YES.
|
||||
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_MEMBER_DOCS = NO
|
||||
|
||||
# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
|
||||
# descriptions of file, namespace and class members alphabetically by member
|
||||
|
|
|
@ -68,7 +68,7 @@ SYMBOL_EXPORT void LoadGamestate(struct Game* game, const char* name) {
|
|||
} else {
|
||||
gs = AddNewGamestate(game, name);
|
||||
gs->pending_load = true;
|
||||
gs->showLoading = true;
|
||||
gs->show_loading = true;
|
||||
}
|
||||
PrintConsole(game, "Gamestate \"%s\" marked to be LOADED.", name);
|
||||
}
|
||||
|
|
|
@ -47,7 +47,7 @@ struct Gamestate {
|
|||
bool loaded, pending_load, pending_unload;
|
||||
bool started, pending_start, pending_stop;
|
||||
bool frozen;
|
||||
bool showLoading;
|
||||
bool show_loading;
|
||||
bool paused;
|
||||
bool fromlib;
|
||||
bool open;
|
||||
|
|
|
@ -376,7 +376,7 @@ SYMBOL_INTERNAL struct Gamestate* AllocateGamestate(struct Game* game, const cha
|
|||
tmp->progress_count = 0;
|
||||
tmp->open = false;
|
||||
tmp->fb = NULL;
|
||||
tmp->showLoading = true;
|
||||
tmp->show_loading = true;
|
||||
tmp->data = NULL;
|
||||
return tmp;
|
||||
}
|
||||
|
|
|
@ -352,7 +352,7 @@ SYMBOL_EXPORT int libsuperderpy_start(struct Game* game) {
|
|||
struct Gamestate* tmp = game->_priv.gamestates;
|
||||
while (tmp) {
|
||||
// don't show loading screen on init if requested
|
||||
tmp->showLoading = game->_priv.params.show_loading_on_launch;
|
||||
tmp->show_loading = game->_priv.params.show_loading_on_launch;
|
||||
tmp = tmp->next;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -224,7 +224,7 @@ static inline bool MainloopTick(struct Game* game) {
|
|||
}
|
||||
if (tmp->pending_load) {
|
||||
al_stop_timer(game->_priv.timer);
|
||||
if (tmp->showLoading) {
|
||||
if (tmp->show_loading) {
|
||||
(*game->_priv.loading.gamestate->api->start)(game, game->_priv.loading.gamestate->data);
|
||||
}
|
||||
|
||||
|
@ -252,7 +252,7 @@ static inline bool MainloopTick(struct Game* game) {
|
|||
al_run_detached_thread(GamestateLoadingThread, &data);
|
||||
while (game->_priv.loading.in_progress) {
|
||||
double delta = al_get_time() - game->_priv.loading.time;
|
||||
if (tmp->showLoading) {
|
||||
if (tmp->show_loading) {
|
||||
game->loading.shown = true;
|
||||
(*game->_priv.loading.gamestate->api->logic)(game, game->_priv.loading.gamestate->data, delta);
|
||||
DrawGamestates(game);
|
||||
|
@ -302,11 +302,11 @@ static inline bool MainloopTick(struct Game* game) {
|
|||
tmp->loaded = true;
|
||||
tmp->pending_load = false;
|
||||
}
|
||||
if (tmp->showLoading) {
|
||||
if (tmp->show_loading) {
|
||||
(*game->_priv.loading.gamestate->api->stop)(game, game->_priv.loading.gamestate->data);
|
||||
game->loading.shown = false;
|
||||
}
|
||||
tmp->showLoading = true;
|
||||
tmp->show_loading = true;
|
||||
al_resume_timer(game->_priv.timer);
|
||||
game->_priv.timestamp = al_get_time();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue