tfv: make the spool table into ground scatter

This commit is contained in:
Vince Weaver 2018-06-20 15:35:05 -04:00
parent 2dbb97a7ab
commit 6953b5aff6
6 changed files with 38 additions and 16 deletions

View File

@ -400,18 +400,16 @@ unsigned char talbot_rle[]={
0xFF,0xA5,0x77,0x44,0x4C,0xC4,0xCC,0x4C,
0x04,0x00,0x44,0xA0,0x18,0x00,0x88,0x00,0xFF,
0xF7,0xA4,0x77,0x84,0x84,0x8C,0x8C,0x44,0x00,0x00,0x55,
0xA7,0x00,0xD0,0xA6,0x8D,0xD0,0xA8,0x00,0x50,0x58,
0x00,0x00,0xFF,0xA4,0x77,0x88,0x44,0x44,0x88,0x00,
0x80,0x80,0x05,0x05,0xA5,0x00,0x0D,0x0D,0xA6,0xD8,0x0D,0x0D,0xA9,0x00,
0x5D,0xDD,0xFF,0xA4,0x77,0x88,0x00,0x00,0x88,
0x00,0x88,0xBB,0xB0,0xAA,0x00,0x88,0x88,0xAC,0x00,
0x0B,0xBB,0x0D,0xFF,0xA3,0x77,0xFF,0x88,
0x80,0x80,0x88,0x00,0x88,0x4B,0xA9,0x00,0xD0,0xD0,
0x88,0x88,0xD0,0xD0,0xAB,0x00,0x6B,0x00,0x0F,0xFF,
0x77,0x77,0xFF,0xA5,0x00,0x88,0x44,0x04,0x0B,
0xA5,0x00,0xD0,0xDD,0xA6,0x88,0xDD,0xD0,0xA7,0x00,
0x0B,0x06,0x66,0x00,0x00,0xFF,0x77,0x77,0xFF,
0xA6,0x00,0x22,0xA9,0x00,0xA6,0x0D,0xAB,0x00,0x22,0x00,0x00,
0xFF,0x77,0xFF,0xFF,0xA6,0x00,0x82,0x80,0xA0,0x18,0x00,
0x50,0x52,0x00,0x00,0x0F,0xF7,0xFF,0x0F,
0xA0,0x25,0x00,0xFF,0xFF,0xA0,0x26,0x00,0xFF,0xA1, };
0xA0,0x17,0x00,0x50,0x58,0x00,0x00,0xFF,0xA4,0x77,0x88,
0x44,0x44,0x88,0x00,0x80,0x80,0x05,0x05,0xA0,0x18,0x00,0x5D,
0xDD,0xFF,0xA4,0x77,0x88,0x00,0x00,0x88,0x00,
0x88,0xBB,0xB0,0xA0,0x18,0x00,0x0B,0xBB,0x0D,
0xFF,0xA3,0x77,0xFF,0x88,0x80,0x80,0x88,0x00,
0x88,0x4B,0xA9,0x00,0xD0,0xD0,0x80,0x80,0xD0,0xD0,0xAB,0x00,
0x6B,0x00,0x0F,0xFF,0x77,0x77,0xFF,0xA5,0x00,
0x88,0x44,0x04,0x0B,0xA5,0x00,0xD0,0xDD,
0xA6,0x88,0xDD,0xD0,0xA7,0x00,0x0B,0x06,0x66,
0x00,0x00,0xFF,0x77,0x77,0xFF,0xA6,0x00,0x22,0xA9,0x00,
0xA6,0x0D,0xAB,0x00,0x22,0x00,0x00,0xFF,0x77,0xFF,0xFF,
0xA6,0x00,0x82,0x80,0xA0,0x18,0x00,0x50,0x52,0x00,0x00,
0x0F,0xF7,0xFF,0x0F,0xA0,0x25,0x00,0xFF,0xFF,0xA0,0x26,0x00,0xFF,0xA1, };

View File

@ -280,7 +280,8 @@ struct map_info_type map_info[33] = {
.e_exit=U_OF_MD,
.w_exit=U_OF_MD,
.miny=4,
.scatter=SCATTER_NONE,
.scatter=SCATTER_SPOOL,
.scatter_x=16, .scatter_y=22, .scatter_cutoff=22,
.land_type=LAND_BORING,
.background_image=talbot_rle,
.num_locations=5,

View File

@ -311,3 +311,13 @@ unsigned char lightning[]={
0xdd,0x00,0x00,0x0d,0x00,0xdd,
};
/* Spool Coffee Table */
unsigned char spool[]={
0x0a,0x06,
0x00,0xd0,0x8d,0x8d,0x8d,0x8d,0x8d,0x8d,0xd0,0x00,
0x0d,0x0d,0xd8,0xd8,0xd8,0xd8,0xd8,0xd8,0x0d,0x0d,
0x00,0x00,0x00,0x00,0x88,0x88,0x00,0x00,0x00,0x00,
0x00,0x00,0xD0,0xD0,0x88,0x88,0xd0,0xd0,0x00,0x00,
0xd0,0xdd,0x88,0x88,0x88,0x88,0x88,0x88,0xdd,0xd0,
0x00,0x00,0x0d,0x0d,0x0d,0x0d,0x0d,0x0d,0x00,0x00,
};

View File

@ -31,4 +31,5 @@ extern unsigned char snowy_tree[];
extern unsigned char cactus[];
extern unsigned char mountain[];
extern unsigned char lightning[];
extern unsigned char spool[];

View File

@ -302,6 +302,12 @@ int world_map(void) {
map_info[map_location].scatter_y);
}
if (map_info[map_location].scatter&SCATTER_SPOOL) {
grsim_put_sprite(spool,
map_info[map_location].scatter_x,
map_info[map_location].scatter_y);
}
}
#if 0
@ -376,6 +382,12 @@ int world_map(void) {
map_info[map_location].scatter_y);
}
if (map_info[map_location].scatter&SCATTER_SPOOL) {
grsim_put_sprite(spool,
map_info[map_location].scatter_x,
map_info[map_location].scatter_y);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 B

After

Width:  |  Height:  |  Size: 566 B