Platform játék
3D-s megjelenítés, véletlenszerű pályagenerálás, jutalmazó játékélmény
unicodePrint.h
Ugrás a fájl dokumentációjához.
1 #ifndef UNICODEPRINT_H_INCLUDED
2 #define UNICODEPRINT_H_INCLUDED
3 
4  #include "../global.h"
5 
6  typedef enum fontType {
8  } fontType;
9 
10  void openFonts();
11  void freeFonts();
12  bool isValidChar(Uint16 chr);
13  Uint16* concatUnicode(const Uint16 a[], const Uint16 b[]);
14  void unicodePrintCentered(Uint16 textToWrite[], int x, int y, fontType fontType);
15 
16 #endif // UNICODEPRINT_H_INCLUDED
void freeFonts()
Ha már nem kellenek, felszabadítja a betűtípusokat.
Definition: unicodePrint.c:15
Definition: unicodePrint.h:7
Definition: unicodePrint.h:7
void unicodePrintCentered(Uint16 textToWrite[], int x, int y, fontType fontType)
A megjelenítendő szöveg közepét kell megadni x,y-ként. A szöveget Uint16*-ban, a betűtipust pedig a b...
Definition: unicodePrint.c:79
fontType
Definition: unicodePrint.h:6
Definition: unicodePrint.h:7
Definition: unicodePrint.h:7
void openFonts()
Indításnál betölti a szükséges betűtípusokat.
Definition: unicodePrint.c:5
Uint16 * concatUnicode(const Uint16 a[], const Uint16 b[])
Uint16-ból álló stringet összefűz. A két paramétert egy harmadik dinamikusan foglalt stringben fűzi ö...
Definition: unicodePrint.c:60
bool isValidChar(Uint16 chr)
Itt tárolom a használható karaktereket. Eldönti, hogy a bemenet köztük van-e.
Definition: unicodePrint.c:23