[nostalgia] Rename common package to geo

This commit is contained in:
2022-02-13 04:03:10 -06:00
parent 0aa71f1dbb
commit 320df614a9
26 changed files with 131 additions and 130 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
namespace nostalgia::world {
using namespace common;
using namespace geo;
using namespace core;
ox::Error Zone::init(Context *ctx, Bounds bnds, ox::FileAddress tileSheet, ox::FileAddress palette) {
+3 -3
View File
@@ -7,8 +7,8 @@
#include <ox/mc/mc.hpp>
#include <ox/std/std.hpp>
#include <nostalgia/common/common.hpp>
#include <nostalgia/core/core.hpp>
#include <nostalgia/geo/geo.hpp>
namespace nostalgia::world {
@@ -39,7 +39,7 @@ struct Zone {
protected:
static constexpr auto Fields = 2;
common::Bounds m_bounds;
geo::Bounds m_bounds;
Tile *m_tiles = nullptr;
public:
@@ -47,7 +47,7 @@ struct Zone {
~Zone();
ox::Error init(core::Context *ctx, common::Bounds bnds, ox::FileAddress tileSheet, ox::FileAddress palette = {});
ox::Error init(core::Context *ctx, geo::Bounds bnds, ox::FileAddress tileSheet, ox::FileAddress palette = {});
void draw(core::Context *ctx);