tamamo/src/maps/dungeon.zig

73 lines
2.7 KiB
Zig
Raw Normal View History

// 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{
42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 57, 58, 70, 58, 17, 58, 17,
14, 15, 16, 58, 75, 42, 42, 42, 42, 42,
42, 42, 42, 71, 78, 31, 72, 31, 72, 31,
28, 29, 30, 56, 89, 42, 42, 42, 42, 42,
42, 42, 42, 104, 105, 104, 105, 104, 105, 104,
105, 104, 105, 104, 105, 42, 42, 42, 42, 42,
42, 42, 42, 116, 117, 116, 117, 116, 117, 116,
117, 116, 117, 116, 117, 42, 42, 42, 42, 42,
42, 42, 42, 130, 131, 102, 103, 102, 103, 102,
103, 102, 103, 102, 103, 42, 42, 42, 42, 42,
42, 42, 42, 144, 145, 116, 117, 116, 117, 116,
117, 116, 117, 116, 117, 42, 42, 42, 42, 42,
42, 42, 42, 104, 105, 102, 103, 102, 103, 102,
103, 102, 103, 102, 103, 42, 42, 42, 42, 42,
42, 42, 42, 116, 117, 116, 117, 116, 117, 116,
117, 116, 117, 136, 137, 42, 42, 42, 42, 42,
42, 42, 42, 102, 103, 102, 103, 102, 103, 102,
103, 102, 103, 150, 151, 42, 42, 42, 42, 42,
42, 42, 42, 116, 117, 116, 117, 116, 117, 116,
117, 116, 117, 116, 117, 42, 42, 42, 42, 42,
42, 42, 42, 92, 93, 120, 93, 120, 93, 120,
93, 120, 93, 120, 93, 42, 42, 42, 42, 42,
42, 42, 42, 106, 107, 107, 107, 107, 107, 107,
107, 107, 107, 107, 107, 42, 42, 42, 42, 42,
42, 42, 42, 122, 121, 122, 121, 122, 121, 122,
121, 122, 121, 121, 122, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
42, 42, 42, 42, 42, 42, 42, 42, 42,
};
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{
};