improved code for drawing init text to screen
[rocksndiamonds.git] / src / libgame / text.c
index c10583d3564ec2baea82324cb8cb9545627bad42..3fb6ab0613ad00e76e21736cfea595c7944e60e0 100644 (file)
@@ -159,6 +159,16 @@ void DrawInitText(char *text, int ypos, int font_nr)
   }
 }
 
+void DrawInitTextHead(char *text)
+{
+  DrawInitText(text, 120, FC_GREEN);
+}
+
+void DrawInitTextItem(char *text)
+{
+  DrawInitText(text, 150, FC_YELLOW);
+}
+
 void DrawTextF(int x, int y, int font_nr, char *format, ...)
 {
   char buffer[MAX_OUTPUT_LINESIZE + 1];