From 6ab07461813dcbe11cf860ec58a9456e88e8bcca Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Mon, 18 Jul 2022 03:02:42 +0200 Subject: [PATCH] character: Add missing SYMBOL_EXPORTs --- src/character.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/character.c b/src/character.c index 3abb513..8c043cf 100644 --- a/src/character.c +++ b/src/character.c @@ -897,13 +897,13 @@ SYMBOL_EXPORT void SetCharacterConfines(struct Game* game, struct Character* cha character->confineY = y; } -void SetCharacterBounds(struct Game* game, struct Character* character, float x1, float y1, float x2, float y2) { +SYMBOL_EXPORT void SetCharacterBounds(struct Game* game, struct Character* character, float x1, float y1, float x2, float y2) { SetCharacterBoundsF(game, character, x1 / GetCharacterConfineX(game, character), y1 / GetCharacterConfineY(game, character), x2 / GetCharacterConfineX(game, character), y2 / GetCharacterConfineY(game, character)); } -void SetCharacterBoundsF(struct Game* game, struct Character* character, float x1, float y1, float x2, float y2) { +SYMBOL_EXPORT void SetCharacterBoundsF(struct Game* game, struct Character* character, float x1, float y1, float x2, float y2) { character->bounds.x1 = x1; character->bounds.y1 = y1; character->bounds.x2 = x2; @@ -911,7 +911,7 @@ void SetCharacterBoundsF(struct Game* game, struct Character* character, float x character->bounds.enabled = true; } -void SetCharacterUnbounded(struct Game* game, struct Character* character) { +SYMBOL_EXPORT void SetCharacterUnbounded(struct Game* game, struct Character* character) { character->bounds.enabled = false; }