[nostalgia] Rename common package to geo
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user