call the overworld the overworld
Signed-off-by: Xe Iaso <me@christine.website>
This commit is contained in:
parent
2fde382e01
commit
f48b9a200c
|
@ -6,7 +6,7 @@ fn mapgen(b: *std.build.Step) !void {
|
||||||
|
|
||||||
const maps = [_][2][]const u8{
|
const maps = [_][2][]const u8{
|
||||||
[2][]const u8{"./maps/dungeon.json", "./src/maps/dungeon.zig"},
|
[2][]const u8{"./maps/dungeon.json", "./src/maps/dungeon.zig"},
|
||||||
[2][]const u8{"./maps/RPGmap.json", "./src/maps/rpg.zig"},
|
[2][]const u8{"./maps/RPGmap.json", "./src/maps/overworld.zig"},
|
||||||
};
|
};
|
||||||
|
|
||||||
for (&maps) |map| {
|
for (&maps) |map| {
|
||||||
|
|
|
@ -11,7 +11,7 @@ const Direction = sh0rk.Direction;
|
||||||
const Point = sh0rk.Point;
|
const Point = sh0rk.Point;
|
||||||
const Rect = sh0rk.Rect;
|
const Rect = sh0rk.Rect;
|
||||||
|
|
||||||
const map = @import("./maps/rpg.zig");
|
const map = @import("./maps/overworld.zig");
|
||||||
|
|
||||||
var frame_count: u32 = 0;
|
var frame_count: u32 = 0;
|
||||||
var mara_direction: Direction = Direction.Right;
|
var mara_direction: Direction = Direction.Right;
|
||||||
|
|
Loading…
Reference in New Issue