diff --git a/polymer/eduke32/source/screentext.h b/polymer/eduke32/source/screentext.h index 2361a32be..4618f3563 100644 --- a/polymer/eduke32/source/screentext.h +++ b/polymer/eduke32/source/screentext.h @@ -22,6 +22,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #pragma once +#ifdef __cplusplus +extern "C" { +#endif + #define MAXUSERQUOTES 6 extern int32_t quotebot, quotebotgoal; @@ -78,3 +82,7 @@ extern vec2_t G_ScreenTextSize(const int32_t font, int32_t x, int32_t y, const i extern void G_AddCoordsFromRotation(vec2_t *coords, const vec2_t *unitDirection, const int32_t magnitude); extern vec2_t G_ScreenText(const int32_t font, int32_t x, int32_t y, const int32_t z, const int32_t blockangle, const int32_t charangle, const char *str, const int32_t shade, int32_t pal, int32_t o, int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, const int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2); extern vec2_t G_ScreenTextShadow(int32_t sx, int32_t sy, const int32_t font, int32_t x, int32_t y, const int32_t z, const int32_t blockangle, const int32_t charangle, const char *str, const int32_t shade, int32_t pal, int32_t o, const int32_t alpha, int32_t xspace, int32_t yline, int32_t xbetween, int32_t ybetween, const int32_t f, int32_t x1, int32_t y1, int32_t x2, int32_t y2); + +#ifdef __cplusplus +} +#endif