Revert tinygl_text API and add tinygl_draw_message

This commit is contained in:
Michael Hayes
2011-09-24 21:25:49 +00:00
parent cc3347edd4
commit 76665cbc7f
26 changed files with 65 additions and 52 deletions
+3 -4
View File
@@ -87,7 +87,7 @@ game_over_display (char *buffer)
*str++ = '/';
uint8toa (spacey_shells_fired_get (), str, 0);
tinygl_clear ();
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}
@@ -100,7 +100,7 @@ game_text_display (uint8_t num, char *buffer, char *msg)
*str++ = *msg++;
uint8toa (num, str, 0);
tinygl_clear ();
tinygl_text (buffer, tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text (buffer);
}
@@ -303,8 +303,7 @@ main (void)
break;
case STATE_INIT:
tinygl_text ("SPACEY READY V" VERSION " BY MPH ",
tinygl_point (0, TINYGL_HEIGHT - 1));
tinygl_text ("SPACEY READY V" VERSION " BY MPH ");
state = STATE_READY;
break;