mirror of
https://github.com/deater/dos33fsprogs.git
synced 2025-01-14 13:33:48 +00:00
tfv: improve victory dance
This commit is contained in:
parent
774bac66c2
commit
83bb87e12c
@ -293,20 +293,22 @@ static int victory_dance(void) {
|
||||
|
||||
ram[DRAW_PAGE]=saved_drawpage;
|
||||
|
||||
for(i=0;i<50;i++) {
|
||||
for(i=0;i<25;i++) {
|
||||
|
||||
gr_copy_to_current(0xc00);
|
||||
|
||||
if (i&1) {
|
||||
grsim_put_sprite(tfv_stand_left,ax,20);
|
||||
grsim_put_sprite(tfv_led_sword,ax-5,20);
|
||||
}
|
||||
else {
|
||||
grsim_put_sprite(tfv_walk_left,ax,20);
|
||||
grsim_put_sprite(tfv_victory,ax,20);
|
||||
grsim_put_sprite(tfv_led_sword,ax-2,14);
|
||||
}
|
||||
|
||||
page_flip();
|
||||
|
||||
usleep(100000);
|
||||
usleep(200000);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
@ -39,6 +39,17 @@ unsigned char tfv_walk_left[]={
|
||||
0x00,0x82,0x00,0x82,
|
||||
};
|
||||
|
||||
unsigned char tfv_victory[]={
|
||||
0x4,0x6,
|
||||
0x00,0xBD,0x2b,0x00,
|
||||
0x0B,0xDB,0x22,0x00,
|
||||
0x00,0x00,0x22,0x00,
|
||||
0x00,0x00,0x22,0x00,
|
||||
0x00,0x20,0x02,0x22,
|
||||
0x00,0x82,0x00,0x82,
|
||||
};
|
||||
|
||||
|
||||
unsigned char tfv_led_sword[]={
|
||||
0x5,0x3,
|
||||
0x10,0x00,0x10,0x00,0x00,
|
||||
|
@ -2,6 +2,7 @@ extern unsigned char tfv_stand_right[];
|
||||
extern unsigned char tfv_walk_right[];
|
||||
extern unsigned char tfv_stand_left[];
|
||||
extern unsigned char tfv_walk_left[];
|
||||
extern unsigned char tfv_victory[];
|
||||
extern unsigned char tfv_led_sword[];
|
||||
|
||||
extern unsigned char bird_stand_right[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user