25 lines
580 B
C++
25 lines
580 B
C++
/*
|
|
* 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 <nostalgia/world/world.hpp>
|
|
|
|
using namespace nostalgia::common;
|
|
using namespace nostalgia::core;
|
|
using namespace nostalgia::world;
|
|
|
|
int main() {
|
|
ox::FileSystem32 fs(loadRom(), false);
|
|
Context ctx;
|
|
init(&ctx);
|
|
ctx.rom = &fs;
|
|
Zone zone(&ctx, Bounds{0, 0, 40, 40}, 102);
|
|
zone.draw(&ctx);
|
|
while (1);
|
|
return 0;
|
|
}
|