73 lines
2.7 KiB
Zig
73 lines
2.7 KiB
Zig
// Generated by ./src/tools/genmap.js ./maps/dungeon.json, DO NOT EDIT
|
|
|
|
const sh0rk = @import("../sh0rk.zig");
|
|
const Direction = sh0rk.Direction;
|
|
const Point = sh0rk.Point;
|
|
const Tileset = sh0rk.Tileset;
|
|
const Trigger = sh0rk.Trigger;
|
|
const Rect = sh0rk.Rect;
|
|
|
|
pub const width = 20;
|
|
pub const height = 20;
|
|
|
|
pub const tileset: Tileset = .Dungeon;
|
|
pub const ts_width = 14;
|
|
pub const ts_height = 13;
|
|
|
|
pub const data = [400]u9{
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 58, 59, 71, 59, 18, 59, 18,
|
|
15, 16, 17, 59, 76, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 72, 79, 32, 73, 32, 73, 32,
|
|
29, 30, 31, 57, 90, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 105, 106, 105, 106, 105, 106, 105,
|
|
106, 105, 106, 105, 106, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 117, 118, 117, 118, 117, 118, 117,
|
|
118, 117, 118, 117, 118, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 131, 132, 103, 104, 103, 104, 103,
|
|
104, 103, 104, 103, 104, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 145, 146, 117, 118, 117, 118, 117,
|
|
118, 117, 118, 117, 118, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 105, 106, 103, 104, 103, 104, 103,
|
|
104, 103, 104, 103, 104, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 117, 118, 117, 118, 117, 118, 117,
|
|
118, 117, 118, 137, 138, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 103, 104, 103, 104, 103, 104, 103,
|
|
104, 103, 104, 151, 152, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 117, 118, 117, 118, 117, 118, 117,
|
|
118, 117, 118, 117, 118, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 93, 94, 121, 94, 121, 94, 121,
|
|
94, 121, 94, 121, 94, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 107, 108, 108, 108, 108, 108, 108,
|
|
108, 108, 108, 108, 108, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 123, 122, 123, 122, 123, 122, 123,
|
|
122, 123, 122, 122, 123, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
43, 43, 43, 43, 43, 43, 43, 43, 43,
|
|
};
|
|
|
|
pub const coll = [_]Rect{
|
|
Rect{.base = Point{.x = 0, .y = 0}, .width = 159, .height = 54},
|
|
Rect{.base = Point{.x = 0, .y = 55}, .width = 31, .height = 104},
|
|
Rect{.base = Point{.x = 32, .y = 121}, .width = 95, .height = 39},
|
|
Rect{.base = Point{.x = 127, .y = 55}, .width = 32, .height = 105},
|
|
Rect{.base = Point{.x = 112, .y = 98}, .width = 15, .height = 14},
|
|
};
|
|
|
|
pub const start_point = Point{ .x = 40, .y = 73 };
|
|
|
|
pub const triggers = [_]Trigger{
|
|
};
|
|
|