projects
/
eradicate
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moving to RLE sprites instead of compiled sprites
[eradicate]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index
23aa25c
..
238ee08
100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-29,3
+29,16
@@
void cleanup(void)
intro_cleanup();
menu_cleanup();
}
intro_cleanup();
menu_cleanup();
}
+
+void cs_puts_font(cs_font_func csfont, int sz, void *fb, int x, int y, const char *str)
+{
+ while(*str) {
+ int c = *str++;
+
+ if(c > ' ' && c < 128) {
+ csfont(fb, x, y, c - ' ');
+ }
+ x += sz;
+ }
+}
+