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 -3
View File
@@ -38,7 +38,7 @@ int main (void)
pacer_init (LOOP_RATE);
tinygl_text ("#", tinygl_point (0, 0));
tinygl_text ("#");
/* Paced loop. */
while (1)
@@ -69,11 +69,11 @@ int main (void)
switch (event)
{
case SPACEY_EVENT_ALIEN_HIT:
tinygl_text ("*", tinygl_point (0, 0));
tinygl_text ("*");
break;
case SPACEY_EVENT_ALIEN_LANDED:
tinygl_text ("@", tinygl_point (0, 0));
tinygl_text ("@");
break;
}