tamamo/src/maps/rpgbig.zig

114 lines
5.8 KiB
Zig

// Generated by ./src/tools/genmap.js ./maps/rpgbig.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 = .Rpg;
pub const ts_width = 34;
pub const ts_height = 16;
pub const data = [400]u9{
0, 0, 0, 17, 0, 18, 19, 20, 0, 17, 0,
17, 18, 67, 20, 17, 0, 17, 19, 17, 68,
0, 34, 51, 0, 35, 52, 37, 34, 51, 34,
51, 18, 19, 20, 51, 34, 22, 80, 22, 0,
17, 0, 17, 85, 87, 103, 0, 17, 16, 0,
17, 35, 54, 37, 17, 0, 96, 114, 98, 34,
51, 34, 51, 104, 0, 17, 34, 91, 0, 34,
51, 0, 68, 19, 51, 34, 130, 79, 132, 17,
68, 0, 0, 104, 34, 51, 0, 80, 83, 0,
17, 0, 17, 0, 17, 0, 107, 109, 94, 51,
34, 0, 17, 104, 66, 65, 96, 97, 98, 34,
88, 87, 87, 87, 87, 87, 87, 106, 87, 0,
67, 34, 51, 104, 65, 66, 113, 114, 115, 0,
104, 0, 17, 0, 17, 0, 17, 0, 17, 17,
102, 87, 87, 105, 0, 0, 99, 117, 100, 34,
104, 34, 51, 34, 51, 34, 51, 34, 51, 51,
0, 0, 0, 102, 87, 87, 87, 106, 87, 89,
103, 0, 17, 80, 17, 0, 68, 0, 17, 10,
12, 11, 11, 0, 68, 0, 17, 34, 51, 104,
51, 34, 96, 97, 98, 34, 51, 34, 51, 28,
28, 28, 28, 29, 17, 0, 17, 0, 17, 104,
17, 0, 113, 114, 115, 0, 17, 0, 17, 28,
28, 28, 46, 34, 51, 34, 51, 34, 51, 104,
51, 34, 99, 117, 100, 83, 19, 68, 51, 44,
46, 45, 17, 0, 56, 72, 72, 57, 17, 102,
87, 87, 87, 106, 86, 0, 17, 0, 17, 34,
51, 34, 51, 34, 55, 22, 68, 55, 51, 34,
51, 34, 51, 34, 104, 34, 51, 34, 51, 0,
17, 0, 17, 0, 73, 72, 72, 74, 17, 0,
17, 0, 17, 0, 104, 0, 17, 0, 17, 34,
51, 34, 51, 34, 51, 34, 51, 34, 51, 34,
51, 34, 68, 34, 104, 34, 51, 34, 51, 0,
17, 0, 68, 0, 17, 0, 17, 85, 87, 86,
17, 0, 17, 0, 104, 0, 68, 0, 17, 34,
51, 34, 51, 34, 51, 34, 51, 104, 67, 104,
51, 34, 51, 34, 104, 34, 51, 34, 51, 0,
17, 0, 17, 0, 17, 0, 17, 102, 87, 106,
87, 87, 87, 87, 106, 87, 87, 87, 87, 34,
68, 34, 51, 34, 51, 34, 51, 34, 51, 34,
68, 34, 51, 34, 51, 34, 51, 34, 51,
};
pub const coll = [_]Rect{
Rect{.base = Point{.x = 80, .y = 0}, .width = 47, .height = 16},
Rect{.base = Point{.x = 128, .y = 70}, .width = 16, .height = 9},
Rect{.base = Point{.x = 146, .y = 32}, .width = 11, .height = 16},
Rect{.base = Point{.x = 18, .y = 98}, .width = 12, .height = 13},
Rect{.base = Point{.x = 114, .y = 16}, .width = 12, .height = 13},
Rect{.base = Point{.x = 81, .y = 16}, .width = 13, .height = 15},
Rect{.base = Point{.x = 83, .y = 85}, .width = 26, .height = 27},
Rect{.base = Point{.x = 100, .y = 81}, .width = 8, .height = 5},
Rect{.base = Point{.x = 112, .y = 94}, .width = 48, .height = 17},
Rect{.base = Point{.x = 121, .y = 87}, .width = 30, .height = 7},
Rect{.base = Point{.x = 128, .y = 80}, .width = 16, .height = 7},
Rect{.base = Point{.x = 114, .y = 112}, .width = 11, .height = 13},
Rect{.base = Point{.x = 145, .y = 111}, .width = 12, .height = 13},
Rect{.base = Point{.x = 0, .y = 153}, .width = 31, .height = 7},
Rect{.base = Point{.x = 11, .y = 146}, .width = 9, .height = 7},
Rect{.base = Point{.x = 52, .y = 154}, .width = 8, .height = 6},
Rect{.base = Point{.x = 32, .y = 154}, .width = 32, .height = 27},
Rect{.base = Point{.x = 64, .y = 161}, .width = 6, .height = 15},
Rect{.base = Point{.x = 0, .y = 160}, .width = 32, .height = 20},
Rect{.base = Point{.x = 1, .y = 182}, .width = 47, .height = 17},
Rect{.base = Point{.x = 48, .y = 181}, .width = 6, .height = 9},
Rect{.base = Point{.x = 9, .y = 199}, .width = 13, .height = 7},
Rect{.base = Point{.x = 81, .y = 192}, .width = 63, .height = 47},
Rect{.base = Point{.x = 148, .y = 276}, .width = 9, .height = 6},
Rect{.base = Point{.x = 225, .y = 136}, .width = 14, .height = 7},
Rect{.base = Point{.x = 224, .y = 145}, .width = 15, .height = 16},
Rect{.base = Point{.x = 217, .y = 151}, .width = 7, .height = 8},
Rect{.base = Point{.x = 209, .y = 160}, .width = 46, .height = 16},
Rect{.base = Point{.x = 240, .y = 153}, .width = 8, .height = 6},
Rect{.base = Point{.x = 209, .y = 177}, .width = 13, .height = 13},
Rect{.base = Point{.x = 242, .y = 177}, .width = 13, .height = 13},
Rect{.base = Point{.x = 194, .y = 38}, .width = 11, .height = 9},
Rect{.base = Point{.x = 227, .y = 38}, .width = 11, .height = 8},
Rect{.base = Point{.x = 192, .y = 0}, .width = 1, .height = 44},
Rect{.base = Point{.x = 239, .y = 0}, .width = 1, .height = 43},
Rect{.base = Point{.x = 273, .y = 48}, .width = 45, .height = 16},
Rect{.base = Point{.x = 274, .y = 65}, .width = 12, .height = 14},
Rect{.base = Point{.x = 306, .y = 64}, .width = 13, .height = 15},
Rect{.base = Point{.x = 279, .y = 41}, .width = 35, .height = 5},
Rect{.base = Point{.x = 288, .y = 32}, .width = 16, .height = 8},
Rect{.base = Point{.x = 289, .y = 26}, .width = 14, .height = 6},
};
pub const triggers = [_]Trigger{
Trigger{.aura = Rect{.base = Point{.x = 16, .y = 96}, .width = 16, .height = 20}, .direction = Direction.Up, .dialogue = "Test message!"}, // sign
Trigger{.aura = Rect{.base = Point{.x = 83, .y = 103}, .width = 7, .height = 16}, .direction = Direction.Up, .dialogue = "Ded."}, // gravestone 1
Trigger{.aura = Rect{.base = Point{.x = 96, .y = 103}, .width = 7, .height = 16}, .direction = Direction.Up, .dialogue = "Moar ded."}, // gravestone 2
Trigger{.aura = Rect{.base = Point{.x = 208, .y = 1}, .width = 7, .height = 23}, .direction = Direction.Up, .dialogue = "Kahsis' Edge"}, // high sign
Trigger{.aura = Rect{.base = Point{.x = 145, .y = 272}, .width = 13, .height = 25}, .direction = Direction.Up, .dialogue = "Check the\ndungeons!"}, // Garden Sign
};
pub const start_point = Point{ .x = 32, .y = 32 };