12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- #ifndef FONT_H
- #define FONT_H
- #include "common.h"
- #include "palcommon.h"
- #ifdef __cplusplus
- extern "C"
- {
- #endif
- INT
- PAL_InitFont(
- VOID
- );
- VOID
- PAL_FreeFont(
- VOID
- );
- VOID
- PAL_DrawCharOnSurface(
- WORD wChar,
- SDL_Surface *lpSurface,
- PAL_POS pos,
- BYTE bColor
- );
- #ifdef PAL_UNICODE
- INT
- PAL_CharWidth(
- WORD wChar
- );
- #else
- VOID
- PAL_DrawASCIICharOnSurface(
- BYTE bChar,
- SDL_Surface *lpSurface,
- PAL_POS pos,
- BYTE bColor
- );
- #endif
- #ifdef __cplusplus
- }
- #endif
- #endif
|