add missing symbol exports for ShowCharacter and HideCharacter

Fixes MinGW
This commit is contained in:
Sebastian Krzyszkowiak 2018-07-04 06:55:12 +02:00
parent c2f6aa73cd
commit 88ea60dd7b
2 changed files with 3 additions and 4 deletions

View file

@ -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;
} }

View file

@ -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) {