repo.or.cz
/
cantaveria.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Factored seq.c out of synth.c, rewrote both.
[cantaveria.git]
/
kernel.h
blob
6b7ffb40d7a835910f2bd3727115812c47c86f6a
1
#define VERSION_MAJOR 0
2
#define VERSION_MINOR 0
3
4
#define MAX_PLAYERS 6
5
6
#define dt 10
7
#define DELAY_AMOUNT 1
8
9
#define PI 3.14159265359
10
#define PI2 2*PI
11
12
#define RANDOM_SEED 57
13
14
void
draw
();
15
void
update
();
16
void
initialize
();
17
void
set_handler
(
18
void
(*
update
)(),
19
void
(*
draw
)(),
20
void
(*
press
)(
input in
),
21
void
(*
release
)(
input in
)
22
);
23
24
void
game_is_over
();
25
int
is_game_over
();