Apply sprite pal to sprites, add mutable_exits
This commit is contained in:
@@ -249,8 +249,14 @@ absl::Status ROM::LoadAllGraphicsData() {
|
||||
graphics_manager_.LoadBitmap(i, converted_sheet, core::kTilesheetWidth,
|
||||
core::kTilesheetHeight,
|
||||
core::kTilesheetDepth);
|
||||
graphics_manager_[i]->ApplyPaletteWithTransparent(
|
||||
palette_groups_["dungeon_main"][0], 0);
|
||||
if (i > 115) {
|
||||
// Apply sprites palette
|
||||
graphics_manager_[i]->ApplyPaletteWithTransparent(
|
||||
palette_groups_["global_sprites"][0], 0);
|
||||
} else {
|
||||
graphics_manager_[i]->ApplyPaletteWithTransparent(
|
||||
palette_groups_["dungeon_main"][0], 0);
|
||||
}
|
||||
graphics_manager_[i]->CreateTexture(renderer_);
|
||||
}
|
||||
graphics_bin_[i] =
|
||||
|
||||
Reference in New Issue
Block a user