fps counter with rle sprites
[eradicate] / src / game.h
index a080fab..a986389 100644 (file)
@@ -23,7 +23,7 @@ enum {
        KB_NUM_5, KB_NUM_6, KB_NUM_7, KB_NUM_8, KB_NUM_9,
        KB_NUM_DOT, KB_NUM_DIV, KB_NUM_MUL, KB_NUM_MINUS, KB_NUM_PLUS, KB_NUM_ENTER, KB_NUM_EQUALS,
        KB_UP, KB_DOWN, KB_RIGHT, KB_LEFT,
-       KB_INSERT, KB_HOME, KB_END, KB_PGUP, KB_PGDN,
+       KB_INSERT, KB_DEL, KB_HOME, KB_END, KB_PGUP, KB_PGDN,
        KB_F1, KB_F2, KB_F3, KB_F4, KB_F5, KB_F6,
        KB_F7, KB_F8, KB_F9, KB_F10, KB_F11, KB_F12,
        KB_F13, KB_F14, KB_F15,
@@ -41,5 +41,8 @@ extern void (*key_event)(int key, int pressed);
 
 void game_quit(void);
 
+void dbg_print(void *fb, int x, int y, const char *str);
+void dbg_printf(void *fb, int x, int y, const char *fmt, ...);
+void dbg_fps(void *fb);
 
 #endif /* GAME_H_ */