Improve look of grass beneath other tiles
This commit is contained in:
parent
af6141ae35
commit
1db132c669
2 changed files with 2 additions and 0 deletions
BIN
data/icons2.png
BIN
data/icons2.png
Binary file not shown.
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
|
@ -542,6 +542,7 @@ void renderTile(int i, int x, int y) {
|
||||||
renderDotsWithColor(v, x, y, 0, 0xFF8ED38E);
|
renderDotsWithColor(v, x, y, 0, 0xFF8ED38E);
|
||||||
break;
|
break;
|
||||||
case TILE_TREE:
|
case TILE_TREE:
|
||||||
|
renderTile(TILE_GRASS, x, y);
|
||||||
render16(x, y, treeTable[checkSurrTiles8(x >> 4, y >> 4, TILE_TREE)],
|
render16(x, y, treeTable[checkSurrTiles8(x >> 4, y >> 4, TILE_TREE)],
|
||||||
16, 0);
|
16, 0);
|
||||||
break;
|
break;
|
||||||
|
@ -593,6 +594,7 @@ void renderTile(int i, int x, int y) {
|
||||||
render16(x, y, 48, 0, 0);
|
render16(x, y, 48, 0, 0);
|
||||||
break;
|
break;
|
||||||
case TILE_FLOWER:
|
case TILE_FLOWER:
|
||||||
|
renderTile(TILE_GRASS, x, y);
|
||||||
render16(x, y, 64, 0, getData(x >> 4, y >> 4));
|
render16(x, y, 64, 0, getData(x >> 4, y >> 4));
|
||||||
break;
|
break;
|
||||||
case TILE_STAIRS_DOWN:
|
case TILE_STAIRS_DOWN:
|
||||||
|
|
Loading…
Add table
Reference in a new issue