add zelda3::screen namespace
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
namespace screen {
|
||||
|
||||
constexpr int kDungeonMapRoomsPtr = 0x57605; // 14 pointers of map data
|
||||
constexpr int kDungeonMapFloors = 0x575D9; // 14 words values
|
||||
@@ -47,8 +48,9 @@ class DungeonMap {
|
||||
floor_gfx(floor_gfx) {}
|
||||
};
|
||||
|
||||
} // namespace screen
|
||||
} // namespace zelda3
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
|
||||
#endif // YAZE_APP_ZELDA3_SCREEN_DUNGEON_MAP_H
|
||||
#endif // YAZE_APP_ZELDA3_SCREEN_DUNGEON_MAP_H
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
namespace screen {
|
||||
|
||||
void Inventory::Create() {
|
||||
data_.reserve(256 * 256);
|
||||
@@ -86,6 +87,7 @@ absl::Status Inventory::BuildTileset() {
|
||||
return absl::OkStatus();
|
||||
}
|
||||
|
||||
} // namespace screen
|
||||
} // namespace zelda3
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
@@ -2,14 +2,15 @@
|
||||
#define YAZE_APP_ZELDA3_INVENTORY_H
|
||||
|
||||
#include "app/gfx/bitmap.h"
|
||||
#include "app/gfx/snes_tile.h"
|
||||
#include "app/gfx/snes_palette.h"
|
||||
#include "app/rom.h"
|
||||
#include "app/gfx/snes_tile.h"
|
||||
#include "app/gui/canvas.h"
|
||||
#include "app/rom.h"
|
||||
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
namespace screen {
|
||||
|
||||
constexpr int kInventoryStart = 0x6564A;
|
||||
constexpr int kBowItemPos = 0x6F631;
|
||||
@@ -37,8 +38,9 @@ class Inventory : public SharedROM {
|
||||
std::vector<gfx::TileInfo> tiles_;
|
||||
};
|
||||
|
||||
} // namespace screen
|
||||
} // namespace zelda3
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
|
||||
#endif
|
||||
#endif // YAZE_APP_ZELDA3_INVENTORY_H
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
namespace screen {
|
||||
|
||||
void TitleScreen::Create() {
|
||||
tiles8Bitmap.Create(128, 512, 8, 0x20000);
|
||||
@@ -124,6 +125,7 @@ void TitleScreen::LoadTitleScreen() {
|
||||
pal_selected_ = 2;
|
||||
}
|
||||
|
||||
} // namespace screen
|
||||
} // namespace zelda3
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
} // namespace yaze
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
namespace yaze {
|
||||
namespace app {
|
||||
namespace zelda3 {
|
||||
namespace screen {
|
||||
|
||||
class TitleScreen {
|
||||
public:
|
||||
@@ -74,8 +75,9 @@ class TitleScreen {
|
||||
gfx::Bitmap tiles8Bitmap; // 0x20000
|
||||
};
|
||||
|
||||
} // namespace screen
|
||||
} // namespace zelda3
|
||||
} // namespace app
|
||||
} // namespace yaze
|
||||
|
||||
#endif
|
||||
#endif // YAZE_APP_ZELDA3_SCREEN_H
|
||||
|
||||
Reference in New Issue
Block a user