blob: 3d6cb45c93622d447a90013bb2f989dd8703504b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include <conio.h>
#include <peekpoke.h>
char turbo;
extern void __fastcall__ damage_lorcha(int which);
extern void __fastcall__ draw_lorcha(int which);
extern void __fastcall__ flash_lorcha(int which);
extern void __fastcall__ clear_lorcha(int which);
extern void __fastcall__ sink_lorcha(int which);
int main(void) {
int i, j;
POKE(756, 0xb8);
for(i=0; i<10; i++) {
// draw_lorcha(i);
// cgetc();
// clear_lorcha(i);
// cgetc();
draw_lorcha(i);
cgetc();
sink_lorcha(i);
cgetc();
draw_lorcha(i);
for(j=0; j<5; j++) {
cgetc();
flash_lorcha(i);
cgetc();
flash_lorcha(i);
cgetc();
damage_lorcha(i);
}
}
}
|