mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-12 16:14:23 +01:00
add missing symbol exports for ShowCharacter and HideCharacter
Fixes MinGW
This commit is contained in:
parent
c2f6aa73cd
commit
88ea60dd7b
2 changed files with 3 additions and 4 deletions
|
@ -549,9 +549,9 @@ SYMBOL_EXPORT bool IsOnCharacter(struct Game* game, struct Character* character,
|
||||||
return test;
|
return test;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShowCharacter(struct Game* game, struct Character* character) {
|
SYMBOL_EXPORT void ShowCharacter(struct Game* game, struct Character* character) {
|
||||||
character->hidden = false;
|
character->hidden = false;
|
||||||
}
|
}
|
||||||
void HideCharacter(struct Game* game, struct Character* character) {
|
SYMBOL_EXPORT void HideCharacter(struct Game* game, struct Character* character) {
|
||||||
character->hidden = true;
|
character->hidden = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -256,8 +256,7 @@ SYMBOL_INTERNAL void GamestateProgress(struct Game* game) {
|
||||||
al_wait_cond(game->_priv.texture_sync_cond, game->_priv.texture_sync_mutex);
|
al_wait_cond(game->_priv.texture_sync_cond, game->_priv.texture_sync_mutex);
|
||||||
}
|
}
|
||||||
al_unlock_mutex(game->_priv.texture_sync_mutex);
|
al_unlock_mutex(game->_priv.texture_sync_mutex);
|
||||||
#endif
|
#else
|
||||||
#ifdef LIBSUPERDERPY_SINGLE_THREAD
|
|
||||||
DrawGamestates(game);
|
DrawGamestates(game);
|
||||||
double delta = al_get_time() - game->_priv.loading.time;
|
double delta = al_get_time() - game->_priv.loading.time;
|
||||||
if (tmp->showLoading) {
|
if (tmp->showLoading) {
|
||||||
|
|
Loading…
Reference in a new issue