Remove unused includes and clean up header files

This commit is contained in:
scawful
2025-01-16 03:44:37 -05:00
parent d9cc92edca
commit c8883a1e54
30 changed files with 21 additions and 120 deletions

View File

@@ -6,7 +6,6 @@
namespace yaze {
namespace zelda3 {
constexpr static inline absl::string_view Type1RoomObjectNames[] = {
"Ceiling ↔",
"Wall (top, north) ↔",
@@ -456,10 +455,7 @@ constexpr static inline absl::string_view Type3RoomObjectNames[] = {
"Nothing",
};
} // namespace zelda3
} // namespace yaze
#endif // YAZE_APP_ZELDA3_DUNGEON_OBJECT_NAMES_H
#endif // YAZE_APP_ZELDA3_DUNGEON_OBJECT_NAMES_H

View File

@@ -3,7 +3,6 @@
namespace yaze {
namespace zelda3 {
void DungeonObjectRenderer::LoadObject(uint32_t routine_ptr,
std::array<uint8_t, 16>& sheet_ids) {
vram_.sheets = sheet_ids;
@@ -111,8 +110,5 @@ void DungeonObjectRenderer::UpdateObjectBitmap() {
bitmap_.Create(256, 256, 8, tilemap_);
}
} // namespace zelda3
} // namespace yaze

View File

@@ -1,7 +1,4 @@
#include <cstdint>
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
#include "app/emu/cpu/cpu.h"
@@ -9,9 +6,7 @@
#include "app/emu/video/ppu.h"
#include "app/gfx/bitmap.h"
#include "app/gfx/snes_palette.h"
#include "app/gfx/snes_tile.h"
#include "app/rom.h"
#include "app/zelda3/dungeon/object_names.h"
namespace yaze {
namespace zelda3 {
@@ -50,4 +45,4 @@ class DungeonObjectRenderer : public SharedRom {
};
} // namespace zelda3
} // namespace yaze
} // namespace yaze