tamamo/src/maps/rpg.zig

55 lines
2.4 KiB
Zig

// Generated by ./src/tools/genmap.js ./maps/RPGmap.json, DO NOT EDIT
const sh0rk = @import("../sh0rk.zig");
const Direction = sh0rk.Direction;
const Point = sh0rk.Point;
const Trigger = sh0rk.Trigger;
const Rect = sh0rk.Rect;
pub const width = 10;
pub const height = 10;
pub const ts_width = 17;
pub const ts_height = 8;
pub const data = [100]u8{
0, 0, 0, 17, 0, 18, 19, 20, 0, 17, 68,
0, 34, 51, 0, 35, 52, 37, 34, 51, 0,
17, 0, 17, 85, 87, 103, 0, 17, 16, 34,
51, 34, 51, 104, 0, 17, 34, 91, 0, 17,
68, 0, 0, 104, 34, 51, 0, 80, 0, 51,
34, 0, 17, 104, 66, 65, 96, 97, 98, 0,
67, 34, 51, 104, 65, 66, 113, 114, 115, 17,
102, 87, 87, 105, 0, 0, 99, 117, 100, 51,
0, 0, 0, 102, 87, 87, 87, 106, 87, 10,
12, 0, 11, 0, 68, 0, 17, 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},
};
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
};
pub const start_point = Point{ .x = 32, .y = 32 };