rnd-20030223-3-src
[rocksndiamonds.git] / src / libgame / text.h
index 505409a3b68f90076361477e59f288feeed9eb64..5f8fb21d9b823ec8e324f5bf2c8ee68a52cd8cb9 100644 (file)
@@ -62,8 +62,8 @@
 
 /* font structure definitions */
 
-#if 1
-void InitFontInfo(struct FontInfo *, int);
+void InitFontInfo(struct FontBitmapInfo *, int,
+                 int (*select_font_function)(int));
 int getFontWidth(int);
 int getFontHeight(int);
 void DrawInitText(char *, int, int);
@@ -71,15 +71,5 @@ void DrawTextF(int, int, int, char *, ...);
 void DrawTextFCentered(int, int, char *, ...);
 void DrawText(int, int, char *, int);
 void DrawTextExt(DrawBuffer *, int, int, char *, int, int);
-#else
-void InitFontInfo(Bitmap *, Bitmap *, Bitmap *, Bitmap *, Bitmap *);
-int getFontWidth(int, int);
-int getFontHeight(int, int);
-void DrawInitText(char *, int, int);
-void DrawTextF(int, int, int, char *, ...);
-void DrawTextFCentered(int, int, char *, ...);
-void DrawText(int, int, char *, int, int);
-void DrawTextExt(DrawBuffer *, int, int, char *, int, int, int);
-#endif
 
 #endif /* TEXT_H */