DrawDungeon: 2D map improvements

* Cells loaded from walk-data are half-transparent.
* The player symbol is half-transparent when showing different floors.
* Clear the texture before drawing a small map so that no garbage is
  left when the drawing is clipped.
This commit is contained in:
kichikuou
2021-06-27 12:41:58 +09:00
parent 08edf8638b
commit 7e5187e35c
3 changed files with 22 additions and 15 deletions
+1 -1
View File
@@ -32,6 +32,6 @@ void dungeon_map_set_all_view(int surface, int flag);
void dungeon_map_set_cg(int surface, int index, int sprite);
void dungeon_map_set_small_map_floor(int surface, int floor);
void dungeon_map_set_large_map_floor(int surface, int floor);
void dungeon_map_reveal(struct dungeon_context *ctx, int x, int y, int z);
void dungeon_map_reveal(struct dungeon_context *ctx, int x, int y, int z, bool transparent);
#endif /* SYSTEM4_DUNGEON_MAP_H */