projects
/
metatoy
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
initial commit
[metatoy]
/
src
/
game.c
1
#include <string.h>
2
#include "game.h"
3
4
int game_init(void)
5
{
6
return 0;
7
}
8
9
void game_shutdown(void)
10
{
11
}
12
13
void game_draw(void)
14
{
15
memset(framebuf, 2, 64000);
16
17
game_swap_buffers();
18
}
19
20
void game_keyboard(int key, int press)
21
{
22
if(key == 27) game_quit();
23
}
24
25
void game_mouse(int bn, int press, int x, int y)
26
{
27
}
28
29
void game_motion(int x, int y)
30
{
31
}