Add ioOp functions for Point and Bounds
This commit is contained in:
13
src/nostalgia/world/CMakeLists.txt
Normal file
13
src/nostalgia/world/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
|
||||
add_library(
|
||||
NostalgiaWorld
|
||||
world.cpp
|
||||
)
|
||||
|
||||
#install(TARGETS NostalgiaCommon DESTINATION lib)
|
||||
install(
|
||||
FILES
|
||||
world.hpp
|
||||
DESTINATION
|
||||
include/nostalgia/world
|
||||
)
|
15
src/nostalgia/world/world.cpp
Normal file
15
src/nostalgia/world/world.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright 2016-2017 gtalent2@gmail.com
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#include "world.hpp"
|
||||
|
||||
namespace nostalgia {
|
||||
namespace world {
|
||||
|
||||
}
|
||||
}
|
23
src/nostalgia/world/world.hpp
Normal file
23
src/nostalgia/world/world.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2016-2017 gtalent2@gmail.com
|
||||
*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <ox/std/types.hpp>
|
||||
|
||||
namespace nostalgia {
|
||||
namespace world {
|
||||
|
||||
struct ZoneDef {
|
||||
int width = 0;
|
||||
int height = 0;
|
||||
uint16_t tileMap;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user