Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Subway Surfers: the tracks in 3D, running, dodging, the shop and missions

Mason36396f00bcbc480
diff --git a/games/subway/.gitignore b/games/subway/.gitignore
new file mode 100644
index 00000000..261fde6c
--- /dev/null
+++ b/games/subway/.gitignore
@@ -0,0 +1,3 @@
+output/
+build/
+tools/.fonts/
diff --git a/games/subway/Makefile b/games/subway/Makefile
new file mode 100644
index 00000000..642c30d5
--- /dev/null
+++ b/games/subway/Makefile
@@ -0,0 +1,68 @@
+# Subway Surfers on the NumWorks calculator.
+# make output/subway.nwa
+# make check link it like the calculator does (output/subway.bin)
+# make host build/play: the game on a computer, for tests and screenshots
+# make test the game played on a computer (tests/check.py, with the sanitizers)
+# make assets src/assets.c and src/icon.png again (tools/assets.py, tools/icon.py: Python + Pillow + NumPy)
+Q ?= @
+# the ARM toolchain on the PATH, or in TOOLCHAIN=<its bin folder>
+TOOLCHAIN ?=
+BIN = $(if $(TOOLCHAIN),$(TOOLCHAIN)/)
+CC = $(BIN)arm-none-eabi-gcc
+NWLINK ?= npx --yes -- [email protected]
+STRIP ?= $(BIN)arm-none-eabi-strip --strip-unneeded
+SIZE = $(BIN)arm-none-eabi-size
+BUILD_DIR = output
+
+# the drawing runs every frame at -O2; the rest is small at -Os (each file says so)
+SRC = $(filter-out src/plat_host.c,$(wildcard src/*.c))
+HEADERS = $(wildcard src/*.h) ../common/epsilon_app.h ../common/epsilon_files.h
+
+CFLAGS = -std=gnu11 $(shell $(NWLINK) eadk-cflags-device)
+CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter -fno-math-errno -fsingle-precision-constant
+CFLAGS += -fno-tree-loop-distribute-patterns -flto -fno-fat-lto-objects -fwhole-program -fvisibility=internal
+CFLAGS += -ffunction-sections -fdata-sections $(EXTRA)
+LDFLAGS = -Wl,--relocatable -nostartfiles --specs=nano.specs
+LDFLAGS += -Wl,-e,main -Wl,-u,eadk_app_name -Wl,-u,eadk_app_icon -Wl,-u,eadk_api_level
+LDFLAGS += -Wl,--gc-sections -flinker-output=nolto-rel
+
+.PHONY: build check clean host test assets
+build: $(BUILD_DIR)/subway.nwa
+
+# apps get 133652 bytes of RAM on custom builds of Epsilon 25.2 (148928 or more on official ones)
+check: $(BUILD_DIR)/subway.nwa
+ $(Q) $(NWLINK) nwa-bin --ram-length 133652 $< $(BUILD_DIR)/subway.bin
+ @echo "BIN $(BUILD_DIR)/subway.bin: $$(wc -c < $(BUILD_DIR)/subway.bin) bytes"
+
+$(BUILD_DIR)/subway.nwa: $(SRC) $(HEADERS) $(BUILD_DIR)/icon.o
+ @echo "LD $@"
+ $(Q) $(CC) $(CFLAGS) $(LDFLAGS) $(SRC) $(BUILD_DIR)/icon.o -lm -o $@
+ $(Q) $(STRIP) $@
+ $(Q) $(SIZE) $@
+
+$(BUILD_DIR)/icon.o: src/icon.png | $(BUILD_DIR)
+ @echo "ICON $<"
+ $(Q) $(NWLINK) png-icon-o $< $@
+
+$(BUILD_DIR):
+ $(Q) mkdir -p $@
+
+# on a computer: tests/play.c plays it with scripted keys and saves screenshots
+HOST_FLAGS = -std=gnu11 -O1 -g -Wall -Wextra -Wno-unused-parameter -Isrc -DHOST
+HOST_SAN = -fsanitize=address,undefined -fno-sanitize-recover=undefined
+HOST_SRC = $(filter-out src/plat_eadk.c src/main.c,$(wildcard src/*.c))
+host: build/play
+build/play: $(HOST_SRC) tests/play.c $(HEADERS)
+ $(Q) mkdir -p $(dir $@)
+ $(Q) cc $(HOST_FLAGS) $(HOST_SAN) $(HOST_SRC) tests/play.c -lm -o $@
+ @echo "HOST $@"
+
+test: build/play
+ python3 tests/check.py build/play
+
+assets:
+ python3 tools/assets.py src/assets.c
+ python3 tools/icon.py src/icon.png
+
+clean:
+ $(Q) rm -rf $(BUILD_DIR) build
diff --git a/games/subway/src/actors.c b/games/subway/src/actors.c
new file mode 100644
index 00000000..01d1e405
--- /dev/null
+++ b/games/subway/src/actors.c
@@ -0,0 +1,453 @@
+/* The people, the dog, the power-ups and the boards (actors.h): boxes on a skeleton.
+ *
+ * A body faces +z (the camera mostly sees its back). Its parts hang from joints: the legs from the hips,
+ * the shins from the knees, the arms from the shoulders; the chest leans forward from the waist and
+ * carries the arms and the head. Each part is a box turned by the rotations above it. */
+#include "actors.h"
+#include "scene.h"
+
+typedef struct {
+ float m[9];
+} M3;
+
+static M3 mul(M3 a, M3 b) {
+ M3 r;
+ for (int i = 0; i < 3; i++)
+ for (int j = 0; j < 3; j++) r.m[3 * i + j] = a.m[3 * i] * b.m[j] + a.m[3 * i + 1] * b.m[3 + j] + a.m[3 * i + 2] * b.m[6 + j];
+ return r;
+}
+static V3 ap(M3 a, V3 v) {
+ return (V3){a.m[0] * v.x + a.m[1] * v.y + a.m[2] * v.z, a.m[3] * v.x + a.m[4] * v.y + a.m[5] * v.z,
+ a.m[6] * v.x + a.m[7] * v.y + a.m[8] * v.z};
+}
+static M3 rx(float a) {
+ float s, c;
+ r_sincos(a, &s, &c);
+ return (M3){{1, 0, 0, 0, c, -s, 0, s, c}};
+}
+static M3 ry(float a) {
+ float s, c;
+ r_sincos(a, &s, &c);
+ return (M3){{c, 0, s, 0, 1, 0, -s, 0, c}};
+}
+static M3 rz(float a) {
+ float s, c;
+ r_sincos(a, &s, &c);
+ return (M3){{c, -s, 0, s, c, 0, 0, 0, 1}};
+}
+static const M3 ident = {{1, 0, 0, 0, 1, 0, 0, 0, 1}};
+static V3 vadd(V3 a, V3 b) { return (V3){a.x + b.x, a.y + b.y, a.z + b.z}; }
+static V3 vsub(V3 a, V3 b) { return (V3){a.x - b.x, a.y - b.y, a.z - b.z}; }
+static V3 vscale(V3 a, float k) { return (V3){a.x * k, a.y * k, a.z * k}; }
+
+/* the body being drawn: where its feet are, its turn, the point it turns about, its size, its light */
+static V3 at, pivot;
+static M3 root;
+static float size, light;
+
+static uint32_t shade(uint32_t c) {
+ if (light >= 1) return c;
+ return r_mix888(r_mix888(c, 0, (int)((1 - light) * 256)), 0x10203A, 24);
+}
+/* a part: the frame R at the joint j (body coordinates), its box centred at off in that frame */
+static void part(M3 R, V3 j, V3 off, float hx, float hy, float hz, uint32_t col) {
+ M3 W = mul(root, R);
+ V3 c = vadd(j, ap(R, off));
+ c = vadd(at, vadd(ap(root, vsub(vscale(c, size), pivot)), pivot));
+ uint32_t k = shade(col), k6[6] = {k, k, k, k, k, k};
+ r_box(c, ap(W, (V3){hx * size, 0, 0}), ap(W, (V3){0, hy * size, 0}), ap(W, (V3){0, 0, hz * size}), k6, 0);
+}
+
+/* ---------------------------------------------------------------- poses */
+static float fsin(float a) {
+ float s, c;
+ r_sincos(a, &s, &c);
+ return s;
+}
+static float fcos(float a) { return fsin(a + 1.5707963f); }
+static float pos(float v) { return v > 0 ? v : 0; }
+
+static void clear(Pose *p) {
+ for (int i = 0; i < 2; i++) p->hip[i] = p->knee[i] = p->arm[i] = p->elbow[i] = p->out[i] = 0;
+ p->lean = p->bob = p->spin = p->tilt = p->yaw = 0;
+ p->squash = 1;
+}
+
+void pose_run(Pose *p, float ph) {
+ clear(p);
+ float s = fsin(ph), c = fcos(ph);
+ p->hip[0] = 0.85f * s, p->hip[1] = -0.85f * s;
+ p->knee[0] = 0.2f + 1.3f * pos(c), p->knee[1] = 0.2f + 1.3f * pos(-c);
+ p->arm[0] = -0.75f * s, p->arm[1] = 0.75f * s;
+ p->elbow[0] = p->elbow[1] = 1.35f;
+ p->out[0] = p->out[1] = 0.12f;
+ p->lean = 0.24f;
+ p->bob = 0.07f * (c < 0 ? -c : c);
+}
+
+void pose_stand(Pose *p, float t) {
+ clear(p);
+ p->arm[0] = p->arm[1] = 0.08f;
+ p->elbow[0] = p->elbow[1] = 0.25f;
+ p->out[0] = p->out[1] = 0.1f;
+ p->bob = 0.012f * fsin(t * 2.4f);
+ p->knee[0] = p->knee[1] = 0.05f;
+}
+
+void pose_jump(Pose *p, float t) {
+ clear(p);
+ p->hip[0] = 1.0f, p->knee[0] = 1.5f;
+ p->hip[1] = -0.35f, p->knee[1] = 1.0f;
+ p->arm[0] = -0.8f, p->arm[1] = 1.4f + 0.2f * fsin(t * 6);
+ p->elbow[0] = 0.9f, p->elbow[1] = 0.6f;
+ p->out[0] = p->out[1] = 0.35f;
+ p->lean = 0.12f;
+}
+
+void pose_roll(Pose *p, float t) {
+ clear(p);
+ p->hip[0] = p->hip[1] = 1.7f;
+ p->knee[0] = p->knee[1] = 2.4f;
+ p->arm[0] = p->arm[1] = 1.3f;
+ p->elbow[0] = p->elbow[1] = 1.7f;
+ p->lean = 0.7f;
+ p->spin = 6.2831853f * t;
+ p->squash = 0.78f;
+ p->bob = -0.15f;
+}
+
+void pose_hover(Pose *p, float t) {
+ clear(p);
+ p->hip[0] = 0.4f, p->hip[1] = -0.35f;
+ p->knee[0] = 0.55f, p->knee[1] = 0.6f;
+ p->arm[0] = 0.3f, p->arm[1] = -0.2f;
+ p->elbow[0] = p->elbow[1] = 0.5f;
+ p->out[0] = p->out[1] = 0.9f + 0.1f * fsin(t * 3);
+ p->lean = 0.18f;
+ p->yaw = 0.3f;
+ p->bob = 0.03f * fsin(t * 4);
+}
+
+void pose_fly(Pose *p, float t) {
+ clear(p);
+ p->hip[0] = 0.2f, p->hip[1] = -0.3f;
+ p->knee[0] = 0.7f, p->knee[1] = 1.0f;
+ p->arm[0] = p->arm[1] = -0.5f;
+ p->elbow[0] = p->elbow[1] = 0.3f;
+ p->out[0] = p->out[1] = 0.4f;
+ p->lean = 0.55f + 0.05f * fsin(t * 5);
+}
+
+void pose_spray(Pose *p, float t) {
+ clear(p);
+ p->arm[1] = 2.0f + 0.25f * fsin(t * 9), p->elbow[1] = 0.25f;
+ p->out[1] = 0.2f;
+ p->arm[0] = 0.1f, p->elbow[0] = 0.3f;
+ p->yaw = 1.1f;
+ p->knee[0] = p->knee[1] = 0.1f;
+ p->hip[0] = 0.15f;
+}
+
+void pose_fall(Pose *p, float t) {
+ clear(p);
+ float k = t > 1 ? 1 : t;
+ p->spin = -1.35f * k;
+ p->arm[0] = p->arm[1] = 2.4f * k;
+ p->out[0] = p->out[1] = 0.6f;
+ p->hip[0] = 0.5f * k, p->hip[1] = 0.2f * k;
+ p->knee[0] = 0.6f * k, p->knee[1] = 0.3f;
+}
+
+/* ---------------------------------------------------------------- the people */
+typedef struct {
+ uint32_t skin, hair, hat, hat2, top, vest, sleeve, legs, shoes, sole;
+ uint8_t head; /* 0 a cap, 1 a beanie and a ponytail, 2 a flat top and headphones, 3 a mohawk, 4 the Inspector's cap */
+ float width; /* of the chest */
+} Look;
+
+static const Look looks[5] = {
+ /* Jake: the white cap with its red peak, a white hoodie under a denim vest, light jeans, green shoes */
+ {0xF1C7A3, 0x6B3E1F, 0xF4F4F4, 0xD8302A, 0xF2F2F2, 0x5E95CF, 0xF2F2F2, 0x86AEDB, 0x4CAF50, 0xD8302A, 0, 1.0f},
+ /* Tricky: red hair in a ponytail under a red beanie, a pink jacket, dark trousers */
+ {0xF5D0B5, 0xD9502B, 0xD8302A, 0xF4F4F4, 0xE5476A, 0xE5476A, 0xF4F4F4, 0x2E3440, 0xF4F4F4, 0xE5476A, 1, 0.95f},
+ /* Fresh: a flat top, big yellow headphones, a red tracksuit */
+ {0x8D5524, 0x161616, 0x161616, 0xF2C230, 0xD8302A, 0xD8302A, 0xD8302A, 0x2A2A30, 0xF4F4F4, 0x2A2A30, 2, 1.0f},
+ /* Spike: a green mohawk, a black leather jacket, tartan trousers, boots */
+ {0xF1C7A3, 0x3BD16F, 0x3BD16F, 0x3BD16F, 0x3A3A40, 0x26262B, 0x26262B, 0x8E2433, 0x1E1E22, 0x55555C, 3, 1.02f},
+ /* the Inspector: a navy uniform and cap with a gold band, a round belly */
+ {0xF0B48C, 0xB5B5B5, 0x23375E, 0xE0B13A, 0x23375E, 0x23375E, 0x23375E, 0x1F2D4D, 0x141414, 0x141414, 4, 1.45f},
+};
+
+static void head(const Look *k, M3 T, V3 neck) {
+ part(T, neck, (V3){0, 0.15f, 0}, 0.15f, 0.15f, 0.15f, k->skin);
+ V3 h = vadd(neck, ap(T, (V3){0, 0.15f, 0}));
+ /* the face: eyes, brows, a smile (only seen from the front) */
+ for (int s = -1; s <= 1; s += 2) {
+ part(T, h, (V3){0.065f * (float)s, 0.01f, 0.152f}, 0.03f, 0.04f, 0.004f, 0xFFFFFF);
+ part(T, h, (V3){0.06f * (float)s, 0.0f, 0.156f}, 0.018f, 0.026f, 0.004f, 0x1D1D2B);
+ part(T, h, (V3){0.065f * (float)s, 0.07f, 0.152f}, 0.04f, 0.012f, 0.006f, k->head == 4 ? 0x9A9A9A : k->hair);
+ }
+ if (k->head == 4) part(T, h, (V3){0, -0.1f, 0.14f}, 0.14f, 0.07f, 0.03f, 0xC8C8C8); /* the Inspector's beard */
+ else part(T, h, (V3){0, -0.075f, 0.152f}, 0.045f, 0.012f, 0.004f, 0x8A2A2A);
+ switch (k->head) {
+ case 0:
+ part(T, h, (V3){0, 0.03f, -0.12f}, 0.155f, 0.1f, 0.04f, k->hair);
+ part(T, h, (V3){0, 0.13f, 0}, 0.165f, 0.065f, 0.165f, k->hat);
+ part(T, h, (V3){0, 0.08f, 0.21f}, 0.15f, 0.015f, 0.08f, k->hat2);
+ part(T, h, (V3){0, 0.1f, -0.166f}, 0.1f, 0.03f, 0.005f, k->hat2);
+ break;
+ case 1:
+ part(T, h, (V3){0, 0.15f, -0.01f}, 0.168f, 0.08f, 0.168f, k->hat);
+ part(T, h, (V3){0, 0.08f, -0.01f}, 0.17f, 0.025f, 0.17f, k->hat2);
+ part(T, h, (V3){0, -0.04f, -0.2f}, 0.06f, 0.13f, 0.06f, k->hair);
+ part(T, h, (V3){0, 0.02f, -0.13f}, 0.158f, 0.08f, 0.03f, k->hair);
+ break;
+ case 2:
+ part(T, h, (V3){0, 0.2f, 0}, 0.15f, 0.07f, 0.15f, k->hair);
+ part(T, h, (V3){0, 0.03f, -0.125f}, 0.152f, 0.1f, 0.03f, k->hair);
+ part(T, h, (V3){-0.175f, 0, 0}, 0.04f, 0.08f, 0.07f, k->hat2);
+ part(T, h, (V3){0.175f, 0, 0}, 0.04f, 0.08f, 0.07f, k->hat2);
+ part(T, h, (V3){0, 0.29f, 0}, 0.19f, 0.02f, 0.03f, 0x2A2A30);
+ break;
+ case 3:
+ part(T, h, (V3){0, 0.25f, 0}, 0.035f, 0.13f, 0.16f, k->hair);
+ part(T, h, (V3){0, 0.1f, -0.13f}, 0.035f, 0.18f, 0.03f, k->hair);
+ break;
+ default:
+ part(T, h, (V3){0, 0.14f, 0}, 0.175f, 0.06f, 0.19f, k->hat);
+ part(T, h, (V3){0, 0.09f, 0}, 0.18f, 0.025f, 0.195f, k->hat2);
+ part(T, h, (V3){0, 0.07f, 0.24f}, 0.16f, 0.015f, 0.07f, 0x141414);
+ part(T, h, (V3){0, -0.05f, -0.1f}, 0.15f, 0.06f, 0.06f, k->hair);
+ break;
+ }
+}
+
+void actor_draw(int who, V3 where, const Pose *p, float lt) {
+ const Look *k = &looks[who];
+ bool big = who == WHO_INSPECTOR;
+ at = where, light = lt, size = big ? 1.14f : 1.0f;
+ pivot = (V3){0, 0.75f * size, 0};
+ root = mul(ry(p->yaw), mul(rz(p->tilt), rx(p->spin)));
+ if (p->squash != 1) {
+ /* a roll: smaller, about the middle */
+ size *= p->squash;
+ pivot.y *= p->squash;
+ }
+ float w = k->width;
+ V3 hip = {0, 0.86f + p->bob, 0};
+ /* legs */
+ for (int s = 0; s < 2; s++) {
+ float sx = s ? 0.105f : -0.105f;
+ M3 up = rx(-p->hip[s]), lo = mul(up, rx(p->knee[s]));
+ V3 j = {sx * (big ? 1.25f : 1), hip.y, 0};
+ float th = big ? 0.095f : 0.078f;
+ part(up, j, (V3){0, -0.2f, 0}, th, 0.2f, th + 0.005f, k->legs);
+ V3 knee = vadd(j, ap(up, (V3){0, -0.4f, 0}));
+ part(lo, knee, (V3){0, -0.19f, 0}, th - 0.008f, 0.19f, th - 0.005f, k->legs);
+ V3 ankle = vadd(knee, ap(lo, (V3){0, -0.38f, 0}));
+ part(lo, ankle, (V3){0, -0.025f, 0.05f}, 0.08f, 0.055f, 0.15f, k->shoes);
+ part(lo, ankle, (V3){0, -0.07f, 0.05f}, 0.082f, 0.015f, 0.152f, k->sole);
+ }
+ /* the hips, then the chest leaning from the waist */
+ part(ident, hip, (V3){0, 0.04f, 0}, 0.18f * (big ? 1.3f : 1), 0.08f, 0.11f * (big ? 1.4f : 1), k->legs);
+ M3 T = rx(p->lean);
+ V3 waist = {0, hip.y + 0.08f, 0};
+ float cw = 0.21f * w, cd = big ? 0.22f : 0.125f;
+ part(T, waist, (V3){0, 0.27f, big ? 0.04f : 0}, cw, 0.27f, cd, k->top);
+ if (k->vest != k->top) part(T, waist, (V3){0, 0.29f, 0}, cw + 0.012f, 0.22f, cd + 0.012f, k->vest);
+ if (who == WHO_JAKE) part(T, waist, (V3){0, 0.5f, -0.13f}, 0.13f, 0.07f, 0.04f, k->sleeve); /* the hood */
+ if (who == WHO_SPIKE) part(T, waist, (V3){0, 0.3f, -0.14f}, 0.12f, 0.12f, 0.01f, 0xC8C8D0); /* a patch */
+ /* arms */
+ for (int s = 0; s < 2; s++) {
+ float sgn = s ? 1.0f : -1.0f;
+ M3 up = mul(T, mul(rz(sgn * p->out[s]), rx(-p->arm[s]))), lo = mul(up, rx(-p->elbow[s]));
+ V3 sh = vadd(waist, ap(T, (V3){sgn * (cw + 0.07f), 0.47f, 0}));
+ float th = big ? 0.075f : 0.062f;
+ part(up, sh, (V3){0, -0.14f, 0}, th, 0.15f, th, k->sleeve);
+ V3 el = vadd(sh, ap(up, (V3){0, -0.29f, 0}));
+ part(lo, el, (V3){0, -0.13f, 0}, th - 0.006f, 0.14f, th - 0.006f, k->sleeve);
+ part(lo, el, (V3){0, -0.3f, 0}, 0.05f, 0.05f, 0.05f, k->skin);
+ }
+ V3 neck = vadd(waist, ap(T, (V3){0, 0.56f, 0}));
+ head(k, T, neck);
+}
+
+/* ---------------------------------------------------------------- the dog */
+void dog_draw(V3 where, float ph, float lt) {
+ at = where, light = lt, size = 1, pivot = (V3){0, 0, 0}, root = ident;
+ uint32_t fur = 0xA0612B, dark = 0x6E3F18, light_fur = 0xD9A066;
+ float s = fsin(ph), bob = 0.04f * (s < 0 ? -s : s);
+ part(ident, (V3){0, 0.44f + bob, 0}, (V3){0, 0, 0}, 0.13f, 0.12f, 0.3f, fur);
+ part(ident, (V3){0, 0.38f + bob, 0}, (V3){0, 0, 0.02f}, 0.11f, 0.07f, 0.24f, light_fur);
+ M3 H = rx(-0.15f);
+ V3 neck = {0, 0.56f + bob, 0.3f};
+ part(H, neck, (V3){0, 0.04f, 0.04f}, 0.11f, 0.1f, 0.11f, fur);
+ part(H, neck, (V3){0, -0.01f, 0.18f}, 0.06f, 0.05f, 0.06f, light_fur);
+ part(H, neck, (V3){-0.09f, 0.14f, 0.0f}, 0.03f, 0.06f, 0.035f, dark);
+ part(H, neck, (V3){0.09f, 0.14f, 0.0f}, 0.03f, 0.06f, 0.035f, dark);
+ for (int i = 0; i < 4; i++) {
+ float lx = i & 1 ? 0.08f : -0.08f, lz = i < 2 ? 0.2f : -0.2f;
+ float a = 0.7f * fsin(ph + (i < 2 ? 0 : 3.14159f) + (i & 1 ? 0.5f : 0));
+ part(rx(-a), (V3){lx, 0.38f + bob, lz}, (V3){0, -0.17f, 0}, 0.035f, 0.17f, 0.035f, i < 2 ? fur : dark);
+ }
+ part(rx(-0.9f + 0.3f * s), (V3){0, 0.5f + bob, -0.3f}, (V3){0, 0, -0.1f}, 0.025f, 0.025f, 0.12f, fur);
+}
+
+/* ---------------------------------------------------------------- boards, the jetpack, shadows */
+static const uint32_t board_cols[3][3] = {
+ {0x2E7BE0, 0xF2C230, 0x173E73}, /* the Hoverboard */
+ {0xF07F2D, 0x3BD16F, 0x7A3A10}, /* the Bouncer */
+ {0xD8302A, 0xF2C230, 0x5A1010}, /* the Daredevil */
+};
+
+void board_draw(V3 p, int kind, float yaw, float t, float lt) {
+ const uint32_t *c = board_cols[kind % 3];
+ light = lt;
+ float sy, cy;
+ r_sincos(yaw, &sy, &cy);
+ float hw = 0.3f, hl = 0.82f, y = p.y + 0.16f + 0.03f * fsin(t * 6);
+ /* its outline: pointed at both ends, as the game's boards */
+ static const float o[8][2] = {{0, 1}, {0.8f, 0.8f}, {1, 0.25f}, {1, -0.25f}, {0.8f, -0.8f}, {0, -1}, {-0.8f, -0.8f}, {-1, -0.25f}};
+ static const float o8[2] = {-1, 0.25f};
+ V3 top8[9], bot8[9];
+ for (int i = 0; i < 9; i++) {
+ const float *q = i < 8 ? o[i] : o8;
+ float ox = q[0] * hw, oz = q[1] * hl, rx = ox * cy + oz * sy, rz = -ox * sy + oz * cy;
+ top8[i] = (V3){p.x + rx, y + 0.07f, p.z + rz};
+ bot8[i] = (V3){p.x + rx * 0.92f, y, p.z + rz * 0.92f};
+ }
+ /* (nine corners in all; r_poly takes eight at most, so the top is two halves) */
+ V3 a[5] = {top8[0], top8[1], top8[2], top8[3], top8[4]}, b[6] = {top8[4], top8[5], top8[6], top8[7], top8[8], top8[0]};
+ uint32_t face = shade(r_shade(c[0], (V3){0, 1, 0}));
+ r_poly(a, 5, face, 0, 0);
+ r_poly(b, 6, face, 0, 0);
+ /* the stripe down the middle */
+ float sx = 0.07f * cy, sz = -0.07f * sy, lx = hl * 0.8f * sy, lz = hl * 0.8f * cy;
+ V3 st[4] = {{p.x - sx + lx, y + 0.071f, p.z - sz + lz}, {p.x + sx + lx, y + 0.071f, p.z + sz + lz},
+ {p.x + sx - lx, y + 0.071f, p.z + sz - lz}, {p.x - sx - lx, y + 0.071f, p.z - sz - lz}};
+ r_poly(st, 4, shade(c[1]), P_DECAL | P_TWOSIDED, 0);
+ /* the rim, all round */
+ for (int i = 0; i < 8; i++) {
+ V3 r[4] = {top8[i + 1], top8[i], bot8[i], bot8[i + 1]};
+ r_poly(r, 4, shade(c[2]), P_TWOSIDED, 0);
+ }
+ /* the glow under it */
+ V3 g[4] = {{p.x - 0.55f, p.y + 0.03f, p.z + 0.95f}, {p.x + 0.55f, p.y + 0.03f, p.z + 0.95f},
+ {p.x + 0.55f, p.y + 0.03f, p.z - 0.95f}, {p.x - 0.55f, p.y + 0.03f, p.z - 0.95f}};
+ r_poly(g, 4, 0x7FE8FF, P_ALPHA | P_NOHAZE, 90);
+}
+
+void jetpack_draw(V3 p, const Pose *ps, float t, float lt) {
+ at = p, light = lt, size = 1, pivot = (V3){0, 0.75f, 0};
+ root = mul(ry(ps->yaw), mul(rz(ps->tilt), rx(ps->spin)));
+ M3 T = rx(ps->lean);
+ V3 waist = {0, 0.94f + ps->bob, 0};
+ for (int s = -1; s <= 1; s += 2) {
+ part(T, waist, (V3){0.11f * (float)s, 0.3f, -0.24f}, 0.085f, 0.2f, 0.085f, 0xC9CFD6);
+ part(T, waist, (V3){0.11f * (float)s, 0.48f, -0.24f}, 0.07f, 0.03f, 0.07f, 0xD8302A);
+ part(T, waist, (V3){0.11f * (float)s, 0.08f, -0.24f}, 0.06f, 0.03f, 0.06f, 0x3A3A40);
+ /* the flame */
+ float len = 0.35f + 0.12f * fsin(t * 37 + (float)s);
+ V3 n = vadd(at, ap(root, vsub(vadd(waist, ap(T, (V3){0.11f * (float)s, 0.05f, -0.24f})), pivot)));
+ n = vadd(n, pivot);
+ V3 f[3] = {{n.x - 0.07f, n.y, n.z - 0.02f}, {n.x + 0.07f, n.y, n.z - 0.02f}, {n.x, n.y - len, n.z - 0.12f}};
+ r_poly(f, 3, 0xFFB020, P_ALPHA | P_NOHAZE | P_TWOSIDED, 220);
+ V3 f2[3] = {{n.x - 0.035f, n.y, n.z - 0.03f}, {n.x + 0.035f, n.y, n.z - 0.03f}, {n.x, n.y - len * 0.6f, n.z - 0.1f}};
+ r_poly(f2, 3, 0xFFF4B0, P_ALPHA | P_NOHAZE | P_TWOSIDED, 230);
+ }
+}
+
+void shadow_draw(float x, float z, float ground, float h) {
+ float k = 1 - h * 0.12f;
+ if (k < 0.3f) k = 0.3f;
+ static const float o[8][2] = {{0, 1}, {0.71f, 0.71f}, {1, 0}, {0.71f, -0.71f}, {0, -1}, {-0.71f, -0.71f}, {-1, 0}, {-0.71f, 0.71f}};
+ V3 v[8];
+ for (int i = 0; i < 8; i++) v[i] = (V3){x + o[i][0] * 0.42f * k, ground + 0.02f, z + o[i][1] * 0.4f * k};
+ r_poly(v, 8, 0x000000, P_ALPHA | P_NOHAZE, (int)(110 * k));
+}
+
+/* ---------------------------------------------------------------- the things to pick up */
+void actors_pickup(const Item *it, float t) {
+ float bobv = 0.12f * fsin(t * 3 + it->z);
+ at = (V3){it->x, it->y + bobv, it->z}, light = scene_light(it->z), size = 1, pivot = (V3){0, 0, 0};
+ root = ry(t * 2.2f + it->z);
+ M3 I = ident;
+ V3 o = {0, 0, 0};
+ switch (it->kind) {
+ case I_MAGNET:
+ part(I, o, (V3){-0.22f, 0.05f, 0}, 0.09f, 0.25f, 0.09f, 0xE0302A);
+ part(I, o, (V3){0.22f, 0.05f, 0}, 0.09f, 0.25f, 0.09f, 0xE0302A);
+ part(I, o, (V3){0, -0.25f, 0}, 0.31f, 0.09f, 0.09f, 0xE0302A);
+ part(I, o, (V3){-0.22f, 0.36f, 0}, 0.092f, 0.07f, 0.092f, 0xE8ECF0);
+ part(I, o, (V3){0.22f, 0.36f, 0}, 0.092f, 0.07f, 0.092f, 0xE8ECF0);
+ break;
+ case I_JETPACK:
+ part(I, o, (V3){-0.13f, 0, 0}, 0.11f, 0.28f, 0.11f, 0xC9CFD6);
+ part(I, o, (V3){0.13f, 0, 0}, 0.11f, 0.28f, 0.11f, 0xC9CFD6);
+ part(I, o, (V3){-0.13f, 0.3f, 0}, 0.09f, 0.04f, 0.09f, 0xD8302A);
+ part(I, o, (V3){0.13f, 0.3f, 0}, 0.09f, 0.04f, 0.09f, 0xD8302A);
+ part(I, o, (V3){0, 0.05f, 0.08f}, 0.06f, 0.2f, 0.04f, 0x3A3A40);
+ part(I, o, (V3){-0.13f, -0.32f, 0}, 0.07f, 0.05f, 0.07f, 0xF2C230);
+ part(I, o, (V3){0.13f, -0.32f, 0}, 0.07f, 0.05f, 0.07f, 0xF2C230);
+ break;
+ case I_SNEAKERS:
+ for (int s = -1; s <= 1; s += 2) {
+ float x = 0.15f * (float)s;
+ part(I, o, (V3){x, -0.15f, 0.05f}, 0.1f, 0.04f, 0.26f, 0xF4F4F4);
+ part(I, o, (V3){x, -0.03f, -0.02f}, 0.095f, 0.09f, 0.19f, 0x3BD16F);
+ part(I, o, (V3){x, 0.1f, -0.1f}, 0.09f, 0.08f, 0.09f, 0x3BD16F);
+ part(I, o, (V3){x, -0.02f, 0.18f}, 0.06f, 0.06f, 0.05f, 0xF2C230);
+ }
+ break;
+ case I_DOUBLE: {
+ /* a purple star, 2x */
+ V3 c = at;
+ float s, co;
+ r_sincos(t * 2.2f + it->z, &s, &co);
+ for (int i = 0; i < 5; i++) {
+ float a0 = (float)i * 1.2566f, a1 = a0 + 0.6283f, a2 = a0 - 0.6283f;
+ float x0 = fsin(a0) * 0.45f, y0 = fcos(a0) * 0.45f, x1 = fsin(a1) * 0.2f, y1 = fcos(a1) * 0.2f, x2 = fsin(a2) * 0.2f,
+ y2 = fcos(a2) * 0.2f;
+ V3 tri[3] = {{c.x + co * x2, c.y + y2, c.z + s * x2}, {c.x + co * x0, c.y + y0, c.z + s * x0}, {c.x + co * x1, c.y + y1, c.z + s * x1}};
+ r_poly(tri, 3, shade(0xA855F7), P_TWOSIDED, 0);
+ }
+ V3 pent[5];
+ for (int i = 0; i < 5; i++) {
+ float a = (float)i * 1.2566f + 0.6283f, x = fsin(a) * 0.205f, y = fcos(a) * 0.205f;
+ pent[i] = (V3){c.x + co * x, c.y + y, c.z + s * x};
+ }
+ r_poly(pent, 5, shade(0xA855F7), P_TWOSIDED, 0);
+ /* "2": two bars and a step, in yellow */
+ float bars[3][4] = {{-0.09f, 0.08f, 0.09f, 0.12f}, {-0.09f, -0.12f, 0.09f, -0.08f}, {-0.04f, -0.1f, 0.05f, 0.1f}};
+ for (int i = 0; i < 3; i++) {
+ float x0 = bars[i][0], y0 = bars[i][1], x1 = bars[i][2], y1 = bars[i][3];
+ if (i == 2) x0 = -0.02f, x1 = 0.02f;
+ V3 q[4] = {{c.x + co * x0, c.y + y1, c.z + s * x0 - 0.01f}, {c.x + co * x1, c.y + y1, c.z + s * x1 - 0.01f},
+ {c.x + co * x1, c.y + y0, c.z + s * x1 - 0.01f}, {c.x + co * x0, c.y + y0, c.z + s * x0 - 0.01f}};
+ r_poly(q, 4, shade(0xFFE040), P_TWOSIDED | P_DECAL, 0);
+ }
+ break;
+ }
+ case I_MYSTERY:
+ part(I, o, (V3){0, 0, 0}, 0.3f, 0.3f, 0.3f, 0x7B3FE4);
+ part(I, o, (V3){0, 0.31f, 0}, 0.31f, 0.02f, 0.06f, 0xF2C230);
+ part(I, o, (V3){0, 0.31f, 0}, 0.06f, 0.02f, 0.31f, 0xF2C230);
+ part(I, o, (V3){0, 0, -0.31f}, 0.06f, 0.3f, 0.01f, 0xF2C230);
+ part(I, o, (V3){0, 0, 0.31f}, 0.06f, 0.3f, 0.01f, 0xF2C230);
+ part(I, o, (V3){0, 0.36f, 0}, 0.1f, 0.05f, 0.04f, 0xF2C230);
+ break;
+ case I_KEY:
+ part(I, o, (V3){0, 0.22f, 0}, 0.16f, 0.04f, 0.04f, 0x3FA9F5);
+ part(I, o, (V3){0, 0.06f, 0}, 0.16f, 0.04f, 0.04f, 0x3FA9F5);
+ part(I, o, (V3){-0.14f, 0.14f, 0}, 0.04f, 0.12f, 0.04f, 0x3FA9F5);
+ part(I, o, (V3){0.14f, 0.14f, 0}, 0.04f, 0.12f, 0.04f, 0x3FA9F5);
+ part(I, o, (V3){0, -0.2f, 0}, 0.04f, 0.24f, 0.04f, 0x3FA9F5);
+ part(I, o, (V3){0.08f, -0.3f, 0}, 0.06f, 0.03f, 0.035f, 0x3FA9F5);
+ part(I, o, (V3){0.07f, -0.4f, 0}, 0.05f, 0.03f, 0.035f, 0x3FA9F5);
+ break;
+ }
+ /* a soft glow on the ground under it */
+ float gy = world_ground(it->x, it->z, it->y) + 0.02f;
+ V3 g[4] = {{it->x - 0.6f, gy, it->z + 0.6f}, {it->x + 0.6f, gy, it->z + 0.6f}, {it->x + 0.6f, gy, it->z - 0.6f}, {it->x - 0.6f, gy, it->z - 0.6f}};
+ r_poly(g, 4, it->kind == I_KEY ? 0x7FD0FF : 0xFFE680, P_ALPHA | P_NOHAZE, 70);
+}
diff --git a/games/subway/src/actors.h b/games/subway/src/actors.h
new file mode 100644
index 00000000..b7a08a13
--- /dev/null
+++ b/games/subway/src/actors.h
@@ -0,0 +1,35 @@
+/* Subway Surfers: the people and the dog, the power-ups and the boards, as boxes. */
+#ifndef SS_ACTORS_H
+#define SS_ACTORS_H
+#include "game.h"
+
+/* how a body is held: angles in radians */
+typedef struct {
+ float hip[2], knee[2]; /* legs, left and right: forward swing, knee bend */
+ float arm[2], elbow[2]; /* arms: forward swing, elbow bend (forward) */
+ float out[2]; /* arms raised sideways */
+ float lean; /* the body forward */
+ float bob; /* up and down */
+ float spin; /* head over heels (a roll) */
+ float tilt; /* sideways */
+ float yaw; /* turned about the upright axis */
+ float squash; /* 1: as tall as it is; less while rolling */
+} Pose;
+
+enum { WHO_JAKE, WHO_TRICKY, WHO_FRESH, WHO_SPIKE, WHO_INSPECTOR };
+void pose_run(Pose *p, float phase);
+void pose_stand(Pose *p, float t);
+void pose_jump(Pose *p, float t);
+void pose_roll(Pose *p, float t); /* t from 0 to 1 */
+void pose_hover(Pose *p, float t);
+void pose_fly(Pose *p, float t);
+void pose_spray(Pose *p, float t);
+void pose_fall(Pose *p, float t);
+/* a person at (x, y, z), its feet on y; light: 1 outside, less in a tunnel */
+void actor_draw(int who, V3 at, const Pose *p, float light);
+void dog_draw(V3 at, float phase, float light);
+void board_draw(V3 at, int board, float yaw, float t, float light);
+void jetpack_draw(V3 at, const Pose *p, float t, float light);
+void shadow_draw(float x, float z, float ground, float height);
+void actors_pickup(const Item *it, float t); /* a power-up, a key or a mystery box, turning */
+#endif
diff --git a/games/subway/src/app.c b/games/subway/src/app.c
new file mode 100644
index 00000000..0d361def
--- /dev/null
+++ b/games/subway/src/app.c
@@ -0,0 +1,749 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os") /* screens over the game: smaller over faster */
+#endif
+/* The screens and the way between them (app.h). */
+#include <string.h>
+#include "actors.h"
+#include "app.h"
+#include "draw.h"
+#include "game.h"
+#include "icons.h"
+#include "plat.h"
+#include "save.h"
+#include "scene.h"
+
+enum { S_HELP, S_TITLE, S_RUN, S_PAUSE, S_SAVEME, S_RESULTS, S_SHOP, S_MISSIONS, S_QUIT };
+bool app_running = true;
+static int state, back_to; /* the screen, and where Back goes from the shop, the missions or Quit */
+static int sel; /* the button in focus */
+static float clock, intro, saveme_t, state_t;
+static bool new_best;
+static int shop_tab, shop_sel, shop_top;
+static char note[40]; /* the shop's word on the last try */
+static float note_t;
+static float cam_x, cam_y; /* the run's camera, smoothed */
+#define CAM_Y 6.0f /* above the ground */
+#define CAM_BACK 7.6f /* behind the runner */
+
+/* colours of the game's screens */
+#define NAVY 0x0B2A55
+#define WHITE 0xFFFFFF
+#define BLUE_T 0x2FA6F2
+#define BLUE_B 0x1466C4
+#define GOLD_T 0xFFE15A
+#define GOLD_B 0xF5A300
+
+static void fmt(char *out, uint32_t v, bool commas) {
+ char t[16];
+ int n = 0;
+ do {
+ if (commas && n % 4 == 3) t[n++] = ',';
+ t[n++] = (char)('0' + v % 10), v /= 10;
+ } while (v);
+ for (int i = 0; i < n; i++) out[i] = t[n - 1 - i];
+ out[n] = 0;
+}
+static void cat(char *out, const char *a) {
+ while (*out) out++;
+ while (*a) *out++ = *a++;
+ *out = 0;
+}
+
+static void title_world(void) {
+ world_reset(plat_random());
+ world_title();
+ memset(&pl, 0, sizeof pl);
+ pl.lane = 1, pl.x = 0, pl.speed = 13;
+}
+
+/* the title's yard behind the screen */
+static bool title_scene(void) {
+ return state == S_TITLE || state == S_HELP || state == S_MISSIONS || (state == S_QUIT && back_to == S_TITLE);
+}
+
+static void go(int s) {
+ state = s;
+ state_t = 0;
+ sel = 0;
+}
+
+void app_init(void) {
+ save_load();
+ scene_init();
+ title_world();
+ go(pg.help_seen ? S_TITLE : S_HELP);
+}
+
+static void start_run(void) {
+ if (state != S_TITLE) title_world();
+ run_start();
+ intro = 0;
+ cam_x = 0, cam_y = CAM_Y;
+ go(S_RUN);
+}
+
+static void end_run(void) {
+ new_best = run.score > pg.best && run.score > 0;
+ run_bank();
+ go(S_RESULTS);
+}
+
+/* ---------------------------------------------------------------- the shop's shelves */
+enum { TAB_UPGRADES, TAB_ITEMS, TAB_CHARS, TAB_BOARDS, TABS };
+static const char *const tab_names[TABS] = {"Upgrades", "Items", "Characters", "Boards"};
+static const char *const upg_names[NUPG] = {"Jetpack", "Super Sneakers", "Coin Magnet", "2x Multiplier"};
+static const uint8_t upg_icons[NUPG] = {ICON_JETPACK, ICON_SNEAKERS, ICON_MAGNET, ICON_DOUBLE};
+static const char *const item_names[4] = {"Hoverboard", "Headstart", "Score Booster", "Mystery Box"};
+static const char *const item_text[4] = {"A crash forgiven: OK in a run", "Fly ahead: 1 at the start",
+ "+5 multiplier: 3 at the start", "Coins, keys and more inside"};
+static const uint16_t item_price[4] = {300, 2000, 3000, 500};
+static const uint8_t item_icons[4] = {ICON_BOARD, ICON_HEADSTART, ICON_BOOSTER, ICON_MYSTERY};
+
+static int shop_rows(void) { return shop_tab == TAB_UPGRADES ? NUPG : shop_tab == TAB_ITEMS ? 4 : shop_tab == TAB_CHARS ? NCHARS : NBOARDS; }
+
+static void say(const char *s) {
+ strncpy(note, s, sizeof note - 1);
+ note[sizeof note - 1] = 0;
+ note_t = 2;
+}
+
+static bool pay(uint32_t price) {
+ if (pg.coins < price) {
+ say("Not enough coins");
+ return false;
+ }
+ pg.coins -= price;
+ return true;
+}
+
+static void shop_buy(void) {
+ int i = shop_sel;
+ switch (shop_tab) {
+ case TAB_UPGRADES: {
+ int c = upgrade_cost(pg.upg[i]);
+ if (!c) say("Already at the top");
+ else if (pay((uint32_t)c)) pg.upg[i]++, say("Upgraded!");
+ break;
+ }
+ case TAB_ITEMS:
+ if (!pay(item_price[i])) break;
+ if (i == 0) pg.boards++, say("+1 hoverboard");
+ else if (i == 1) pg.headstarts++, say("+1 headstart");
+ else if (i == 2) pg.boosters++, say("+1 score booster");
+ else {
+ pg.total[CNT_MYSTERY]++;
+ uint32_t r = plat_random() % 100;
+ if (r < 55) {
+ uint32_t c = 100 + plat_random() % 9 * 100;
+ pg.coins += c;
+ char s[40] = "+";
+ fmt(s + 1, c, true);
+ cat(s, " coins");
+ say(s);
+ } else if (r < 70) pg.keys++, say("A key!");
+ else if (r < 85) pg.boards++, say("A hoverboard!");
+ else if (r < 93) pg.headstarts++, say("A headstart!");
+ else if (r < 99) pg.boosters++, say("A score booster!");
+ else pg.coins += 20000, say("JACKPOT! 20,000 coins");
+ }
+ break;
+ case TAB_CHARS:
+ if (pg.chars & 1 << i) pg.character = (uint8_t)i, say("Selected");
+ else if (pay(char_price[i])) pg.chars |= (uint8_t)(1 << i), pg.character = (uint8_t)i, say("Unlocked!");
+ break;
+ default:
+ if (pg.ownboards & 1 << i) pg.board = (uint8_t)i, say("Selected");
+ else if (pay(board_price[i])) pg.ownboards |= (uint8_t)(1 << i), pg.board = (uint8_t)i, say("Unlocked!");
+ break;
+ }
+ save_write();
+}
+
+/* ---------------------------------------------------------------- a 60th of a second */
+static void camera_follow(void) {
+ float tx = pl.x * 0.75f, ty = CAM_Y + pl.ground * 0.85f + (pl.y - pl.ground) * 0.35f;
+ if (pl.fly > 0) ty = CAM_Y + pl.y * 0.8f;
+ cam_x += (tx - cam_x) * 0.18f;
+ cam_y += (ty - cam_y) * 0.12f;
+}
+
+void app_step(uint32_t keys, uint32_t pressed) {
+ clock += DT;
+ state_t += DT;
+ if (note_t > 0) note_t -= DT;
+ if (pressed & K_HOME) {
+ /* save and quit, from anywhere: a run's coins and progress are kept */
+ if (state == S_RUN || state == S_PAUSE || state == S_SAVEME || (state == S_QUIT && back_to == S_PAUSE)) run_bank();
+ else save_write();
+ app_running = false;
+ return;
+ }
+ switch (state) {
+ case S_HELP:
+ if (pressed & (K_OK | K_BACK)) {
+ pg.help_seen = 1;
+ save_write();
+ go(S_TITLE);
+ }
+ break;
+ case S_TITLE:
+ /* OK plays; Down goes to the buttons below: the shop, the missions, how to play */
+ if (sel == 0) {
+ if (pressed & K_OK) start_run();
+ else if (pressed & K_DOWN) sel = 1;
+ else if (pressed & K_BACK) back_to = S_TITLE, go(S_QUIT), sel = 0;
+ } else {
+ if (pressed & K_LEFT && sel > 1) sel--;
+ if (pressed & K_RIGHT && sel < 3) sel++;
+ if (pressed & (K_UP | K_BACK)) sel = 0;
+ if (pressed & K_OK) {
+ int s = sel;
+ back_to = S_TITLE;
+ if (s == 1) go(S_SHOP), shop_sel = shop_top = 0;
+ else if (s == 2) go(S_MISSIONS);
+ else go(S_HELP);
+ }
+ }
+ break;
+ case S_RUN:
+ if (intro < 1) intro += DT / 0.9f;
+ if (pressed & K_BACK && !pl.dead) {
+ go(S_PAUSE);
+ break;
+ }
+ run_step(keys, pressed);
+ camera_follow();
+ if (run_over()) {
+ if (pg.keys + run.keys >= (uint32_t)run_save_cost()) {
+ /* (keys picked up this run count too) */
+ pg.keys += run.keys, run.keys = 0;
+ go(S_SAVEME);
+ } else end_run();
+ }
+ break;
+ case S_PAUSE:
+ if (pressed & (K_UP | K_DOWN)) sel ^= 1;
+ if (pressed & K_BACK || (pressed & K_OK && sel == 0)) go(S_RUN);
+ else if (pressed & K_OK) back_to = S_PAUSE, go(S_QUIT);
+ break;
+ case S_SAVEME:
+ saveme_t += DT;
+ if (pressed & K_OK) {
+ run_revive();
+ go(S_RUN);
+ } else if (pressed & K_BACK || state_t > 5) end_run();
+ break;
+ case S_RESULTS:
+ if (pressed & K_LEFT && sel > 0) sel--;
+ if (pressed & K_RIGHT && sel < 2) sel++;
+ if (pressed & K_BACK) title_world(), go(S_TITLE);
+ else if (pressed & K_OK) {
+ if (sel == 0) {
+ title_world();
+ start_run();
+ } else if (sel == 1) back_to = S_RESULTS, go(S_SHOP), shop_sel = shop_top = 0;
+ else title_world(), go(S_TITLE);
+ }
+ break;
+ case S_SHOP:
+ if (pressed & K_LEFT) shop_tab = (shop_tab + TABS - 1) % TABS, shop_sel = shop_top = 0;
+ if (pressed & K_RIGHT) shop_tab = (shop_tab + 1) % TABS, shop_sel = shop_top = 0;
+ if (pressed & K_UP && shop_sel > 0) shop_sel--;
+ if (pressed & K_DOWN && shop_sel < shop_rows() - 1) shop_sel++;
+ if (shop_sel < shop_top) shop_top = shop_sel;
+ if (shop_sel > shop_top + 3) shop_top = shop_sel - 3;
+ if (pressed & K_OK) shop_buy();
+ if (pressed & K_BACK) {
+ int b = back_to;
+ go(b);
+ if (b == S_RESULTS) sel = 1;
+ if (b == S_TITLE) sel = 1;
+ }
+ break;
+ case S_MISSIONS:
+ if (pressed & (K_BACK | K_OK)) go(S_TITLE), sel = 2;
+ break;
+ case S_QUIT:
+ if (pressed & (K_LEFT | K_RIGHT)) sel ^= 1;
+ if (pressed & K_BACK || (pressed & K_OK && sel == 0)) {
+ int b = back_to;
+ go(b);
+ if (b == S_PAUSE) sel = 1;
+ } else if (pressed & K_OK) {
+ if (back_to == S_TITLE) {
+ save_write();
+ app_running = false;
+ } else end_run();
+ }
+ break;
+ }
+ if (title_scene()) pl.t += DT;
+}
+
+/* ---------------------------------------------------------------- drawing: the 3D part */
+static float lerp(float a, float b, float t) { return a + (b - a) * t; }
+
+static void draw_runner(void) {
+ Pose p;
+ int who = pg.character;
+ float lt = scene_light(pl.z);
+ bool title = title_scene();
+ if (title) {
+ /* facing the camera, waiting */
+ pose_stand(&p, clock);
+ p.yaw = 3.14159f;
+ }
+ else if (pl.dead) pose_fall(&p, pl.crash_t * 2.5f);
+ else if (pl.fly > 0) pose_fly(&p, clock);
+ else if (pl.roll > 0) pose_roll(&p, 1 - pl.roll / 0.6f);
+ else if (pl.hover > 0 && pl.state != ST_AIR) pose_hover(&p, clock);
+ else if (pl.state == ST_AIR) pose_jump(&p, clock);
+ else pose_run(&p, pl.phase);
+ if (!title) {
+ /* turning round to run, at the start */
+ if (run.start_t < 0.35f && !pl.dead) p.yaw += 3.14159f * (1 - run.start_t / 0.35f);
+ p.tilt -= pl.lean;
+ if (pl.stumble > 0) p.tilt += 0.5f * pl.stumble, p.lean -= 0.4f * pl.stumble;
+ }
+ V3 at = {pl.x, pl.y, pl.z};
+ bool blink = pl.safe > 0.15f && ((int)(clock * 12) & 1);
+ if (!title && pl.hover > 0 && !pl.dead && pl.fly <= 0) {
+ board_draw(at, pg.board, p.yaw, clock, lt);
+ at.y += 0.2f;
+ }
+ if (!blink) {
+ actor_draw(who, at, &p, lt);
+ if (pl.power[PW_JETPACK] > 0 || pl.headstart > 0) jetpack_draw(at, &p, clock, lt);
+ }
+ float g = pl.fly > 0 ? world_ground(pl.x, pl.z, 0) : pl.ground;
+ shadow_draw(pl.x, pl.z, g, pl.y - g);
+ /* the Inspector and his dog, while they are after the runner */
+ if (!title && (pl.chase > 0 || pl.dead)) {
+ float back = pl.dead ? 1.6f - (pl.crash_t > 1 ? 1 : pl.crash_t) * 0.4f : 2.6f + (pl.chase < 1 ? (1 - pl.chase) * 9 : 0);
+ if (run.start_t < 1) back = 2.6f + (1 - run.start_t) * 3;
+ Pose ip;
+ pose_run(&ip, pl.phase * 0.85f);
+ if (pl.dead && pl.crash_t > 0.8f) pose_stand(&ip, clock), ip.arm[1] = 1.6f, ip.arm[0] = 1.5f;
+ float ix = pl.x + 0.85f, dx = pl.x - 0.95f;
+ actor_draw(WHO_INSPECTOR, (V3){ix, 0, pl.z - back}, &ip, lt);
+ dog_draw((V3){dx, 0, pl.z - back + 0.8f}, pl.phase * 1.3f, lt);
+ }
+}
+
+static void draw_world(void) {
+ r_begin();
+ bool title = title_scene();
+ float tx = 0, ty = 2.2f, tz = -6.5f, tp = 0.1f;
+ if (title) scene_camera(tx, ty, tz, tp);
+ else {
+ /* the camera swings round from the title's view */
+ float k = intro >= 1 ? 1 : intro * intro * (3 - 2 * intro), pitch = 0.34f + (pl.fly > 0 ? 0.05f : 0);
+ scene_camera(lerp(tx, cam_x, k), lerp(ty, cam_y, k), lerp(tz, pl.z - CAM_BACK, k), lerp(tp, pitch, k));
+ }
+ scene_draw(clock);
+ draw_runner();
+}
+
+/* ---------------------------------------------------------------- drawing: over the picture */
+static char s_score[16], s_coins[16], s_mult[8], s_best[24], s_keys[16], s_total[16];
+
+static void button(int x, int y, int w, int h, const char *text, bool focus) {
+ if (y > r_y1 || y + h < r_y0) return;
+ d_rrect(x + 1, y + 3, w, h, 9, C(0x061A36), 110);
+ d_panel(x, y, w, h, 9, 2, NAVY, focus ? GOLD_T : BLUE_T, focus ? GOLD_B : BLUE_B);
+ d_label(&font_mid, x + w / 2, y + h / 2 + 6, text, C(WHITE), C(NAVY), 2, 0);
+}
+
+static void panel(int x, int y, int w, int h) {
+ if (y > r_y1 || y + h < r_y0) return;
+ d_rrect(x + 2, y + 4, w, h, 12, C(0x061A36), 120);
+ d_panel(x, y, w, h, 12, 3, NAVY, 0x3CB4FF, 0x1773D6);
+}
+
+static void counter(int rx, int y, int which, const char *text) {
+ int w = d_text_width(&font_mid, text);
+ icon(which, (float)(rx - w - 14), (float)y - 6, 18);
+ d_label(&font_mid, rx, y, text, C(WHITE), C(NAVY), 2, 1);
+}
+
+static void hud(void) {
+ /* the score, top right, the multiplier beside it, the coins under it */
+ d_label(&font_big, 312, 28, s_score, C(WHITE), C(NAVY), 2, 1);
+ int sw = d_text_width(&font_big, s_score);
+ int mx = 312 - sw - 22;
+ if (r_y0 < 34) {
+ d_panel(mx - 16, 8, 34, 22, 8, 2, NAVY, pl.power[PW_DOUBLE] > 0 ? 0xD58BFF : GOLD_T, pl.power[PW_DOUBLE] > 0 ? 0x8E3BE0 : GOLD_B);
+ d_label(&font_mid, mx + 1, 25, s_mult, C(WHITE), C(NAVY), 1, 0);
+ }
+ counter(312, 52, ICON_COIN, s_coins);
+ /* power-ups running, top left: their picture and the time left */
+ int y = 10;
+ static const uint8_t pics[PW_COUNT] = {ICON_JETPACK, ICON_SNEAKERS, ICON_MAGNET, ICON_DOUBLE};
+ for (int i = 0; i < PW_COUNT; i++) {
+ if (pl.power[i] <= 0) continue;
+ float f = pl.power[i] / power_time(i);
+ if (y < r_y1 && y + 26 > r_y0) {
+ d_rrect(6, y, 74, 24, 8, C(NAVY), 170);
+ icon(pics[i], 18, (float)y + 12, 20);
+ d_rrect(32, y + 9, 42, 7, 3, C(0x061A36), 255);
+ d_rrect(33, y + 10, (int)(40 * f) + 1, 5, 2, C(0x7CFF6A), 255);
+ }
+ y += 28;
+ }
+ if (pl.headstart > 0 && y < r_y1 && y + 26 > r_y0) {
+ d_rrect(6, y, 74, 24, 8, C(NAVY), 170);
+ icon(ICON_HEADSTART, 18, (float)y + 12, 20);
+ d_rrect(33, y + 10, (int)(40 * pl.headstart / 4.5f) + 1, 5, 2, C(0xFFB020), 255);
+ }
+ /* the hoverboard, bottom right */
+ if (r_y1 > 200) {
+ if (pl.hover > 0) {
+ d_rrect(240, 206, 74, 26, 8, C(NAVY), 170);
+ icon(ICON_BOARD, 254, 219, 22);
+ d_rrect(268, 216, 42, 7, 3, C(0x061A36), 255);
+ d_rrect(269, 217, (int)(40 * pl.hover / 30) + 1, 5, 2, C(0x7FE8FF), 255);
+ } else if (pg.boards && !pl.dead) {
+ char s[12] = "OK x";
+ fmt(s + 4, pg.boards, false);
+ d_rrect(236, 206, 78, 26, 8, C(NAVY), 150);
+ icon(ICON_BOARD, 252, 219, 22);
+ d_label(&font_small, 268, 224, s, C(WHITE), C(NAVY), 1, -1);
+ }
+ /* the first seconds: a headstart (1), a score booster (3) */
+ if (run.start_t < 5 && !pl.dead) {
+ int x = 6;
+ if (pg.headstarts && pl.headstart <= 0) {
+ d_panel(x, 204, 100, 30, 8, 2, NAVY, GOLD_T, GOLD_B);
+ icon(ICON_HEADSTART, (float)x + 16, 219, 22);
+ d_label(&font_small, x + 30, 216, "1: Headstart", C(WHITE), C(NAVY), 1, -1);
+ char s[8] = "x";
+ fmt(s + 1, pg.headstarts, false);
+ d_label(&font_small, x + 30, 229, s, C(WHITE), C(NAVY), 1, -1);
+ x += 106;
+ }
+ if (pg.boosters && !run.boosted) {
+ d_panel(x, 204, 112, 30, 8, 2, NAVY, GOLD_T, GOLD_B);
+ icon(ICON_BOOSTER, (float)x + 16, 219, 22);
+ d_label(&font_small, x + 30, 216, "3: Score Booster", C(WHITE), C(NAVY), 1, -1);
+ char s[8] = "x";
+ fmt(s + 1, pg.boosters, false);
+ d_label(&font_small, x + 30, 229, s, C(WHITE), C(NAVY), 1, -1);
+ }
+ }
+ }
+ /* a word on top: a mission done, a key... */
+ if (run.toast_t > 0 && r_y0 < 100) {
+ int w = d_text_width(&font_mid, run.toast) + 28, slide = run.toast_t > 2 ? (int)((2.2f - run.toast_t) * 150) : 30;
+ if (slide > 30) slide = 30;
+ int y = 52 + slide;
+ d_panel(160 - w / 2, y, w, 26, 10, 2, NAVY, 0x7CFF6A, 0x2E9E3E);
+ d_label(&font_mid, 160, y + 19, run.toast, C(WHITE), C(NAVY), 2, 0);
+ }
+}
+
+static void help_overlay(void) {
+ d_dim(110);
+ panel(14, 10, 292, 220);
+ d_label(&font_mid, 160, 36, "How to play", C(WHITE), C(NAVY), 2, 0);
+ static const char *const keys[7][2] = {
+ {"Left, Right", "change tracks"}, {"Up", "jump"}, {"Down", "roll, or dive from a jump"},
+ {"OK", "hoverboard: a crash forgiven"}, {"1, 3", "headstart, score booster"},
+ {"Back", "pause"}, {"Home", "save and quit"},
+ };
+ for (int i = 0; i < 7; i++) {
+ int y = 58 + i * 17;
+ d_label(&font_small, 112, y, keys[i][0], C(GOLD_T), C(NAVY), 1, 1);
+ d_label(&font_small, 122, y, keys[i][1], C(WHITE), C(NAVY), 1, -1);
+ }
+ d_label(&font_small, 160, 180, "Hit the side of a train: you stumble.", C(0xD6EEFF), C(NAVY), 1, 0);
+ d_label(&font_small, 160, 194, "Stumble twice and the Inspector has you!", C(0xD6EEFF), C(NAVY), 1, 0);
+ button(110, 200, 100, 24, "Got it!", true);
+}
+
+static void title_overlay(void) {
+ if (r_y0 < 110) d_logo(160 - logo_w / 2, 6);
+ /* coins and keys, top right; the best, top left */
+ if (r_y0 < 30) {
+ counter(312, 22, ICON_COIN, s_total);
+ d_label(&font_small, 8, 18, "BEST", C(GOLD_T), C(NAVY), 1, -1);
+ d_label(&font_mid, 8, 34, s_best, C(WHITE), C(NAVY), 2, -1);
+ }
+ if (r_y0 < 50 && r_y1 > 30) counter(312, 44, ICON_KEY, s_keys);
+ if (sel == 0 && ((int)(clock * 2.2f) & 1) == 0 && r_y1 > 168 && r_y0 < 192)
+ d_label(&font_mid, 160, 186, "Press OK to play", C(WHITE), C(NAVY), 2, 0);
+ if (r_y1 > 190) {
+ static const char *const names[3] = {"Shop", "Missions", "Help"};
+ for (int i = 0; i < 3; i++) button(16 + i * 100, 196, 88, 32, names[i], sel == i + 1);
+ /* the multiplier on the missions button */
+ d_panel(178, 186, 30, 18, 6, 2, NAVY, GOLD_T, GOLD_B);
+ d_label(&font_small, 193, 199, s_mult, C(WHITE), C(NAVY), 1, 0);
+ }
+}
+
+static void pause_overlay(void) {
+ d_dim(120);
+ panel(80, 60, 160, 120);
+ d_label(&font_big, 160, 98, "Paused", C(WHITE), C(NAVY), 2, 0);
+ button(100, 110, 120, 28, "Resume", sel == 0);
+ button(100, 144, 120, 28, "Quit game", sel == 1);
+}
+
+static void quit_overlay(void) {
+ d_dim(120);
+ panel(50, 70, 220, 100);
+ d_label(&font_mid, 160, 100, back_to == S_TITLE ? "Quit Subway Surfers?" : "Quit this run?", C(WHITE), C(NAVY), 2, 0);
+ if (back_to != S_TITLE) d_label(&font_small, 160, 118, "The coins you have are kept", C(WHITE), C(NAVY), 1, 0);
+ button(66, 128, 86, 28, "No", sel == 0);
+ button(168, 128, 86, 28, "Yes", sel == 1);
+}
+
+static void saveme_overlay(void) {
+ d_dim(100);
+ panel(70, 40, 180, 160);
+ d_label(&font_big, 160, 76, "Save me!", C(WHITE), C(NAVY), 2, 0);
+ float f = 1 - state_t / 5;
+ if (f < 0) f = 0;
+ d_ring(160, 120, 30, 6, C(0x0B3A75), 255);
+ /* the time left, as a ring going round */
+ for (int i = 0; i < 40 && i < (int)(f * 40); i++) {
+ float s, c;
+ r_sincos((float)i * 0.157f, &s, &c);
+ d_disc(160 + s * 30, 120 - c * 30, 3.2f, C(0x7CFF6A), 255);
+ }
+ icon(ICON_KEY, 152, 120, 26);
+ char s[12] = "x";
+ fmt(s + 1, (uint32_t)run_save_cost(), false);
+ d_label(&font_mid, 178, 128, s, C(WHITE), C(NAVY), 2, -1);
+ char h[32] = "You have ";
+ fmt(h + 9, pg.keys, false);
+ cat(h, pg.keys == 1 ? " key" : " keys");
+ d_label(&font_small, 160, 166, h, C(WHITE), C(NAVY), 1, 0);
+ d_label(&font_small, 160, 184, "OK: use keys Back: no", C(GOLD_T), C(NAVY), 1, 0);
+}
+
+static void results_overlay(void) {
+ d_dim(90);
+ panel(30, 14, 260, 172);
+ d_label(&font_mid, 160, 40, "SCORE", C(GOLD_T), C(NAVY), 2, 0);
+ d_label(&font_big, 160, 74, s_score, C(WHITE), C(NAVY), 2, 0);
+ if (new_best && r_y0 < 100) {
+ d_panel(96, 80, 128, 22, 8, 2, NAVY, 0xFF7AB8, 0xE0306E);
+ d_label(&font_mid, 160, 97, "High score!", C(WHITE), C(NAVY), 2, 0);
+ } else d_label(&font_small, 160, 96, s_best, C(WHITE), C(NAVY), 1, 0);
+ icon(ICON_COIN, 132, 118, 22);
+ d_label(&font_mid, 148, 125, s_coins, C(WHITE), C(NAVY), 2, -1);
+ /* the missions: done or not */
+ for (int i = 0; i < 3; i++) {
+ int y = 140 + i * 14;
+ icon(pg.mdone & 1 << i ? ICON_CHECK : ICON_STAR, 50, (float)y + 4, 12);
+ Mission m;
+ mission_get(pg.mset, i, &m);
+ char t[48];
+ mission_text(&m, t, sizeof t);
+ d_label(&font_small, 62, y + 8, t, C(pg.mdone & 1 << i ? 0x9DFF8E : WHITE), C(NAVY), 1, -1);
+ }
+ static const char *const names[3] = {"Play", "Shop", "Menu"};
+ for (int i = 0; i < 3; i++) button(30 + i * 90, 196, 80, 32, names[i], sel == i);
+}
+
+static void missions_overlay(void) {
+ d_dim(110);
+ panel(14, 10, 292, 220);
+ d_label(&font_mid, 160, 36, "Missions", C(WHITE), C(NAVY), 2, 0);
+ d_panel(130, 44, 60, 34, 10, 2, NAVY, GOLD_T, GOLD_B);
+ d_label(&font_big, 160, 71, s_mult, C(WHITE), C(NAVY), 2, 0);
+ for (int i = 0; i < 3; i++) {
+ int y = 86 + i * 38;
+ if (y > r_y1 || y + 34 < r_y0) continue;
+ bool done = pg.mdone & 1 << i;
+ d_rrect(26, y, 268, 34, 8, C(done ? 0x2E9E3E : 0x0E4C96), 230);
+ Mission m;
+ mission_get(pg.mset, i, &m);
+ char t[48];
+ mission_text(&m, t, sizeof t);
+ icon(done ? ICON_CHECK : ICON_STAR, 42, (float)y + 17, 22);
+ d_label(&font_small, 58, y + 14, t, C(WHITE), C(NAVY), 1, -1);
+ uint32_t p = done ? m.target : mission_progress(i);
+ if (p > m.target) p = m.target;
+ d_rrect(58, y + 21, 150, 8, 3, C(0x061A36), 255);
+ d_rrect(59, y + 22, (int)(148 * (float)p / (float)m.target) + 1, 6, 3, C(0x7CFF6A), 255);
+ char n[24];
+ fmt(n, p, true);
+ cat(n, "/");
+ fmt(n + strlen(n), m.target, true);
+ d_label(&font_small, 284, y + 29, n, C(WHITE), C(NAVY), 1, 1);
+ }
+ char nx[40] = "Complete all three: multiplier x";
+ int next = 2 + pg.mset > 30 ? 30 : 2 + pg.mset;
+ fmt(nx + strlen(nx), (uint32_t)next, false);
+ d_label(&font_small, 160, 212, nx, C(GOLD_T), C(NAVY), 1, 0);
+}
+
+static void shop_overlay(void) {
+ /* the top: the shop, and the coins */
+ if (r_y0 < 52) {
+ d_label(&font_mid, 10, 24, "Shop", C(WHITE), C(NAVY), 2, -1);
+ counter(312, 24, ICON_COIN, s_total);
+ int x = 6;
+ for (int t = 0; t < TABS; t++) {
+ int w = d_text_width(&font_small, tab_names[t]) + 18;
+ d_panel(x, 32, w, 20, 7, 2, NAVY, t == shop_tab ? GOLD_T : BLUE_T, t == shop_tab ? GOLD_B : BLUE_B);
+ d_label(&font_small, x + w / 2, 46, tab_names[t], C(WHITE), C(NAVY), 1, 0);
+ x += w + 4;
+ }
+ }
+ bool preview = shop_tab == TAB_CHARS || shop_tab == TAB_BOARDS;
+ int lw = preview ? 190 : 308;
+ int n = shop_rows();
+ for (int r = 0; r < 4 && shop_top + r < n; r++) {
+ int i = shop_top + r, y = 58 + r * 38;
+ if (y > r_y1 || y + 36 < r_y0) continue;
+ bool focus = i == shop_sel;
+ d_panel(6, y, lw, 34, 8, 2, NAVY, focus ? 0x5CC8FF : 0x2C8FE0, focus ? 0x2A86E0 : 0x1462BA);
+ char name[24], sub[48], price[16];
+ int pic = ICON_STAR;
+ sub[0] = price[0] = 0;
+ bool owned = false;
+ switch (shop_tab) {
+ case TAB_UPGRADES: {
+ strcpy(name, upg_names[i]);
+ pic = upg_icons[i];
+ int c = upgrade_cost(pg.upg[i]);
+ if (c) fmt(price, (uint32_t)c, true);
+ else owned = true;
+ /* six steps */
+ for (int k = 0; k < 6; k++) d_rrect(44 + k * 16, y + 22, 13, 7, 2, C(k <= pg.upg[i] ? 0x7CFF6A : 0x0B3A75), 255);
+ char s[12];
+ fmt(s, (uint32_t)power_time(i), false);
+ cat(s, " s");
+ d_label(&font_small, 146, y + 29, s, C(WHITE), C(NAVY), 1, -1);
+ break;
+ }
+ case TAB_ITEMS: {
+ strcpy(name, item_names[i]);
+ strcpy(sub, item_text[i]);
+ pic = item_icons[i];
+ fmt(price, item_price[i], true);
+ uint32_t have = i == 0 ? pg.boards : i == 1 ? pg.headstarts : i == 2 ? pg.boosters : 0;
+ if (i < 3) {
+ char s[12] = "x";
+ fmt(s + 1, have, false);
+ cat(name, " ");
+ cat(name, s);
+ }
+ break;
+ }
+ case TAB_CHARS:
+ strcpy(name, char_names[i]);
+ owned = pg.chars & 1 << i;
+ pic = owned ? (pg.character == i ? ICON_CHECK : ICON_STAR) : ICON_LOCK;
+ strcpy(sub, owned ? (pg.character == i ? "Running" : "OK to choose") : "");
+ if (!owned) fmt(price, char_price[i], true);
+ break;
+ default:
+ strcpy(name, board_names[i]);
+ strcpy(sub, board_power[i]);
+ owned = pg.ownboards & 1 << i;
+ pic = owned ? (pg.board == i ? ICON_CHECK : ICON_BOARD) : ICON_LOCK;
+ if (!owned) fmt(price, board_price[i], true);
+ break;
+ }
+ icon(pic, 24, (float)y + 17, 24);
+ d_label(&font_mid, 42, y + 16, name, C(WHITE), C(NAVY), 2, -1);
+ if (sub[0] && shop_tab != TAB_UPGRADES) d_label(&font_small, 42, y + 29, sub, C(0xD6EEFF), C(NAVY), 1, -1);
+ if (price[0]) {
+ int w = d_text_width(&font_small, price) + 30;
+ d_panel(6 + lw - w - 6, y + 6, w, 22, 7, 2, NAVY, GOLD_T, GOLD_B);
+ icon(ICON_COIN, (float)(6 + lw - w + 6), (float)y + 17, 14);
+ d_label(&font_small, 6 + lw - 10, y + 22, price, C(WHITE), C(NAVY), 1, 1);
+ } else if (owned && shop_tab == TAB_UPGRADES) d_label(&font_small, 6 + lw - 10, y + 22, "MAX", C(GOLD_T), C(NAVY), 1, 1);
+ }
+ if (n > 4 && r_y1 > 210) {
+ d_label(&font_small, 90, 226, shop_top > 0 ? "more above" : "more below", C(0xD6EEFF), C(NAVY), 1, 0);
+ }
+ if (note_t > 0 && r_y1 > 200) {
+ int w = d_text_width(&font_mid, note) + 24;
+ d_panel(160 - w / 2, 206, w, 26, 9, 2, NAVY, 0x7CFF6A, 0x2E9E3E);
+ d_label(&font_mid, 160, 225, note, C(WHITE), C(NAVY), 2, 0);
+ } else if (r_y1 > 214 && n <= 4) d_label(&font_small, 160, 230, "Left, Right: shelves OK: buy Back: leave", C(0xD6EEFF), C(NAVY), 1, 0);
+}
+
+static void overlay(void) {
+ switch (state) {
+ case S_HELP: help_overlay(); break;
+ case S_TITLE: title_overlay(); break;
+ case S_RUN:
+ if (intro > 0.6f) hud();
+ break;
+ case S_PAUSE: hud(), pause_overlay(); break;
+ case S_SAVEME: saveme_overlay(); break;
+ case S_RESULTS: results_overlay(); break;
+ case S_SHOP: shop_overlay(); break;
+ case S_MISSIONS: missions_overlay(); break;
+ case S_QUIT:
+ if (back_to == S_TITLE) title_overlay();
+ quit_overlay();
+ break;
+ }
+}
+
+/* the shop's background: a deep blue, lighter in the middle */
+static void shop_background(void) {
+ for (int y = r_y0; y < r_y1; y++) {
+ uint16_t c = r_565(r_mix888(0x2C8FE0, 0x0B3A75, y * 256 / SCREEN_H));
+ uint16_t *p = r_col + (y - r_y0) * SCREEN_W;
+ for (int x = 0; x < SCREEN_W; x++) p[x] = c;
+ }
+}
+
+static void draw_shop(void) {
+ r_begin();
+ if (shop_tab == TAB_CHARS || shop_tab == TAB_BOARDS) {
+ /* a turning preview, on the right */
+ r_camera(0, 1.25f, -3.6f, 0.08f, 220, 258, 132);
+ float yaw = 3.14159f + clock * 0.9f;
+ /* the stand */
+ V3 st[8];
+ for (int k = 0; k < 8; k++) {
+ float s, c;
+ r_sincos((float)k * 0.785f, &s, &c);
+ st[k] = (V3){s * 0.9f, 0, c * 0.9f};
+ }
+ r_poly(st, 8, 0x1A4F9A, P_NOHAZE, 0);
+ Pose p;
+ if (shop_tab == TAB_CHARS) {
+ pose_stand(&p, clock);
+ p.yaw = yaw;
+ actor_draw(shop_sel, (V3){0, 0, 0}, &p, 1);
+ } else {
+ pose_hover(&p, clock);
+ p.yaw = yaw + 0.3f;
+ board_draw((V3){0, 0.1f, 0}, shop_sel, yaw, clock, 1);
+ actor_draw(pg.character, (V3){0, 0.3f, 0}, &p, 1);
+ }
+ }
+ r_render(shop_background, overlay);
+}
+
+uint32_t perf_polys __attribute__((used)); /* (read by tools/emu.py and the tests) */
+
+void app_draw(void) {
+ /* the numbers on the screens, once a frame */
+ fmt(s_score, run.score, false);
+ fmt(s_coins, run.coins, false);
+ fmt(s_total, pg.coins, false);
+ fmt(s_keys, pg.keys, false);
+ strcpy(s_mult, "x");
+ fmt(s_mult + 1, (uint32_t)(state == S_RUN || state == S_PAUSE ? run.multiplier : multiplier()), false);
+ if (state == S_RESULTS) {
+ strcpy(s_best, "Best: ");
+ fmt(s_best + 6, pg.best, false);
+ } else fmt(s_best, pg.best, false);
+ if (state == S_SHOP) {
+ draw_shop();
+ return;
+ }
+ draw_world();
+ perf_polys = (uint32_t)r_count();
+ r_render(scene_background, overlay);
+}
diff --git a/games/subway/src/app.h b/games/subway/src/app.h
new file mode 100644
index 00000000..dae7f74c
--- /dev/null
+++ b/games/subway/src/app.h
@@ -0,0 +1,12 @@
+/* Subway Surfers: the screens and the way between them - the title, the run, pause, Save me, the results,
+ * the shop, the missions, how to play. */
+#ifndef SS_APP_H
+#define SS_APP_H
+#include <stdbool.h>
+#include <stdint.h>
+
+extern bool app_running;
+void app_init(void);
+void app_step(uint32_t keys, uint32_t pressed); /* a 60th of a second */
+void app_draw(void);
+#endif
diff --git a/games/subway/src/assets.c b/games/subway/src/assets.c
new file mode 100644
index 00000000..8df8a34e
--- /dev/null
+++ b/games/subway/src/assets.c
@@ -0,0 +1,4631 @@
+/* Generated by tools/assets.py from Lilita One by Juan Montoreano (SIL Open Font License 1.1). */
+#include "assets.h"
+
+static const uint8_t font_big_data[11252] = {
+ 250,255,62,250,255,63,249,255,47,248,255,47,248,255,31,247,255,31,247,255,15,246,255,14,
+ 245,255,14,245,255,13,244,255,12,243,255,12,243,255,11,113,135,5,0,0,0,251,255,62,
+ 251,255,79,251,255,79,251,255,79,66,68,3,145,171,2,183,90,243,255,7,255,175,241,255,
+ 8,255,143,224,255,8,255,111,192,255,8,255,79,160,255,8,255,47,128,255,7,255,15,16,
+ 118,1,116,4,0,0,0,16,87,0,0,67,1,0,0,0,0,247,175,0,208,239,2,0,
+ 0,0,192,255,9,64,255,47,0,0,0,32,255,79,0,249,207,0,0,0,0,247,239,0,
+ 224,255,6,0,244,255,255,255,255,255,255,255,191,112,255,255,255,255,255,255,255,255,15,246,
+ 255,255,255,255,255,255,255,223,0,68,212,255,4,16,254,79,68,2,0,32,255,14,0,246,
+ 191,0,0,64,68,249,143,0,176,255,72,36,80,255,255,255,255,255,255,255,255,12,247,255,
+ 255,255,255,255,255,255,255,64,255,255,255,255,255,255,255,255,12,0,208,255,7,80,255,14,
+ 0,0,0,48,255,47,0,250,175,0,0,0,0,248,207,0,241,255,4,0,0,0,192,255,
+ 7,80,255,14,0,0,0,0,196,46,0,161,158,0,0,0,0,0,0,0,4,0,0,0,
+ 0,0,244,3,0,0,0,0,64,79,0,0,0,0,182,254,239,156,3,32,253,255,255,255,
+ 255,18,253,255,255,255,255,63,248,255,255,255,255,239,208,255,239,251,203,255,8,255,255,67,
+ 79,32,39,240,255,31,244,4,0,0,253,255,156,111,3,0,128,255,255,255,255,158,1,225,
+ 255,255,255,255,223,1,211,255,255,255,255,143,0,80,200,207,253,255,13,0,0,244,4,252,
+ 255,146,2,64,79,225,255,159,255,156,250,218,255,207,253,255,255,255,255,255,248,255,255,255,
+ 255,255,30,249,255,255,255,255,78,0,182,255,255,239,42,0,0,16,99,95,0,0,0,0,
+ 0,244,4,0,0,0,0,32,43,0,0,0,32,234,191,3,0,0,0,233,6,0,209,255,
+ 255,63,0,0,96,255,47,0,248,255,255,207,0,0,226,255,12,0,253,175,249,255,1,16,
+ 252,239,2,0,255,13,144,255,3,144,255,95,0,0,255,12,128,255,4,245,255,8,0,0,
+ 254,63,193,255,34,254,207,0,0,0,251,255,255,239,193,255,46,0,0,0,245,255,255,143,
+ 249,255,5,0,0,0,128,255,255,91,255,159,145,254,76,0,0,115,71,226,255,28,252,255,
+ 255,4,0,0,0,252,239,82,255,255,255,12,0,0,128,255,95,144,255,140,255,31,0,0,
+ 245,255,9,176,255,2,249,63,0,32,254,207,1,176,255,0,248,79,0,192,255,46,0,160,
+ 255,22,252,47,0,248,255,6,0,96,255,255,255,14,48,255,175,0,0,16,254,255,255,7,
+ 16,253,29,0,0,0,211,255,143,0,0,113,2,0,0,0,0,67,1,0,0,32,217,255,
+ 173,3,0,0,0,246,255,255,255,143,0,0,64,255,255,255,255,255,5,0,192,255,255,255,
+ 255,255,12,0,241,255,239,101,254,255,14,0,243,255,143,0,248,255,10,0,242,255,159,0,
+ 98,54,0,0,224,255,255,22,16,83,151,155,128,255,255,255,255,255,255,255,16,253,255,255,
+ 255,255,255,239,32,253,255,255,255,255,255,191,209,255,223,254,254,255,125,37,247,255,95,0,
+ 240,255,31,0,250,255,95,0,241,255,95,0,251,255,207,18,249,255,127,0,248,255,255,255,
+ 255,255,111,0,243,255,255,255,255,255,47,0,96,255,255,255,255,255,7,0,0,212,255,255,
+ 255,93,0,0,0,0,99,119,54,0,0,0,183,139,225,255,63,253,255,193,255,14,250,207,
+ 144,255,10,248,143,16,103,1,0,144,123,2,80,255,223,0,252,255,7,243,255,31,128,255,
+ 175,0,253,255,5,241,255,31,64,255,207,0,246,255,10,112,255,143,0,247,255,8,112,255,
+ 143,0,246,255,9,64,255,191,0,241,255,14,0,252,255,4,128,255,159,0,243,255,30,0,
+ 252,255,7,96,255,239,0,192,174,3,48,184,6,0,242,255,46,0,176,255,143,0,80,255,
+ 239,0,0,254,255,4,0,249,255,9,0,244,255,13,0,241,255,15,0,208,255,47,0,192,
+ 255,63,0,176,255,79,0,192,255,63,0,208,255,47,0,240,255,15,0,243,255,12,0,247,
+ 255,9,0,252,255,5,48,255,239,0,160,255,159,0,243,255,47,0,80,252,8,0,0,0,
+ 179,8,0,0,0,0,248,15,0,0,0,0,248,15,0,0,49,0,248,15,32,2,249,223,
+ 253,191,254,47,250,255,255,255,255,47,16,115,255,223,36,1,0,176,239,255,5,0,0,245,
+ 95,252,29,0,0,254,13,244,143,0,0,231,5,176,77,0,0,0,0,35,0,0,0,0,
+ 0,160,255,6,0,0,0,0,176,255,8,0,0,0,0,176,255,8,0,0,0,0,176,255,
+ 8,0,0,0,0,176,255,8,0,0,251,255,255,255,255,255,191,255,255,255,255,255,255,255,
+ 253,255,255,255,255,255,223,66,68,196,255,73,68,36,0,0,176,255,8,0,0,0,0,176,
+ 255,8,0,0,0,0,176,255,8,0,0,0,0,176,255,7,0,0,0,0,48,137,2,0,
+ 0,0,49,52,1,176,255,191,0,251,255,11,192,255,191,48,255,255,5,251,255,13,244,255,
+ 127,64,253,191,1,66,68,68,68,68,52,208,255,255,255,255,255,47,255,255,255,255,255,255,
+ 179,255,255,255,255,255,30,231,255,127,248,255,143,248,255,143,248,255,143,248,255,143,49,68,
+ 36,0,0,0,0,0,0,48,0,0,0,0,0,0,0,248,44,0,0,0,0,0,32,255,
+ 111,0,0,0,0,0,160,255,29,0,0,0,0,0,244,255,5,0,0,0,0,0,252,207,
+ 0,0,0,0,0,96,255,63,0,0,0,0,0,225,255,9,0,0,0,0,0,249,239,1,
+ 0,0,0,0,48,255,127,0,0,0,0,0,176,255,13,0,0,0,0,0,245,255,5,0,
+ 0,0,0,0,253,191,0,0,0,0,0,112,255,63,0,0,0,0,0,226,255,9,0,0,
+ 0,0,0,250,239,1,0,0,0,0,48,255,111,0,0,0,0,0,192,255,12,0,0,0,
+ 0,0,246,255,4,0,0,0,0,16,254,175,0,0,0,0,0,128,255,47,0,0,0,0,
+ 0,242,255,8,0,0,0,0,0,250,223,1,0,0,0,0,0,253,95,0,0,0,0,0,
+ 0,145,9,0,0,0,0,0,0,0,0,164,253,206,40,0,0,0,177,255,255,255,239,6,
+ 0,16,252,255,255,255,255,111,0,144,255,255,255,255,255,255,2,242,255,255,255,255,255,255,
+ 9,247,255,255,75,247,255,255,14,250,255,239,1,112,255,255,63,253,255,143,0,16,255,255,
+ 95,254,255,95,0,0,253,255,127,255,255,79,0,0,251,255,127,255,255,79,0,0,252,255,
+ 127,254,255,111,0,0,254,255,111,252,255,175,0,48,255,255,79,249,255,255,4,177,255,255,
+ 47,244,255,255,207,254,255,255,12,192,255,255,255,255,255,255,6,64,255,255,255,255,255,207,
+ 0,0,245,255,255,255,255,28,0,0,48,252,255,255,143,1,0,0,0,48,118,87,1,0,
+ 0,243,255,255,255,159,246,255,255,255,191,247,255,255,255,191,247,255,255,255,191,245,255,255,
+ 255,191,64,68,252,255,191,0,0,251,255,191,0,0,251,255,191,0,0,251,255,191,0,0,
+ 251,255,191,0,0,251,255,191,0,0,251,255,191,0,0,251,255,191,0,0,251,255,191,0,
+ 0,251,255,191,0,0,251,255,191,0,0,251,255,191,0,0,251,255,191,0,0,233,255,158,
+ 16,166,253,239,107,0,64,254,255,255,255,207,1,251,255,255,255,255,175,144,255,255,255,255,
+ 255,31,244,255,255,255,255,255,3,219,71,229,255,255,79,16,0,0,248,255,255,2,0,0,
+ 160,255,255,13,0,0,32,255,255,143,0,0,0,250,255,239,1,0,0,246,255,255,5,0,
+ 0,243,255,255,8,0,0,226,255,255,10,0,0,209,255,255,10,0,0,193,255,255,191,187,
+ 187,164,255,255,255,255,255,127,251,255,255,255,255,255,135,255,255,255,255,255,111,243,255,255,
+ 255,255,239,2,66,68,68,68,68,1,0,148,236,255,173,4,0,112,255,255,255,255,143,0,
+ 208,255,255,255,255,255,3,160,255,255,255,255,255,7,80,255,255,255,255,255,7,0,121,68,
+ 247,255,255,4,0,0,0,192,255,239,0,0,16,84,250,255,95,0,0,128,255,255,239,5,
+ 0,0,128,255,255,255,43,0,0,80,255,255,255,239,3,0,0,135,217,255,255,12,0,0,
+ 0,80,255,255,47,0,3,0,112,255,255,63,112,207,137,250,255,255,63,224,255,255,255,255,
+ 255,14,244,255,255,255,255,255,8,245,255,255,255,255,207,1,112,254,255,255,239,24,0,0,
+ 48,118,119,20,0,0,0,0,0,251,255,255,14,0,0,0,246,255,255,255,0,0,0,209,
+ 255,255,255,15,0,0,128,255,255,255,255,0,0,32,254,255,255,255,15,0,0,249,255,223,
+ 255,255,0,0,243,255,143,250,255,15,0,176,255,239,161,255,255,0,80,255,255,6,250,255,
+ 15,0,253,255,12,160,255,255,0,247,255,127,68,252,255,79,179,255,255,255,255,255,255,239,
+ 247,255,255,255,255,255,255,31,254,255,255,255,255,255,255,80,255,255,255,255,255,191,10,0,
+ 0,0,248,255,255,0,0,0,0,128,255,255,15,0,0,0,0,248,255,255,0,0,0,0,
+ 80,220,205,9,0,144,187,187,187,187,9,240,255,255,255,255,15,240,255,255,255,255,15,240,
+ 255,255,255,255,14,240,255,255,255,255,12,240,255,79,0,0,0,240,255,79,0,0,0,240,
+ 255,255,223,41,0,240,255,255,255,239,3,240,255,255,255,255,13,144,187,236,255,255,95,0,
+ 0,16,253,255,159,0,0,0,248,255,191,0,0,0,250,255,191,230,89,149,255,255,159,249,
+ 255,255,255,255,79,251,255,255,255,255,11,251,255,255,255,191,1,213,255,255,223,6,0,0,
+ 49,52,2,0,0,0,0,146,253,239,91,0,0,112,255,255,255,255,0,0,247,255,255,255,
+ 239,0,48,255,255,255,255,159,0,192,255,255,207,236,47,0,243,255,255,4,0,2,0,248,
+ 255,175,0,0,0,0,251,255,127,117,103,2,0,253,255,255,255,255,175,1,254,255,255,255,
+ 255,255,10,255,255,255,255,255,255,47,255,255,111,32,251,255,111,253,255,79,0,244,255,127,
+ 251,255,111,0,244,255,127,247,255,223,18,251,255,95,242,255,255,255,255,255,30,128,255,255,
+ 255,255,255,7,0,251,255,255,255,159,0,0,112,254,255,207,5,0,0,0,32,52,1,0,
+ 0,160,187,187,187,187,171,2,242,255,255,255,255,255,11,243,255,255,255,255,255,47,243,255,
+ 255,255,255,255,14,242,255,255,255,255,255,10,96,136,136,248,255,255,5,0,0,0,245,255,
+ 255,1,0,0,0,250,255,207,0,0,0,16,254,255,127,0,0,0,80,255,255,63,0,0,
+ 0,160,255,255,14,0,0,0,225,255,255,9,0,0,0,245,255,255,5,0,0,0,250,255,
+ 255,1,0,0,16,255,255,191,0,0,0,96,255,255,127,0,0,0,176,255,255,63,0,0,
+ 0,241,255,255,13,0,0,0,245,255,255,8,0,0,0,16,34,18,0,0,0,0,0,164,
+ 254,206,24,0,0,0,250,255,255,255,78,0,0,249,255,255,255,255,30,0,242,255,255,255,
+ 255,255,7,96,255,255,75,250,255,175,0,246,255,79,16,255,255,10,64,255,255,8,242,255,
+ 111,0,208,255,255,168,255,223,0,0,228,255,255,255,255,3,0,48,254,255,255,255,223,1,
+ 32,254,255,255,255,255,175,0,251,255,175,145,255,255,47,241,255,255,2,224,255,255,54,255,
+ 255,31,0,252,255,127,243,255,255,8,244,255,255,6,254,255,255,255,255,255,63,128,255,255,
+ 255,255,255,191,0,193,255,255,255,255,223,1,0,145,255,255,255,159,1,0,0,16,117,120,
+ 21,0,0,0,96,235,239,107,0,0,16,252,255,255,255,27,0,192,255,255,255,255,191,0,
+ 246,255,255,255,255,255,5,251,255,239,236,255,255,11,254,255,46,48,255,255,14,255,255,11,
+ 0,253,255,47,254,255,13,0,252,255,63,251,255,175,84,253,255,79,246,255,255,255,255,255,
+ 63,192,255,255,255,255,255,47,16,250,255,255,255,255,31,0,32,118,71,254,255,13,0,0,
+ 0,64,255,255,10,32,105,68,232,255,255,5,112,255,255,255,255,223,0,160,255,255,255,255,
+ 95,0,192,255,255,255,255,8,0,96,254,255,255,76,0,0,0,32,68,20,0,0,0,115,
+ 119,55,248,255,143,248,255,143,248,255,143,248,255,143,181,187,107,0,0,0,0,0,0,0,
+ 0,0,231,255,127,248,255,143,248,255,143,248,255,143,248,255,143,49,68,36,48,119,119,3,
+ 248,255,143,128,255,255,8,248,255,143,128,255,255,8,181,187,107,0,0,0,0,0,0,0,
+ 0,0,0,0,16,67,3,0,255,255,7,240,255,143,16,255,255,7,246,255,47,208,255,175,
+ 96,255,255,4,213,239,9,0,0,0,0,48,0,0,0,0,247,45,0,0,80,255,143,0,
+ 0,227,255,29,0,16,253,223,2,0,192,255,62,0,0,249,255,4,0,112,255,95,0,0,
+ 244,255,6,0,0,244,255,9,0,0,80,255,159,0,0,0,247,255,8,0,0,128,255,143,
+ 0,0,0,250,255,8,0,0,176,255,127,0,0,16,252,143,0,0,0,161,7,96,136,136,
+ 136,136,136,37,255,255,255,255,255,239,243,255,255,255,255,255,14,186,187,187,187,187,139,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,96,136,136,136,136,136,37,255,255,255,255,255,
+ 239,243,255,255,255,255,255,14,186,187,187,187,187,139,0,19,0,0,0,176,191,0,0,0,
+ 244,255,9,0,0,160,255,111,0,0,0,251,255,4,0,0,193,255,46,0,0,16,253,223,
+ 1,0,0,226,255,11,0,0,48,254,143,0,0,96,255,127,0,0,245,255,9,0,80,255,
+ 175,0,0,244,255,27,0,64,255,207,1,0,227,255,45,0,0,244,239,3,0,0,64,58,
+ 0,0,0,0,132,236,255,157,3,0,251,255,255,255,255,7,243,255,255,255,255,255,19,254,
+ 255,255,255,255,159,112,239,138,252,255,255,11,80,0,16,255,255,175,0,0,0,242,255,255,
+ 5,0,0,160,255,255,12,0,0,112,255,255,45,0,0,112,255,255,45,0,0,80,255,255,
+ 45,0,0,0,253,255,79,0,0,0,240,255,255,0,0,0,0,151,137,5,0,0,0,48,
+ 68,36,0,0,0,0,251,255,11,0,0,0,176,255,191,0,0,0,0,251,255,11,0,0,
+ 0,176,255,191,0,0,0,0,67,68,3,0,0,0,0,0,0,32,67,19,0,0,0,0,
+ 0,0,80,234,255,255,207,23,0,0,0,0,212,255,255,255,255,255,77,0,0,0,247,255,
+ 223,138,152,253,255,79,0,0,246,255,76,0,0,0,229,255,30,0,243,255,9,0,149,187,
+ 24,227,255,8,176,255,10,32,252,255,255,8,248,223,48,255,30,48,254,255,255,143,48,255,
+ 47,248,159,16,253,239,250,255,7,240,255,179,255,4,247,255,54,255,95,0,255,79,254,31,
+ 192,255,14,246,255,3,242,255,242,255,0,254,207,128,255,31,96,255,14,255,15,240,255,29,
+ 250,239,32,253,175,224,255,2,253,255,255,255,255,255,255,3,251,111,112,255,255,255,255,255,
+ 239,5,112,255,29,112,253,158,114,253,158,2,0,242,255,27,0,0,0,0,0,0,0,0,
+ 247,255,125,2,0,0,32,0,0,0,0,250,255,255,206,203,253,30,0,0,0,0,247,255,
+ 255,255,255,255,5,0,0,0,0,130,252,255,255,239,26,0,0,0,0,0,0,49,68,35,
+ 0,0,0,0,0,0,160,187,187,187,6,0,0,0,0,242,255,255,255,13,0,0,0,0,
+ 246,255,255,255,47,0,0,0,0,250,255,255,255,95,0,0,0,0,254,255,255,255,159,0,
+ 0,0,48,255,255,254,255,223,0,0,0,112,255,255,247,255,255,2,0,0,176,255,239,241,
+ 255,255,6,0,0,224,255,191,192,255,255,10,0,0,243,255,127,128,255,255,14,0,0,247,
+ 255,63,80,255,255,63,0,0,251,255,191,203,255,255,111,0,16,255,255,255,255,255,255,175,
+ 0,64,255,255,255,255,255,255,239,0,128,255,255,188,187,253,255,255,3,192,255,255,2,0,
+ 243,255,255,7,241,255,239,0,0,224,255,255,11,245,255,175,0,0,160,255,255,14,214,238,
+ 76,0,0,64,253,239,45,178,187,187,187,155,21,0,64,255,255,255,255,255,78,0,244,255,
+ 255,255,255,255,46,64,255,255,255,255,255,255,8,244,255,255,152,254,255,191,64,255,255,15,
+ 96,255,255,11,244,255,255,0,244,255,143,64,255,255,15,195,255,255,2,244,255,255,255,255,
+ 255,5,64,255,255,255,255,255,44,0,244,255,255,255,255,255,78,64,255,255,79,197,255,255,
+ 13,244,255,255,0,245,255,255,68,255,255,15,80,255,255,127,244,255,255,100,253,255,255,71,
+ 255,255,255,255,255,255,95,244,255,255,255,255,255,223,65,255,255,255,255,255,239,3,226,255,
+ 255,255,239,124,1,0,0,0,48,217,255,190,22,0,0,144,255,255,255,255,12,0,176,255,
+ 255,255,255,239,0,128,255,255,255,255,255,10,32,255,255,255,255,255,79,0,248,255,255,126,
+ 84,154,0,208,255,255,62,0,0,0,16,255,255,159,0,0,0,0,243,255,255,5,0,0,
+ 0,64,255,255,79,0,0,0,0,243,255,255,4,0,0,0,32,255,255,127,0,0,0,0,
+ 241,255,255,12,0,0,0,0,252,255,255,25,0,81,0,112,255,255,255,206,252,111,0,225,
+ 255,255,255,255,255,13,0,245,255,255,255,255,255,4,0,246,255,255,255,255,95,0,0,195,
+ 255,255,255,142,0,0,0,32,118,103,4,0,246,255,255,239,140,2,0,176,255,255,255,255,
+ 255,25,0,251,255,255,255,255,255,12,176,255,255,255,255,255,255,8,251,255,255,255,255,255,
+ 239,177,255,255,89,249,255,255,95,251,255,143,0,247,255,255,184,255,255,8,32,255,255,175,
+ 251,255,143,0,241,255,255,187,255,255,8,0,255,255,191,251,255,143,0,241,255,255,186,255,
+ 255,8,48,255,255,159,251,255,143,0,247,255,255,182,255,255,8,227,255,255,63,251,255,239,
+ 252,255,255,207,176,255,255,255,255,255,255,5,251,255,255,255,255,255,9,176,255,255,255,255,
+ 255,8,0,247,255,255,239,140,2,0,0,183,187,187,187,187,10,251,255,255,255,255,31,251,
+ 255,255,255,255,47,251,255,255,255,255,31,251,255,255,255,255,14,251,255,143,0,0,0,251,
+ 255,143,0,0,0,251,255,191,136,40,0,251,255,255,255,127,0,251,255,255,255,127,0,251,
+ 255,255,255,111,0,251,255,191,136,39,0,251,255,143,0,0,0,251,255,143,0,0,0,251,
+ 255,223,187,187,10,251,255,255,255,255,63,251,255,255,255,255,79,251,255,255,255,255,63,249,
+ 255,255,255,255,14,183,187,187,187,187,185,255,255,255,255,239,251,255,255,255,255,191,255,255,
+ 255,255,255,251,255,255,255,255,189,255,255,8,0,0,251,255,143,0,0,176,255,255,8,0,
+ 0,251,255,255,255,47,176,255,255,255,255,3,251,255,255,255,79,176,255,255,255,255,2,251,
+ 255,159,68,4,176,255,255,8,0,0,251,255,143,0,0,176,255,255,8,0,0,251,255,143,
+ 0,0,176,255,255,8,0,0,251,255,127,0,0,32,101,69,0,0,0,0,0,32,200,254,
+ 223,139,2,0,0,248,255,255,255,255,47,0,176,255,255,255,255,255,47,0,248,255,255,255,
+ 255,255,14,48,255,255,255,255,255,255,8,144,255,255,239,72,116,205,1,208,255,255,63,0,
+ 0,0,0,241,255,255,9,0,0,0,0,243,255,255,5,0,0,0,0,244,255,255,4,0,
+ 80,186,57,243,255,255,4,0,176,255,143,242,255,255,7,0,176,255,143,224,255,255,29,0,
+ 176,255,143,176,255,255,191,1,192,255,143,96,255,255,255,207,252,255,143,0,253,255,255,255,
+ 255,255,143,0,243,255,255,255,255,255,143,0,64,254,255,255,255,255,143,0,0,162,255,255,
+ 255,255,76,0,0,0,65,119,103,20,0,232,255,142,0,48,186,187,184,255,255,11,0,248,
+ 255,255,251,255,191,0,128,255,255,191,255,255,11,0,248,255,255,251,255,191,0,128,255,255,
+ 191,255,255,11,0,248,255,255,251,255,191,0,128,255,255,191,255,255,255,255,255,255,255,251,
+ 255,255,255,255,255,255,191,255,255,255,255,255,255,255,251,255,255,255,255,255,255,191,255,255,
+ 255,255,255,255,255,251,255,207,68,148,255,255,191,255,255,11,0,248,255,255,251,255,191,0,
+ 128,255,255,191,255,255,11,0,248,255,255,251,255,191,0,128,255,255,191,255,255,11,0,248,
+ 255,255,233,255,158,0,96,254,239,12,194,204,204,204,204,104,255,255,255,255,239,247,255,255,
+ 255,255,111,255,255,255,255,239,178,235,255,255,189,8,0,251,255,143,0,0,176,255,255,8,
+ 0,0,251,255,143,0,0,176,255,255,8,0,0,251,255,143,0,0,176,255,255,8,0,0,
+ 251,255,143,0,0,176,255,255,8,0,0,251,255,143,0,129,216,255,255,139,85,255,255,255,
+ 255,223,247,255,255,255,255,127,255,255,255,255,239,243,255,255,255,255,10,0,96,204,204,204,
+ 59,0,192,255,255,255,127,0,208,255,255,255,143,0,192,255,255,255,143,0,96,187,255,255,
+ 143,0,0,0,255,255,143,0,0,0,255,255,143,0,0,0,255,255,143,0,0,0,255,255,
+ 143,0,0,0,255,255,143,0,0,0,255,255,143,0,0,0,255,255,143,0,0,32,255,255,
+ 143,128,4,178,255,255,127,245,255,255,255,255,127,251,255,255,255,255,79,253,255,255,255,255,
+ 13,249,255,255,255,239,3,112,253,255,239,25,0,0,32,67,3,0,0,233,255,158,0,144,
+ 187,171,6,251,255,191,0,246,255,255,10,251,255,191,0,253,255,255,2,251,255,191,80,255,
+ 255,143,0,251,255,191,192,255,255,30,0,251,255,191,245,255,255,6,0,251,255,191,252,255,
+ 223,0,0,251,255,239,255,255,95,0,0,251,255,255,255,255,11,0,0,251,255,255,255,255,
+ 7,0,0,251,255,255,255,255,46,0,0,251,255,255,255,255,207,0,0,251,255,207,250,255,
+ 255,8,0,251,255,191,242,255,255,79,0,251,255,191,144,255,255,239,1,251,255,191,32,255,
+ 255,255,11,251,255,191,0,249,255,255,127,251,255,191,0,225,255,255,44,250,255,158,0,96,
+ 255,126,0,0,0,0,0,0,50,0,0,202,221,76,0,0,240,255,255,8,0,0,255,255,
+ 143,0,0,240,255,255,8,0,0,255,255,143,0,0,240,255,255,8,0,0,255,255,143,0,
+ 0,240,255,255,8,0,0,255,255,143,0,0,240,255,255,8,0,0,255,255,143,0,0,240,
+ 255,255,8,0,0,255,255,143,0,0,240,255,255,73,68,3,255,255,255,255,255,243,255,255,
+ 255,255,95,255,255,255,255,255,245,255,255,255,255,95,249,255,255,255,239,1,176,254,239,173,
+ 1,0,16,218,255,223,60,16,255,255,255,127,0,0,246,255,255,255,6,241,255,255,255,13,
+ 0,160,255,255,255,127,32,255,255,255,255,3,0,254,255,255,255,8,242,255,255,255,143,0,
+ 244,255,255,255,143,48,255,255,255,255,13,144,255,255,255,255,9,244,255,255,255,255,4,254,
+ 255,255,255,175,64,255,255,255,255,159,243,255,255,255,255,10,245,255,239,251,255,142,255,255,
+ 251,255,191,80,255,255,109,255,255,255,255,155,255,255,12,246,255,223,242,255,255,255,111,249,
+ 255,207,96,255,255,12,252,255,255,255,130,255,255,13,247,255,207,128,255,255,255,12,247,255,
+ 239,112,255,255,11,243,255,255,143,96,255,255,14,248,255,191,0,253,255,255,3,245,255,255,
+ 128,255,255,10,144,255,255,14,80,255,255,31,249,255,175,0,244,255,159,0,244,255,255,145,
+ 255,255,9,0,254,255,5,48,255,255,47,214,255,93,0,128,238,28,0,209,255,206,1,183,
+ 171,57,0,0,184,187,184,255,255,30,0,240,255,255,251,255,255,8,0,255,255,191,255,255,
+ 239,1,240,255,255,251,255,255,143,0,255,255,191,255,255,255,46,240,255,255,251,255,255,255,
+ 9,255,255,191,255,255,255,255,242,255,255,251,255,255,255,175,255,255,191,255,255,255,255,255,
+ 255,255,251,255,223,255,255,255,255,191,255,255,229,255,255,255,255,251,255,79,248,255,255,255,
+ 191,255,255,20,254,255,255,255,251,255,79,112,255,255,255,191,255,255,4,209,255,255,255,251,
+ 255,79,0,246,255,255,191,255,255,4,0,253,255,255,233,255,61,0,64,253,239,12,0,0,
+ 48,200,254,206,40,0,0,0,16,249,255,255,255,255,8,0,0,193,255,255,255,255,255,175,
+ 0,0,250,255,255,255,255,255,255,7,48,255,255,255,255,255,255,255,30,144,255,255,239,70,
+ 248,255,255,111,224,255,255,63,0,96,255,255,175,241,255,255,9,0,0,253,255,223,243,255,
+ 255,5,0,0,249,255,239,244,255,255,4,0,0,248,255,255,243,255,255,4,0,0,248,255,
+ 255,242,255,255,7,0,0,250,255,239,240,255,255,12,0,16,254,255,207,192,255,255,127,0,
+ 177,255,255,143,96,255,255,255,205,254,255,255,63,16,254,255,255,255,255,255,255,11,0,244,
+ 255,255,255,255,255,239,2,0,80,254,255,255,255,255,62,0,0,0,162,255,255,255,158,1,
+ 0,0,0,0,81,119,71,1,0,0,182,187,187,171,55,0,0,251,255,255,255,255,44,0,
+ 251,255,255,255,255,239,2,251,255,255,255,255,255,9,251,255,255,255,255,255,14,251,255,143,
+ 113,255,255,63,251,255,143,16,255,255,79,251,255,143,16,255,255,63,251,255,143,128,255,255,
+ 31,251,255,223,253,255,255,10,251,255,255,255,255,255,3,251,255,255,255,255,127,0,251,255,
+ 255,255,239,6,0,251,255,223,155,21,0,0,251,255,143,0,0,0,0,251,255,143,0,0,
+ 0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,250,255,111,0,0,0,0,16,
+ 18,0,0,0,0,0,0,0,48,200,254,206,40,0,0,0,16,249,255,255,255,255,8,0,
+ 0,193,255,255,255,255,255,175,0,0,250,255,255,255,255,255,255,7,48,255,255,255,255,255,
+ 255,255,30,144,255,255,239,70,248,255,255,111,224,255,255,47,0,80,255,255,175,241,255,255,
+ 9,0,0,253,255,223,243,255,255,5,0,0,249,255,239,244,255,255,4,0,0,248,255,255,
+ 243,255,255,4,0,0,248,255,255,242,255,255,7,0,0,251,255,239,240,255,255,12,0,32,
+ 255,255,191,176,255,255,143,0,177,255,255,143,96,255,255,255,206,255,255,255,63,0,253,255,
+ 255,255,255,255,255,11,0,243,255,255,255,255,255,239,2,0,64,254,255,255,255,255,61,0,
+ 0,0,162,255,255,255,158,1,0,0,0,0,97,255,255,110,0,0,0,0,0,0,246,255,
+ 255,27,0,0,0,0,0,112,255,255,127,0,0,0,0,0,0,249,255,28,0,0,0,0,
+ 0,0,160,158,1,0,182,187,187,187,105,1,0,176,255,255,255,255,255,8,0,251,255,255,
+ 255,255,255,8,176,255,255,255,255,255,255,2,251,255,255,255,255,255,111,176,255,255,24,248,
+ 255,255,7,251,255,143,16,255,255,127,176,255,255,8,241,255,255,4,251,255,143,162,255,255,
+ 14,176,255,255,255,255,255,95,0,251,255,255,255,255,127,0,176,255,255,255,255,255,5,0,
+ 251,255,191,252,255,239,1,176,255,255,72,255,255,159,0,251,255,143,208,255,255,63,176,255,
+ 255,8,247,255,255,12,251,255,143,16,254,255,255,180,255,255,8,144,255,255,9,249,255,110,
+ 0,210,223,5,0,0,0,0,0,16,0,0,0,0,181,254,223,139,2,0,177,255,255,255,
+ 255,14,0,251,255,255,255,255,13,80,255,255,255,255,255,9,144,255,255,239,220,255,3,176,
+ 255,255,31,0,99,0,176,255,255,159,1,0,0,128,255,255,255,142,1,0,48,255,255,255,
+ 255,78,0,0,249,255,255,255,255,5,0,144,255,255,255,255,30,0,0,180,255,255,255,95,
+ 32,4,0,211,255,255,127,160,175,2,128,255,255,127,241,255,223,252,255,255,95,243,255,255,
+ 255,255,255,30,243,255,255,255,255,255,8,160,255,255,255,255,207,1,0,214,255,255,239,7,
+ 0,0,0,49,52,2,0,0,247,255,255,255,255,255,63,250,255,255,255,255,255,127,251,255,
+ 255,255,255,255,127,250,255,255,255,255,255,127,247,255,255,255,255,255,63,0,0,251,255,143,
+ 0,0,0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,
+ 0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,251,255,
+ 143,0,0,0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,251,255,143,0,0,
+ 0,0,251,255,143,0,0,0,0,251,255,143,0,0,0,0,250,255,111,0,0,0,0,16,
+ 34,1,0,0,178,221,205,4,0,199,221,172,244,255,255,8,0,251,255,255,244,255,255,8,
+ 0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,
+ 0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,
+ 0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,0,251,255,255,244,255,255,8,
+ 0,251,255,255,244,255,255,8,0,251,255,255,243,255,255,60,64,254,255,255,224,255,255,255,
+ 255,255,255,207,144,255,255,255,255,255,255,143,16,253,255,255,255,255,255,29,0,210,255,255,
+ 255,255,223,2,0,0,198,255,255,223,23,0,0,0,0,49,52,1,0,0,215,254,206,4,
+ 0,144,253,239,93,246,255,255,10,0,241,255,255,79,242,255,255,13,0,244,255,255,14,208,
+ 255,255,31,0,247,255,255,11,144,255,255,79,0,250,255,255,7,80,255,255,127,0,252,255,
+ 255,3,16,255,255,175,0,255,255,239,0,0,252,255,223,48,255,255,175,0,0,248,255,255,
+ 97,255,255,111,0,0,245,255,255,132,255,255,47,0,0,241,255,255,183,255,255,12,0,0,
+ 192,255,255,233,255,255,8,0,0,128,255,255,254,255,255,4,0,0,64,255,255,255,255,255,
+ 1,0,0,0,254,255,255,255,191,0,0,0,0,251,255,255,255,127,0,0,0,0,247,255,
+ 255,255,63,0,0,0,0,243,255,255,255,14,0,0,0,0,144,220,222,188,6,0,0,229,
+ 255,223,5,0,228,255,12,0,128,237,255,29,244,255,255,9,0,249,255,47,0,208,255,255,
+ 14,241,255,255,11,0,253,255,111,0,240,255,255,12,224,255,255,12,32,255,255,175,0,242,
+ 255,255,9,192,255,255,14,80,255,255,223,0,244,255,255,6,144,255,255,31,144,255,255,255,
+ 2,247,255,255,3,112,255,255,63,208,255,255,255,5,249,255,255,1,80,255,255,79,242,255,
+ 255,255,9,251,255,223,0,48,255,255,111,245,255,255,255,13,253,255,175,0,0,255,255,143,
+ 249,255,255,255,47,255,255,127,0,0,253,255,175,253,255,255,255,127,255,255,95,0,0,251,
+ 255,223,255,255,250,255,223,255,255,47,0,0,248,255,255,255,255,212,255,255,255,255,14,0,
+ 0,246,255,255,255,239,160,255,255,255,255,11,0,0,244,255,255,255,175,96,255,255,255,255,
+ 9,0,0,241,255,255,255,111,32,255,255,255,255,6,0,0,224,255,255,255,47,0,254,255,
+ 255,255,3,0,0,192,255,255,255,13,0,250,255,255,255,1,0,0,96,253,255,206,6,0,
+ 196,254,239,124,0,0,212,254,223,42,0,80,236,255,141,225,255,255,159,0,225,255,255,79,
+ 112,255,255,239,1,246,255,255,11,16,254,255,255,6,253,255,255,4,0,247,255,255,92,255,
+ 255,207,0,0,225,255,255,239,255,255,79,0,0,112,255,255,255,255,255,12,0,0,16,254,
+ 255,255,255,255,5,0,0,0,248,255,255,255,207,0,0,0,0,244,255,255,255,111,0,0,
+ 0,0,251,255,255,255,175,0,0,0,32,255,255,255,255,255,3,0,0,144,255,255,255,255,
+ 255,11,0,0,241,255,255,219,255,255,79,0,0,248,255,255,118,255,255,207,0,16,254,255,
+ 255,17,255,255,255,5,96,255,255,191,0,250,255,255,13,208,255,255,95,0,244,255,255,111,
+ 211,254,239,26,0,128,237,255,174,194,254,239,59,0,16,217,255,206,192,255,255,191,0,96,
+ 255,255,143,64,255,255,255,1,192,255,255,30,0,251,255,255,7,244,255,255,8,0,244,255,
+ 255,12,250,255,239,1,0,176,255,255,79,255,255,143,0,0,48,255,255,239,255,255,30,0,
+ 0,0,251,255,255,255,255,9,0,0,0,243,255,255,255,255,2,0,0,0,160,255,255,255,
+ 159,0,0,0,0,48,255,255,255,47,0,0,0,0,0,250,255,255,9,0,0,0,0,0,
+ 248,255,255,8,0,0,0,0,0,248,255,255,8,0,0,0,0,0,248,255,255,8,0,0,
+ 0,0,0,248,255,255,8,0,0,0,0,0,248,255,255,8,0,0,0,0,0,248,255,255,
+ 8,0,0,0,0,0,196,254,206,4,0,0,245,255,255,255,255,239,5,249,255,255,255,255,
+ 255,30,250,255,255,255,255,255,79,250,255,255,255,255,255,127,246,255,255,255,255,255,63,0,
+ 0,16,254,255,255,8,0,0,144,255,255,223,0,0,0,244,255,255,63,0,0,16,253,255,
+ 255,8,0,0,128,255,255,223,1,0,0,243,255,255,79,0,0,0,252,255,255,9,0,0,
+ 112,255,255,223,1,0,0,226,255,255,143,68,68,1,251,255,255,255,255,255,11,254,255,255,
+ 255,255,255,14,250,255,255,255,255,255,15,245,255,255,255,255,255,13,208,255,255,255,255,255,
+ 8,132,136,136,39,251,255,255,143,251,255,255,159,251,223,187,75,251,143,0,0,251,143,0,
+ 0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,
+ 0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,
+ 0,251,143,0,0,251,143,0,0,251,143,0,0,251,143,0,0,251,255,255,111,251,255,255,
+ 159,251,255,255,127,66,68,68,4,0,3,0,0,0,0,0,0,210,143,0,0,0,0,0,
+ 0,247,255,2,0,0,0,0,0,209,255,10,0,0,0,0,0,96,255,79,0,0,0,0,
+ 0,0,252,207,0,0,0,0,0,0,243,255,6,0,0,0,0,0,160,255,30,0,0,0,
+ 0,0,32,254,159,0,0,0,0,0,0,247,255,2,0,0,0,0,0,208,255,11,0,0,
+ 0,0,0,80,255,79,0,0,0,0,0,0,251,223,0,0,0,0,0,0,243,255,7,0,
+ 0,0,0,0,144,255,30,0,0,0,0,0,16,254,159,0,0,0,0,0,0,247,255,3,
+ 0,0,0,0,0,208,255,11,0,0,0,0,0,64,255,95,0,0,0,0,0,0,251,223,
+ 1,0,0,0,0,0,242,255,7,0,0,0,0,0,128,255,46,0,0,0,0,0,16,254,
+ 175,0,0,0,0,0,0,246,191,0,0,0,0,0,0,144,24,96,136,136,120,33,255,255,
+ 255,79,243,255,255,255,4,186,187,255,79,0,0,240,255,4,0,0,255,79,0,0,240,255,
+ 4,0,0,255,79,0,0,240,255,4,0,0,255,79,0,0,240,255,4,0,0,255,79,0,
+ 0,240,255,4,0,0,255,79,0,0,240,255,4,0,0,255,79,0,0,240,255,4,0,0,
+ 255,79,0,0,240,255,4,0,0,255,79,0,0,240,255,4,0,0,255,79,225,255,255,255,
+ 52,255,255,255,79,242,255,255,255,3,67,68,68,3,0,0,0,64,4,0,0,0,0,0,
+ 0,80,255,7,0,0,0,0,0,112,255,255,10,0,0,0,0,128,255,255,255,28,0,0,
+ 0,160,255,159,246,255,61,0,0,177,255,159,0,245,255,94,0,193,255,143,0,0,228,255,
+ 127,160,255,143,0,0,0,211,255,63,247,143,0,0,0,0,194,223,0,120,0,0,0,0,
+ 0,129,2,65,68,68,68,68,68,68,145,255,255,255,255,255,255,159,251,255,255,255,255,255,
+ 255,123,255,255,255,255,255,255,127,16,0,0,229,24,0,253,239,7,253,255,223,80,251,223,
+ 0,48,73,0,81,168,187,89,0,0,0,249,255,255,255,11,0,0,250,255,255,255,127,0,
+ 0,245,205,252,255,207,0,0,16,0,192,255,239,0,0,114,186,235,255,239,0,80,255,255,
+ 255,255,239,0,242,255,255,255,255,239,0,246,255,127,176,255,239,0,247,255,79,176,255,255,
+ 39,246,255,239,252,255,255,175,242,255,255,255,255,255,191,112,255,255,255,238,255,159,0,230,
+ 255,207,67,254,63,0,0,67,2,0,48,2,250,255,12,0,0,0,176,255,239,0,0,0,
+ 0,251,255,14,0,0,0,176,255,239,0,0,0,0,251,255,14,0,0,0,176,255,255,185,
+ 138,2,0,251,255,255,255,255,6,176,255,255,255,255,255,4,251,255,255,255,255,191,176,255,
+ 255,185,255,255,31,251,255,14,225,255,255,179,255,239,0,252,255,79,251,255,14,176,255,255,
+ 179,255,239,0,253,255,47,251,255,14,243,255,239,176,255,255,236,255,255,10,251,255,255,255,
+ 255,63,176,255,255,255,255,127,0,179,255,255,255,110,0,0,16,117,119,4,0,0,0,0,
+ 148,187,105,0,0,161,255,255,255,28,0,251,255,255,255,63,96,255,255,255,255,47,192,255,
+ 255,156,254,12,241,255,255,1,211,4,243,255,207,0,0,0,244,255,191,0,0,0,243,255,
+ 223,0,0,0,241,255,255,7,81,1,176,255,255,255,255,6,48,255,255,255,255,9,0,246,
+ 255,255,255,11,0,64,252,255,223,5,0,0,32,52,2,0,0,0,0,0,252,239,9,0,
+ 0,0,0,224,255,191,0,0,0,0,0,254,255,11,0,0,0,0,224,255,191,0,0,0,
+ 0,0,254,255,11,0,0,32,118,246,255,191,0,0,144,255,255,255,255,11,0,176,255,255,
+ 255,255,191,0,96,255,255,255,255,255,11,0,252,255,239,252,255,191,0,241,255,255,2,254,
+ 255,11,48,255,255,12,224,255,191,0,244,255,191,0,254,255,11,48,255,255,13,224,255,191,
+ 0,241,255,255,37,254,255,76,1,252,255,255,255,255,255,143,96,255,255,255,255,255,255,11,
+ 176,255,255,255,255,255,175,0,161,255,255,94,252,255,4,0,48,119,21,0,117,4,0,0,
+ 148,187,89,0,0,16,250,255,255,207,1,0,251,255,255,255,207,0,246,255,255,255,255,79,
+ 192,255,239,118,255,255,23,255,255,11,241,255,127,243,255,239,219,255,255,68,255,255,255,255,
+ 255,12,243,255,255,255,255,26,16,255,255,77,52,1,0,160,255,255,71,133,94,0,243,255,
+ 255,255,255,11,0,245,255,255,255,207,0,0,179,255,255,174,2,0,0,16,51,2,0,0,
+ 0,16,216,255,157,4,0,252,255,255,223,0,246,255,255,255,9,144,255,255,220,47,0,251,
+ 255,13,32,16,196,255,207,68,0,247,255,255,255,63,112,255,255,255,255,4,247,255,255,255,
+ 47,16,196,255,239,52,0,0,251,255,14,0,0,176,255,239,0,0,0,251,255,14,0,0,
+ 176,255,239,0,0,0,251,255,14,0,0,176,255,239,0,0,0,251,255,14,0,0,176,255,
+ 239,0,0,0,251,255,14,0,0,16,67,35,0,0,0,0,114,186,155,22,0,0,249,255,
+ 255,255,110,0,250,255,255,255,255,11,246,255,255,255,255,191,192,255,255,207,255,255,27,255,
+ 255,63,224,255,191,243,255,223,0,254,255,75,255,255,11,224,255,191,243,255,223,0,254,255,
+ 27,255,255,79,224,255,191,192,255,255,239,255,255,11,246,255,255,255,255,191,0,251,255,255,
+ 255,255,11,0,215,255,255,255,191,0,0,16,1,254,255,11,112,123,69,247,255,191,0,251,
+ 255,255,255,255,7,192,255,255,255,255,28,0,214,255,255,239,24,0,0,16,67,35,0,0,
+ 233,239,9,0,0,0,251,255,11,0,0,0,251,255,11,0,0,0,251,255,11,0,0,0,
+ 251,255,11,0,0,0,251,255,76,119,21,0,251,255,255,255,239,4,251,255,255,255,255,14,
+ 251,255,255,255,255,79,251,255,223,253,255,127,251,255,12,241,255,127,251,255,11,240,255,143,
+ 251,255,11,240,255,143,251,255,11,240,255,143,251,255,11,240,255,143,251,255,11,240,255,143,
+ 251,255,11,240,255,143,251,255,11,240,255,143,251,255,11,240,255,127,49,52,2,32,51,19,
+ 250,255,62,251,255,79,251,255,79,251,255,79,66,68,20,67,68,19,251,255,79,251,255,79,
+ 251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,
+ 251,255,79,251,255,79,251,255,79,50,68,20,0,0,160,255,239,3,0,0,251,255,79,0,
+ 0,176,255,255,4,0,0,251,255,79,0,0,32,68,68,1,0,0,84,85,21,0,0,176,
+ 255,255,4,0,0,251,255,79,0,0,176,255,255,4,0,0,251,255,79,0,0,176,255,255,
+ 4,0,0,251,255,79,0,0,176,255,255,4,0,0,251,255,79,0,0,176,255,255,4,0,
+ 0,251,255,79,0,0,176,255,255,4,0,0,251,255,79,0,0,192,255,255,4,0,48,255,
+ 255,79,112,168,254,255,255,19,255,255,255,255,14,241,255,255,255,78,0,230,255,255,42,0,
+ 0,48,52,0,0,0,233,255,13,0,0,0,176,255,239,0,0,0,0,251,255,14,0,0,
+ 0,176,255,239,0,0,0,0,251,255,14,0,0,0,176,255,239,0,97,119,55,251,255,14,
+ 176,255,255,179,255,239,64,255,255,8,251,255,14,252,255,29,176,255,239,245,255,95,0,251,
+ 255,222,255,175,0,176,255,255,255,255,4,0,251,255,255,255,175,0,176,255,239,253,255,63,
+ 0,251,255,110,255,255,11,176,255,239,225,255,255,4,251,255,14,248,255,207,176,255,239,16,
+ 255,255,95,251,255,14,144,255,255,29,67,35,0,49,68,35,233,255,62,251,255,79,251,255,
+ 79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,
+ 79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,251,255,79,250,255,
+ 62,80,155,2,113,186,57,48,184,139,2,16,255,255,232,255,255,191,255,255,239,4,245,255,
+ 255,255,255,255,255,255,255,223,80,255,255,255,255,255,255,255,255,255,63,226,255,255,207,250,
+ 255,255,202,255,255,6,176,255,239,16,255,255,11,244,255,127,0,251,255,14,240,255,175,64,
+ 255,255,7,176,255,239,0,255,255,10,244,255,127,0,251,255,14,240,255,175,64,255,255,7,
+ 176,255,239,0,255,255,10,244,255,127,0,251,255,14,240,255,175,64,255,255,7,176,255,239,
+ 0,255,255,10,244,255,127,0,251,255,14,240,255,175,64,255,255,7,176,255,239,0,254,255,
+ 10,227,255,127,0,32,34,1,0,0,0,0,0,0,0,80,155,2,114,186,106,0,241,255,
+ 159,254,255,255,28,245,255,255,255,255,255,127,245,255,255,255,255,255,191,226,255,255,207,249,
+ 255,223,0,251,255,14,192,255,239,0,251,255,14,176,255,239,0,251,255,14,176,255,239,0,
+ 251,255,14,176,255,239,0,251,255,14,176,255,239,0,251,255,14,176,255,239,0,251,255,14,
+ 176,255,239,0,251,255,14,176,255,239,0,251,255,14,176,255,239,0,0,17,0,0,33,2,
+ 0,0,149,187,89,0,0,0,194,255,255,255,28,0,16,253,255,255,255,207,0,112,255,255,
+ 255,255,255,7,208,255,255,221,255,255,12,242,255,207,0,252,255,31,243,255,143,0,248,255,
+ 63,244,255,127,0,248,255,63,243,255,159,0,250,255,47,240,255,239,102,255,255,14,160,255,
+ 255,255,255,255,10,48,255,255,255,255,255,3,0,247,255,255,255,111,0,0,64,252,255,207,
+ 4,0,0,0,16,51,1,0,0,64,171,3,113,186,57,0,16,254,255,233,255,255,143,0,
+ 245,255,255,255,255,255,111,80,255,255,255,255,255,255,13,225,255,255,255,255,255,255,3,128,
+ 255,255,23,250,255,111,0,248,255,111,80,255,255,7,128,255,255,6,244,255,111,0,248,255,
+ 111,80,255,255,5,128,255,255,6,250,255,47,0,248,255,255,255,255,223,0,128,255,255,255,
+ 255,255,5,0,248,255,255,255,255,9,0,128,255,255,254,207,6,0,0,248,255,63,0,0,
+ 0,0,128,255,255,3,0,0,0,0,248,255,63,0,0,0,0,128,255,255,3,0,0,0,
+ 0,214,221,61,0,0,0,0,0,0,131,186,155,21,0,16,250,255,255,255,110,0,252,255,
+ 255,255,255,10,247,255,255,255,255,175,208,255,255,138,255,255,42,255,255,11,240,255,175,243,
+ 255,127,0,255,255,74,255,255,7,240,255,175,243,255,143,0,255,255,26,255,255,62,241,255,
+ 175,176,255,255,255,255,255,10,244,255,255,255,255,175,0,249,255,255,255,255,10,0,232,255,
+ 255,255,175,0,0,48,35,255,255,10,0,0,0,240,255,175,0,0,0,0,255,255,10,0,
+ 0,0,240,255,175,0,0,0,0,255,255,10,0,0,0,32,68,19,128,139,1,129,155,66,
+ 255,207,210,255,127,247,255,223,255,255,118,255,255,255,255,47,227,255,255,239,221,0,176,255,
+ 255,6,1,0,251,255,79,0,0,176,255,255,4,0,0,251,255,79,0,0,176,255,255,4,
+ 0,0,251,255,79,0,0,176,255,255,4,0,0,251,255,79,0,0,176,255,255,4,0,0,
+ 33,34,1,0,0,0,32,184,171,89,1,0,248,255,255,255,30,80,255,255,255,255,14,160,
+ 255,255,206,254,7,176,255,255,9,64,0,144,255,255,207,4,0,64,255,255,255,191,2,0,
+ 248,255,255,255,29,0,80,252,255,255,111,112,6,96,255,255,127,242,223,153,255,255,111,245,
+ 255,255,255,255,31,243,255,255,255,255,6,64,251,255,255,92,0,0,0,67,19,0,0,0,
+ 82,86,3,0,0,250,255,15,0,0,250,255,15,0,130,253,255,143,72,247,255,255,255,191,
+ 247,255,255,255,191,246,255,255,255,175,65,252,255,127,36,0,250,255,95,0,0,250,255,95,
+ 0,0,250,255,95,0,0,250,255,95,0,0,250,255,95,0,0,250,255,95,0,0,250,255,
+ 95,0,0,250,255,95,0,0,250,255,79,0,0,16,34,1,0,152,153,5,128,153,89,0,
+ 255,255,10,240,255,175,0,255,255,10,240,255,175,0,255,255,10,240,255,175,0,255,255,10,
+ 240,255,175,0,255,255,10,240,255,175,0,255,255,10,240,255,175,0,255,255,10,240,255,175,
+ 0,255,255,11,240,255,175,0,254,255,29,245,255,223,6,253,255,255,255,255,255,31,249,255,
+ 255,255,255,255,47,226,255,255,255,254,255,14,48,252,255,175,162,255,7,0,16,51,1,0,
+ 50,0,184,187,75,0,163,187,139,248,255,143,0,247,255,159,245,255,191,0,249,255,95,241,
+ 255,239,0,252,255,31,192,255,255,2,254,255,11,128,255,255,38,255,255,7,64,255,255,73,
+ 255,255,3,0,254,255,108,255,223,0,0,251,255,159,255,159,0,0,247,255,239,255,95,0,
+ 0,243,255,255,255,31,0,0,224,255,255,255,11,0,0,160,255,255,255,7,0,0,80,253,
+ 255,223,2,0,116,136,7,0,100,102,0,80,136,103,248,255,47,0,251,255,4,208,255,223,
+ 245,255,79,0,254,255,8,224,255,175,242,255,111,48,255,255,11,241,255,127,224,255,143,112,
+ 255,255,31,242,255,79,192,255,175,176,255,255,79,244,255,31,144,255,207,224,255,255,143,246,
+ 255,13,96,255,239,243,255,255,191,247,255,10,64,255,255,248,255,251,255,250,255,7,16,255,
+ 255,254,223,246,255,254,255,4,0,253,255,255,175,243,255,255,255,1,0,250,255,255,127,241,
+ 255,255,223,0,0,248,255,255,63,208,255,255,175,0,0,245,255,255,14,160,255,255,127,0,
+ 0,32,67,52,1,0,67,52,2,0,164,187,154,1,128,187,171,53,255,255,111,16,255,255,
+ 47,176,255,255,11,247,255,175,0,244,255,255,209,255,255,3,0,252,255,175,255,255,11,0,
+ 80,255,255,255,255,63,0,0,208,255,255,255,191,0,0,0,248,255,255,255,7,0,0,225,
+ 255,255,255,223,0,0,112,255,255,251,255,127,0,0,253,255,46,255,255,30,0,246,255,159,
+ 192,255,255,8,208,255,255,4,247,255,239,65,237,255,13,32,254,239,109,182,187,58,0,160,
+ 187,171,97,255,255,9,48,255,255,13,225,255,223,0,248,255,143,0,250,255,63,192,255,255,
+ 3,64,255,255,23,255,255,12,0,208,255,207,246,255,127,0,0,248,255,207,255,255,2,0,
+ 32,255,255,255,255,12,0,0,192,255,255,255,111,0,0,0,246,255,255,255,1,0,0,16,
+ 255,255,255,11,0,0,0,160,255,255,111,0,0,0,0,244,255,255,1,0,0,0,112,255,
+ 255,10,0,0,0,0,253,255,95,0,0,0,0,244,255,239,0,0,0,0,160,255,255,9,
+ 0,0,0,32,255,255,79,0,0,0,0,164,187,187,0,0,0,0,80,136,136,136,136,3,
+ 208,255,255,255,255,12,240,255,255,255,255,79,240,255,255,255,255,79,176,187,203,255,255,7,
+ 0,0,176,255,175,0,0,0,249,255,29,0,0,112,255,239,3,0,0,245,255,95,0,0,
+ 48,254,255,75,101,39,209,255,255,255,255,127,242,255,255,255,255,127,176,255,255,255,255,111,
+ 64,255,255,255,255,79,0,0,179,7,0,32,254,143,0,160,255,62,0,224,255,7,0,240,
+ 255,4,0,240,255,4,0,240,255,4,0,240,255,4,0,240,255,4,0,240,255,4,0,240,
+ 255,4,0,242,255,3,32,252,239,1,225,255,127,0,242,255,13,0,224,255,127,0,16,252,
+ 239,1,0,243,255,4,0,240,255,4,0,240,255,4,0,240,255,4,0,240,255,4,0,240,
+ 255,4,0,240,255,4,0,240,255,4,0,224,255,7,0,160,255,46,0,32,254,127,0,0,
+ 180,6,177,157,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,
+ 244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,
+ 244,255,244,255,244,255,244,255,244,255,244,255,244,255,210,191,195,94,0,160,255,63,0,226,
+ 255,11,0,246,255,0,64,255,15,0,244,255,0,64,255,15,0,244,255,0,64,255,15,0,
+ 244,255,0,64,255,15,0,243,255,3,0,254,223,3,96,255,239,0,209,255,15,144,255,191,
+ 16,255,175,0,244,255,2,64,255,15,0,244,255,0,64,255,15,0,244,255,0,64,255,15,
+ 0,244,255,0,64,255,15,0,247,239,0,244,255,9,144,255,46,0,96,59,0,0,32,234,
+ 174,4,212,68,254,255,255,255,223,244,223,253,255,255,10,105,0,180,238,24,
+};
+static const Glyph font_big_glyphs[95] = {
+ {0, 0, 0, 0, 6, 0},
+ {6, 20, 1, -19, 8, 0},
+ {10, 8, 1, -19, 13, 60},
+ {19, 19, 2, -19, 23, 100},
+ {13, 25, 1, -22, 15, 281},
+ {20, 20, 1, -19, 22, 444},
+ {16, 20, 1, -19, 19, 644},
+ {5, 8, 2, -19, 9, 804},
+ {7, 21, 2, -19, 12, 824},
+ {8, 21, 2, -19, 12, 898},
+ {12, 11, 2, -19, 16, 982},
+ {14, 15, 1, -17, 17, 1048},
+ {7, 8, 1, -5, 9, 1153},
+ {13, 4, 1, -9, 15, 1181},
+ {6, 6, 0, -5, 7, 1207},
+ {16, 25, 0, -22, 16, 1225},
+ {16, 20, 1, -19, 18, 1425},
+ {10, 19, 0, -19, 11, 1585},
+ {13, 20, 1, -19, 15, 1680},
+ {14, 20, 0, -19, 15, 1810},
+ {15, 19, 0, -19, 17, 1950},
+ {12, 20, 1, -19, 15, 2093},
+ {14, 20, 1, -19, 16, 2213},
+ {14, 20, 0, -19, 14, 2353},
+ {15, 20, 0, -19, 16, 2493},
+ {14, 20, 1, -19, 16, 2643},
+ {6, 15, 1, -14, 8, 2783},
+ {7, 17, 0, -14, 8, 2828},
+ {10, 17, 1, -18, 14, 2888},
+ {13, 10, 1, -14, 16, 2973},
+ {10, 17, 1, -18, 13, 3038},
+ {13, 20, 1, -19, 16, 3123},
+ {21, 22, 1, -19, 24, 3253},
+ {18, 19, 0, -19, 18, 3484},
+ {15, 19, 1, -19, 17, 3655},
+ {15, 20, 0, -19, 16, 3798},
+ {15, 19, 1, -19, 17, 3948},
+ {12, 19, 1, -19, 14, 4091},
+ {11, 20, 1, -19, 13, 4205},
+ {16, 20, 0, -19, 17, 4315},
+ {15, 19, 1, -19, 18, 4475},
+ {11, 19, 0, -19, 12, 4618},
+ {12, 20, 0, -19, 13, 4723},
+ {16, 20, 1, -19, 17, 4843},
+ {11, 19, 1, -19, 12, 5003},
+ {23, 19, 1, -19, 25, 5108},
+ {15, 19, 1, -19, 18, 5327},
+ {18, 20, 0, -19, 19, 5470},
+ {14, 20, 1, -19, 16, 5650},
+ {18, 24, 0, -19, 20, 5790},
+ {15, 20, 1, -19, 16, 6006},
+ {14, 20, 0, -19, 15, 6156},
+ {14, 20, 0, -19, 14, 6296},
+ {16, 20, 0, -19, 17, 6436},
+ {18, 19, 0, -19, 18, 6596},
+ {26, 19, 0, -19, 26, 6767},
+ {18, 19, 0, -19, 19, 7014},
+ {18, 19, -1, -19, 17, 7185},
+ {14, 19, 1, -19, 16, 7356},
+ {8, 26, 2, -22, 11, 7489},
+ {16, 25, 0, -22, 16, 7593},
+ {9, 26, 0, -22, 11, 7793},
+ {17, 10, 1, -19, 19, 7910},
+ {15, 4, 1, 0, 18, 7995},
+ {6, 6, 2, -20, 10, 8025},
+ {14, 15, 0, -14, 14, 8043},
+ {13, 20, 1, -19, 15, 8148},
+ {12, 15, 0, -14, 12, 8278},
+ {15, 20, 0, -19, 16, 8368},
+ {13, 15, 0, -14, 14, 8518},
+ {11, 20, 0, -19, 11, 8616},
+ {13, 20, 0, -14, 14, 8726},
+ {12, 20, 1, -19, 14, 8856},
+ {6, 20, 1, -19, 8, 8976},
+ {11, 25, -4, -19, 8, 9036},
+ {13, 20, 1, -19, 15, 9174},
+ {6, 19, 1, -19, 8, 9304},
+ {21, 15, 0, -14, 22, 9361},
+ {14, 15, 0, -14, 15, 9519},
+ {14, 15, 0, -14, 14, 9624},
+ {15, 19, 0, -14, 15, 9729},
+ {13, 20, 0, -14, 14, 9872},
+ {11, 15, 0, -14, 11, 10002},
+ {12, 15, 0, -14, 13, 10085},
+ {10, 18, 0, -17, 10, 10175},
+ {14, 15, 1, -14, 15, 10265},
+ {14, 14, 0, -14, 15, 10370},
+ {20, 15, 0, -14, 21, 10468},
+ {15, 14, 0, -14, 16, 10618},
+ {15, 19, 0, -14, 15, 10723},
+ {12, 14, 0, -14, 13, 10866},
+ {8, 29, 0, -23, 10, 10950},
+ {4, 31, 6, -25, 17, 11066},
+ {7, 29, 2, -23, 10, 11128},
+ {11, 4, 0, -10, 13, 11230},
+};
+static const uint8_t font_big_o1_data[15124] = {
+ 248,255,255,29,250,255,255,79,250,255,255,79,250,255,255,63,249,255,255,63,249,255,255,47,
+ 248,255,255,31,247,255,255,31,247,255,255,15,246,255,255,15,246,255,255,14,245,255,255,13,
+ 244,255,255,13,244,255,255,12,243,255,255,12,248,255,255,30,251,255,255,79,251,255,255,79,
+ 251,255,255,79,251,255,255,79,251,255,255,79,250,255,255,46,49,68,52,2,80,186,123,163,
+ 187,25,243,255,255,255,255,175,244,255,255,255,255,191,243,255,255,255,255,191,242,255,255,255,
+ 255,159,240,255,255,255,255,127,208,255,255,255,255,95,176,255,255,255,255,63,144,255,255,255,
+ 255,31,80,255,255,253,255,12,0,116,71,97,103,1,0,0,0,0,116,39,0,80,37,0,
+ 0,0,0,0,244,255,95,160,255,159,0,0,0,0,144,255,255,28,255,255,79,0,0,0,
+ 0,254,255,207,246,255,255,4,0,0,0,244,255,255,187,255,255,79,0,193,255,255,255,255,
+ 255,255,255,255,95,96,255,255,255,255,255,255,255,255,255,13,247,255,255,255,255,255,255,255,
+ 255,255,112,255,255,255,255,255,255,255,255,255,15,247,255,255,255,255,255,255,255,255,255,80,
+ 255,255,255,255,255,255,255,255,255,41,254,255,255,255,255,255,255,255,255,11,247,255,255,255,
+ 255,255,255,255,255,239,112,255,255,255,255,255,255,255,255,255,15,247,255,255,255,255,255,255,
+ 255,255,255,112,255,255,255,255,255,255,255,255,255,14,209,255,255,255,255,255,255,255,255,111,
+ 0,160,255,255,143,255,255,207,0,0,0,0,253,255,239,246,255,255,7,0,0,0,208,255,
+ 255,106,255,255,47,0,0,0,0,251,255,79,244,255,207,0,0,0,0,16,233,174,0,213,
+ 239,4,0,0,0,0,0,0,82,2,0,0,0,0,0,226,239,2,0,0,0,0,64,255,
+ 79,0,0,0,0,147,253,255,223,107,0,0,248,255,255,255,255,191,0,248,255,255,255,255,
+ 255,63,244,255,255,255,255,255,255,180,255,255,255,255,255,255,63,254,255,255,255,255,255,255,
+ 241,255,255,255,255,255,255,11,255,255,255,255,255,255,95,240,255,255,255,255,255,191,0,254,
+ 255,255,255,255,255,143,176,255,255,255,255,255,255,95,245,255,255,255,255,255,255,11,249,255,
+ 255,255,255,255,239,144,255,255,255,255,255,255,95,255,255,255,255,255,255,255,251,255,255,255,
+ 255,255,255,239,255,255,255,255,255,255,239,255,255,255,255,255,255,255,251,255,255,255,255,255,
+ 255,95,253,255,255,255,255,255,175,64,254,255,255,255,255,191,0,32,233,255,255,255,108,0,
+ 0,0,32,246,255,4,0,0,0,0,48,255,79,0,0,0,0,0,144,156,0,0,0,0,
+ 214,255,141,0,0,0,227,191,1,0,128,255,255,255,11,0,16,254,255,28,0,245,255,255,
+ 255,143,0,176,255,255,63,0,251,255,255,255,239,0,247,255,255,63,0,254,255,255,255,255,
+ 66,255,255,255,47,0,255,255,255,255,255,213,255,255,255,6,0,255,255,239,255,255,253,255,
+ 255,175,0,0,255,255,255,255,255,255,255,255,29,0,0,255,255,255,255,255,255,255,255,3,
+ 0,0,253,255,255,255,255,255,255,255,239,25,0,248,255,255,255,255,255,255,255,255,207,1,
+ 209,255,255,255,255,255,255,255,255,255,9,32,253,255,255,255,255,255,255,255,255,14,0,80,
+ 248,255,255,255,255,255,255,255,63,0,0,250,255,255,255,255,255,255,255,79,0,96,255,255,
+ 255,205,255,255,254,255,79,0,243,255,255,255,180,255,255,255,255,79,16,253,255,255,127,176,
+ 255,255,255,255,63,80,255,255,255,11,128,255,255,255,255,31,80,255,255,239,1,64,255,255,
+ 255,255,11,64,255,255,79,0,0,249,255,255,239,2,0,247,255,8,0,0,128,255,255,61,
+ 0,0,64,103,0,0,0,0,65,52,0,0,0,0,182,254,239,124,1,0,0,0,193,255,
+ 255,255,255,45,0,0,16,253,255,255,255,255,223,1,0,144,255,255,255,255,255,255,9,0,
+ 224,255,255,255,255,255,255,13,0,242,255,255,255,255,255,255,15,0,243,255,255,255,255,255,
+ 255,15,0,243,255,255,239,253,255,255,191,76,243,255,255,255,255,255,255,255,239,241,255,255,
+ 255,255,255,255,255,255,176,255,255,255,255,255,255,255,255,144,255,255,255,255,255,255,255,255,
+ 243,255,255,255,255,255,255,255,223,249,255,255,255,255,255,255,255,143,251,255,255,255,255,255,
+ 255,175,4,251,255,255,255,255,255,255,127,0,251,255,255,255,255,255,255,127,0,250,255,255,
+ 255,255,255,255,127,0,246,255,255,255,255,255,255,79,0,192,255,255,255,255,255,255,12,0,
+ 16,253,255,255,255,255,223,2,0,0,145,255,255,255,255,26,0,0,0,0,81,119,119,21,
+ 0,0,0,147,187,74,224,255,255,63,255,255,255,244,255,255,63,254,255,255,194,255,255,15,
+ 251,255,223,160,255,255,11,248,255,159,80,255,255,5,64,119,4,0,0,64,187,90,0,0,
+ 226,255,255,11,0,248,255,255,15,16,254,255,255,15,96,255,255,255,11,176,255,255,255,4,
+ 224,255,255,223,0,243,255,255,143,0,245,255,255,63,0,247,255,255,14,0,247,255,255,11,
+ 0,247,255,255,9,0,247,255,255,8,0,247,255,255,10,0,246,255,255,13,0,245,255,255,
+ 47,0,242,255,255,111,0,224,255,255,207,0,160,255,255,255,3,96,255,255,255,11,16,254,
+ 255,255,31,0,249,255,255,31,0,243,255,255,12,0,96,254,125,1,16,166,171,1,0,209,
+ 255,255,12,0,243,255,255,95,0,243,255,255,191,0,224,255,255,255,2,128,255,255,255,7,
+ 32,255,255,255,11,0,251,255,255,14,0,246,255,255,31,0,242,255,255,63,0,224,255,255,
+ 79,0,208,255,255,79,0,192,255,255,79,0,224,255,255,63,0,242,255,255,63,0,245,255,
+ 255,31,0,250,255,255,14,16,254,255,255,11,112,255,255,255,7,209,255,255,255,2,244,255,
+ 255,207,0,244,255,255,111,0,226,255,255,13,0,16,232,223,3,0,0,0,128,187,4,0,
+ 0,0,0,247,255,14,0,0,0,0,248,255,15,0,0,32,35,248,255,31,67,1,244,255,
+ 255,255,255,255,12,251,255,255,255,255,255,63,251,255,255,255,255,255,79,251,255,255,255,255,
+ 255,63,245,255,255,255,255,255,28,0,251,255,255,255,111,0,0,255,255,255,255,175,0,0,
+ 255,255,255,255,175,0,0,253,255,234,255,159,0,0,178,206,82,255,26,0,0,0,0,66,
+ 19,0,0,0,0,0,96,255,239,3,0,0,0,0,176,255,255,7,0,0,0,0,176,255,
+ 255,8,0,0,0,0,176,255,255,8,0,0,0,0,176,255,255,8,0,0,246,255,255,255,
+ 255,255,255,111,254,255,255,255,255,255,255,239,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,254,255,255,255,255,255,255,239,249,255,255,255,255,255,255,143,64,68,196,255,
+ 255,73,68,4,0,0,176,255,255,8,0,0,0,0,176,255,255,8,0,0,0,0,176,255,
+ 255,8,0,0,0,0,144,255,255,6,0,0,0,0,16,151,89,0,0,0,0,32,68,36,
+ 0,128,255,255,127,0,251,255,255,11,176,255,255,191,16,254,255,255,11,247,255,255,191,225,
+ 255,255,255,121,255,255,255,47,247,255,255,175,112,255,255,255,4,161,254,239,6,0,64,68,
+ 68,68,68,68,20,144,255,255,255,255,255,255,12,254,255,255,255,255,255,255,243,255,255,255,
+ 255,255,255,79,255,255,255,255,255,255,255,228,255,255,255,255,255,255,47,246,255,255,255,255,
+ 255,159,0,228,255,255,78,248,255,255,143,248,255,255,143,248,255,255,143,248,255,255,143,248,
+ 255,255,143,248,255,255,143,246,255,255,127,48,68,68,4,0,0,0,0,0,0,32,20,0,
+ 0,0,0,0,0,0,227,255,7,0,0,0,0,0,0,252,255,95,0,0,0,0,0,96,
+ 255,255,127,0,0,0,0,0,225,255,255,127,0,0,0,0,0,248,255,255,79,0,0,0,
+ 0,32,255,255,255,10,0,0,0,0,176,255,255,239,2,0,0,0,0,244,255,255,127,0,
+ 0,0,0,0,253,255,255,29,0,0,0,0,112,255,255,255,5,0,0,0,0,225,255,255,
+ 191,0,0,0,0,0,249,255,255,63,0,0,0,0,48,255,255,255,9,0,0,0,0,176,
+ 255,255,239,1,0,0,0,0,245,255,255,127,0,0,0,0,16,253,255,255,13,0,0,0,
+ 0,128,255,255,255,4,0,0,0,0,226,255,255,191,0,0,0,0,0,250,255,255,47,0,
+ 0,0,0,64,255,255,255,8,0,0,0,0,192,255,255,239,1,0,0,0,0,246,255,255,
+ 111,0,0,0,0,0,254,255,255,12,0,0,0,0,0,255,255,255,3,0,0,0,0,0,
+ 255,255,175,0,0,0,0,0,0,247,255,46,0,0,0,0,0,0,80,187,4,0,0,0,
+ 0,0,0,0,0,129,236,255,190,5,0,0,0,80,254,255,255,255,191,1,0,0,246,255,
+ 255,255,255,255,29,0,64,255,255,255,255,255,255,207,0,208,255,255,255,255,255,255,255,6,
+ 244,255,255,255,255,255,255,255,12,249,255,255,255,255,255,255,255,31,252,255,255,255,255,255,
+ 255,255,79,254,255,255,255,199,255,255,255,111,255,255,255,191,48,255,255,255,127,255,255,255,
+ 111,0,254,255,255,127,255,255,255,95,0,253,255,255,127,255,255,255,143,16,255,255,255,127,
+ 254,255,255,223,97,255,255,255,127,253,255,255,255,254,255,255,255,95,250,255,255,255,255,255,
+ 255,255,63,246,255,255,255,255,255,255,255,14,241,255,255,255,255,255,255,255,9,128,255,255,
+ 255,255,255,255,255,2,16,252,255,255,255,255,255,111,0,0,193,255,255,255,255,255,6,0,
+ 0,0,232,255,255,255,76,0,0,0,0,16,117,119,54,0,0,0,193,255,255,255,255,78,
+ 245,255,255,255,255,191,247,255,255,255,255,191,247,255,255,255,255,191,247,255,255,255,255,191,
+ 247,255,255,255,255,191,246,255,255,255,255,191,226,255,255,255,255,191,32,68,252,255,255,191,
+ 0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,
+ 0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,
+ 0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,0,0,251,255,255,191,
+ 0,0,213,255,255,93,0,131,236,255,222,57,0,16,251,255,255,255,255,111,0,249,255,255,
+ 255,255,255,95,176,255,255,255,255,255,255,13,251,255,255,255,255,255,255,178,255,255,255,255,
+ 255,255,79,247,255,255,255,255,255,255,20,254,255,255,255,255,255,79,96,255,90,254,255,255,
+ 255,3,32,2,245,255,255,255,31,0,0,226,255,255,255,191,0,0,176,255,255,255,255,4,
+ 0,144,255,255,255,255,10,0,112,255,255,255,255,29,0,96,255,255,255,255,223,187,82,255,
+ 255,255,255,255,255,111,251,255,255,255,255,255,255,183,255,255,255,255,255,255,127,251,255,255,
+ 255,255,255,255,151,255,255,255,255,255,255,127,246,255,255,255,255,255,255,20,252,255,255,255,
+ 255,255,9,16,68,68,68,68,68,3,0,0,97,219,254,239,140,1,0,32,253,255,255,255,
+ 255,45,0,176,255,255,255,255,255,223,1,208,255,255,255,255,255,255,6,208,255,255,255,255,
+ 255,255,7,192,255,255,255,255,255,255,7,128,255,255,255,255,255,255,7,32,255,255,255,255,
+ 255,255,6,0,214,255,255,255,255,255,2,0,144,255,255,255,255,175,0,0,144,255,255,255,
+ 255,175,0,0,144,255,255,255,255,255,8,0,112,255,255,255,255,255,14,0,132,255,255,255,
+ 255,255,63,48,255,255,255,255,255,255,79,176,255,255,255,255,255,255,79,242,255,255,255,255,
+ 255,255,63,245,255,255,255,255,255,255,47,246,255,255,255,255,255,255,12,246,255,255,255,255,
+ 255,255,4,226,255,255,255,255,255,95,0,48,251,255,255,255,207,4,0,0,16,116,119,103,
+ 2,0,0,0,0,0,230,255,255,255,11,0,0,0,242,255,255,255,255,0,0,0,160,255,
+ 255,255,255,15,0,0,48,255,255,255,255,255,0,0,0,252,255,255,255,255,15,0,0,245,
+ 255,255,255,255,255,0,0,209,255,255,255,255,255,15,0,112,255,255,255,255,255,255,0,16,
+ 254,255,255,255,255,255,15,0,249,255,255,255,255,255,255,0,243,255,255,255,255,255,255,79,
+ 161,255,255,255,255,255,255,255,207,251,255,255,255,255,255,255,255,191,255,255,255,255,255,255,
+ 255,255,250,255,255,255,255,255,255,255,79,255,255,255,255,255,255,255,255,160,255,255,255,255,
+ 255,255,255,14,193,255,255,255,255,255,255,123,0,0,0,128,255,255,255,15,0,0,0,0,
+ 248,255,255,255,0,0,0,0,112,255,255,255,15,0,0,0,0,178,221,205,91,0,64,187,
+ 187,187,187,187,5,224,255,255,255,255,255,14,240,255,255,255,255,255,15,240,255,255,255,255,
+ 255,15,240,255,255,255,255,255,15,240,255,255,255,255,255,15,240,255,255,255,255,255,13,240,
+ 255,255,255,255,255,7,240,255,255,255,255,175,0,240,255,255,255,255,255,9,240,255,255,255,
+ 255,255,63,240,255,255,255,255,255,143,224,255,255,255,255,255,175,80,188,219,255,255,255,191,
+ 227,191,103,254,255,255,191,248,255,255,255,255,255,191,250,255,255,255,255,255,175,251,255,255,
+ 255,255,255,127,251,255,255,255,255,255,30,251,255,255,255,255,255,5,250,255,255,255,255,95,
+ 0,161,254,255,255,174,2,0,0,32,67,52,0,0,0,0,0,96,235,255,222,25,0,0,
+ 32,252,255,255,255,207,0,0,210,255,255,255,255,255,1,16,253,255,255,255,255,255,1,128,
+ 255,255,255,255,255,255,0,225,255,255,255,255,255,207,0,246,255,255,255,255,255,95,0,250,
+ 255,255,255,255,255,12,0,252,255,255,255,255,255,94,0,254,255,255,255,255,255,255,4,255,
+ 255,255,255,255,255,255,14,255,255,255,255,255,255,255,79,255,255,255,255,255,255,255,127,255,
+ 255,255,255,255,255,255,127,254,255,255,175,249,255,255,127,252,255,255,255,255,255,255,127,249,
+ 255,255,255,255,255,255,111,245,255,255,255,255,255,255,63,208,255,255,255,255,255,255,12,48,
+ 255,255,255,255,255,239,3,0,228,255,255,255,255,62,0,0,48,251,255,255,158,2,0,0,
+ 0,16,67,36,0,0,0,80,187,187,187,187,187,107,0,241,255,255,255,255,255,255,6,243,
+ 255,255,255,255,255,255,30,244,255,255,255,255,255,255,63,244,255,255,255,255,255,255,63,244,
+ 255,255,255,255,255,255,31,243,255,255,255,255,255,255,12,224,255,255,255,255,255,255,8,48,
+ 135,136,254,255,255,255,3,0,0,32,255,255,255,239,0,0,0,112,255,255,255,175,0,0,
+ 0,208,255,255,255,95,0,0,0,243,255,255,255,31,0,0,0,248,255,255,255,12,0,0,
+ 0,253,255,255,255,7,0,0,48,255,255,255,255,3,0,0,128,255,255,255,239,0,0,0,
+ 208,255,255,255,159,0,0,0,243,255,255,255,95,0,0,0,247,255,255,255,31,0,0,0,
+ 247,255,255,255,11,0,0,0,227,255,255,239,4,0,0,0,0,33,34,1,0,0,0,0,
+ 0,129,236,255,174,5,0,0,0,228,255,255,255,255,10,0,0,244,255,255,255,255,255,10,
+ 0,208,255,255,255,255,255,255,5,64,255,255,255,255,255,255,159,0,247,255,255,255,255,255,
+ 255,10,112,255,255,255,255,255,255,175,0,247,255,255,255,255,255,255,10,96,255,255,255,255,
+ 255,255,143,0,242,255,255,255,255,255,255,3,0,252,255,255,255,255,255,95,0,247,255,255,
+ 255,255,255,255,13,224,255,255,255,255,255,255,255,52,255,255,255,255,255,255,255,127,244,255,
+ 255,255,250,255,255,255,71,255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,39,
+ 255,255,255,255,255,255,255,95,192,255,255,255,255,255,255,239,1,244,255,255,255,255,255,255,
+ 6,0,246,255,255,255,255,255,7,0,0,212,255,255,255,223,5,0,0,0,48,134,136,54,
+ 0,0,0,0,32,217,255,223,41,0,0,0,246,255,255,255,255,5,0,96,255,255,255,255,
+ 255,95,0,242,255,255,255,255,255,239,2,249,255,255,255,255,255,255,8,253,255,255,255,255,
+ 255,255,13,255,255,255,255,255,255,255,31,255,255,255,239,255,255,255,63,255,255,255,127,255,
+ 255,255,79,255,255,255,255,255,255,255,79,253,255,255,255,255,255,255,79,249,255,255,255,255,
+ 255,255,79,242,255,255,255,255,255,255,63,80,255,255,255,255,255,255,47,0,250,255,255,255,
+ 255,255,15,64,255,255,255,255,255,255,12,144,255,255,255,255,255,255,8,176,255,255,255,255,
+ 255,255,2,192,255,255,255,255,255,175,0,192,255,255,255,255,255,29,0,176,255,255,255,255,
+ 223,2,0,32,251,255,255,239,25,0,0,0,16,67,68,3,0,0,0,96,119,119,23,247,
+ 255,255,127,248,255,255,143,248,255,255,143,248,255,255,143,248,255,255,143,248,255,255,143,248,
+ 255,255,143,162,187,187,59,228,255,255,78,248,255,255,143,248,255,255,143,248,255,255,143,248,
+ 255,255,143,248,255,255,143,248,255,255,143,246,255,255,127,48,68,68,4,0,118,119,119,1,
+ 247,255,255,127,128,255,255,255,8,248,255,255,143,128,255,255,255,8,248,255,255,143,128,255,
+ 255,255,8,248,255,255,143,32,186,187,187,3,0,67,52,1,0,252,255,255,4,240,255,255,
+ 143,0,255,255,255,8,243,255,255,143,160,255,255,255,40,255,255,255,95,248,255,255,223,144,
+ 255,255,255,7,249,255,255,30,16,235,255,77,0,0,0,0,16,36,0,0,0,0,210,255,
+ 7,0,0,16,252,255,111,0,0,176,255,255,159,0,0,248,255,255,159,0,96,255,255,255,
+ 95,0,244,255,255,255,7,32,254,255,255,143,0,193,255,255,255,10,0,247,255,255,191,0,
+ 0,247,255,255,63,0,0,247,255,255,239,2,0,193,255,255,255,45,0,16,253,255,255,223,
+ 2,0,210,255,255,255,45,0,48,254,255,255,175,0,0,228,255,255,191,0,0,80,255,255,
+ 175,0,0,0,246,255,62,0,0,0,96,171,2,48,135,136,136,136,136,120,17,254,255,255,
+ 255,255,255,191,243,255,255,255,255,255,255,79,255,255,255,255,255,255,255,244,255,255,255,255,
+ 255,255,47,255,255,255,255,255,255,223,112,255,255,255,255,255,255,20,254,255,255,255,255,255,
+ 191,243,255,255,255,255,255,255,79,255,255,255,255,255,255,255,244,255,255,255,255,255,255,47,
+ 255,255,255,255,255,255,223,96,187,187,187,187,187,187,3,0,65,2,0,0,0,64,254,95,
+ 0,0,0,243,255,239,3,0,0,245,255,255,29,0,0,245,255,255,207,1,0,226,255,255,
+ 255,10,0,48,254,255,255,127,0,0,245,255,255,255,5,0,96,255,255,255,62,0,0,248,
+ 255,255,191,0,0,225,255,255,191,0,16,252,255,255,175,0,177,255,255,255,46,0,251,255,
+ 255,239,3,176,255,255,255,79,0,247,255,255,255,5,0,247,255,255,127,0,0,247,255,255,
+ 8,0,0,193,255,175,0,0,0,16,184,9,0,0,0,0,97,218,255,239,123,1,0,229,
+ 255,255,255,255,223,2,242,255,255,255,255,255,223,65,255,255,255,255,255,255,127,244,255,255,
+ 255,255,255,255,42,255,255,255,255,255,255,191,192,255,255,255,255,255,255,11,227,255,204,255,
+ 255,255,191,0,115,35,254,255,255,255,8,0,32,253,255,255,255,46,0,16,253,255,255,255,
+ 111,0,0,250,255,255,255,143,0,0,240,255,255,255,127,0,0,0,255,255,255,159,0,0,
+ 0,240,255,255,255,1,0,0,0,254,255,255,14,0,0,0,176,255,255,191,0,0,0,0,
+ 251,255,255,11,0,0,0,176,255,255,191,0,0,0,0,251,255,255,11,0,0,0,176,255,
+ 255,191,0,0,0,0,250,255,255,10,0,0,0,16,68,68,20,0,0,0,0,0,0,0,
+ 16,51,52,2,0,0,0,0,0,0,32,200,255,255,255,174,3,0,0,0,0,145,255,255,
+ 255,255,255,255,9,0,0,0,194,255,255,255,255,255,255,255,11,0,0,209,255,255,255,255,
+ 255,255,255,255,10,0,192,255,255,255,255,255,255,255,255,255,4,112,255,255,255,255,255,255,
+ 255,255,255,191,16,254,255,255,255,255,255,255,255,255,255,31,246,255,255,255,255,255,255,255,
+ 255,255,255,163,255,255,255,255,255,255,255,223,255,255,79,253,255,255,255,255,255,255,255,249,
+ 255,255,228,255,255,255,255,255,255,255,159,255,255,79,255,255,255,255,255,255,255,255,253,255,
+ 255,243,255,255,255,255,255,255,255,255,255,255,31,255,255,255,255,255,255,255,255,255,255,223,
+ 224,255,255,255,255,255,255,255,255,255,255,6,253,255,255,255,255,255,255,255,255,255,11,160,
+ 255,255,255,255,255,255,255,255,255,27,0,245,255,255,255,255,255,255,255,207,6,0,0,252,
+ 255,255,255,255,255,255,255,3,0,0,48,254,255,255,255,255,255,255,95,0,0,0,48,254,
+ 255,255,255,255,255,255,5,0,0,0,32,252,255,255,255,255,255,63,0,0,0,0,0,165,
+ 254,255,255,255,92,0,0,0,0,0,0,0,50,68,51,1,0,0,0,0,0,0,112,187,
+ 187,187,171,2,0,0,0,0,241,255,255,255,255,11,0,0,0,0,244,255,255,255,255,14,
+ 0,0,0,0,248,255,255,255,255,79,0,0,0,0,252,255,255,255,255,127,0,0,0,16,
+ 255,255,255,255,255,191,0,0,0,80,255,255,255,255,255,255,1,0,0,144,255,255,255,255,
+ 255,255,4,0,0,208,255,255,255,255,255,255,8,0,0,242,255,255,255,255,255,255,12,0,
+ 0,245,255,255,255,255,255,255,31,0,0,249,255,255,255,255,255,255,79,0,0,253,255,255,
+ 255,255,255,255,143,0,32,255,255,255,255,255,255,255,207,0,96,255,255,255,255,255,255,255,
+ 255,1,160,255,255,255,255,255,255,255,255,5,224,255,255,255,255,255,255,255,255,9,243,255,
+ 255,255,188,252,255,255,255,13,247,255,255,255,1,241,255,255,255,47,248,255,255,207,0,192,
+ 255,255,255,63,248,255,255,143,0,128,255,255,255,63,195,238,222,25,0,16,234,255,222,26,
+ 145,187,187,187,187,122,3,0,64,255,255,255,255,255,255,10,0,244,255,255,255,255,255,255,
+ 11,64,255,255,255,255,255,255,255,5,244,255,255,255,255,255,255,175,64,255,255,255,255,255,
+ 255,255,11,244,255,255,255,255,255,255,191,64,255,255,255,239,255,255,255,11,244,255,255,255,
+ 255,255,255,175,64,255,255,255,255,255,255,255,6,244,255,255,255,255,255,255,30,64,255,255,
+ 255,255,255,255,255,9,244,255,255,255,255,255,255,255,66,255,255,255,255,255,255,255,111,244,
+ 255,255,255,254,255,255,255,71,255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,
+ 71,255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,67,255,255,255,255,255,255,
+ 255,9,243,255,255,255,255,255,255,9,0,249,255,255,255,255,173,4,0,0,0,16,182,254,
+ 239,156,3,0,0,48,253,255,255,255,255,6,0,64,255,255,255,255,255,239,0,48,255,255,
+ 255,255,255,255,15,0,253,255,255,255,255,255,255,0,245,255,255,255,255,255,255,13,176,255,
+ 255,255,255,255,255,127,0,254,255,255,255,255,255,239,1,242,255,255,255,191,117,220,3,48,
+ 255,255,255,207,0,0,0,0,244,255,255,255,7,0,0,0,64,255,255,255,95,0,0,0,
+ 0,244,255,255,255,9,0,0,0,48,255,255,255,255,4,48,39,0,242,255,255,255,255,221,
+ 255,46,0,254,255,255,255,255,255,255,10,160,255,255,255,255,255,255,255,2,244,255,255,255,
+ 255,255,255,95,0,250,255,255,255,255,255,255,6,16,253,255,255,255,255,255,95,0,16,252,
+ 255,255,255,255,239,2,0,16,232,255,255,255,207,3,0,0,0,65,119,119,37,0,0,210,
+ 255,255,255,222,90,0,0,160,255,255,255,255,255,223,4,0,251,255,255,255,255,255,255,5,
+ 176,255,255,255,255,255,255,255,3,251,255,255,255,255,255,255,207,176,255,255,255,255,255,255,
+ 255,63,251,255,255,255,255,255,255,255,183,255,255,255,255,255,255,255,159,251,255,255,191,253,
+ 255,255,255,187,255,255,255,72,255,255,255,191,251,255,255,143,241,255,255,255,187,255,255,255,
+ 24,255,255,255,191,251,255,255,143,244,255,255,255,187,255,255,255,168,255,255,255,175,251,255,
+ 255,255,255,255,255,255,184,255,255,255,255,255,255,255,95,251,255,255,255,255,255,255,239,177,
+ 255,255,255,255,255,255,255,9,251,255,255,255,255,255,255,30,176,255,255,255,255,255,255,62,
+ 0,251,255,255,255,255,255,61,0,48,253,255,255,255,173,5,0,0,179,187,187,187,187,187,
+ 6,251,255,255,255,255,255,15,251,255,255,255,255,255,47,251,255,255,255,255,255,47,251,255,
+ 255,255,255,255,47,251,255,255,255,255,255,47,251,255,255,255,255,255,31,251,255,255,255,255,
+ 255,9,251,255,255,255,255,95,0,251,255,255,255,255,127,0,251,255,255,255,255,127,0,251,
+ 255,255,255,255,127,0,251,255,255,255,255,127,0,251,255,255,255,255,79,0,251,255,255,255,
+ 255,191,6,251,255,255,255,255,255,31,251,255,255,255,255,255,63,251,255,255,255,255,255,79,
+ 251,255,255,255,255,255,79,251,255,255,255,255,255,63,251,255,255,255,255,255,31,228,255,255,
+ 255,255,255,9,179,187,187,187,187,187,181,255,255,255,255,255,223,251,255,255,255,255,255,191,
+ 255,255,255,255,255,255,251,255,255,255,255,255,191,255,255,255,255,255,255,251,255,255,255,255,
+ 255,190,255,255,255,255,255,143,251,255,255,255,255,12,176,255,255,255,255,255,3,251,255,255,
+ 255,255,79,176,255,255,255,255,255,4,251,255,255,255,255,79,176,255,255,255,255,255,3,251,
+ 255,255,255,255,30,176,255,255,255,73,36,0,251,255,255,143,0,0,176,255,255,255,8,0,
+ 0,251,255,255,143,0,0,176,255,255,255,8,0,0,251,255,255,143,0,0,144,255,255,255,
+ 4,0,0,64,102,86,2,0,0,0,0,0,0,165,253,255,206,90,0,0,0,211,255,255,
+ 255,255,255,27,0,64,255,255,255,255,255,255,63,0,243,255,255,255,255,255,255,63,0,253,
+ 255,255,255,255,255,255,63,96,255,255,255,255,255,255,255,31,176,255,255,255,255,255,255,255,
+ 11,240,255,255,255,255,255,255,255,4,242,255,255,255,207,86,249,111,0,244,255,255,255,12,
+ 32,185,172,7,244,255,255,255,7,176,255,255,127,244,255,255,255,6,176,255,255,143,244,255,
+ 255,255,10,176,255,255,143,243,255,255,255,111,176,255,255,143,241,255,255,255,255,237,255,255,
+ 143,208,255,255,255,255,255,255,255,143,128,255,255,255,255,255,255,255,143,32,255,255,255,255,
+ 255,255,255,143,0,249,255,255,255,255,255,255,143,0,176,255,255,255,255,255,255,143,0,16,
+ 250,255,255,255,255,255,127,0,0,96,253,255,255,255,239,25,0,0,0,48,118,119,87,3,
+ 0,212,255,255,77,0,168,187,171,180,255,255,255,11,247,255,255,255,251,255,255,191,128,255,
+ 255,255,191,255,255,255,11,248,255,255,255,251,255,255,191,128,255,255,255,191,255,255,255,11,
+ 248,255,255,255,251,255,255,191,128,255,255,255,191,255,255,255,255,255,255,255,255,251,255,255,
+ 255,255,255,255,255,191,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,191,255,
+ 255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,
+ 251,255,255,255,255,255,255,255,191,255,255,255,76,249,255,255,255,251,255,255,191,128,255,255,
+ 255,191,255,255,255,11,248,255,255,255,251,255,255,191,128,255,255,255,191,255,255,255,11,248,
+ 255,255,255,251,255,255,191,128,255,255,255,95,253,255,223,5,194,254,255,142,144,204,204,204,
+ 204,204,83,255,255,255,255,255,207,247,255,255,255,255,255,127,255,255,255,255,255,255,247,255,
+ 255,255,255,255,127,255,255,255,255,255,239,245,255,255,255,255,255,12,184,254,255,255,223,59,
+ 0,176,255,255,255,8,0,0,251,255,255,143,0,0,176,255,255,255,8,0,0,251,255,255,
+ 143,0,0,176,255,255,255,8,0,0,251,255,255,143,0,80,216,255,255,255,139,49,255,255,
+ 255,255,255,191,247,255,255,255,255,255,126,255,255,255,255,255,255,247,255,255,255,255,255,127,
+ 255,255,255,255,255,255,245,255,255,255,255,255,29,252,255,255,255,255,111,0,32,203,204,204,
+ 204,9,0,160,255,255,255,255,111,0,208,255,255,255,255,143,0,208,255,255,255,255,143,0,
+ 208,255,255,255,255,143,0,208,255,255,255,255,143,0,160,255,255,255,255,143,0,32,187,255,
+ 255,255,143,0,0,0,255,255,255,143,0,0,0,255,255,255,143,0,0,0,255,255,255,143,
+ 0,0,0,255,255,255,143,0,0,16,255,255,255,143,64,123,114,255,255,255,143,226,255,255,
+ 255,255,255,143,248,255,255,255,255,255,143,252,255,255,255,255,255,127,253,255,255,255,255,255,
+ 111,253,255,255,255,255,255,47,252,255,255,255,255,255,8,228,255,255,255,255,159,0,48,251,
+ 255,255,207,5,0,0,16,67,52,1,0,0,213,255,255,93,80,186,187,154,3,251,255,255,
+ 191,242,255,255,255,14,251,255,255,191,249,255,255,255,14,251,255,255,223,255,255,255,255,13,
+ 251,255,255,255,255,255,255,255,6,251,255,255,255,255,255,255,207,0,251,255,255,255,255,255,
+ 255,79,0,251,255,255,255,255,255,255,11,0,251,255,255,255,255,255,255,2,0,251,255,255,
+ 255,255,255,159,0,0,251,255,255,255,255,255,31,0,0,251,255,255,255,255,255,127,0,0,
+ 251,255,255,255,255,255,255,3,0,251,255,255,255,255,255,255,29,0,251,255,255,255,255,255,
+ 255,175,0,251,255,255,255,255,255,255,255,6,251,255,255,255,255,255,255,255,46,251,255,255,
+ 255,255,255,255,255,175,251,255,255,191,252,255,255,255,175,251,255,255,191,245,255,255,255,127,
+ 251,255,255,191,192,255,255,255,7,230,255,255,94,32,253,255,59,0,0,0,0,0,0,48,
+ 36,0,0,197,221,205,26,0,0,240,255,255,255,7,0,0,255,255,255,143,0,0,240,255,
+ 255,255,8,0,0,255,255,255,143,0,0,240,255,255,255,8,0,0,255,255,255,143,0,0,
+ 240,255,255,255,8,0,0,255,255,255,143,0,0,240,255,255,255,8,0,0,255,255,255,143,
+ 0,0,240,255,255,255,8,0,0,255,255,255,143,0,0,240,255,255,255,73,68,1,255,255,
+ 255,255,255,223,241,255,255,255,255,255,79,255,255,255,255,255,255,245,255,255,255,255,255,111,
+ 255,255,255,255,255,255,246,255,255,255,255,255,95,253,255,255,255,255,255,51,254,255,255,255,
+ 255,10,96,237,255,239,124,0,0,198,254,255,222,9,16,255,255,255,255,79,0,243,255,255,
+ 255,255,6,241,255,255,255,255,10,128,255,255,255,255,127,32,255,255,255,255,239,1,252,255,
+ 255,255,255,7,242,255,255,255,255,95,242,255,255,255,255,143,48,255,255,255,255,255,123,255,
+ 255,255,255,255,9,243,255,255,255,255,255,252,255,255,255,255,159,64,255,255,255,255,255,255,
+ 255,255,255,255,255,10,244,255,255,255,255,255,255,255,255,255,255,191,80,255,255,255,255,255,
+ 255,255,255,255,255,255,11,245,255,255,255,255,255,255,255,255,255,255,207,96,255,255,255,255,
+ 255,255,255,255,255,255,255,13,246,255,255,255,255,255,255,255,255,255,255,223,112,255,255,255,
+ 255,255,255,255,255,255,255,255,14,247,255,255,255,255,255,255,255,255,255,255,255,128,255,255,
+ 255,255,255,255,255,239,255,255,255,15,249,255,255,207,255,255,255,255,251,255,255,255,145,255,
+ 255,255,187,255,255,255,111,255,255,255,47,250,255,255,175,247,255,255,191,244,255,255,255,162,
+ 255,255,255,42,255,255,255,55,255,255,255,47,250,255,255,159,192,255,255,47,243,255,255,255,
+ 34,236,255,190,2,212,238,141,0,233,255,223,8,163,187,171,7,0,164,187,171,180,255,255,
+ 255,10,240,255,255,255,251,255,255,255,4,255,255,255,191,255,255,255,191,240,255,255,255,251,
+ 255,255,255,79,255,255,255,191,255,255,255,255,252,255,255,255,251,255,255,255,255,255,255,255,
+ 191,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,191,255,255,255,255,255,255,
+ 255,255,251,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,251,255,255,255,255,
+ 255,255,255,191,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,191,255,255,255,
+ 255,255,255,255,255,251,255,255,239,255,255,255,255,191,255,255,255,247,255,255,255,255,251,255,
+ 255,79,250,255,255,255,191,255,255,255,36,255,255,255,255,251,255,255,79,144,255,255,255,95,
+ 253,255,190,1,177,254,255,126,0,0,0,182,253,255,173,5,0,0,0,0,212,255,255,255,
+ 255,207,3,0,0,80,255,255,255,255,255,255,78,0,0,244,255,255,255,255,255,255,239,2,
+ 16,254,255,255,255,255,255,255,255,12,112,255,255,255,255,255,255,255,255,63,192,255,255,255,
+ 255,255,255,255,255,143,240,255,255,255,255,255,255,255,255,207,242,255,255,255,175,197,255,255,
+ 255,239,243,255,255,255,12,16,255,255,255,255,244,255,255,255,7,0,251,255,255,255,244,255,
+ 255,255,5,0,249,255,255,255,244,255,255,255,9,0,253,255,255,255,243,255,255,255,46,96,
+ 255,255,255,239,241,255,255,255,255,253,255,255,255,223,224,255,255,255,255,255,255,255,255,175,
+ 144,255,255,255,255,255,255,255,255,111,48,255,255,255,255,255,255,255,255,30,0,250,255,255,
+ 255,255,255,255,255,7,0,193,255,255,255,255,255,255,175,0,0,16,251,255,255,255,255,255,
+ 9,0,0,0,96,253,255,255,255,92,0,0,0,0,0,48,118,119,38,0,0,0,178,187,
+ 187,187,154,22,0,0,251,255,255,255,255,239,7,0,251,255,255,255,255,255,159,0,251,255,
+ 255,255,255,255,255,5,251,255,255,255,255,255,255,12,251,255,255,255,255,255,255,31,251,255,
+ 255,255,255,255,255,63,251,255,255,255,255,255,255,79,251,255,255,207,255,255,255,79,251,255,
+ 255,255,255,255,255,79,251,255,255,255,255,255,255,47,251,255,255,255,255,255,255,13,251,255,
+ 255,255,255,255,255,7,251,255,255,255,255,255,223,1,251,255,255,255,255,255,45,0,251,255,
+ 255,255,255,191,2,0,251,255,255,223,122,3,0,0,251,255,255,143,0,0,0,0,251,255,
+ 255,143,0,0,0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,0,0,246,255,
+ 255,61,0,0,0,0,0,34,18,0,0,0,0,0,0,0,0,182,253,255,173,5,0,0,
+ 0,0,212,255,255,255,255,223,3,0,0,80,255,255,255,255,255,255,78,0,0,244,255,255,
+ 255,255,255,255,239,3,16,254,255,255,255,255,255,255,255,12,112,255,255,255,255,255,255,255,
+ 255,79,192,255,255,255,255,255,255,255,255,143,240,255,255,255,255,255,255,255,255,207,242,255,
+ 255,255,175,197,255,255,255,239,243,255,255,255,12,16,254,255,255,255,244,255,255,255,7,0,
+ 250,255,255,255,244,255,255,255,5,0,249,255,255,255,244,255,255,255,9,0,253,255,255,255,
+ 243,255,255,255,62,96,255,255,255,239,241,255,255,255,255,254,255,255,255,223,208,255,255,255,
+ 255,255,255,255,255,175,144,255,255,255,255,255,255,255,255,111,32,255,255,255,255,255,255,255,
+ 255,30,0,248,255,255,255,255,255,255,255,6,0,176,255,255,255,255,255,255,159,0,0,16,
+ 250,255,255,255,255,255,11,0,0,0,96,253,255,255,255,255,111,0,0,0,0,48,252,255,
+ 255,255,159,0,0,0,0,0,209,255,255,255,159,0,0,0,0,0,32,254,255,255,79,0,
+ 0,0,0,0,0,227,255,255,6,0,0,0,0,0,0,64,254,76,0,0,162,187,187,187,
+ 171,72,0,0,160,255,255,255,255,255,207,3,0,251,255,255,255,255,255,239,3,176,255,255,
+ 255,255,255,255,223,0,251,255,255,255,255,255,255,79,176,255,255,255,255,255,255,255,7,251,
+ 255,255,255,255,255,255,127,176,255,255,255,255,255,255,255,7,251,255,255,223,255,255,255,127,
+ 176,255,255,255,255,255,255,255,6,251,255,255,255,255,255,255,47,176,255,255,255,255,255,255,
+ 175,0,251,255,255,255,255,255,239,1,176,255,255,255,255,255,255,79,0,251,255,255,255,255,
+ 255,255,13,176,255,255,255,255,255,255,255,7,251,255,255,255,255,255,255,255,178,255,255,255,
+ 255,255,255,255,95,251,255,255,191,255,255,255,255,181,255,255,255,200,255,255,255,46,251,255,
+ 255,143,245,255,255,61,96,254,255,223,3,249,255,25,0,0,0,0,0,0,33,1,0,0,
+ 0,0,130,253,255,206,90,0,0,80,254,255,255,255,255,9,0,245,255,255,255,255,255,15,
+ 32,254,255,255,255,255,255,15,128,255,255,255,255,255,255,14,176,255,255,255,255,255,255,11,
+ 176,255,255,255,255,255,255,6,176,255,255,255,255,255,239,1,176,255,255,255,255,255,79,0,
+ 160,255,255,255,255,255,207,1,96,255,255,255,255,255,255,11,16,254,255,255,255,255,255,63,
+ 0,249,255,255,255,255,255,127,96,255,255,255,255,255,255,127,208,255,255,255,255,255,255,127,
+ 242,255,255,255,255,255,255,127,244,255,255,255,255,255,255,111,244,255,255,255,255,255,255,63,
+ 244,255,255,255,255,255,255,12,225,255,255,255,255,255,255,4,64,254,255,255,255,255,95,0,
+ 0,162,254,255,255,191,3,0,0,0,32,67,52,1,0,0,227,255,255,255,255,255,255,28,
+ 249,255,255,255,255,255,255,95,251,255,255,255,255,255,255,127,251,255,255,255,255,255,255,127,
+ 251,255,255,255,255,255,255,127,251,255,255,255,255,255,255,127,249,255,255,255,255,255,255,95,
+ 227,255,255,255,255,255,255,28,0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,
+ 0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,
+ 0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,
+ 0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,
+ 0,0,251,255,255,143,0,0,0,0,251,255,255,143,0,0,0,0,246,255,255,62,0,0,
+ 0,0,0,34,18,0,0,0,128,220,221,172,1,179,221,221,92,244,255,255,255,7,251,255,
+ 255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,
+ 8,251,255,255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,8,251,255,255,255,244,
+ 255,255,255,8,251,255,255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,8,251,255,
+ 255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,8,251,255,255,255,244,255,255,255,
+ 8,251,255,255,255,244,255,255,255,42,252,255,255,255,244,255,255,255,255,255,255,255,255,243,
+ 255,255,255,255,255,255,255,255,242,255,255,255,255,255,255,255,239,208,255,255,255,255,255,255,
+ 255,175,80,255,255,255,255,255,255,255,79,0,248,255,255,255,255,255,255,8,0,112,255,255,
+ 255,255,255,143,0,0,0,163,254,255,255,174,3,0,0,0,0,32,67,36,0,0,0,196,
+ 254,255,174,1,64,236,255,239,60,250,255,255,255,8,224,255,255,255,143,250,255,255,255,12,
+ 243,255,255,255,143,248,255,255,255,14,246,255,255,255,111,244,255,255,255,47,248,255,255,255,
+ 47,241,255,255,255,95,251,255,255,255,13,176,255,255,255,143,254,255,255,255,9,112,255,255,
+ 255,207,255,255,255,255,5,48,255,255,255,255,255,255,255,255,1,0,254,255,255,255,255,255,
+ 255,207,0,0,250,255,255,255,255,255,255,143,0,0,247,255,255,255,255,255,255,63,0,0,
+ 243,255,255,255,255,255,255,14,0,0,224,255,255,255,255,255,255,10,0,0,160,255,255,255,
+ 255,255,255,6,0,0,96,255,255,255,255,255,255,2,0,0,32,255,255,255,255,255,223,0,
+ 0,0,0,253,255,255,255,255,159,0,0,0,0,249,255,255,255,255,95,0,0,0,0,245,
+ 255,255,255,255,31,0,0,0,0,241,255,255,255,255,12,0,0,0,0,80,219,238,222,156,
+ 2,0,0,211,255,255,190,2,193,255,239,7,64,236,255,239,26,246,255,255,255,8,247,255,
+ 255,31,192,255,255,255,47,246,255,255,255,10,251,255,255,79,224,255,255,255,47,245,255,255,
+ 255,12,254,255,255,143,241,255,255,255,31,243,255,255,255,77,255,255,255,191,243,255,255,255,
+ 13,240,255,255,255,127,255,255,255,255,246,255,255,255,10,208,255,255,255,207,255,255,255,255,
+ 251,255,255,255,8,176,255,255,255,255,255,255,255,255,254,255,255,255,5,128,255,255,255,255,
+ 255,255,255,255,255,255,255,255,2,96,255,255,255,255,255,255,255,255,255,255,255,239,0,64,
+ 255,255,255,255,255,255,255,255,255,255,255,207,0,16,255,255,255,255,255,255,255,255,255,255,
+ 255,159,0,0,254,255,255,255,255,255,255,255,255,255,255,111,0,0,252,255,255,255,255,255,
+ 255,255,255,255,255,63,0,0,249,255,255,255,255,255,255,255,255,255,255,31,0,0,247,255,
+ 255,255,255,255,255,255,255,255,255,13,0,0,245,255,255,255,255,255,255,255,255,255,255,10,
+ 0,0,242,255,255,255,255,207,255,255,255,255,255,7,0,0,240,255,255,255,255,95,255,255,
+ 255,255,255,5,0,0,208,255,255,255,255,31,252,255,255,255,255,2,0,0,160,255,255,255,
+ 255,11,248,255,255,255,239,0,0,0,32,235,255,255,173,2,145,253,255,222,58,0,0,195,
+ 254,255,206,6,16,218,255,239,109,247,255,255,255,95,176,255,255,255,191,247,255,255,255,207,
+ 243,255,255,255,191,243,255,255,255,255,252,255,255,255,127,176,255,255,255,255,255,255,255,255,
+ 30,48,255,255,255,255,255,255,255,255,8,0,251,255,255,255,255,255,255,239,1,0,243,255,
+ 255,255,255,255,255,143,0,0,176,255,255,255,255,255,255,30,0,0,64,255,255,255,255,255,
+ 255,8,0,0,0,252,255,255,255,255,239,1,0,0,0,254,255,255,255,255,223,1,0,0,
+ 96,255,255,255,255,255,255,7,0,0,192,255,255,255,255,255,255,30,0,0,244,255,255,255,
+ 255,255,255,143,0,0,251,255,255,255,255,255,255,239,1,48,255,255,255,255,255,255,255,255,
+ 9,144,255,255,255,255,255,255,255,255,47,242,255,255,255,223,253,255,255,255,175,245,255,255,
+ 255,143,247,255,255,255,239,245,255,255,255,63,225,255,255,255,239,177,254,255,206,5,48,235,
+ 255,239,141,161,237,255,222,8,0,197,254,255,158,64,255,255,255,255,7,243,255,255,255,31,
+ 244,255,255,255,223,144,255,255,255,255,17,254,255,255,255,95,255,255,255,255,12,128,255,255,
+ 255,255,254,255,255,255,95,0,225,255,255,255,255,255,255,255,207,0,0,247,255,255,255,255,
+ 255,255,255,5,0,16,254,255,255,255,255,255,255,12,0,0,112,255,255,255,255,255,255,95,
+ 0,0,0,225,255,255,255,255,255,207,0,0,0,0,247,255,255,255,255,255,5,0,0,0,
+ 16,254,255,255,255,255,12,0,0,0,0,96,255,255,255,255,95,0,0,0,0,0,208,255,
+ 255,255,207,0,0,0,0,0,0,248,255,255,255,8,0,0,0,0,0,128,255,255,255,143,
+ 0,0,0,0,0,0,248,255,255,255,8,0,0,0,0,0,128,255,255,255,143,0,0,0,
+ 0,0,0,248,255,255,255,8,0,0,0,0,0,128,255,255,255,143,0,0,0,0,0,0,
+ 247,255,255,255,7,0,0,0,0,0,16,234,255,223,26,0,0,0,209,255,255,255,255,255,
+ 191,1,248,255,255,255,255,255,255,11,250,255,255,255,255,255,255,47,251,255,255,255,255,255,
+ 255,111,251,255,255,255,255,255,255,127,250,255,255,255,255,255,255,127,249,255,255,255,255,255,
+ 255,111,226,255,255,255,255,255,255,12,0,0,249,255,255,255,255,3,0,48,255,255,255,255,
+ 143,0,0,192,255,255,255,255,13,0,0,247,255,255,255,255,3,0,32,255,255,255,255,143,
+ 0,0,176,255,255,255,255,78,52,0,246,255,255,255,255,255,255,7,254,255,255,255,255,255,
+ 255,13,255,255,255,255,255,255,255,15,255,255,255,255,255,255,255,15,253,255,255,255,255,255,
+ 255,15,248,255,255,255,255,255,255,14,242,255,255,255,255,255,255,11,128,255,255,255,255,255,
+ 239,3,113,136,136,136,6,250,255,255,255,95,251,255,255,255,159,251,255,255,255,159,251,255,
+ 255,255,159,251,255,255,255,127,251,255,223,187,25,251,255,143,0,0,251,255,143,0,0,251,
+ 255,143,0,0,251,255,143,0,0,251,255,143,0,0,251,255,143,0,0,251,255,143,0,0,
+ 251,255,143,0,0,251,255,143,0,0,251,255,143,0,0,251,255,143,0,0,251,255,143,0,
+ 0,251,255,143,0,0,251,255,143,0,0,251,255,143,0,0,251,255,255,255,45,251,255,255,
+ 255,143,251,255,255,255,159,251,255,255,255,159,251,255,255,255,159,247,255,255,255,63,48,68,
+ 68,68,2,0,66,2,0,0,0,0,0,0,128,255,63,0,0,0,0,0,0,246,255,207,
+ 0,0,0,0,0,0,248,255,255,6,0,0,0,0,0,248,255,255,30,0,0,0,0,0,
+ 244,255,255,143,0,0,0,0,0,160,255,255,255,2,0,0,0,0,32,254,255,255,11,0,
+ 0,0,0,0,248,255,255,79,0,0,0,0,0,209,255,255,223,0,0,0,0,0,80,255,
+ 255,255,6,0,0,0,0,0,252,255,255,30,0,0,0,0,0,243,255,255,159,0,0,0,
+ 0,0,144,255,255,255,3,0,0,0,0,16,254,255,255,11,0,0,0,0,0,247,255,255,
+ 95,0,0,0,0,0,208,255,255,223,0,0,0,0,0,80,255,255,255,7,0,0,0,0,
+ 0,251,255,255,30,0,0,0,0,0,243,255,255,159,0,0,0,0,0,144,255,255,255,3,
+ 0,0,0,0,16,254,255,255,12,0,0,0,0,0,246,255,255,95,0,0,0,0,0,192,
+ 255,255,207,0,0,0,0,0,64,255,255,223,0,0,0,0,0,0,250,255,223,0,0,0,
+ 0,0,0,242,255,111,0,0,0,0,0,0,80,171,4,48,135,136,136,72,16,254,255,255,
+ 255,47,243,255,255,255,255,68,255,255,255,255,79,244,255,255,255,255,36,255,255,255,255,79,
+ 96,187,251,255,255,4,0,0,255,255,79,0,0,240,255,255,4,0,0,255,255,79,0,0,
+ 240,255,255,4,0,0,255,255,79,0,0,240,255,255,4,0,0,255,255,79,0,0,240,255,
+ 255,4,0,0,255,255,79,0,0,240,255,255,4,0,0,255,255,79,0,0,240,255,255,4,
+ 0,0,255,255,79,0,0,240,255,255,4,0,0,255,255,79,144,255,255,255,255,52,255,255,
+ 255,255,79,244,255,255,255,255,68,255,255,255,255,79,243,255,255,255,255,4,252,255,255,255,
+ 45,16,68,68,68,36,0,0,0,0,16,119,1,0,0,0,0,0,0,16,251,223,2,0,
+ 0,0,0,0,32,252,255,239,4,0,0,0,0,32,253,255,255,255,6,0,0,0,48,254,
+ 255,255,255,255,9,0,0,80,254,255,255,255,255,255,27,0,96,255,255,255,255,255,255,255,
+ 45,96,255,255,255,239,252,255,255,255,46,251,255,255,239,19,251,255,255,255,180,255,255,223,
+ 2,0,250,255,255,79,250,255,223,2,0,0,248,255,255,34,254,223,2,0,0,0,247,255,
+ 7,48,170,2,0,0,0,0,149,6,0,48,68,68,68,68,68,68,52,80,255,255,255,255,
+ 255,255,255,95,251,255,255,255,255,255,255,255,187,255,255,255,255,255,255,255,191,251,255,255,
+ 255,255,255,255,255,171,255,255,255,255,255,255,255,175,227,255,255,255,255,255,255,239,3,16,
+ 1,0,0,209,207,4,0,250,255,191,3,254,255,255,143,255,255,255,255,255,255,255,255,248,
+ 255,255,239,32,232,255,159,0,0,182,9,0,48,167,187,171,40,0,0,0,245,255,255,255,
+ 255,5,0,0,251,255,255,255,255,63,0,0,251,255,255,255,255,175,0,0,251,255,255,255,
+ 255,223,0,0,248,255,255,255,255,239,0,16,252,255,255,255,255,239,0,176,255,255,255,255,
+ 255,239,0,244,255,255,255,255,255,239,0,247,255,255,255,255,255,255,6,247,255,255,255,255,
+ 255,255,127,247,255,255,255,255,255,255,191,247,255,255,255,255,255,255,191,244,255,255,255,255,
+ 255,255,191,192,255,255,255,255,255,255,191,32,253,255,255,255,255,255,111,0,178,255,255,142,
+ 250,255,11,0,0,66,52,1,32,52,0,230,255,239,8,0,0,0,176,255,255,239,0,0,
+ 0,0,251,255,255,14,0,0,0,176,255,255,239,0,0,0,0,251,255,255,14,0,0,0,
+ 176,255,255,255,187,89,0,0,251,255,255,255,255,207,1,176,255,255,255,255,255,223,1,251,
+ 255,255,255,255,255,143,176,255,255,255,255,255,255,13,251,255,255,255,255,255,255,178,255,255,
+ 255,255,255,255,63,251,255,255,255,255,255,255,180,255,255,239,253,255,255,79,251,255,255,238,
+ 255,255,255,180,255,255,255,255,255,255,63,251,255,255,255,255,255,255,177,255,255,255,255,255,
+ 255,12,251,255,255,255,255,255,127,176,255,255,255,255,255,223,1,249,255,255,255,255,223,2,
+ 0,231,255,255,255,191,2,0,0,48,118,119,38,0,0,0,0,0,113,186,171,56,0,0,
+ 80,254,255,255,255,6,0,245,255,255,255,255,47,32,254,255,255,255,255,79,144,255,255,255,
+ 255,255,79,224,255,255,255,255,255,63,242,255,255,255,255,255,14,244,255,255,255,253,255,9,
+ 244,255,255,223,144,190,1,244,255,255,255,51,87,0,243,255,255,255,255,255,4,242,255,255,
+ 255,255,255,8,208,255,255,255,255,255,10,112,255,255,255,255,255,11,0,252,255,255,255,255,
+ 11,0,193,255,255,255,255,10,0,16,233,255,255,175,2,0,0,16,67,52,0,0,0,0,
+ 0,0,232,255,222,6,0,0,0,0,224,255,255,191,0,0,0,0,0,254,255,255,11,0,
+ 0,0,0,224,255,255,191,0,0,0,0,0,254,255,255,11,0,0,0,116,247,255,255,191,
+ 0,0,64,253,255,255,255,255,11,0,64,255,255,255,255,255,191,0,32,254,255,255,255,255,
+ 255,11,0,249,255,255,255,255,255,191,0,224,255,255,255,255,255,255,11,32,255,255,255,255,
+ 255,255,191,0,244,255,255,255,255,255,255,11,64,255,255,255,238,255,255,191,0,244,255,255,
+ 239,254,255,255,44,48,255,255,255,255,255,255,255,79,242,255,255,255,255,255,255,255,10,254,
+ 255,255,255,255,255,255,191,160,255,255,255,255,255,255,255,11,242,255,255,255,255,255,255,191,
+ 0,245,255,255,255,255,255,255,7,0,229,255,255,191,255,255,28,0,0,81,119,54,32,119,
+ 23,0,0,0,113,186,171,39,0,0,0,228,255,255,255,111,0,0,245,255,255,255,255,111,
+ 0,226,255,255,255,255,255,30,144,255,255,255,255,255,255,6,254,255,255,255,255,255,127,242,
+ 255,255,255,255,255,255,71,255,255,255,255,255,255,127,244,255,255,255,255,255,255,70,255,255,
+ 255,255,255,255,47,243,255,255,255,255,255,127,32,255,255,255,255,255,255,9,208,255,255,255,
+ 255,255,207,0,247,255,255,255,255,255,13,0,252,255,255,255,255,223,0,16,252,255,255,255,
+ 255,9,0,0,232,255,255,207,6,0,0,0,48,68,19,0,0,0,0,180,254,239,123,1,
+ 0,246,255,255,255,191,0,243,255,255,255,255,13,128,255,255,255,255,223,0,250,255,255,255,
+ 255,11,195,255,255,255,255,111,244,255,255,255,255,207,112,255,255,255,255,255,4,247,255,255,
+ 255,255,79,112,255,255,255,255,255,4,247,255,255,255,255,63,64,255,255,255,255,223,1,48,
+ 252,255,255,78,1,0,176,255,255,239,0,0,0,251,255,255,14,0,0,176,255,255,239,0,
+ 0,0,251,255,255,14,0,0,176,255,255,239,0,0,0,251,255,255,14,0,0,176,255,255,
+ 239,0,0,0,251,255,255,14,0,0,144,255,255,207,0,0,0,48,68,52,1,0,0,0,
+ 0,80,185,187,122,3,0,0,211,255,255,255,255,44,0,228,255,255,255,255,255,11,226,255,
+ 255,255,255,255,191,144,255,255,255,255,255,255,11,254,255,255,255,255,255,191,242,255,255,255,
+ 255,255,255,75,255,255,255,255,255,255,191,244,255,255,239,254,255,255,75,255,255,255,238,255,
+ 255,191,243,255,255,255,255,255,255,43,255,255,255,255,255,255,191,224,255,255,255,255,255,255,
+ 11,250,255,255,255,255,255,191,32,254,255,255,255,255,255,11,96,255,255,255,255,255,191,0,
+ 250,255,255,255,255,255,11,192,255,255,255,255,255,191,0,252,255,255,255,255,255,10,192,255,
+ 255,255,255,255,79,0,251,255,255,255,255,111,0,32,251,255,255,255,75,0,0,0,32,67,
+ 52,1,0,0,230,255,223,5,0,0,0,251,255,255,11,0,0,0,251,255,255,11,0,0,
+ 0,251,255,255,11,0,0,0,251,255,255,11,0,0,0,251,255,255,125,103,3,0,251,255,
+ 255,255,255,175,0,251,255,255,255,255,255,10,251,255,255,255,255,255,47,251,255,255,255,255,
+ 255,111,251,255,255,255,255,255,127,251,255,255,255,255,255,127,251,255,255,255,255,255,143,251,
+ 255,255,251,255,255,143,251,255,255,251,255,255,143,251,255,255,251,255,255,143,251,255,255,251,
+ 255,255,143,251,255,255,251,255,255,143,251,255,255,251,255,255,143,251,255,255,251,255,255,143,
+ 251,255,255,251,255,255,143,248,255,255,217,255,255,95,48,68,52,16,51,51,2,231,255,255,
+ 29,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,
+ 79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,
+ 79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,
+ 79,251,255,255,79,251,255,255,79,249,255,255,63,48,68,68,3,0,0,112,254,255,223,1,
+ 0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,251,255,255,79,0,0,176,255,255,
+ 255,4,0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,251,255,255,79,0,0,176,
+ 255,255,255,4,0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,251,255,255,79,0,
+ 0,176,255,255,255,4,0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,251,255,255,
+ 79,0,0,176,255,255,255,4,0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,254,
+ 255,255,79,64,152,253,255,255,255,20,255,255,255,255,255,79,242,255,255,255,255,255,36,255,
+ 255,255,255,255,47,242,255,255,255,255,175,0,252,255,255,255,191,1,16,251,255,255,109,0,
+ 0,0,50,52,2,0,0,229,255,239,9,0,0,0,0,251,255,255,14,0,0,0,0,251,
+ 255,255,14,0,0,0,0,251,255,255,14,0,0,0,0,251,255,255,14,0,0,0,0,251,
+ 255,255,14,116,119,103,0,251,255,255,110,255,255,255,7,251,255,255,238,255,255,255,8,251,
+ 255,255,255,255,255,255,7,251,255,255,255,255,255,223,0,251,255,255,255,255,255,79,0,251,
+ 255,255,255,255,255,9,0,251,255,255,255,255,239,1,0,251,255,255,255,255,223,1,0,251,
+ 255,255,255,255,255,7,0,251,255,255,255,255,255,30,0,251,255,255,255,255,255,143,0,251,
+ 255,255,255,255,255,239,2,251,255,255,255,255,255,255,9,251,255,255,255,255,255,255,31,251,
+ 255,255,222,255,255,255,31,249,255,255,92,255,255,255,29,48,68,52,1,50,68,52,1,229,
+ 255,255,29,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,
+ 255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,
+ 255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,255,255,79,251,
+ 255,255,79,251,255,255,79,251,255,255,79,231,255,255,28,16,186,106,64,185,171,22,166,187,
+ 90,0,0,252,255,239,255,255,255,255,255,255,175,0,243,255,255,255,255,255,255,255,255,255,
+ 159,80,255,255,255,255,255,255,255,255,255,255,31,246,255,255,255,255,255,255,255,255,255,255,
+ 101,255,255,255,255,255,255,255,255,255,255,111,244,255,255,255,255,255,255,255,255,255,255,7,
+ 250,255,255,255,255,255,255,255,255,255,127,0,251,255,255,254,255,255,239,255,255,255,7,176,
+ 255,255,239,255,255,255,254,255,255,127,0,251,255,255,254,255,255,239,255,255,255,7,176,255,
+ 255,239,255,255,255,254,255,255,127,0,251,255,255,254,255,255,239,255,255,255,7,176,255,255,
+ 239,255,255,255,254,255,255,127,0,251,255,255,254,255,255,239,255,255,255,7,176,255,255,239,
+ 255,255,255,254,255,255,127,0,248,255,255,171,254,255,159,252,255,255,4,0,33,34,1,0,
+ 0,0,0,0,0,0,16,186,106,64,185,187,57,0,192,255,255,254,255,255,255,6,243,255,
+ 255,255,255,255,255,63,245,255,255,255,255,255,255,159,246,255,255,255,255,255,255,207,246,255,
+ 255,255,255,255,255,239,244,255,255,255,255,255,255,239,160,255,255,255,239,255,255,239,0,251,
+ 255,255,190,255,255,239,0,251,255,255,190,255,255,239,0,251,255,255,190,255,255,239,0,251,
+ 255,255,190,255,255,239,0,251,255,255,190,255,255,239,0,251,255,255,190,255,255,239,0,251,
+ 255,255,190,255,255,239,0,251,255,255,190,255,255,239,0,247,255,255,139,255,255,175,0,0,
+ 16,1,0,33,34,1,0,0,130,203,188,39,0,0,0,112,255,255,255,255,6,0,0,247,
+ 255,255,255,255,111,0,48,255,255,255,255,255,255,3,176,255,255,255,255,255,255,10,241,255,
+ 255,255,255,255,255,14,243,255,255,255,255,255,255,47,244,255,255,255,255,255,255,63,244,255,
+ 255,159,250,255,255,63,244,255,255,207,253,255,255,63,243,255,255,255,255,255,255,47,242,255,
+ 255,255,255,255,255,31,208,255,255,255,255,255,255,12,112,255,255,255,255,255,255,7,16,252,
+ 255,255,255,255,207,0,0,210,255,255,255,255,28,0,0,16,233,255,255,142,1,0,0,0,
+ 0,67,52,0,0,0,16,185,123,65,185,171,23,0,0,251,255,239,255,255,255,45,0,243,
+ 255,255,255,255,255,255,46,96,255,255,255,255,255,255,255,10,246,255,255,255,255,255,255,255,
+ 81,255,255,255,255,255,255,255,95,244,255,255,255,255,255,255,255,6,250,255,255,255,255,255,
+ 255,127,0,248,255,255,207,255,255,255,7,128,255,255,255,253,255,255,127,0,248,255,255,255,
+ 255,255,255,6,128,255,255,255,255,255,255,79,0,248,255,255,255,255,255,255,1,128,255,255,
+ 255,255,255,255,10,0,248,255,255,255,255,255,46,0,128,255,255,255,255,255,62,0,0,248,
+ 255,255,255,239,41,0,0,128,255,255,255,3,0,0,0,0,248,255,255,63,0,0,0,0,
+ 128,255,255,255,3,0,0,0,0,248,255,255,63,0,0,0,0,48,220,221,205,1,0,0,
+ 0,0,0,97,185,187,122,3,0,0,229,255,255,255,255,43,0,246,255,255,255,255,255,10,
+ 243,255,255,255,255,255,175,160,255,255,255,255,255,255,26,255,255,255,255,255,255,175,243,255,
+ 255,255,255,255,255,74,255,255,255,254,255,255,175,244,255,255,159,255,255,255,74,255,255,255,
+ 251,255,255,175,243,255,255,255,255,255,255,42,255,255,255,255,255,255,175,208,255,255,255,255,
+ 255,255,10,248,255,255,255,255,255,175,16,254,255,255,255,255,255,10,48,254,255,255,255,255,
+ 175,0,48,252,255,255,255,255,10,0,0,66,244,255,255,175,0,0,0,0,255,255,255,10,
+ 0,0,0,240,255,255,175,0,0,0,0,255,255,255,10,0,0,0,192,255,255,143,0,0,
+ 0,0,49,68,52,0,48,186,74,64,186,107,16,254,255,175,255,255,95,246,255,255,255,255,
+ 255,119,255,255,255,255,255,127,247,255,255,255,255,255,119,255,255,255,255,255,79,246,255,255,
+ 255,255,255,17,251,255,255,255,255,8,0,251,255,255,95,2,0,176,255,255,255,4,0,0,
+ 251,255,255,79,0,0,176,255,255,255,4,0,0,251,255,255,79,0,0,176,255,255,255,4,
+ 0,0,251,255,255,79,0,0,176,255,255,255,4,0,0,249,255,255,46,0,0,0,33,34,
+ 18,0,0,0,0,166,187,171,55,0,0,210,255,255,255,255,9,16,253,255,255,255,255,47,
+ 128,255,255,255,255,255,47,176,255,255,255,255,255,31,176,255,255,255,255,255,11,176,255,255,
+ 255,255,239,2,160,255,255,255,255,255,7,112,255,255,255,255,255,63,48,255,255,255,255,255,
+ 127,208,255,255,255,255,255,127,244,255,255,255,255,255,127,246,255,255,255,255,255,127,246,255,
+ 255,255,255,255,79,245,255,255,255,255,255,12,193,255,255,255,255,223,2,16,216,255,255,239,
+ 25,0,0,0,50,68,3,0,0,0,64,101,86,1,0,0,248,255,255,13,0,0,250,255,
+ 255,15,0,96,253,255,255,143,23,245,255,255,255,255,159,247,255,255,255,255,191,247,255,255,
+ 255,255,191,247,255,255,255,255,191,247,255,255,255,255,191,244,255,255,255,255,127,48,252,255,
+ 255,127,4,0,250,255,255,95,0,0,250,255,255,95,0,0,250,255,255,95,0,0,250,255,
+ 255,95,0,0,250,255,255,95,0,0,250,255,255,95,0,0,250,255,255,95,0,0,250,255,
+ 255,95,0,0,247,255,255,46,0,0,16,34,34,0,0,148,153,137,66,153,153,40,0,255,
+ 255,255,250,255,255,175,0,255,255,255,250,255,255,175,0,255,255,255,250,255,255,175,0,255,
+ 255,255,250,255,255,175,0,255,255,255,250,255,255,175,0,255,255,255,250,255,255,175,0,255,
+ 255,255,250,255,255,175,0,255,255,255,250,255,255,175,0,255,255,255,252,255,255,223,2,255,
+ 255,255,255,255,255,255,13,255,255,255,255,255,255,255,47,254,255,255,255,255,255,255,47,251,
+ 255,255,255,255,255,255,47,246,255,255,255,255,255,255,31,160,255,255,255,255,255,255,11,0,
+ 232,255,255,125,254,239,3,0,0,67,36,0,49,20,0,181,187,187,25,144,187,187,91,252,
+ 255,255,111,246,255,255,223,252,255,255,175,248,255,255,223,250,255,255,223,251,255,255,191,247,
+ 255,255,255,253,255,255,127,243,255,255,255,255,255,255,63,224,255,255,255,255,255,255,13,160,
+ 255,255,255,255,255,255,9,96,255,255,255,255,255,255,5,32,255,255,255,255,255,255,1,0,
+ 253,255,255,255,255,191,0,0,249,255,255,255,255,127,0,0,245,255,255,255,255,63,0,0,
+ 241,255,255,255,255,13,0,0,192,255,255,255,255,9,0,0,128,255,255,255,255,5,0,0,
+ 16,235,255,255,174,0,0,114,136,120,4,97,102,54,32,135,120,55,249,255,255,31,249,255,
+ 239,178,255,255,239,250,255,255,63,253,255,255,214,255,255,255,249,255,255,127,255,255,255,250,
+ 255,255,239,247,255,255,207,255,255,255,253,255,255,207,244,255,255,255,255,255,255,255,255,255,
+ 159,241,255,255,255,255,255,255,255,255,255,111,208,255,255,255,255,255,255,255,255,255,47,176,
+ 255,255,255,255,255,255,255,255,255,14,128,255,255,255,255,255,255,255,255,255,11,80,255,255,
+ 255,255,255,255,255,255,255,8,32,255,255,255,255,255,255,255,255,255,5,0,254,255,255,255,
+ 255,255,255,255,255,2,0,252,255,255,255,255,255,255,255,239,0,0,249,255,255,255,255,255,
+ 255,255,191,0,0,246,255,255,255,207,255,255,255,143,0,0,226,255,255,255,107,255,255,255,
+ 62,0,0,0,67,68,35,0,50,68,52,1,0,129,186,187,106,64,187,187,171,130,255,255,
+ 255,79,253,255,255,143,248,255,255,255,252,255,255,255,104,255,255,255,255,255,255,255,111,225,
+ 255,255,255,255,255,255,223,0,248,255,255,255,255,255,255,6,16,254,255,255,255,255,255,30,
+ 0,128,255,255,255,255,255,127,0,0,242,255,255,255,255,239,1,0,48,255,255,255,255,255,
+ 63,0,0,250,255,255,255,255,255,11,0,243,255,255,255,255,255,255,4,160,255,255,255,255,
+ 255,255,207,32,255,255,255,255,255,255,255,95,246,255,255,255,254,255,255,255,104,255,255,255,
+ 111,255,255,255,143,194,254,255,143,160,255,239,205,4,163,187,187,8,96,187,187,122,176,255,
+ 255,255,22,255,255,255,47,251,255,255,191,245,255,255,255,146,255,255,255,191,255,255,255,31,
+ 243,255,255,255,255,255,255,175,0,253,255,255,255,255,255,255,5,112,255,255,255,255,255,255,
+ 30,0,242,255,255,255,255,255,175,0,0,251,255,255,255,255,255,4,0,80,255,255,255,255,
+ 255,14,0,0,224,255,255,255,255,159,0,0,0,249,255,255,255,255,4,0,0,48,255,255,
+ 255,255,13,0,0,0,208,255,255,255,143,0,0,0,0,250,255,255,255,3,0,0,0,241,
+ 255,255,255,13,0,0,0,112,255,255,255,127,0,0,0,0,253,255,255,255,2,0,0,0,
+ 245,255,255,255,12,0,0,0,112,255,255,255,127,0,0,0,0,247,255,255,255,2,0,0,
+ 0,16,169,187,187,7,0,0,0,32,136,136,136,136,120,0,192,255,255,255,255,255,8,224,
+ 255,255,255,255,255,30,240,255,255,255,255,255,127,240,255,255,255,255,255,127,240,255,255,255,
+ 255,255,127,240,255,255,255,255,255,28,112,203,255,255,255,239,2,0,193,255,255,255,95,0,
+ 0,251,255,255,255,141,7,144,255,255,255,255,255,111,243,255,255,255,255,255,127,244,255,255,
+ 255,255,255,127,243,255,255,255,255,255,127,224,255,255,255,255,255,127,128,255,255,255,255,255,
+ 95,16,252,255,255,255,255,29,0,0,128,171,3,0,0,250,255,62,0,96,255,255,159,0,
+ 208,255,255,159,0,240,255,255,127,0,240,255,255,11,0,240,255,255,5,0,240,255,255,4,
+ 0,240,255,255,4,0,240,255,255,4,0,240,255,255,4,0,240,255,255,4,0,247,255,255,
+ 4,160,255,255,255,4,241,255,255,255,2,242,255,255,191,0,242,255,255,207,0,241,255,255,
+ 255,3,144,255,255,255,4,0,247,255,255,4,0,241,255,255,4,0,240,255,255,4,0,240,
+ 255,255,4,0,240,255,255,4,0,240,255,255,4,0,240,255,255,4,0,240,255,255,11,0,
+ 240,255,255,127,0,192,255,255,159,0,96,255,255,159,0,0,250,255,46,0,0,144,155,2,
+ 112,221,76,243,255,239,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,
+ 244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,
+ 244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,
+ 244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,
+ 244,255,255,144,254,110,128,254,27,0,128,255,255,12,0,251,255,255,8,176,255,255,239,0,
+ 246,255,255,15,0,250,255,255,0,64,255,255,15,0,244,255,255,0,64,255,255,15,0,244,
+ 255,255,0,64,255,255,15,0,244,255,255,1,64,255,255,143,0,244,255,255,175,16,255,255,
+ 255,15,176,255,255,255,0,253,255,255,15,243,255,255,239,64,255,255,255,6,244,255,255,5,
+ 64,255,255,15,0,244,255,255,0,64,255,255,15,0,244,255,255,0,64,255,255,15,0,245,
+ 255,255,0,192,255,255,15,144,255,255,255,0,251,255,255,12,176,255,255,111,0,228,255,159,
+ 0,0,162,139,0,0,0,214,255,125,146,191,16,251,255,255,255,255,159,247,255,255,255,255,
+ 255,127,255,255,255,255,255,255,247,255,255,255,255,255,30,254,239,255,255,255,95,48,188,18,
+ 216,255,76,0,
+};
+static const Glyph font_big_o1_glyphs[95] = {
+ {0, 0, 0, 0, 6, 0},
+ {8, 23, 0, -20, 8, 0},
+ {12, 11, 0, -20, 13, 92},
+ {21, 22, 1, -20, 23, 158},
+ {15, 28, 0, -23, 15, 389},
+ {22, 23, 0, -20, 22, 599},
+ {18, 23, 0, -20, 19, 852},
+ {7, 11, 1, -20, 9, 1059},
+ {10, 24, 1, -20, 12, 1098},
+ {10, 24, 1, -20, 12, 1218},
+ {14, 14, 1, -20, 16, 1338},
+ {16, 18, 0, -18, 17, 1436},
+ {9, 11, 0, -6, 9, 1580},
+ {15, 7, 0, -10, 15, 1630},
+ {8, 9, -1, -6, 7, 1683},
+ {18, 28, -1, -23, 16, 1719},
+ {18, 23, 0, -20, 18, 1971},
+ {12, 22, -1, -20, 11, 2178},
+ {15, 23, 0, -20, 15, 2310},
+ {16, 23, -1, -20, 15, 2483},
+ {17, 22, -1, -20, 17, 2667},
+ {14, 23, 0, -20, 15, 2854},
+ {16, 23, 0, -20, 16, 3015},
+ {16, 23, -1, -20, 14, 3199},
+ {17, 23, -1, -20, 16, 3383},
+ {16, 23, 0, -20, 16, 3579},
+ {8, 18, 0, -15, 8, 3763},
+ {9, 20, -1, -15, 8, 3835},
+ {12, 20, 0, -19, 14, 3925},
+ {15, 13, 0, -15, 16, 4045},
+ {12, 20, 0, -19, 13, 4143},
+ {15, 23, 0, -20, 16, 4263},
+ {23, 25, 0, -20, 24, 4436},
+ {20, 22, -1, -20, 18, 4724},
+ {17, 22, 0, -20, 17, 4944},
+ {17, 23, -1, -20, 16, 5131},
+ {17, 22, 0, -20, 17, 5327},
+ {14, 22, 0, -20, 14, 5514},
+ {13, 23, 0, -20, 13, 5668},
+ {18, 23, -1, -20, 17, 5818},
+ {17, 22, 0, -20, 18, 6025},
+ {13, 22, -1, -20, 12, 6212},
+ {14, 23, -1, -20, 13, 6355},
+ {18, 23, 0, -20, 17, 6516},
+ {13, 22, 0, -20, 12, 6723},
+ {25, 22, 0, -20, 25, 6866},
+ {17, 22, 0, -20, 18, 7141},
+ {20, 23, -1, -20, 19, 7328},
+ {16, 23, 0, -20, 16, 7558},
+ {20, 27, -1, -20, 20, 7742},
+ {17, 23, 0, -20, 16, 8012},
+ {16, 23, -1, -20, 15, 8208},
+ {16, 23, -1, -20, 14, 8392},
+ {18, 23, -1, -20, 17, 8576},
+ {20, 22, -1, -20, 18, 8783},
+ {28, 22, -1, -20, 26, 9003},
+ {20, 22, -1, -20, 19, 9311},
+ {21, 22, -2, -20, 17, 9531},
+ {16, 22, 0, -20, 16, 9762},
+ {10, 29, 1, -23, 11, 9938},
+ {18, 28, -1, -23, 16, 10083},
+ {11, 29, -1, -23, 11, 10335},
+ {19, 13, 0, -20, 19, 10495},
+ {17, 7, 0, -1, 18, 10619},
+ {8, 9, 1, -21, 10, 10679},
+ {16, 18, -1, -15, 14, 10715},
+ {15, 23, 0, -20, 15, 10859},
+ {14, 18, -1, -15, 12, 11032},
+ {17, 23, -1, -20, 16, 11158},
+ {15, 18, -1, -15, 14, 11354},
+ {13, 23, -1, -20, 11, 11489},
+ {15, 23, -1, -15, 14, 11639},
+ {14, 23, 0, -20, 14, 11812},
+ {8, 23, 0, -20, 8, 11973},
+ {13, 28, -5, -20, 8, 12065},
+ {16, 23, 0, -20, 15, 12247},
+ {8, 22, 0, -20, 8, 12431},
+ {23, 18, -1, -15, 22, 12519},
+ {16, 18, -1, -15, 15, 12726},
+ {16, 18, -1, -15, 14, 12870},
+ {17, 22, -1, -15, 15, 13014},
+ {15, 23, -1, -15, 14, 13201},
+ {13, 18, -1, -15, 11, 13374},
+ {14, 18, -1, -15, 13, 13491},
+ {12, 21, -1, -18, 10, 13617},
+ {16, 18, 0, -15, 15, 13743},
+ {16, 17, -1, -15, 15, 13887},
+ {22, 18, -1, -15, 21, 14023},
+ {17, 17, -1, -15, 16, 14221},
+ {17, 22, -1, -15, 15, 14366},
+ {14, 17, -1, -15, 13, 14553},
+ {10, 32, -1, -24, 10, 14672},
+ {6, 34, 5, -26, 17, 14832},
+ {9, 32, 1, -24, 10, 14934},
+ {13, 7, -1, -11, 13, 15078},
+};
+static const uint8_t font_big_o2_data[18721] = {
+ 177,255,255,223,5,248,255,255,255,30,250,255,255,255,79,250,255,255,255,79,250,255,255,255,
+ 63,249,255,255,255,63,249,255,255,255,47,248,255,255,255,31,247,255,255,255,31,247,255,255,
+ 255,15,246,255,255,255,15,246,255,255,255,14,245,255,255,255,13,244,255,255,255,13,244,255,
+ 255,255,12,244,255,255,255,12,249,255,255,255,31,251,255,255,255,79,251,255,255,255,79,251,
+ 255,255,255,79,251,255,255,255,79,251,255,255,255,79,250,255,255,255,47,211,255,255,255,8,
+ 16,67,68,35,0,0,166,187,71,186,155,2,176,255,255,255,255,255,79,243,255,255,255,255,
+ 255,175,244,255,255,255,255,255,191,243,255,255,255,255,255,191,242,255,255,255,255,255,159,240,
+ 255,255,255,255,255,127,208,255,255,255,255,255,95,176,255,255,255,255,255,63,144,255,255,255,
+ 255,255,31,96,255,255,255,255,255,12,0,251,255,255,255,239,4,0,64,119,20,118,22,0,
+ 0,0,0,0,80,119,2,0,85,2,0,0,0,0,0,176,255,255,57,254,255,43,0,0,
+ 0,0,64,255,255,255,254,255,255,13,0,0,0,0,249,255,255,255,255,255,255,4,0,0,
+ 0,224,255,255,255,255,255,255,79,0,80,253,255,255,255,255,255,255,255,255,26,16,254,255,
+ 255,255,255,255,255,255,255,255,7,246,255,255,255,255,255,255,255,255,255,223,112,255,255,255,
+ 255,255,255,255,255,255,255,15,247,255,255,255,255,255,255,255,255,255,255,112,255,255,255,255,
+ 255,255,255,255,255,255,15,249,255,255,255,255,255,255,255,255,255,175,242,255,255,255,255,255,
+ 255,255,255,255,239,114,255,255,255,255,255,255,255,255,255,255,14,247,255,255,255,255,255,255,
+ 255,255,255,255,112,255,255,255,255,255,255,255,255,255,255,15,247,255,255,255,255,255,255,255,
+ 255,255,239,32,255,255,255,255,255,255,255,255,255,255,8,80,254,255,255,255,255,255,255,255,
+ 255,26,0,208,255,255,255,255,255,255,127,0,0,0,0,253,255,255,255,255,255,255,2,0,
+ 0,0,176,255,255,255,255,255,255,12,0,0,0,0,228,255,255,189,255,255,111,0,0,0,
+ 0,0,146,238,59,96,253,142,0,0,0,0,0,0,0,32,37,0,0,0,0,0,0,128,
+ 255,143,0,0,0,0,0,32,255,255,47,0,0,0,0,48,250,255,255,190,22,0,0,162,
+ 255,255,255,255,255,78,0,226,255,255,255,255,255,255,13,192,255,255,255,255,255,255,255,83,
+ 255,255,255,255,255,255,255,79,251,255,255,255,255,255,255,255,227,255,255,255,255,255,255,255,
+ 31,255,255,255,255,255,255,255,191,240,255,255,255,255,255,255,255,5,255,255,255,255,255,255,
+ 255,47,224,255,255,255,255,255,255,255,12,251,255,255,255,255,255,255,255,85,255,255,255,255,
+ 255,255,255,191,192,255,255,255,255,255,255,255,14,253,255,255,255,255,255,255,255,245,255,255,
+ 255,255,255,255,255,191,255,255,255,255,255,255,255,255,254,255,255,255,255,255,255,255,254,255,
+ 255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,213,255,255,255,255,255,255,255,12,
+ 247,255,255,255,255,255,255,63,0,249,255,255,255,255,255,77,0,0,146,254,255,255,223,6,
+ 0,0,0,0,245,255,255,4,0,0,0,0,0,253,255,13,0,0,0,0,0,32,202,42,
+ 0,0,0,0,113,253,223,24,0,0,112,254,75,0,0,32,253,255,255,239,4,0,247,255,
+ 255,6,0,192,255,255,255,255,30,64,255,255,255,30,0,245,255,255,255,255,143,209,255,255,
+ 255,63,0,251,255,255,255,255,239,251,255,255,255,63,0,254,255,255,255,255,255,255,255,255,
+ 255,47,0,255,255,255,255,255,255,255,255,255,255,9,0,255,255,255,255,255,255,255,255,255,
+ 223,1,0,255,255,255,255,255,255,255,255,255,63,0,0,255,255,255,255,255,255,255,255,255,
+ 158,2,0,253,255,255,255,255,255,255,255,255,255,94,0,248,255,255,255,255,255,255,255,255,
+ 255,239,2,242,255,255,255,255,255,255,255,255,255,255,9,112,255,255,255,255,255,255,255,255,
+ 255,255,14,0,214,255,255,255,255,255,255,255,255,255,63,0,16,254,255,255,255,255,255,255,
+ 255,255,79,0,160,255,255,255,255,255,255,255,255,255,79,0,246,255,255,255,255,255,255,255,
+ 255,255,79,16,254,255,255,255,255,255,255,255,255,255,63,80,255,255,255,255,174,255,255,255,
+ 255,255,31,80,255,255,255,255,68,255,255,255,255,255,11,64,255,255,255,143,0,251,255,255,
+ 255,255,3,0,252,255,255,11,0,227,255,255,255,159,0,0,194,255,223,2,0,32,249,255,
+ 223,5,0,0,0,116,22,0,0,0,16,68,3,0,0,0,0,96,235,255,206,23,0,0,
+ 0,0,80,253,255,255,255,239,6,0,0,0,246,255,255,255,255,255,127,0,0,32,255,255,
+ 255,255,255,255,255,2,0,144,255,255,255,255,255,255,255,9,0,224,255,255,255,255,255,255,
+ 255,13,0,242,255,255,255,255,255,255,255,15,0,243,255,255,255,255,255,255,255,207,23,243,
+ 255,255,255,255,255,255,255,255,127,243,255,255,255,255,255,255,255,255,239,241,255,255,255,255,
+ 255,255,255,255,255,176,255,255,255,255,255,255,255,255,255,176,255,255,255,255,255,255,255,255,
+ 255,243,255,255,255,255,255,255,255,255,223,249,255,255,255,255,255,255,255,255,143,251,255,255,
+ 255,255,255,255,255,255,45,251,255,255,255,255,255,255,255,159,0,251,255,255,255,255,255,255,
+ 255,127,0,250,255,255,255,255,255,255,255,127,0,246,255,255,255,255,255,255,255,79,0,208,
+ 255,255,255,255,255,255,255,13,0,80,255,255,255,255,255,255,255,5,0,0,246,255,255,255,
+ 255,255,127,0,0,0,32,249,255,255,255,175,3,0,0,0,0,16,117,119,87,1,0,0,
+ 0,48,185,171,5,112,255,255,255,11,254,255,255,255,243,255,255,255,79,255,255,255,255,227,
+ 255,255,255,47,252,255,255,255,176,255,255,255,13,250,255,255,191,128,255,255,255,9,246,255,
+ 255,111,0,252,255,191,0,0,116,71,0,0,0,0,182,171,5,0,0,128,255,255,223,4,
+ 0,242,255,255,255,12,0,248,255,255,255,15,16,254,255,255,255,15,96,255,255,255,255,11,
+ 176,255,255,255,255,4,224,255,255,255,223,0,243,255,255,255,143,0,245,255,255,255,63,0,
+ 247,255,255,255,14,0,247,255,255,255,11,0,247,255,255,255,9,0,247,255,255,255,8,0,
+ 247,255,255,255,10,0,246,255,255,255,13,0,245,255,255,255,47,0,242,255,255,255,111,0,
+ 224,255,255,255,207,0,160,255,255,255,255,3,96,255,255,255,255,11,16,254,255,255,255,31,
+ 0,249,255,255,255,31,0,243,255,255,255,13,0,160,255,255,239,5,0,16,232,223,23,0,
+ 0,97,186,58,0,0,96,254,255,255,4,0,225,255,255,255,12,0,243,255,255,255,95,0,
+ 243,255,255,255,191,0,224,255,255,255,255,2,128,255,255,255,255,7,32,255,255,255,255,11,
+ 0,251,255,255,255,14,0,246,255,255,255,31,0,242,255,255,255,63,0,224,255,255,255,79,
+ 0,208,255,255,255,79,0,192,255,255,255,79,0,224,255,255,255,63,0,242,255,255,255,63,
+ 0,245,255,255,255,31,0,250,255,255,255,14,16,254,255,255,255,11,112,255,255,255,255,7,
+ 225,255,255,255,255,2,244,255,255,255,207,0,244,255,255,255,111,0,242,255,255,255,13,0,
+ 112,255,255,255,6,0,0,130,254,125,0,0,0,0,32,184,91,0,0,0,0,0,225,255,
+ 255,8,0,0,0,0,247,255,255,14,0,0,0,50,249,255,255,63,20,0,160,255,255,255,
+ 255,255,239,5,245,255,255,255,255,255,255,13,251,255,255,255,255,255,255,63,251,255,255,255,
+ 255,255,255,79,251,255,255,255,255,255,255,63,247,255,255,255,255,255,255,29,145,255,255,255,
+ 255,255,223,4,0,255,255,255,255,255,175,0,0,255,255,255,255,255,175,0,0,253,255,255,
+ 255,255,159,0,0,246,255,255,255,255,47,0,0,64,236,109,249,175,3,0,0,0,0,32,
+ 52,1,0,0,0,0,0,16,250,255,142,0,0,0,0,0,112,255,255,255,4,0,0,0,
+ 0,176,255,255,255,7,0,0,0,0,176,255,255,255,8,0,0,0,0,176,255,255,255,8,
+ 0,0,145,255,255,255,255,255,255,255,25,248,255,255,255,255,255,255,255,143,254,255,255,255,
+ 255,255,255,255,239,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,
+ 255,255,255,255,255,255,255,239,250,255,255,255,255,255,255,255,175,210,255,255,255,255,255,255,
+ 255,45,0,68,196,255,255,255,73,68,0,0,0,176,255,255,255,8,0,0,0,0,176,255,
+ 255,255,8,0,0,0,0,160,255,255,255,6,0,0,0,0,48,254,255,223,0,0,0,0,
+ 0,0,113,153,6,0,0,0,0,0,66,68,2,0,32,251,255,255,43,0,249,255,255,255,
+ 9,176,255,255,255,191,0,251,255,255,255,11,225,255,255,255,191,112,255,255,255,255,27,254,
+ 255,255,255,159,247,255,255,255,255,114,255,255,255,255,10,247,255,255,255,79,32,255,255,255,
+ 191,0,48,234,255,142,1,0,0,68,68,68,68,68,68,1,32,253,255,255,255,255,255,239,
+ 5,250,255,255,255,255,255,255,223,224,255,255,255,255,255,255,255,63,255,255,255,255,255,255,
+ 255,255,244,255,255,255,255,255,255,255,79,254,255,255,255,255,255,255,255,130,255,255,255,255,
+ 255,255,255,12,145,255,255,255,255,255,255,59,0,112,254,255,239,8,244,255,255,255,95,248,
+ 255,255,255,143,248,255,255,255,143,248,255,255,255,143,248,255,255,255,143,248,255,255,255,143,
+ 248,255,255,255,143,246,255,255,255,127,193,255,255,255,29,0,67,68,68,0,0,0,0,0,
+ 0,0,0,66,1,0,0,0,0,0,0,0,144,255,159,1,0,0,0,0,0,0,245,255,
+ 255,13,0,0,0,0,0,0,253,255,255,95,0,0,0,0,0,112,255,255,255,127,0,0,
+ 0,0,0,226,255,255,255,127,0,0,0,0,0,249,255,255,255,79,0,0,0,0,48,255,
+ 255,255,255,11,0,0,0,0,192,255,255,255,255,3,0,0,0,0,246,255,255,255,159,0,
+ 0,0,0,16,254,255,255,255,30,0,0,0,0,128,255,255,255,255,6,0,0,0,0,242,
+ 255,255,255,207,0,0,0,0,0,250,255,255,255,79,0,0,0,0,64,255,255,255,255,10,
+ 0,0,0,0,192,255,255,255,255,2,0,0,0,0,246,255,255,255,143,0,0,0,0,16,
+ 254,255,255,255,29,0,0,0,0,144,255,255,255,255,5,0,0,0,0,243,255,255,255,207,
+ 0,0,0,0,0,251,255,255,255,63,0,0,0,0,80,255,255,255,255,9,0,0,0,0,
+ 208,255,255,255,239,1,0,0,0,0,247,255,255,255,127,0,0,0,0,0,254,255,255,255,
+ 13,0,0,0,0,0,255,255,255,255,5,0,0,0,0,0,255,255,255,191,0,0,0,0,
+ 0,0,250,255,255,63,0,0,0,0,0,0,194,255,255,9,0,0,0,0,0,0,0,181,
+ 123,1,0,0,0,0,0,0,0,0,16,200,254,239,91,0,0,0,0,16,232,255,255,255,
+ 255,77,0,0,0,193,255,255,255,255,255,255,7,0,0,251,255,255,255,255,255,255,79,0,
+ 80,255,255,255,255,255,255,255,223,0,208,255,255,255,255,255,255,255,255,6,244,255,255,255,
+ 255,255,255,255,255,12,249,255,255,255,255,255,255,255,255,31,252,255,255,255,255,255,255,255,
+ 255,79,254,255,255,255,255,255,255,255,255,111,255,255,255,255,223,255,255,255,255,127,255,255,
+ 255,255,111,254,255,255,255,127,255,255,255,255,95,253,255,255,255,127,255,255,255,255,143,255,
+ 255,255,255,127,254,255,255,255,255,255,255,255,255,127,253,255,255,255,255,255,255,255,255,95,
+ 250,255,255,255,255,255,255,255,255,63,246,255,255,255,255,255,255,255,255,14,241,255,255,255,
+ 255,255,255,255,255,9,144,255,255,255,255,255,255,255,255,2,32,254,255,255,255,255,255,255,
+ 159,0,0,245,255,255,255,255,255,255,29,0,0,80,254,255,255,255,255,191,1,0,0,0,
+ 129,254,255,255,207,5,0,0,0,0,0,81,119,103,3,0,0,0,64,253,255,255,255,239,
+ 8,225,255,255,255,255,255,111,245,255,255,255,255,255,191,247,255,255,255,255,255,191,247,255,
+ 255,255,255,255,191,247,255,255,255,255,255,191,247,255,255,255,255,255,191,246,255,255,255,255,
+ 255,191,242,255,255,255,255,255,191,112,255,255,255,255,255,191,0,66,252,255,255,255,191,0,
+ 0,251,255,255,255,191,0,0,251,255,255,255,191,0,0,251,255,255,255,191,0,0,251,255,
+ 255,255,191,0,0,251,255,255,255,191,0,0,251,255,255,255,191,0,0,251,255,255,255,191,
+ 0,0,251,255,255,255,191,0,0,251,255,255,255,191,0,0,251,255,255,255,191,0,0,251,
+ 255,255,255,191,0,0,247,255,255,255,127,0,0,129,253,255,223,24,0,48,200,254,239,157,
+ 3,0,0,179,255,255,255,255,255,26,0,242,255,255,255,255,255,255,12,144,255,255,255,255,
+ 255,255,255,6,251,255,255,255,255,255,255,223,176,255,255,255,255,255,255,255,47,251,255,255,
+ 255,255,255,255,255,116,255,255,255,255,255,255,255,79,225,255,255,255,255,255,255,255,4,248,
+ 255,255,255,255,255,255,63,16,251,239,255,255,255,255,255,1,0,98,255,255,255,255,255,11,
+ 0,48,254,255,255,255,255,79,0,32,253,255,255,255,255,191,0,16,253,255,255,255,255,255,
+ 76,16,252,255,255,255,255,255,255,46,247,255,255,255,255,255,255,255,182,255,255,255,255,255,
+ 255,255,127,251,255,255,255,255,255,255,255,183,255,255,255,255,255,255,255,127,249,255,255,255,
+ 255,255,255,255,103,255,255,255,255,255,255,255,79,225,255,255,255,255,255,255,207,0,229,255,
+ 255,255,255,255,207,3,0,65,68,68,68,68,52,0,0,0,16,182,237,255,206,24,0,0,
+ 0,231,255,255,255,255,239,7,0,80,255,255,255,255,255,255,127,0,176,255,255,255,255,255,
+ 255,239,1,208,255,255,255,255,255,255,255,6,208,255,255,255,255,255,255,255,7,192,255,255,
+ 255,255,255,255,255,7,128,255,255,255,255,255,255,255,7,32,255,255,255,255,255,255,255,6,
+ 0,249,255,255,255,255,255,255,2,0,177,255,255,255,255,255,175,0,0,144,255,255,255,255,
+ 255,239,1,0,144,255,255,255,255,255,255,8,0,144,255,255,255,255,255,255,14,0,250,255,
+ 255,255,255,255,255,63,48,255,255,255,255,255,255,255,79,176,255,255,255,255,255,255,255,79,
+ 242,255,255,255,255,255,255,255,63,245,255,255,255,255,255,255,255,47,246,255,255,255,255,255,
+ 255,255,12,246,255,255,255,255,255,255,255,5,243,255,255,255,255,255,255,191,0,144,255,255,
+ 255,255,255,255,27,0,0,180,255,255,255,255,92,0,0,0,0,65,119,119,38,0,0,0,
+ 0,0,0,145,254,255,255,207,3,0,0,0,144,255,255,255,255,223,0,0,0,48,255,255,
+ 255,255,255,15,0,0,0,251,255,255,255,255,255,0,0,0,244,255,255,255,255,255,15,0,
+ 0,208,255,255,255,255,255,255,0,0,96,255,255,255,255,255,255,15,0,16,254,255,255,255,
+ 255,255,255,0,0,248,255,255,255,255,255,255,15,0,242,255,255,255,255,255,255,255,0,160,
+ 255,255,255,255,255,255,255,31,48,255,255,255,255,255,255,255,255,94,250,255,255,255,255,255,
+ 255,255,255,189,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,175,255,
+ 255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,15,251,255,255,255,255,255,
+ 255,255,239,48,255,255,255,255,255,255,255,255,9,80,253,255,255,255,255,255,255,24,0,0,
+ 0,128,255,255,255,255,15,0,0,0,0,247,255,255,255,255,0,0,0,0,32,255,255,255,
+ 255,9,0,0,0,0,64,219,221,188,6,0,0,182,187,187,187,187,123,1,128,255,255,255,
+ 255,255,255,8,224,255,255,255,255,255,255,14,240,255,255,255,255,255,255,15,240,255,255,255,
+ 255,255,255,15,240,255,255,255,255,255,255,15,240,255,255,255,255,255,255,15,240,255,255,255,
+ 255,255,255,13,240,255,255,255,255,255,255,9,240,255,255,255,255,255,255,4,240,255,255,255,
+ 255,255,255,10,240,255,255,255,255,255,255,63,240,255,255,255,255,255,255,143,224,255,255,255,
+ 255,255,255,175,176,255,255,255,255,255,255,191,243,255,255,255,255,255,255,191,248,255,255,255,
+ 255,255,255,191,250,255,255,255,255,255,255,175,251,255,255,255,255,255,255,127,251,255,255,255,
+ 255,255,255,30,251,255,255,255,255,255,255,8,250,255,255,255,255,255,207,1,243,255,255,255,
+ 255,255,26,0,48,234,255,255,239,58,0,0,0,0,50,68,3,0,0,0,0,0,0,182,
+ 254,239,157,2,0,0,0,213,255,255,255,255,95,0,0,112,255,255,255,255,255,223,0,0,
+ 246,255,255,255,255,255,255,1,16,254,255,255,255,255,255,255,1,128,255,255,255,255,255,255,
+ 255,0,225,255,255,255,255,255,255,207,0,246,255,255,255,255,255,255,95,0,250,255,255,255,
+ 255,255,255,30,0,252,255,255,255,255,255,255,191,0,254,255,255,255,255,255,255,255,7,255,
+ 255,255,255,255,255,255,255,14,255,255,255,255,255,255,255,255,79,255,255,255,255,255,255,255,
+ 255,127,255,255,255,255,255,255,255,255,127,254,255,255,255,255,255,255,255,127,252,255,255,255,
+ 255,255,255,255,127,249,255,255,255,255,255,255,255,111,245,255,255,255,255,255,255,255,63,208,
+ 255,255,255,255,255,255,255,12,80,255,255,255,255,255,255,255,4,0,250,255,255,255,255,255,
+ 159,0,0,161,255,255,255,255,255,8,0,0,0,179,255,255,239,41,0,0,0,0,0,49,
+ 68,2,0,0,0,16,183,187,187,187,187,187,23,0,144,255,255,255,255,255,255,223,1,241,
+ 255,255,255,255,255,255,255,8,243,255,255,255,255,255,255,255,30,244,255,255,255,255,255,255,
+ 255,63,244,255,255,255,255,255,255,255,63,244,255,255,255,255,255,255,255,31,243,255,255,255,
+ 255,255,255,255,12,224,255,255,255,255,255,255,255,8,112,255,255,255,255,255,255,255,3,0,
+ 116,152,255,255,255,255,239,0,0,0,112,255,255,255,255,175,0,0,0,208,255,255,255,255,
+ 95,0,0,0,243,255,255,255,255,31,0,0,0,248,255,255,255,255,12,0,0,0,253,255,
+ 255,255,255,7,0,0,48,255,255,255,255,255,3,0,0,128,255,255,255,255,239,0,0,0,
+ 208,255,255,255,255,159,0,0,0,243,255,255,255,255,95,0,0,0,247,255,255,255,255,31,
+ 0,0,0,247,255,255,255,255,11,0,0,0,244,255,255,255,255,5,0,0,0,128,254,255,
+ 255,142,0,0,0,0,0,16,34,18,0,0,0,0,0,0,16,200,254,239,90,0,0,0,
+ 0,128,254,255,255,255,207,3,0,0,176,255,255,255,255,255,239,3,0,96,255,255,255,255,
+ 255,255,207,0,0,254,255,255,255,255,255,255,95,0,244,255,255,255,255,255,255,255,9,112,
+ 255,255,255,255,255,255,255,175,0,247,255,255,255,255,255,255,255,10,112,255,255,255,255,255,
+ 255,255,175,0,246,255,255,255,255,255,255,255,8,32,255,255,255,255,255,255,255,63,0,225,
+ 255,255,255,255,255,255,255,6,112,255,255,255,255,255,255,255,223,0,254,255,255,255,255,255,
+ 255,255,79,243,255,255,255,255,255,255,255,255,71,255,255,255,255,255,255,255,255,127,244,255,
+ 255,255,255,255,255,255,255,71,255,255,255,255,255,255,255,255,127,242,255,255,255,255,255,255,
+ 255,255,5,252,255,255,255,255,255,255,255,30,80,255,255,255,255,255,255,255,127,0,176,255,
+ 255,255,255,255,255,223,1,0,177,255,255,255,255,255,207,2,0,0,80,253,255,255,255,109,
+ 0,0,0,0,0,99,136,104,3,0,0,0,0,0,146,253,255,157,2,0,0,0,145,255,
+ 255,255,255,159,1,0,16,252,255,255,255,255,255,28,0,144,255,255,255,255,255,255,143,0,
+ 242,255,255,255,255,255,255,255,2,249,255,255,255,255,255,255,255,8,253,255,255,255,255,255,
+ 255,255,13,255,255,255,255,255,255,255,255,31,255,255,255,255,255,255,255,255,63,255,255,255,
+ 255,255,255,255,255,79,255,255,255,255,255,255,255,255,79,253,255,255,255,255,255,255,255,79,
+ 249,255,255,255,255,255,255,255,79,243,255,255,255,255,255,255,255,63,160,255,255,255,255,255,
+ 255,255,47,16,254,255,255,255,255,255,255,15,64,255,255,255,255,255,255,255,12,144,255,255,
+ 255,255,255,255,255,8,176,255,255,255,255,255,255,255,2,192,255,255,255,255,255,255,175,0,
+ 192,255,255,255,255,255,255,63,0,176,255,255,255,255,255,255,7,0,64,255,255,255,255,255,
+ 127,0,0,0,180,255,255,255,158,2,0,0,0,0,49,68,52,0,0,0,0,16,118,119,
+ 119,1,225,255,255,255,46,247,255,255,255,127,248,255,255,255,143,248,255,255,255,143,248,255,
+ 255,255,143,248,255,255,255,143,248,255,255,255,143,248,255,255,255,143,243,255,255,255,79,244,
+ 255,255,255,95,248,255,255,255,143,248,255,255,255,143,248,255,255,255,143,248,255,255,255,143,
+ 248,255,255,255,143,248,255,255,255,143,246,255,255,255,127,193,255,255,255,29,0,67,68,68,
+ 0,0,97,119,119,23,0,225,255,255,255,46,112,255,255,255,255,7,248,255,255,255,143,128,
+ 255,255,255,255,8,248,255,255,255,143,128,255,255,255,255,8,248,255,255,255,143,128,255,255,
+ 255,255,8,243,255,255,255,79,0,248,255,255,223,0,208,255,255,255,95,0,255,255,255,255,
+ 8,240,255,255,255,143,48,255,255,255,255,8,250,255,255,255,143,242,255,255,255,255,133,255,
+ 255,255,255,13,249,255,255,255,127,144,255,255,255,239,1,243,255,255,255,8,0,180,254,223,
+ 6,0,0,0,0,0,65,2,0,0,0,0,112,255,159,2,0,0,0,246,255,255,13,0,
+ 0,64,255,255,255,111,0,0,226,255,255,255,159,0,16,252,255,255,255,159,0,176,255,255,
+ 255,255,111,0,248,255,255,255,255,12,96,255,255,255,255,223,1,241,255,255,255,255,46,0,
+ 247,255,255,255,239,3,0,247,255,255,255,175,0,0,247,255,255,255,255,8,0,225,255,255,
+ 255,255,143,0,80,255,255,255,255,255,7,0,246,255,255,255,255,79,0,128,255,255,255,255,
+ 175,0,0,249,255,255,255,191,0,0,160,255,255,255,175,0,0,16,251,255,255,79,0,0,
+ 0,193,255,255,9,0,0,0,16,184,58,0,0,116,136,136,136,136,136,39,0,247,255,255,
+ 255,255,255,255,79,225,255,255,255,255,255,255,255,59,255,255,255,255,255,255,255,255,244,255,
+ 255,255,255,255,255,255,79,255,255,255,255,255,255,255,255,242,255,255,255,255,255,255,255,13,
+ 251,255,255,255,255,255,255,127,225,255,255,255,255,255,255,255,59,255,255,255,255,255,255,255,
+ 255,244,255,255,255,255,255,255,255,79,255,255,255,255,255,255,255,255,242,255,255,255,255,255,
+ 255,255,13,250,255,255,255,255,255,255,111,16,183,187,187,187,187,187,107,0,0,16,36,0,
+ 0,0,0,16,232,255,26,0,0,0,160,255,255,175,0,0,0,243,255,255,255,7,0,0,
+ 245,255,255,255,95,0,0,245,255,255,255,239,3,0,242,255,255,255,255,29,0,128,255,255,
+ 255,255,207,0,0,250,255,255,255,255,10,0,176,255,255,255,255,95,0,16,253,255,255,255,
+ 191,0,0,246,255,255,255,191,0,80,255,255,255,255,175,0,244,255,255,255,255,79,64,255,
+ 255,255,255,255,8,225,255,255,255,255,175,0,247,255,255,255,255,11,0,247,255,255,255,207,
+ 1,0,247,255,255,255,29,0,0,225,255,255,239,2,0,0,96,255,255,62,0,0,0,0,
+ 130,155,2,0,0,0,0,16,166,253,255,190,23,0,0,129,254,255,255,255,255,110,0,160,
+ 255,255,255,255,255,255,111,32,255,255,255,255,255,255,255,30,244,255,255,255,255,255,255,255,
+ 71,255,255,255,255,255,255,255,175,242,255,255,255,255,255,255,255,11,252,255,255,255,255,255,
+ 255,191,64,255,255,255,255,255,255,255,11,144,255,255,255,255,255,255,143,0,64,252,255,255,
+ 255,255,255,2,0,242,255,255,255,255,255,9,0,160,255,255,255,255,255,29,0,0,255,255,
+ 255,255,255,45,0,0,240,255,255,255,255,45,0,0,0,255,255,255,255,47,0,0,0,224,
+ 255,255,255,239,0,0,0,0,251,255,255,255,11,0,0,0,176,255,255,255,191,0,0,0,
+ 0,251,255,255,255,11,0,0,0,176,255,255,255,191,0,0,0,0,251,255,255,255,11,0,
+ 0,0,160,255,255,255,175,0,0,0,0,227,255,255,239,4,0,0,0,0,65,68,68,1,
+ 0,0,0,0,0,0,0,0,49,67,35,0,0,0,0,0,0,0,0,130,252,255,255,239,
+ 58,0,0,0,0,0,32,249,255,255,255,255,255,191,2,0,0,0,80,254,255,255,255,255,
+ 255,255,239,4,0,0,112,255,255,255,255,255,255,255,255,239,3,0,80,255,255,255,255,255,
+ 255,255,255,255,207,0,16,254,255,255,255,255,255,255,255,255,255,79,0,248,255,255,255,255,
+ 255,255,255,255,255,255,11,225,255,255,255,255,255,255,255,255,255,255,255,97,255,255,255,255,
+ 255,255,255,255,255,255,255,63,250,255,255,255,255,255,255,255,255,255,255,255,212,255,255,255,
+ 255,255,255,255,255,255,255,255,79,254,255,255,255,255,255,255,255,255,255,255,255,244,255,255,
+ 255,255,255,255,255,255,255,255,255,63,255,255,255,255,255,255,255,255,255,255,255,255,241,255,
+ 255,255,255,255,255,255,255,255,255,255,13,254,255,255,255,255,255,255,255,255,255,255,127,208,
+ 255,255,255,255,255,255,255,255,255,255,223,1,250,255,255,255,255,255,255,255,255,255,255,4,
+ 80,255,255,255,255,255,255,255,255,255,223,4,0,192,255,255,255,255,255,255,255,255,143,0,
+ 0,0,245,255,255,255,255,255,255,255,255,5,0,0,0,249,255,255,255,255,255,255,255,95,
+ 0,0,0,0,249,255,255,255,255,255,255,255,3,0,0,0,0,197,255,255,255,255,255,255,
+ 11,0,0,0,0,0,80,234,255,255,255,207,6,0,0,0,0,0,0,0,32,67,52,19,
+ 0,0,0,0,0,0,0,16,184,187,187,187,74,0,0,0,0,0,144,255,255,255,255,255,
+ 4,0,0,0,0,241,255,255,255,255,255,11,0,0,0,0,244,255,255,255,255,255,14,0,
+ 0,0,0,248,255,255,255,255,255,79,0,0,0,0,252,255,255,255,255,255,127,0,0,0,
+ 16,255,255,255,255,255,255,191,0,0,0,80,255,255,255,255,255,255,255,1,0,0,144,255,
+ 255,255,255,255,255,255,4,0,0,208,255,255,255,255,255,255,255,8,0,0,242,255,255,255,
+ 255,255,255,255,12,0,0,245,255,255,255,255,255,255,255,31,0,0,249,255,255,255,255,255,
+ 255,255,79,0,0,253,255,255,255,255,255,255,255,143,0,32,255,255,255,255,255,255,255,255,
+ 207,0,96,255,255,255,255,255,255,255,255,255,1,160,255,255,255,255,255,255,255,255,255,5,
+ 224,255,255,255,255,255,255,255,255,255,9,243,255,255,255,255,255,255,255,255,255,13,247,255,
+ 255,255,255,251,255,255,255,255,47,248,255,255,255,207,192,255,255,255,255,63,248,255,255,255,
+ 143,128,255,255,255,255,63,244,255,255,255,47,32,255,255,255,255,29,80,236,238,173,2,0,
+ 163,254,239,189,3,48,186,187,187,187,171,55,0,0,16,254,255,255,255,255,255,191,3,0,
+ 244,255,255,255,255,255,255,239,4,64,255,255,255,255,255,255,255,223,0,244,255,255,255,255,
+ 255,255,255,95,64,255,255,255,255,255,255,255,255,10,244,255,255,255,255,255,255,255,191,64,
+ 255,255,255,255,255,255,255,255,11,244,255,255,255,255,255,255,255,191,64,255,255,255,255,255,
+ 255,255,255,10,244,255,255,255,255,255,255,255,111,64,255,255,255,255,255,255,255,255,3,244,
+ 255,255,255,255,255,255,255,175,64,255,255,255,255,255,255,255,255,47,244,255,255,255,255,255,
+ 255,255,255,70,255,255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,255,71,255,
+ 255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,255,71,255,255,255,255,255,255,
+ 255,255,63,244,255,255,255,255,255,255,255,191,48,255,255,255,255,255,255,255,239,2,192,255,
+ 255,255,255,255,255,207,3,0,179,255,255,255,255,223,74,0,0,0,0,0,97,235,255,206,
+ 57,0,0,0,0,230,255,255,255,255,175,1,0,0,250,255,255,255,255,255,159,0,0,250,
+ 255,255,255,255,255,255,14,0,245,255,255,255,255,255,255,255,0,208,255,255,255,255,255,255,
+ 255,15,80,255,255,255,255,255,255,255,223,0,251,255,255,255,255,255,255,255,7,224,255,255,
+ 255,255,255,255,255,30,32,255,255,255,255,255,255,255,127,0,243,255,255,255,255,94,199,125,
+ 0,64,255,255,255,255,127,0,0,0,0,244,255,255,255,255,5,0,0,0,64,255,255,255,
+ 255,175,0,116,3,0,243,255,255,255,255,223,253,255,8,32,255,255,255,255,255,255,255,255,
+ 3,224,255,255,255,255,255,255,255,175,0,250,255,255,255,255,255,255,255,47,64,255,255,255,
+ 255,255,255,255,255,5,176,255,255,255,255,255,255,255,111,0,243,255,255,255,255,255,255,255,
+ 5,0,246,255,255,255,255,255,255,47,0,0,229,255,255,255,255,255,143,0,0,0,129,254,
+ 255,255,255,76,0,0,0,0,16,116,119,87,2,0,0,96,253,255,255,239,173,5,0,0,
+ 64,255,255,255,255,255,255,109,0,0,250,255,255,255,255,255,255,191,1,176,255,255,255,255,
+ 255,255,255,191,0,251,255,255,255,255,255,255,255,79,176,255,255,255,255,255,255,255,255,12,
+ 251,255,255,255,255,255,255,255,255,179,255,255,255,255,255,255,255,255,127,251,255,255,255,255,
+ 255,255,255,255,185,255,255,255,255,255,255,255,255,191,251,255,255,255,255,255,255,255,255,187,
+ 255,255,255,255,255,255,255,255,191,251,255,255,255,255,255,255,255,255,187,255,255,255,255,255,
+ 255,255,255,191,251,255,255,255,255,255,255,255,255,186,255,255,255,255,255,255,255,255,143,251,
+ 255,255,255,255,255,255,255,255,181,255,255,255,255,255,255,255,255,30,251,255,255,255,255,255,
+ 255,255,159,176,255,255,255,255,255,255,255,255,2,251,255,255,255,255,255,255,255,7,176,255,
+ 255,255,255,255,255,255,9,0,244,255,255,255,255,255,223,5,0,0,214,255,255,255,223,90,
+ 0,0,0,96,187,187,187,187,187,139,1,245,255,255,255,255,255,255,9,251,255,255,255,255,
+ 255,255,15,251,255,255,255,255,255,255,47,251,255,255,255,255,255,255,47,251,255,255,255,255,
+ 255,255,47,251,255,255,255,255,255,255,47,251,255,255,255,255,255,255,31,251,255,255,255,255,
+ 255,255,11,251,255,255,255,255,255,207,3,251,255,255,255,255,255,127,0,251,255,255,255,255,
+ 255,127,0,251,255,255,255,255,255,127,0,251,255,255,255,255,255,127,0,251,255,255,255,255,
+ 255,159,1,251,255,255,255,255,255,255,9,251,255,255,255,255,255,255,31,251,255,255,255,255,
+ 255,255,63,251,255,255,255,255,255,255,79,251,255,255,255,255,255,255,79,251,255,255,255,255,
+ 255,255,63,251,255,255,255,255,255,255,31,246,255,255,255,255,255,255,11,128,254,255,255,255,
+ 255,191,3,96,187,187,187,187,187,123,97,255,255,255,255,255,255,143,251,255,255,255,255,255,
+ 255,189,255,255,255,255,255,255,255,251,255,255,255,255,255,255,191,255,255,255,255,255,255,255,
+ 251,255,255,255,255,255,255,191,255,255,255,255,255,255,239,251,255,255,255,255,255,255,186,255,
+ 255,255,255,255,255,43,251,255,255,255,255,255,63,176,255,255,255,255,255,255,4,251,255,255,
+ 255,255,255,79,176,255,255,255,255,255,255,4,251,255,255,255,255,255,63,176,255,255,255,255,
+ 255,239,1,251,255,255,255,255,255,7,176,255,255,255,255,73,2,0,251,255,255,255,143,0,
+ 0,176,255,255,255,255,8,0,0,251,255,255,255,143,0,0,176,255,255,255,255,8,0,0,
+ 249,255,255,255,95,0,0,32,253,255,255,175,0,0,0,0,100,102,37,0,0,0,0,0,
+ 0,0,80,218,255,239,172,5,0,0,0,96,253,255,255,255,255,223,4,0,0,250,255,255,
+ 255,255,255,255,29,0,160,255,255,255,255,255,255,255,63,0,246,255,255,255,255,255,255,255,
+ 63,0,253,255,255,255,255,255,255,255,63,96,255,255,255,255,255,255,255,255,31,176,255,255,
+ 255,255,255,255,255,255,11,240,255,255,255,255,255,255,255,255,4,242,255,255,255,255,255,255,
+ 255,223,1,244,255,255,255,255,174,255,255,255,30,244,255,255,255,255,183,255,255,255,127,244,
+ 255,255,255,255,182,255,255,255,143,244,255,255,255,255,203,255,255,255,143,243,255,255,255,255,
+ 255,255,255,255,143,241,255,255,255,255,255,255,255,255,143,208,255,255,255,255,255,255,255,255,
+ 143,128,255,255,255,255,255,255,255,255,143,32,255,255,255,255,255,255,255,255,143,0,250,255,
+ 255,255,255,255,255,255,143,0,226,255,255,255,255,255,255,255,143,0,64,255,255,255,255,255,
+ 255,255,127,0,0,211,255,255,255,255,255,255,47,0,0,0,214,255,255,255,255,158,2,0,
+ 0,0,0,99,119,119,53,0,0,112,253,255,223,7,129,186,187,90,112,255,255,255,255,232,
+ 255,255,255,159,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,
+ 255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,
+ 255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,
+ 255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,
+ 255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,
+ 255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,
+ 255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,
+ 255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,
+ 255,255,247,255,255,255,175,255,255,255,255,27,216,255,255,141,97,236,255,239,41,32,202,204,
+ 204,204,204,108,0,253,255,255,255,255,255,111,245,255,255,255,255,255,255,124,255,255,255,255,
+ 255,255,255,247,255,255,255,255,255,255,127,255,255,255,255,255,255,255,247,255,255,255,255,255,
+ 255,94,255,255,255,255,255,255,207,208,255,255,255,255,255,255,6,146,254,255,255,255,223,6,
+ 0,176,255,255,255,255,8,0,0,251,255,255,255,143,0,0,176,255,255,255,255,8,0,0,
+ 251,255,255,255,143,0,0,214,255,255,255,255,43,0,251,255,255,255,255,255,79,243,255,255,
+ 255,255,255,255,123,255,255,255,255,255,255,239,247,255,255,255,255,255,255,127,255,255,255,255,
+ 255,255,255,247,255,255,255,255,255,255,95,255,255,255,255,255,255,223,225,255,255,255,255,255,
+ 255,7,213,255,255,255,255,255,25,0,0,181,204,204,204,156,2,0,64,255,255,255,255,255,
+ 30,0,160,255,255,255,255,255,111,0,208,255,255,255,255,255,143,0,208,255,255,255,255,255,
+ 143,0,208,255,255,255,255,255,143,0,208,255,255,255,255,255,143,0,160,255,255,255,255,255,
+ 143,0,64,255,255,255,255,255,143,0,0,181,255,255,255,255,143,0,0,0,255,255,255,255,
+ 143,0,0,0,255,255,255,255,143,0,0,0,255,255,255,255,143,0,182,40,255,255,255,255,
+ 143,128,255,255,255,255,255,255,143,242,255,255,255,255,255,255,143,248,255,255,255,255,255,255,
+ 143,252,255,255,255,255,255,255,127,253,255,255,255,255,255,255,111,253,255,255,255,255,255,255,
+ 47,252,255,255,255,255,255,255,10,245,255,255,255,255,255,239,2,160,255,255,255,255,255,60,
+ 0,0,180,255,255,255,92,0,0,0,0,49,68,19,0,0,0,129,253,255,223,24,166,187,
+ 171,57,0,247,255,255,255,239,255,255,255,255,7,251,255,255,255,255,255,255,255,255,14,251,
+ 255,255,255,255,255,255,255,255,14,251,255,255,255,255,255,255,255,255,13,251,255,255,255,255,
+ 255,255,255,255,6,251,255,255,255,255,255,255,255,223,0,251,255,255,255,255,255,255,255,95,
+ 0,251,255,255,255,255,255,255,255,11,0,251,255,255,255,255,255,255,255,3,0,251,255,255,
+ 255,255,255,255,175,0,0,251,255,255,255,255,255,255,63,0,0,251,255,255,255,255,255,255,
+ 175,0,0,251,255,255,255,255,255,255,255,6,0,251,255,255,255,255,255,255,255,62,0,251,
+ 255,255,255,255,255,255,255,223,1,251,255,255,255,255,255,255,255,255,9,251,255,255,255,255,
+ 255,255,255,255,79,251,255,255,255,255,255,255,255,255,175,251,255,255,255,255,255,255,255,255,
+ 175,251,255,255,255,255,255,255,255,255,143,251,255,255,255,255,255,255,255,255,29,248,255,255,
+ 255,191,255,255,255,175,1,129,254,255,239,24,214,255,191,4,0,0,0,0,0,0,0,67,
+ 2,0,0,113,220,221,172,3,0,0,144,255,255,255,255,2,0,0,255,255,255,255,127,0,
+ 0,240,255,255,255,255,8,0,0,255,255,255,255,143,0,0,240,255,255,255,255,8,0,0,
+ 255,255,255,255,143,0,0,240,255,255,255,255,8,0,0,255,255,255,255,143,0,0,240,255,
+ 255,255,255,8,0,0,255,255,255,255,143,0,0,240,255,255,255,255,8,0,0,255,255,255,
+ 255,143,0,0,240,255,255,255,255,73,20,0,255,255,255,255,255,255,111,240,255,255,255,255,
+ 255,255,30,255,255,255,255,255,255,255,244,255,255,255,255,255,255,95,255,255,255,255,255,255,
+ 255,246,255,255,255,255,255,255,111,255,255,255,255,255,255,255,213,255,255,255,255,255,255,63,
+ 246,255,255,255,255,255,207,0,231,255,255,255,255,207,3,16,216,254,255,206,23,0,113,236,
+ 255,239,157,2,0,250,255,255,255,255,12,176,255,255,255,255,239,1,241,255,255,255,255,255,
+ 52,255,255,255,255,255,111,16,255,255,255,255,255,175,248,255,255,255,255,255,7,242,255,255,
+ 255,255,255,206,255,255,255,255,255,127,32,255,255,255,255,255,255,255,255,255,255,255,255,8,
+ 243,255,255,255,255,255,255,255,255,255,255,255,159,48,255,255,255,255,255,255,255,255,255,255,
+ 255,255,9,244,255,255,255,255,255,255,255,255,255,255,255,175,64,255,255,255,255,255,255,255,
+ 255,255,255,255,255,11,245,255,255,255,255,255,255,255,255,255,255,255,191,80,255,255,255,255,
+ 255,255,255,255,255,255,255,255,12,246,255,255,255,255,255,255,255,255,255,255,255,223,96,255,
+ 255,255,255,255,255,255,255,255,255,255,255,13,247,255,255,255,255,255,255,255,255,255,255,255,
+ 239,112,255,255,255,255,255,255,255,255,255,255,255,255,15,248,255,255,255,255,255,255,255,255,
+ 255,255,255,255,144,255,255,255,255,255,255,255,255,255,255,255,255,31,249,255,255,255,255,255,
+ 255,255,255,255,255,255,255,162,255,255,255,255,255,255,255,255,255,255,255,255,47,250,255,255,
+ 255,255,255,255,255,255,255,255,255,255,162,255,255,255,255,255,255,255,255,255,255,255,255,47,
+ 244,255,255,255,159,255,255,255,219,255,255,255,207,0,197,254,239,75,112,237,222,41,163,254,
+ 255,157,2,80,186,187,122,1,80,186,187,90,96,255,255,255,239,147,255,255,255,159,251,255,
+ 255,255,191,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,
+ 255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,
+ 255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,
+ 255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,
+ 255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,
+ 255,191,255,255,255,255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,
+ 255,255,255,255,255,255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,255,255,255,255,
+ 255,251,255,255,255,255,255,255,255,255,191,255,255,255,255,253,255,255,255,255,247,255,255,255,
+ 46,255,255,255,255,26,216,255,239,75,64,235,255,239,41,0,0,0,96,219,255,223,90,0,
+ 0,0,0,0,96,253,255,255,255,255,93,0,0,0,16,251,255,255,255,255,255,255,10,0,
+ 0,176,255,255,255,255,255,255,255,159,0,0,247,255,255,255,255,255,255,255,255,4,16,254,
+ 255,255,255,255,255,255,255,255,12,112,255,255,255,255,255,255,255,255,255,63,192,255,255,255,
+ 255,255,255,255,255,255,143,240,255,255,255,255,255,255,255,255,255,207,242,255,255,255,255,255,
+ 255,255,255,255,239,243,255,255,255,255,126,255,255,255,255,255,244,255,255,255,255,7,251,255,
+ 255,255,255,244,255,255,255,255,5,249,255,255,255,255,244,255,255,255,255,9,253,255,255,255,
+ 255,243,255,255,255,255,223,255,255,255,255,239,241,255,255,255,255,255,255,255,255,255,223,224,
+ 255,255,255,255,255,255,255,255,255,175,144,255,255,255,255,255,255,255,255,255,111,48,255,255,
+ 255,255,255,255,255,255,255,30,0,251,255,255,255,255,255,255,255,255,8,0,243,255,255,255,
+ 255,255,255,255,223,1,0,80,255,255,255,255,255,255,255,62,0,0,0,212,255,255,255,255,
+ 255,207,3,0,0,0,16,215,255,255,255,207,5,0,0,0,0,0,0,99,119,103,2,0,
+ 0,0,80,187,187,187,171,105,1,0,0,244,255,255,255,255,255,142,1,0,251,255,255,255,
+ 255,255,255,62,0,251,255,255,255,255,255,255,223,0,251,255,255,255,255,255,255,255,6,251,
+ 255,255,255,255,255,255,255,12,251,255,255,255,255,255,255,255,31,251,255,255,255,255,255,255,
+ 255,63,251,255,255,255,255,255,255,255,79,251,255,255,255,255,255,255,255,79,251,255,255,255,
+ 255,255,255,255,79,251,255,255,255,255,255,255,255,47,251,255,255,255,255,255,255,255,13,251,
+ 255,255,255,255,255,255,255,7,251,255,255,255,255,255,255,239,1,251,255,255,255,255,255,255,
+ 111,0,251,255,255,255,255,255,255,8,0,251,255,255,255,255,255,59,0,0,251,255,255,255,
+ 207,55,0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,251,
+ 255,255,255,143,0,0,0,0,248,255,255,255,79,0,0,0,0,145,255,255,223,7,0,0,
+ 0,0,0,32,34,1,0,0,0,0,0,0,0,0,96,219,255,223,90,0,0,0,0,0,
+ 96,253,255,255,255,255,93,0,0,0,16,251,255,255,255,255,255,255,10,0,0,176,255,255,
+ 255,255,255,255,255,159,0,0,247,255,255,255,255,255,255,255,255,4,16,254,255,255,255,255,
+ 255,255,255,255,12,112,255,255,255,255,255,255,255,255,255,79,192,255,255,255,255,255,255,255,
+ 255,255,143,240,255,255,255,255,255,255,255,255,255,207,242,255,255,255,255,255,255,255,255,255,
+ 239,243,255,255,255,255,126,255,255,255,255,255,244,255,255,255,255,7,250,255,255,255,255,244,
+ 255,255,255,255,5,249,255,255,255,255,244,255,255,255,255,26,253,255,255,255,255,243,255,255,
+ 255,255,239,255,255,255,255,239,241,255,255,255,255,255,255,255,255,255,223,208,255,255,255,255,
+ 255,255,255,255,255,175,144,255,255,255,255,255,255,255,255,255,111,32,255,255,255,255,255,255,
+ 255,255,255,30,0,250,255,255,255,255,255,255,255,255,7,0,226,255,255,255,255,255,255,255,
+ 223,1,0,64,255,255,255,255,255,255,255,63,0,0,0,211,255,255,255,255,255,255,127,0,
+ 0,0,0,214,255,255,255,255,255,159,0,0,0,0,0,246,255,255,255,255,159,0,0,0,
+ 0,0,112,255,255,255,255,79,0,0,0,0,0,0,248,255,255,255,11,0,0,0,0,0,
+ 0,144,255,255,207,1,0,0,0,0,0,0,0,231,207,5,0,0,64,186,187,187,187,138,
+ 4,0,0,64,255,255,255,255,255,255,92,0,0,250,255,255,255,255,255,255,159,0,176,255,
+ 255,255,255,255,255,255,111,0,251,255,255,255,255,255,255,255,13,176,255,255,255,255,255,255,
+ 255,255,4,251,255,255,255,255,255,255,255,127,176,255,255,255,255,255,255,255,255,7,251,255,
+ 255,255,255,255,255,255,127,176,255,255,255,255,255,255,255,255,7,251,255,255,255,255,255,255,
+ 255,111,176,255,255,255,255,255,255,255,255,2,251,255,255,255,255,255,255,255,10,176,255,255,
+ 255,255,255,255,255,63,0,251,255,255,255,255,255,255,255,6,176,255,255,255,255,255,255,255,
+ 239,1,251,255,255,255,255,255,255,255,159,176,255,255,255,255,255,255,255,255,47,251,255,255,
+ 255,255,255,255,255,255,181,255,255,255,255,255,255,255,255,95,251,255,255,255,255,255,255,255,
+ 255,179,255,255,255,255,255,255,255,255,9,248,255,255,255,239,255,255,255,7,16,232,255,255,
+ 109,162,255,159,2,0,0,0,0,0,0,16,18,0,0,0,0,0,32,216,255,239,172,5,
+ 0,0,16,249,255,255,255,255,223,3,0,193,255,255,255,255,255,255,11,0,249,255,255,255,
+ 255,255,255,15,32,255,255,255,255,255,255,255,15,128,255,255,255,255,255,255,255,14,176,255,
+ 255,255,255,255,255,255,11,176,255,255,255,255,255,255,255,6,176,255,255,255,255,255,255,239,
+ 1,176,255,255,255,255,255,255,159,0,160,255,255,255,255,255,255,255,4,96,255,255,255,255,
+ 255,255,255,12,16,254,255,255,255,255,255,255,63,0,253,255,255,255,255,255,255,127,96,255,
+ 255,255,255,255,255,255,127,208,255,255,255,255,255,255,255,127,242,255,255,255,255,255,255,255,
+ 127,244,255,255,255,255,255,255,255,111,244,255,255,255,255,255,255,255,63,244,255,255,255,255,
+ 255,255,255,12,225,255,255,255,255,255,255,255,5,128,255,255,255,255,255,255,191,0,0,249,
+ 255,255,255,255,255,26,0,0,48,234,255,255,255,75,0,0,0,0,0,50,68,19,0,0,
+ 0,112,254,255,255,255,255,255,223,5,244,255,255,255,255,255,255,255,30,249,255,255,255,255,
+ 255,255,255,95,251,255,255,255,255,255,255,255,127,251,255,255,255,255,255,255,255,127,251,255,
+ 255,255,255,255,255,255,127,251,255,255,255,255,255,255,255,127,249,255,255,255,255,255,255,255,
+ 95,244,255,255,255,255,255,255,255,30,112,254,255,255,255,255,255,223,5,0,0,251,255,255,
+ 255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,
+ 251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,
+ 0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,
+ 255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,251,255,255,255,143,0,0,0,0,
+ 251,255,255,255,143,0,0,0,0,248,255,255,255,79,0,0,0,0,145,255,255,239,7,0,
+ 0,0,0,0,32,34,1,0,0,0,32,201,221,205,58,80,219,221,205,23,208,255,255,255,
+ 255,248,255,255,255,159,244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,
+ 255,255,244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,244,255,
+ 255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,
+ 255,255,255,255,244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,
+ 244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,244,255,255,255,
+ 255,255,255,255,255,255,244,255,255,255,255,255,255,255,255,255,244,255,255,255,255,255,255,255,
+ 255,255,243,255,255,255,255,255,255,255,255,255,242,255,255,255,255,255,255,255,255,239,208,255,
+ 255,255,255,255,255,255,255,175,96,255,255,255,255,255,255,255,255,79,0,252,255,255,255,255,
+ 255,255,255,11,0,210,255,255,255,255,255,255,223,2,0,16,250,255,255,255,255,255,43,0,
+ 0,0,48,234,255,255,239,74,0,0,0,0,0,0,50,68,2,0,0,0,113,236,255,239,
+ 58,0,198,254,255,206,6,246,255,255,255,255,130,255,255,255,255,79,250,255,255,255,255,233,
+ 255,255,255,255,143,250,255,255,255,255,254,255,255,255,255,143,248,255,255,255,255,255,255,255,
+ 255,255,111,244,255,255,255,255,255,255,255,255,255,47,241,255,255,255,255,255,255,255,255,255,
+ 13,176,255,255,255,255,255,255,255,255,255,9,112,255,255,255,255,255,255,255,255,255,5,48,
+ 255,255,255,255,255,255,255,255,255,1,0,254,255,255,255,255,255,255,255,207,0,0,250,255,
+ 255,255,255,255,255,255,143,0,0,247,255,255,255,255,255,255,255,63,0,0,243,255,255,255,
+ 255,255,255,255,14,0,0,224,255,255,255,255,255,255,255,10,0,0,160,255,255,255,255,255,
+ 255,255,6,0,0,96,255,255,255,255,255,255,255,2,0,0,32,255,255,255,255,255,255,223,
+ 0,0,0,0,253,255,255,255,255,255,159,0,0,0,0,249,255,255,255,255,255,95,0,0,
+ 0,0,245,255,255,255,255,255,31,0,0,0,0,241,255,255,255,255,255,12,0,0,0,0,
+ 144,255,255,255,255,255,5,0,0,0,0,0,182,237,238,205,57,0,0,0,96,253,255,239,
+ 92,80,252,255,158,2,199,254,255,190,3,243,255,255,255,255,245,255,255,255,122,255,255,255,
+ 255,29,246,255,255,255,255,254,255,255,255,207,255,255,255,255,47,246,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,47,245,255,255,255,255,255,255,255,255,255,255,255,255,255,31,243,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,13,240,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,10,208,255,255,255,255,255,255,255,255,255,255,255,255,255,8,176,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,5,128,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,2,96,255,255,255,255,255,255,255,255,255,255,255,255,239,0,64,255,255,255,255,255,255,
+ 255,255,255,255,255,255,207,0,16,255,255,255,255,255,255,255,255,255,255,255,255,159,0,0,
+ 254,255,255,255,255,255,255,255,255,255,255,255,111,0,0,252,255,255,255,255,255,255,255,255,
+ 255,255,255,63,0,0,249,255,255,255,255,255,255,255,255,255,255,255,31,0,0,247,255,255,
+ 255,255,255,255,255,255,255,255,255,13,0,0,245,255,255,255,255,255,255,255,255,255,255,255,
+ 10,0,0,242,255,255,255,255,255,255,255,255,255,255,255,7,0,0,240,255,255,255,255,255,
+ 255,255,255,255,255,255,5,0,0,208,255,255,255,255,255,255,255,255,255,255,255,2,0,0,
+ 160,255,255,255,255,255,255,255,255,255,255,239,0,0,0,64,255,255,255,255,255,246,255,255,
+ 255,255,127,0,0,0,0,181,254,255,223,58,48,218,255,239,173,4,0,0,96,236,255,239,
+ 124,1,163,253,255,222,24,244,255,255,255,255,77,255,255,255,255,143,247,255,255,255,255,239,
+ 255,255,255,255,191,247,255,255,255,255,255,255,255,255,255,191,243,255,255,255,255,255,255,255,
+ 255,255,127,176,255,255,255,255,255,255,255,255,255,30,48,255,255,255,255,255,255,255,255,255,
+ 8,0,251,255,255,255,255,255,255,255,239,1,0,243,255,255,255,255,255,255,255,143,0,0,
+ 176,255,255,255,255,255,255,255,30,0,0,64,255,255,255,255,255,255,255,8,0,0,0,252,
+ 255,255,255,255,255,239,1,0,0,0,254,255,255,255,255,255,239,1,0,0,96,255,255,255,
+ 255,255,255,255,7,0,0,192,255,255,255,255,255,255,255,30,0,0,244,255,255,255,255,255,
+ 255,255,143,0,0,251,255,255,255,255,255,255,255,255,2,48,255,255,255,255,255,255,255,255,
+ 255,9,144,255,255,255,255,255,255,255,255,255,47,242,255,255,255,255,255,255,255,255,255,175,
+ 245,255,255,255,255,255,255,255,255,255,239,245,255,255,255,255,239,255,255,255,255,239,226,255,
+ 255,255,255,139,255,255,255,255,175,64,235,255,239,124,1,181,254,255,222,41,48,218,254,239,
+ 141,1,96,236,255,239,58,16,254,255,255,255,239,161,255,255,255,255,12,244,255,255,255,255,
+ 175,255,255,255,255,255,65,255,255,255,255,255,255,255,255,255,255,31,225,255,255,255,255,255,
+ 255,255,255,255,207,0,248,255,255,255,255,255,255,255,255,255,5,16,254,255,255,255,255,255,
+ 255,255,255,12,0,128,255,255,255,255,255,255,255,255,95,0,0,225,255,255,255,255,255,255,
+ 255,207,0,0,0,247,255,255,255,255,255,255,255,5,0,0,16,254,255,255,255,255,255,255,
+ 12,0,0,0,112,255,255,255,255,255,255,95,0,0,0,0,225,255,255,255,255,255,207,0,
+ 0,0,0,0,247,255,255,255,255,255,5,0,0,0,0,16,253,255,255,255,255,12,0,0,
+ 0,0,0,128,255,255,255,255,143,0,0,0,0,0,0,248,255,255,255,255,8,0,0,0,
+ 0,0,128,255,255,255,255,143,0,0,0,0,0,0,248,255,255,255,255,8,0,0,0,0,
+ 0,128,255,255,255,255,143,0,0,0,0,0,0,248,255,255,255,255,8,0,0,0,0,0,
+ 112,255,255,255,255,127,0,0,0,0,0,0,242,255,255,255,255,2,0,0,0,0,0,0,
+ 163,254,255,173,3,0,0,0,80,253,255,255,255,255,255,76,0,242,255,255,255,255,255,255,
+ 255,4,248,255,255,255,255,255,255,255,11,250,255,255,255,255,255,255,255,47,251,255,255,255,
+ 255,255,255,255,111,251,255,255,255,255,255,255,255,127,250,255,255,255,255,255,255,255,127,249,
+ 255,255,255,255,255,255,255,111,243,255,255,255,255,255,255,255,30,112,254,255,255,255,255,255,
+ 255,5,0,80,255,255,255,255,255,175,0,0,225,255,255,255,255,255,46,0,0,249,255,255,
+ 255,255,255,6,0,64,255,255,255,255,255,223,3,0,209,255,255,255,255,255,255,207,1,247,
+ 255,255,255,255,255,255,255,8,254,255,255,255,255,255,255,255,13,255,255,255,255,255,255,255,
+ 255,15,255,255,255,255,255,255,255,255,15,253,255,255,255,255,255,255,255,15,248,255,255,255,
+ 255,255,255,255,14,242,255,255,255,255,255,255,255,11,144,255,255,255,255,255,255,255,5,32,
+ 251,255,255,255,255,255,126,0,32,135,136,136,104,0,243,255,255,255,255,13,250,255,255,255,
+ 255,111,251,255,255,255,255,159,251,255,255,255,255,159,251,255,255,255,255,159,251,255,255,255,
+ 255,127,251,255,255,255,255,30,251,255,255,223,171,3,251,255,255,143,0,0,251,255,255,143,
+ 0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,143,
+ 0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,143,
+ 0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,143,0,0,251,255,255,255,
+ 239,6,251,255,255,255,255,47,251,255,255,255,255,143,251,255,255,255,255,159,251,255,255,255,
+ 255,159,251,255,255,255,255,159,249,255,255,255,255,79,194,255,255,255,255,10,0,67,68,68,
+ 36,0,0,32,36,0,0,0,0,0,0,0,32,249,255,9,0,0,0,0,0,0,208,255,
+ 255,95,0,0,0,0,0,0,246,255,255,223,0,0,0,0,0,0,248,255,255,255,7,0,
+ 0,0,0,0,248,255,255,255,30,0,0,0,0,0,244,255,255,255,159,0,0,0,0,0,
+ 176,255,255,255,255,3,0,0,0,0,48,255,255,255,255,12,0,0,0,0,0,249,255,255,
+ 255,95,0,0,0,0,0,225,255,255,255,223,1,0,0,0,0,96,255,255,255,255,8,0,
+ 0,0,0,0,253,255,255,255,46,0,0,0,0,0,244,255,255,255,175,0,0,0,0,0,
+ 160,255,255,255,255,4,0,0,0,0,32,255,255,255,255,12,0,0,0,0,0,248,255,255,
+ 255,111,0,0,0,0,0,225,255,255,255,239,1,0,0,0,0,96,255,255,255,255,8,0,
+ 0,0,0,0,252,255,255,255,47,0,0,0,0,0,244,255,255,255,175,0,0,0,0,0,
+ 160,255,255,255,255,4,0,0,0,0,32,254,255,255,255,13,0,0,0,0,0,248,255,255,
+ 255,111,0,0,0,0,0,209,255,255,255,207,0,0,0,0,0,80,255,255,255,223,0,0,
+ 0,0,0,0,251,255,255,223,0,0,0,0,0,0,243,255,255,143,0,0,0,0,0,0,
+ 144,255,255,27,0,0,0,0,0,0,16,183,74,0,0,116,136,136,136,5,0,247,255,255,
+ 255,255,10,225,255,255,255,255,255,50,255,255,255,255,255,79,244,255,255,255,255,255,68,255,
+ 255,255,255,255,79,242,255,255,255,255,255,4,250,255,255,255,255,79,16,183,251,255,255,255,
+ 4,0,0,255,255,255,79,0,0,240,255,255,255,4,0,0,255,255,255,79,0,0,240,255,
+ 255,255,4,0,0,255,255,255,79,0,0,240,255,255,255,4,0,0,255,255,255,79,0,0,
+ 240,255,255,255,4,0,0,255,255,255,79,0,0,240,255,255,255,4,0,0,255,255,255,79,
+ 0,0,240,255,255,255,4,0,0,255,255,255,79,48,251,255,255,255,255,4,252,255,255,255,
+ 255,79,243,255,255,255,255,255,68,255,255,255,255,255,79,244,255,255,255,255,255,52,255,255,
+ 255,255,255,79,208,255,255,255,255,255,2,229,255,255,255,255,7,0,65,68,68,68,2,0,
+ 0,0,0,0,113,39,0,0,0,0,0,0,0,0,229,255,111,0,0,0,0,0,0,0,
+ 246,255,255,159,0,0,0,0,0,0,247,255,255,255,191,1,0,0,0,0,249,255,255,255,
+ 255,223,2,0,0,16,250,255,255,255,255,255,239,4,0,16,251,255,255,255,255,255,255,255,
+ 6,16,252,255,255,255,255,255,255,255,255,7,248,255,255,255,255,255,255,255,255,255,178,255,
+ 255,255,255,255,255,255,255,255,79,251,255,255,255,159,228,255,255,255,255,164,255,255,255,143,
+ 0,227,255,255,255,47,243,255,255,143,0,0,210,255,255,175,0,249,255,127,0,0,0,193,
+ 255,223,2,0,165,74,0,0,0,0,96,105,0,0,0,67,68,68,68,68,68,68,3,0,
+ 251,255,255,255,255,255,255,255,11,246,255,255,255,255,255,255,255,255,182,255,255,255,255,255,
+ 255,255,255,191,251,255,255,255,255,255,255,255,255,187,255,255,255,255,255,255,255,255,191,250,
+ 255,255,255,255,255,255,255,255,74,255,255,255,255,255,255,255,255,79,112,254,255,255,255,255,
+ 255,255,126,0,0,17,0,0,0,96,254,76,0,0,243,255,255,59,0,250,255,255,255,42,
+ 254,255,255,255,175,255,255,255,255,255,255,255,255,255,255,251,255,255,255,239,146,255,255,255,
+ 159,0,130,254,255,46,0,0,96,171,3,0,0,115,186,187,138,2,0,0,0,161,255,255,
+ 255,255,159,1,0,0,246,255,255,255,255,255,10,0,0,251,255,255,255,255,255,63,0,0,
+ 251,255,255,255,255,255,175,0,0,251,255,255,255,255,255,223,0,0,249,255,255,255,255,255,
+ 239,0,64,255,255,255,255,255,255,239,0,192,255,255,255,255,255,255,239,0,244,255,255,255,
+ 255,255,255,239,1,247,255,255,255,255,255,255,255,29,247,255,255,255,255,255,255,255,127,247,
+ 255,255,255,255,255,255,255,191,247,255,255,255,255,255,255,255,191,244,255,255,255,255,255,255,
+ 255,191,192,255,255,255,255,255,255,255,191,80,255,255,255,255,255,255,255,111,0,247,255,255,
+ 255,255,255,255,30,0,48,251,255,239,185,255,223,4,0,0,32,68,19,0,66,3,0,145,
+ 254,255,174,2,0,0,0,128,255,255,255,191,0,0,0,0,251,255,255,255,14,0,0,0,
+ 176,255,255,255,239,0,0,0,0,251,255,255,255,14,0,0,0,176,255,255,255,255,155,5,
+ 0,0,251,255,255,255,255,255,93,0,176,255,255,255,255,255,255,111,0,251,255,255,255,255,
+ 255,255,30,176,255,255,255,255,255,255,255,8,251,255,255,255,255,255,255,223,176,255,255,255,
+ 255,255,255,255,47,251,255,255,255,255,255,255,255,179,255,255,255,255,255,255,255,79,251,255,
+ 255,255,255,255,255,255,180,255,255,255,255,255,255,255,79,251,255,255,255,255,255,255,255,179,
+ 255,255,255,255,255,255,255,31,251,255,255,255,255,255,255,207,176,255,255,255,255,255,255,255,
+ 7,251,255,255,255,255,255,255,30,160,255,255,255,255,255,255,111,0,227,255,255,255,255,255,
+ 127,0,0,113,254,255,255,255,59,0,0,0,0,99,119,103,2,0,0,0,0,0,16,167,
+ 187,138,3,0,0,0,232,255,255,255,175,1,0,177,255,255,255,255,255,10,0,249,255,255,
+ 255,255,255,47,32,255,255,255,255,255,255,79,144,255,255,255,255,255,255,79,224,255,255,255,
+ 255,255,255,63,242,255,255,255,255,255,255,14,244,255,255,255,255,255,255,9,244,255,255,255,
+ 255,255,255,2,244,255,255,255,255,255,207,0,243,255,255,255,255,255,255,4,242,255,255,255,
+ 255,255,255,8,208,255,255,255,255,255,255,10,112,255,255,255,255,255,255,11,16,254,255,255,
+ 255,255,255,11,0,245,255,255,255,255,255,10,0,96,254,255,255,255,255,4,0,0,146,254,
+ 255,255,58,0,0,0,0,49,68,3,0,0,0,0,0,0,162,254,239,141,1,0,0,0,
+ 0,160,255,255,255,127,0,0,0,0,0,254,255,255,255,11,0,0,0,0,224,255,255,255,
+ 191,0,0,0,0,0,254,255,255,255,11,0,0,0,64,247,255,255,255,191,0,0,0,214,
+ 255,255,255,255,255,11,0,0,251,255,255,255,255,255,191,0,0,249,255,255,255,255,255,255,
+ 11,0,242,255,255,255,255,255,255,191,0,144,255,255,255,255,255,255,255,11,0,254,255,255,
+ 255,255,255,255,191,0,242,255,255,255,255,255,255,255,11,64,255,255,255,255,255,255,255,191,
+ 0,244,255,255,255,255,255,255,255,11,64,255,255,255,255,255,255,255,255,10,243,255,255,255,
+ 255,255,255,255,255,37,255,255,255,255,255,255,255,255,175,224,255,255,255,255,255,255,255,255,
+ 11,250,255,255,255,255,255,255,255,191,48,255,255,255,255,255,255,255,255,11,144,255,255,255,
+ 255,255,255,255,127,0,193,255,255,255,255,255,255,239,1,0,112,254,255,255,252,255,239,6,
+ 0,0,16,117,103,3,114,119,1,0,0,0,16,167,187,122,2,0,0,0,112,254,255,255,
+ 255,25,0,0,176,255,255,255,255,255,28,0,144,255,255,255,255,255,255,9,32,255,255,255,
+ 255,255,255,255,1,249,255,255,255,255,255,255,111,224,255,255,255,255,255,255,255,39,255,255,
+ 255,255,255,255,255,127,244,255,255,255,255,255,255,255,71,255,255,255,255,255,255,255,111,244,
+ 255,255,255,255,255,255,255,50,255,255,255,255,255,255,255,9,242,255,255,255,255,255,255,159,
+ 0,253,255,255,255,255,255,255,12,112,255,255,255,255,255,255,223,0,225,255,255,255,255,255,
+ 255,13,0,245,255,255,255,255,255,159,0,0,229,255,255,255,255,223,2,0,0,129,254,255,
+ 255,108,0,0,0,0,0,67,52,1,0,0,0,0,80,235,255,190,23,0,0,193,255,255,
+ 255,255,78,0,160,255,255,255,255,255,11,48,255,255,255,255,255,223,0,248,255,255,255,255,
+ 255,13,160,255,255,255,255,255,191,176,255,255,255,255,255,255,70,255,255,255,255,255,255,13,
+ 247,255,255,255,255,255,111,112,255,255,255,255,255,255,4,247,255,255,255,255,255,79,112,255,
+ 255,255,255,255,255,3,244,255,255,255,255,255,30,0,251,255,255,255,255,111,0,0,251,255,
+ 255,255,30,0,0,176,255,255,255,239,0,0,0,251,255,255,255,14,0,0,176,255,255,255,
+ 239,0,0,0,251,255,255,255,14,0,0,176,255,255,255,239,0,0,0,251,255,255,255,14,
+ 0,0,176,255,255,255,239,0,0,0,250,255,255,255,12,0,0,32,252,255,255,77,0,0,
+ 0,0,67,68,19,0,0,0,0,0,0,149,187,171,55,0,0,0,96,253,255,255,255,207,
+ 4,0,160,255,255,255,255,255,255,5,128,255,255,255,255,255,255,191,32,255,255,255,255,255,
+ 255,255,11,249,255,255,255,255,255,255,191,224,255,255,255,255,255,255,255,43,255,255,255,255,
+ 255,255,255,191,244,255,255,255,255,255,255,255,75,255,255,255,255,255,255,255,191,244,255,255,
+ 255,255,255,255,255,59,255,255,255,255,255,255,255,191,242,255,255,255,255,255,255,255,11,254,
+ 255,255,255,255,255,255,191,160,255,255,255,255,255,255,255,11,243,255,255,255,255,255,255,191,
+ 0,250,255,255,255,255,255,255,11,160,255,255,255,255,255,255,191,0,252,255,255,255,255,255,
+ 255,11,192,255,255,255,255,255,255,175,0,252,255,255,255,255,255,255,4,176,255,255,255,255,
+ 255,255,11,0,244,255,255,255,255,255,27,0,0,181,255,255,255,191,4,0,0,0,0,50,
+ 68,19,0,0,0,129,254,255,141,1,0,0,0,248,255,255,255,7,0,0,0,251,255,255,
+ 255,11,0,0,0,251,255,255,255,11,0,0,0,251,255,255,255,11,0,0,0,251,255,255,
+ 255,125,54,0,0,251,255,255,255,255,255,59,0,251,255,255,255,255,255,239,3,251,255,255,
+ 255,255,255,255,11,251,255,255,255,255,255,255,47,251,255,255,255,255,255,255,111,251,255,255,
+ 255,255,255,255,127,251,255,255,255,255,255,255,127,251,255,255,255,255,255,255,143,251,255,255,
+ 255,255,255,255,143,251,255,255,255,255,255,255,143,251,255,255,255,255,255,255,143,251,255,255,
+ 255,255,255,255,143,251,255,255,255,255,255,255,143,251,255,255,255,255,255,255,143,251,255,255,
+ 255,255,255,255,143,251,255,255,255,255,255,255,143,249,255,255,255,255,255,255,111,194,255,255,
+ 223,254,255,255,11,0,67,68,3,49,51,35,0,145,254,255,223,6,248,255,255,255,31,251,
+ 255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,
+ 251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,
+ 79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,
+ 255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,
+ 255,255,79,250,255,255,255,63,211,255,255,255,10,0,67,68,52,0,0,0,16,233,255,255,
+ 109,0,0,0,248,255,255,255,31,0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,
+ 0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,0,0,176,255,255,255,255,4,0,
+ 0,251,255,255,255,79,0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,0,0,176,
+ 255,255,255,255,4,0,0,251,255,255,255,79,0,0,176,255,255,255,255,4,0,0,251,255,
+ 255,255,79,0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,0,0,176,255,255,255,
+ 255,4,0,0,251,255,255,255,79,0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,
+ 0,133,233,255,255,255,255,4,249,255,255,255,255,255,79,241,255,255,255,255,255,255,36,255,
+ 255,255,255,255,255,79,242,255,255,255,255,255,255,34,255,255,255,255,255,255,10,192,255,255,
+ 255,255,255,63,0,245,255,255,255,255,77,0,0,196,255,255,223,23,0,0,0,32,67,35,
+ 0,0,0,129,254,255,174,2,0,0,0,0,247,255,255,255,11,0,0,0,0,251,255,255,
+ 255,14,0,0,0,0,251,255,255,255,14,0,0,0,0,251,255,255,255,14,0,0,0,0,
+ 251,255,255,255,78,119,119,22,0,251,255,255,255,255,255,255,239,2,251,255,255,255,255,255,
+ 255,255,7,251,255,255,255,255,255,255,255,8,251,255,255,255,255,255,255,255,7,251,255,255,
+ 255,255,255,255,239,1,251,255,255,255,255,255,255,95,0,251,255,255,255,255,255,255,11,0,
+ 251,255,255,255,255,255,255,2,0,251,255,255,255,255,255,239,1,0,251,255,255,255,255,255,
+ 255,8,0,251,255,255,255,255,255,255,30,0,251,255,255,255,255,255,255,159,0,251,255,255,
+ 255,255,255,255,255,2,251,255,255,255,255,255,255,255,10,251,255,255,255,255,255,255,255,31,
+ 251,255,255,255,255,255,255,255,31,250,255,255,255,255,255,255,255,30,194,255,255,223,251,255,
+ 255,239,6,0,67,68,19,32,67,68,19,0,129,254,255,223,5,247,255,255,255,31,251,255,
+ 255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,
+ 255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,
+ 251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,
+ 79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,251,255,255,
+ 255,79,248,255,255,255,30,161,254,255,207,5,0,163,171,6,148,187,106,97,186,171,5,0,
+ 0,245,255,255,254,255,255,255,255,255,255,77,0,192,255,255,255,255,255,255,255,255,255,255,
+ 46,48,255,255,255,255,255,255,255,255,255,255,255,9,245,255,255,255,255,255,255,255,255,255,
+ 255,255,97,255,255,255,255,255,255,255,255,255,255,255,95,246,255,255,255,255,255,255,255,255,
+ 255,255,255,70,255,255,255,255,255,255,255,255,255,255,255,127,208,255,255,255,255,255,255,255,
+ 255,255,255,255,7,227,255,255,255,255,255,255,255,255,255,255,127,0,251,255,255,255,255,255,
+ 255,255,255,255,255,7,176,255,255,255,255,255,255,255,255,255,255,127,0,251,255,255,255,255,
+ 255,255,255,255,255,255,7,176,255,255,255,255,255,255,255,255,255,255,127,0,251,255,255,255,
+ 255,255,255,255,255,255,255,7,176,255,255,255,255,255,255,255,255,255,255,127,0,251,255,255,
+ 255,255,255,255,255,255,255,255,7,144,255,255,255,255,255,255,255,255,255,255,95,0,178,255,
+ 255,207,235,255,255,203,255,255,159,0,0,16,34,18,0,0,0,0,0,0,0,0,0,163,
+ 171,6,148,187,155,3,0,64,255,255,239,255,255,255,175,1,192,255,255,255,255,255,255,255,
+ 10,243,255,255,255,255,255,255,255,63,245,255,255,255,255,255,255,255,159,246,255,255,255,255,
+ 255,255,255,207,246,255,255,255,255,255,255,255,239,244,255,255,255,255,255,255,255,239,208,255,
+ 255,255,255,255,255,255,239,48,253,255,255,255,255,255,255,239,0,251,255,255,255,255,255,255,
+ 239,0,251,255,255,255,255,255,255,239,0,251,255,255,255,255,255,255,239,0,251,255,255,255,
+ 255,255,255,239,0,251,255,255,255,255,255,255,239,0,251,255,255,255,255,255,255,239,0,251,
+ 255,255,255,255,255,255,239,0,249,255,255,255,255,255,255,207,0,161,255,255,207,251,255,255,
+ 60,0,0,0,17,0,16,34,18,0,0,0,32,184,204,123,2,0,0,0,16,249,255,255,
+ 255,159,1,0,0,209,255,255,255,255,255,29,0,0,251,255,255,255,255,255,175,0,64,255,
+ 255,255,255,255,255,255,3,176,255,255,255,255,255,255,255,10,241,255,255,255,255,255,255,255,
+ 14,243,255,255,255,255,255,255,255,47,244,255,255,255,255,255,255,255,63,244,255,255,255,255,
+ 255,255,255,63,244,255,255,255,255,255,255,255,63,243,255,255,255,255,255,255,255,47,242,255,
+ 255,255,255,255,255,255,31,208,255,255,255,255,255,255,255,12,112,255,255,255,255,255,255,255,
+ 7,16,254,255,255,255,255,255,239,1,0,245,255,255,255,255,255,95,0,0,96,254,255,255,
+ 255,239,6,0,0,0,146,254,255,239,41,0,0,0,0,0,48,68,3,0,0,0,0,146,
+ 187,23,148,187,122,1,0,0,244,255,255,255,255,255,239,6,0,192,255,255,255,255,255,255,
+ 255,8,48,255,255,255,255,255,255,255,255,3,246,255,255,255,255,255,255,255,175,96,255,255,
+ 255,255,255,255,255,255,31,245,255,255,255,255,255,255,255,255,69,255,255,255,255,255,255,255,
+ 255,111,192,255,255,255,255,255,255,255,255,7,195,255,255,255,255,255,255,255,127,0,248,255,
+ 255,255,255,255,255,255,7,128,255,255,255,255,255,255,255,111,0,248,255,255,255,255,255,255,
+ 255,4,128,255,255,255,255,255,255,255,31,0,248,255,255,255,255,255,255,175,0,128,255,255,
+ 255,255,255,255,255,2,0,248,255,255,255,255,255,255,8,0,128,255,255,255,255,255,255,8,
+ 0,0,248,255,255,255,255,158,2,0,0,128,255,255,255,255,3,0,0,0,0,248,255,255,
+ 255,63,0,0,0,0,128,255,255,255,255,3,0,0,0,0,244,255,255,255,30,0,0,0,
+ 0,0,198,221,221,92,0,0,0,0,0,0,16,150,187,171,55,0,0,0,112,254,255,255,
+ 255,191,4,0,193,255,255,255,255,255,255,4,160,255,255,255,255,255,255,175,48,255,255,255,
+ 255,255,255,255,10,250,255,255,255,255,255,255,175,241,255,255,255,255,255,255,255,58,255,255,
+ 255,255,255,255,255,175,244,255,255,255,255,255,255,255,74,255,255,255,255,255,255,255,175,244,
+ 255,255,255,255,255,255,255,58,255,255,255,255,255,255,255,175,242,255,255,255,255,255,255,255,
+ 10,253,255,255,255,255,255,255,175,128,255,255,255,255,255,255,255,10,225,255,255,255,255,255,
+ 255,175,0,247,255,255,255,255,255,255,10,0,249,255,255,255,255,255,175,0,0,196,255,255,
+ 255,255,255,10,0,0,32,244,255,255,255,175,0,0,0,0,255,255,255,255,10,0,0,0,
+ 240,255,255,255,175,0,0,0,0,253,255,255,255,9,0,0,0,64,254,255,255,44,0,0,
+ 0,0,16,67,68,3,0,0,164,171,4,164,187,7,0,248,255,255,254,255,255,13,225,255,
+ 255,255,255,255,255,101,255,255,255,255,255,255,127,247,255,255,255,255,255,255,119,255,255,255,
+ 255,255,255,127,247,255,255,255,255,255,255,100,255,255,255,255,255,255,31,225,255,255,255,255,
+ 255,159,0,228,255,255,255,255,207,2,0,251,255,255,255,111,0,0,176,255,255,255,255,4,
+ 0,0,251,255,255,255,79,0,0,176,255,255,255,255,4,0,0,251,255,255,255,79,0,0,
+ 176,255,255,255,255,4,0,0,251,255,255,255,79,0,0,144,255,255,255,255,2,0,0,194,
+ 255,255,239,7,0,0,0,16,34,34,1,0,0,0,0,96,186,187,122,3,0,0,96,253,
+ 255,255,255,191,2,0,247,255,255,255,255,255,12,32,255,255,255,255,255,255,47,128,255,255,
+ 255,255,255,255,47,176,255,255,255,255,255,255,31,176,255,255,255,255,255,255,11,176,255,255,
+ 255,255,255,255,5,160,255,255,255,255,255,255,11,112,255,255,255,255,255,255,63,96,255,255,
+ 255,255,255,255,127,208,255,255,255,255,255,255,127,244,255,255,255,255,255,255,127,246,255,255,
+ 255,255,255,255,127,246,255,255,255,255,255,255,79,245,255,255,255,255,255,255,12,225,255,255,
+ 255,255,255,255,4,80,254,255,255,255,255,127,0,0,129,253,255,255,158,2,0,0,0,32,
+ 67,52,0,0,0,0,0,84,102,21,0,0,0,194,255,255,239,5,0,0,249,255,255,255,
+ 14,0,16,252,255,255,255,127,2,208,255,255,255,255,255,63,245,255,255,255,255,255,159,247,
+ 255,255,255,255,255,191,247,255,255,255,255,255,191,247,255,255,255,255,255,191,247,255,255,255,
+ 255,255,191,244,255,255,255,255,255,143,160,255,255,255,255,255,29,0,251,255,255,255,127,0,
+ 0,250,255,255,255,95,0,0,250,255,255,255,95,0,0,250,255,255,255,95,0,0,250,255,
+ 255,255,95,0,0,250,255,255,255,95,0,0,250,255,255,255,95,0,0,250,255,255,255,95,
+ 0,0,248,255,255,255,47,0,0,177,255,255,239,7,0,0,0,33,34,2,0,0,80,153,
+ 153,56,149,153,137,3,0,249,255,255,255,255,255,255,95,0,255,255,255,255,255,255,255,175,
+ 0,255,255,255,255,255,255,255,175,0,255,255,255,255,255,255,255,175,0,255,255,255,255,255,
+ 255,255,175,0,255,255,255,255,255,255,255,175,0,255,255,255,255,255,255,255,175,0,255,255,
+ 255,255,255,255,255,175,0,255,255,255,255,255,255,255,191,0,255,255,255,255,255,255,255,255,
+ 6,255,255,255,255,255,255,255,255,14,255,255,255,255,255,255,255,255,47,254,255,255,255,255,
+ 255,255,255,47,251,255,255,255,255,255,255,255,47,246,255,255,255,255,255,255,255,31,208,255,
+ 255,255,255,255,255,255,11,48,254,255,255,255,255,255,255,4,0,129,254,255,223,232,255,142,
+ 0,0,0,48,68,2,16,67,1,0,97,187,187,171,35,185,187,187,23,247,255,255,255,238,
+ 255,255,255,143,252,255,255,255,255,255,255,255,223,252,255,255,255,255,255,255,255,223,250,255,
+ 255,255,255,255,255,255,191,247,255,255,255,255,255,255,255,127,243,255,255,255,255,255,255,255,
+ 63,224,255,255,255,255,255,255,255,13,160,255,255,255,255,255,255,255,9,96,255,255,255,255,
+ 255,255,255,5,32,255,255,255,255,255,255,255,1,0,253,255,255,255,255,255,191,0,0,249,
+ 255,255,255,255,255,127,0,0,245,255,255,255,255,255,63,0,0,241,255,255,255,255,255,13,
+ 0,0,192,255,255,255,255,255,9,0,0,128,255,255,255,255,255,5,0,0,32,255,255,255,
+ 255,223,0,0,0,0,180,254,255,239,59,0,0,32,135,136,87,16,102,102,4,115,136,119,
+ 4,244,255,255,255,235,255,255,207,255,255,255,143,249,255,255,255,255,255,255,255,255,255,255,
+ 239,250,255,255,255,255,255,255,255,255,255,255,255,249,255,255,255,255,255,255,255,255,255,255,
+ 239,247,255,255,255,255,255,255,255,255,255,255,207,244,255,255,255,255,255,255,255,255,255,255,
+ 159,241,255,255,255,255,255,255,255,255,255,255,111,208,255,255,255,255,255,255,255,255,255,255,
+ 47,176,255,255,255,255,255,255,255,255,255,255,14,128,255,255,255,255,255,255,255,255,255,255,
+ 11,80,255,255,255,255,255,255,255,255,255,255,8,32,255,255,255,255,255,255,255,255,255,255,
+ 5,0,254,255,255,255,255,255,255,255,255,255,2,0,252,255,255,255,255,255,255,255,255,239,
+ 0,0,249,255,255,255,255,255,255,255,255,191,0,0,246,255,255,255,255,255,255,255,255,143,
+ 0,0,242,255,255,255,255,255,255,255,255,79,0,0,96,254,255,255,207,250,255,255,239,8,
+ 0,0,0,48,68,52,2,32,67,68,19,0,0,32,168,187,171,22,182,187,187,74,32,255,
+ 255,255,255,254,255,255,255,63,248,255,255,255,255,255,255,255,255,136,255,255,255,255,255,255,
+ 255,255,143,246,255,255,255,255,255,255,255,255,22,254,255,255,255,255,255,255,255,13,128,255,
+ 255,255,255,255,255,255,111,0,225,255,255,255,255,255,255,239,1,0,248,255,255,255,255,255,
+ 255,7,0,32,255,255,255,255,255,255,30,0,0,243,255,255,255,255,255,255,3,0,160,255,
+ 255,255,255,255,255,191,0,48,255,255,255,255,255,255,255,79,0,250,255,255,255,255,255,255,
+ 255,12,242,255,255,255,255,255,255,255,255,101,255,255,255,255,255,255,255,255,143,246,255,255,
+ 255,255,255,255,255,255,56,255,255,255,255,255,255,255,255,95,80,236,255,255,90,251,255,222,
+ 108,0,80,186,187,155,18,183,187,171,23,96,255,255,255,239,250,255,255,255,12,251,255,255,
+ 255,255,255,255,255,255,178,255,255,255,255,255,255,255,255,47,249,255,255,255,255,255,255,255,
+ 255,49,255,255,255,255,255,255,255,255,10,208,255,255,255,255,255,255,255,95,0,247,255,255,
+ 255,255,255,255,239,1,32,255,255,255,255,255,255,255,10,0,176,255,255,255,255,255,255,79,
+ 0,0,245,255,255,255,255,255,239,0,0,0,254,255,255,255,255,255,9,0,0,144,255,255,
+ 255,255,255,79,0,0,0,243,255,255,255,255,223,0,0,0,0,253,255,255,255,255,8,0,
+ 0,0,160,255,255,255,255,63,0,0,0,16,255,255,255,255,223,0,0,0,0,247,255,255,
+ 255,255,7,0,0,0,208,255,255,255,255,47,0,0,0,80,255,255,255,255,207,0,0,0,
+ 0,247,255,255,255,255,7,0,0,0,112,255,255,255,255,47,0,0,0,0,242,255,255,255,
+ 175,0,0,0,0,0,147,186,187,139,1,0,0,0,0,131,136,136,136,136,23,0,80,255,
+ 255,255,255,255,239,1,192,255,255,255,255,255,255,8,224,255,255,255,255,255,255,30,240,255,
+ 255,255,255,255,255,127,240,255,255,255,255,255,255,127,240,255,255,255,255,255,255,127,240,255,
+ 255,255,255,255,255,30,160,255,255,255,255,255,255,5,32,251,255,255,255,255,207,1,32,254,
+ 255,255,255,255,255,30,192,255,255,255,255,255,255,111,243,255,255,255,255,255,255,127,244,255,
+ 255,255,255,255,255,127,243,255,255,255,255,255,255,127,224,255,255,255,255,255,255,127,128,255,
+ 255,255,255,255,255,95,16,254,255,255,255,255,255,30,0,212,255,255,255,255,223,5,0,0,
+ 32,185,74,0,0,0,227,255,255,10,0,16,253,255,255,95,0,112,255,255,255,159,0,208,
+ 255,255,255,159,0,240,255,255,255,127,0,240,255,255,255,30,0,240,255,255,255,5,0,240,
+ 255,255,255,4,0,240,255,255,255,4,0,240,255,255,255,4,0,240,255,255,255,4,0,241,
+ 255,255,255,4,48,253,255,255,255,4,192,255,255,255,255,4,241,255,255,255,255,2,242,255,
+ 255,255,207,0,242,255,255,255,207,0,241,255,255,255,255,3,176,255,255,255,255,4,48,253,
+ 255,255,255,4,0,241,255,255,255,4,0,240,255,255,255,4,0,240,255,255,255,4,0,240,
+ 255,255,255,4,0,240,255,255,255,4,0,240,255,255,255,5,0,240,255,255,255,30,0,240,
+ 255,255,255,127,0,192,255,255,255,159,0,112,255,255,255,159,0,16,253,255,255,79,0,0,
+ 228,255,255,8,0,0,32,185,57,0,16,216,205,6,192,255,255,143,243,255,255,239,244,255,
+ 255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,
+ 255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,
+ 255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,
+ 255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,
+ 255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,244,255,
+ 255,255,208,255,255,159,32,234,239,24,32,233,207,4,0,16,254,255,255,5,0,248,255,255,
+ 239,1,176,255,255,255,143,0,251,255,255,255,14,128,255,255,255,255,0,209,255,255,255,15,
+ 0,244,255,255,255,0,64,255,255,255,15,0,244,255,255,255,0,64,255,255,255,15,0,244,
+ 255,255,255,0,64,255,255,255,31,0,244,255,255,255,62,64,255,255,255,255,11,241,255,255,
+ 255,255,0,251,255,255,255,15,208,255,255,255,255,48,255,255,255,255,14,244,255,255,255,143,
+ 64,255,255,255,175,1,244,255,255,255,0,64,255,255,255,15,0,244,255,255,255,0,64,255,
+ 255,255,15,0,244,255,255,255,0,96,255,255,255,15,48,254,255,255,255,0,250,255,255,255,
+ 15,176,255,255,255,207,0,251,255,255,255,6,96,255,255,255,13,0,144,255,255,62,0,0,
+ 48,186,24,0,0,0,113,253,223,71,251,76,0,212,255,255,255,255,255,46,241,255,255,255,
+ 255,255,255,122,255,255,255,255,255,255,255,247,255,255,255,255,255,255,127,255,255,255,255,255,
+ 255,239,225,255,255,255,255,255,255,7,248,255,255,255,255,255,27,0,198,75,129,253,207,5,
+ 0,
+};
+static const Glyph font_big_o2_glyphs[95] = {
+ {0, 0, 0, 0, 6, 0},
+ {10, 25, -1, -21, 8, 0},
+ {14, 13, -1, -21, 13, 125},
+ {23, 24, 0, -21, 23, 216},
+ {17, 30, -1, -24, 15, 492},
+ {24, 25, -1, -21, 22, 747},
+ {20, 25, -1, -21, 19, 1047},
+ {9, 13, 0, -21, 9, 1297},
+ {12, 26, 0, -21, 12, 1356},
+ {12, 26, 0, -21, 12, 1512},
+ {16, 16, 0, -21, 16, 1668},
+ {18, 20, -1, -19, 17, 1796},
+ {11, 13, -1, -7, 9, 1976},
+ {17, 9, -1, -11, 15, 2048},
+ {10, 11, -2, -7, 7, 2125},
+ {20, 30, -2, -24, 16, 2180},
+ {20, 25, -1, -21, 18, 2480},
+ {14, 24, -2, -21, 11, 2730},
+ {17, 25, -1, -21, 15, 2898},
+ {18, 25, -2, -21, 15, 3111},
+ {19, 24, -2, -21, 17, 3336},
+ {16, 25, -1, -21, 15, 3564},
+ {18, 25, -1, -21, 16, 3764},
+ {18, 25, -2, -21, 14, 3989},
+ {19, 25, -2, -21, 16, 4214},
+ {18, 25, -1, -21, 16, 4452},
+ {10, 20, -1, -16, 8, 4677},
+ {11, 22, -2, -16, 8, 4777},
+ {14, 22, -1, -20, 14, 4898},
+ {17, 15, -1, -16, 16, 5052},
+ {14, 22, -1, -20, 13, 5180},
+ {17, 25, -1, -21, 16, 5334},
+ {25, 27, -1, -21, 24, 5547},
+ {22, 24, -2, -21, 18, 5885},
+ {19, 24, -1, -21, 17, 6149},
+ {19, 25, -2, -21, 16, 6377},
+ {19, 24, -1, -21, 17, 6615},
+ {16, 24, -1, -21, 14, 6843},
+ {15, 25, -1, -21, 13, 7035},
+ {20, 25, -2, -21, 17, 7223},
+ {19, 24, -1, -21, 18, 7473},
+ {15, 24, -2, -21, 12, 7701},
+ {16, 25, -2, -21, 13, 7881},
+ {20, 25, -1, -21, 17, 8081},
+ {15, 24, -1, -21, 12, 8331},
+ {27, 24, -1, -21, 25, 8511},
+ {19, 24, -1, -21, 18, 8835},
+ {22, 25, -2, -21, 19, 9063},
+ {18, 25, -1, -21, 16, 9338},
+ {22, 29, -2, -21, 20, 9563},
+ {19, 25, -1, -21, 16, 9882},
+ {18, 25, -2, -21, 15, 10120},
+ {18, 25, -2, -21, 14, 10345},
+ {20, 25, -2, -21, 17, 10570},
+ {22, 24, -2, -21, 18, 10820},
+ {30, 24, -2, -21, 26, 11084},
+ {22, 24, -2, -21, 19, 11444},
+ {23, 24, -3, -21, 17, 11708},
+ {18, 24, -1, -21, 16, 11984},
+ {12, 31, 0, -24, 11, 12200},
+ {20, 30, -2, -24, 16, 12386},
+ {13, 31, -2, -24, 11, 12686},
+ {21, 15, -1, -21, 19, 12888},
+ {19, 9, -1, -2, 18, 13046},
+ {10, 11, 0, -22, 10, 13132},
+ {18, 20, -2, -16, 14, 13187},
+ {17, 25, -1, -21, 15, 13367},
+ {16, 20, -2, -16, 12, 13580},
+ {19, 25, -2, -21, 16, 13740},
+ {17, 20, -2, -16, 14, 13978},
+ {15, 25, -2, -21, 11, 14148},
+ {17, 25, -2, -16, 14, 14336},
+ {16, 25, -1, -21, 14, 14549},
+ {10, 25, -1, -21, 8, 14749},
+ {15, 30, -6, -21, 8, 14874},
+ {18, 25, -1, -21, 15, 15099},
+ {10, 24, -1, -21, 8, 15324},
+ {25, 20, -2, -16, 22, 15444},
+ {18, 20, -2, -16, 15, 15694},
+ {18, 20, -2, -16, 14, 15874},
+ {19, 24, -2, -16, 15, 16054},
+ {17, 25, -2, -16, 14, 16282},
+ {15, 20, -2, -16, 11, 16495},
+ {16, 20, -2, -16, 13, 16645},
+ {14, 23, -2, -19, 10, 16805},
+ {18, 20, -1, -16, 15, 16966},
+ {18, 19, -2, -16, 15, 17146},
+ {24, 20, -2, -16, 21, 17317},
+ {19, 19, -2, -16, 16, 17557},
+ {19, 24, -2, -16, 15, 17738},
+ {16, 19, -2, -16, 13, 17966},
+ {12, 34, -2, -25, 10, 18118},
+ {8, 36, 4, -27, 17, 18322},
+ {11, 34, 0, -25, 10, 18466},
+ {15, 9, -2, -12, 13, 18653},
+};
+const Font font_big = {32, 95, 25, 6, font_big_glyphs, font_big_data,
+ {font_big_o1_glyphs, font_big_o2_glyphs}, {font_big_o1_data, font_big_o2_data}};
+
+static const uint8_t font_mid_data[4786] = {
+ 32,18,243,255,242,239,242,223,241,223,240,207,240,191,224,191,208,175,80,70,179,187,244,255,
+ 244,239,253,150,159,253,184,159,251,184,127,249,184,95,180,116,43,0,0,177,6,160,8,0,
+ 0,246,11,244,13,0,0,251,6,249,8,208,255,255,255,255,223,224,255,223,203,255,239,0,
+ 176,63,112,143,0,65,244,13,176,111,20,247,255,255,255,255,127,180,255,188,254,189,75,32,
+ 255,1,254,2,0,96,191,64,223,0,0,80,94,64,126,0,0,0,0,7,0,0,0,241,
+ 2,0,16,250,255,158,0,253,255,255,15,245,239,223,191,112,255,241,32,2,246,143,63,1,
+ 32,255,255,255,7,80,253,255,255,3,0,241,212,127,113,1,15,253,87,255,252,253,79,247,
+ 255,255,207,16,233,255,175,1,0,16,15,0,0,0,160,0,0,0,17,0,0,0,1,0,
+ 248,175,0,0,233,3,243,255,127,0,245,62,112,143,244,10,226,111,0,247,21,191,192,175,
+ 0,80,239,253,153,223,1,0,192,255,142,239,99,39,0,97,71,254,198,255,46,0,16,252,
+ 89,239,253,9,0,249,28,247,21,191,0,246,46,112,143,245,10,226,95,0,243,255,127,48,
+ 158,0,0,248,175,0,16,0,0,0,17,0,0,0,17,0,0,0,96,253,223,6,0,96,
+ 255,255,255,5,0,253,207,253,175,0,224,255,49,204,5,0,251,159,68,134,89,64,255,255,
+ 255,255,9,245,255,255,255,93,225,255,51,255,11,48,255,47,241,239,0,242,255,222,255,14,
+ 0,250,255,255,143,0,0,232,255,142,0,0,0,16,1,0,0,249,169,175,249,137,143,180,
+ 4,16,222,5,247,63,208,207,32,255,7,245,63,112,255,1,247,15,112,255,1,245,63,32,
+ 255,6,208,191,0,248,47,32,255,6,32,1,178,62,16,254,11,144,255,1,244,111,0,254,
+ 9,192,191,0,251,11,192,191,0,254,9,242,111,112,255,2,253,12,227,95,0,49,0,0,
+ 160,10,0,0,176,11,0,164,215,141,74,197,254,239,92,0,247,127,0,32,158,249,3,32,
+ 42,161,3,0,0,83,0,0,0,0,251,4,0,0,0,251,4,0,0,0,251,4,0,242,
+ 255,255,255,111,242,255,255,255,111,0,0,251,4,0,0,0,251,4,0,0,0,251,4,0,
+ 0,0,116,1,0,224,223,240,239,244,175,252,79,185,8,65,68,68,68,112,255,255,255,63,
+ 180,187,187,187,1,33,18,251,143,251,143,251,143,33,18,0,0,0,0,23,0,0,0,112,
+ 175,0,0,0,225,79,0,0,0,249,10,0,0,48,255,2,0,0,176,143,0,0,0,245,
+ 30,0,0,0,253,6,0,0,112,207,0,0,0,225,79,0,0,0,249,10,0,0,48,255,
+ 2,0,0,176,143,0,0,0,245,29,0,0,0,253,6,0,0,0,150,0,0,0,0,0,
+ 0,33,0,0,0,48,251,255,42,0,48,254,255,255,29,0,252,255,255,255,9,243,255,57,
+ 251,239,96,255,14,48,255,47,247,207,0,240,255,115,255,12,0,255,79,246,239,0,243,255,
+ 50,255,143,179,255,14,192,255,255,255,159,0,227,255,255,223,1,0,179,255,175,1,0,0,
+ 16,2,0,0,247,255,255,147,255,255,79,248,255,255,20,116,255,79,0,244,255,4,64,255,
+ 79,0,244,255,4,64,255,79,0,244,255,4,64,255,79,0,244,255,4,48,254,62,0,16,
+ 18,0,0,215,255,191,2,243,255,255,223,16,254,255,255,63,96,38,248,255,3,0,80,255,
+ 31,0,0,252,175,0,0,248,255,2,0,245,255,6,0,244,255,7,0,226,255,255,255,54,
+ 255,255,255,127,208,255,255,239,3,0,16,18,0,16,234,255,191,2,246,255,255,207,32,255,
+ 255,255,15,80,35,250,207,0,48,213,255,4,0,254,255,8,0,176,255,255,9,0,0,246,
+ 255,18,56,146,255,79,247,255,255,255,178,255,255,255,9,180,255,239,8,0,0,18,0,0,
+ 0,32,254,255,4,0,160,255,255,4,0,244,255,255,4,0,252,223,255,4,80,255,186,255,
+ 4,209,255,178,255,4,247,143,176,255,4,250,255,255,255,127,245,255,255,255,127,96,136,249,
+ 255,57,0,0,244,255,4,0,0,243,239,3,160,255,255,111,176,255,255,127,176,255,255,111,
+ 176,255,0,0,176,255,171,4,176,255,255,79,80,136,254,191,0,0,248,239,48,0,250,255,
+ 242,221,255,207,243,255,255,79,210,255,207,4,0,33,1,0,0,0,32,1,0,16,250,255,
+ 12,16,253,255,255,0,249,255,254,9,241,255,5,17,80,255,45,52,0,247,255,255,223,114,
+ 255,255,255,175,247,207,48,255,94,255,13,241,255,225,255,203,255,12,247,255,255,79,0,231,
+ 255,92,0,0,32,1,0,245,255,255,207,112,255,255,255,79,246,255,255,255,17,68,180,255,
+ 12,0,0,254,127,0,0,244,255,3,0,144,255,14,0,0,254,159,0,0,244,255,5,0,
+ 144,255,31,0,0,254,191,0,0,244,255,6,0,0,0,17,0,0,0,231,255,93,0,112,
+ 255,255,255,5,224,255,219,255,10,240,255,64,255,10,160,255,153,255,4,48,255,255,223,1,
+ 176,255,253,255,11,245,239,65,255,47,247,223,16,255,79,245,255,237,255,31,209,255,255,255,
+ 8,16,234,255,125,0,0,0,18,0,0,0,0,18,0,0,112,254,207,3,128,255,255,239,
+ 18,255,239,255,159,243,223,112,255,61,255,12,244,255,225,255,221,255,15,247,255,255,239,0,
+ 165,187,255,12,0,0,250,159,48,206,253,255,4,247,255,255,10,80,254,239,25,0,0,33,
+ 0,0,153,41,255,79,255,79,153,41,0,0,33,2,255,79,255,79,255,79,33,2,144,153,
+ 2,255,79,240,255,4,153,41,0,0,0,0,0,112,187,2,251,63,224,239,97,255,9,249,
+ 46,0,0,64,94,0,226,127,16,252,10,160,191,0,247,28,0,253,8,0,226,111,0,48,
+ 255,5,0,245,95,0,112,143,0,0,3,132,136,136,104,251,255,255,255,132,136,136,104,0,
+ 0,0,0,183,187,187,171,251,255,255,239,66,68,68,52,216,2,0,251,28,0,193,175,0,
+ 16,253,8,0,226,111,0,160,191,0,249,29,144,239,2,248,62,0,252,4,0,32,0,0,
+ 0,32,1,0,180,255,223,5,252,255,255,63,248,220,255,127,48,16,255,111,0,80,255,30,
+ 0,227,239,3,32,254,62,0,112,255,8,0,48,120,3,0,80,187,5,0,112,255,8,0,
+ 112,255,8,0,16,34,1,0,0,0,32,118,87,1,0,0,48,251,255,255,110,0,0,244,
+ 207,70,133,255,6,32,254,7,114,55,244,30,144,159,128,255,239,176,95,224,47,247,190,223,
+ 128,127,243,29,254,135,191,128,127,244,59,255,164,159,208,79,243,60,255,237,223,253,13,241,
+ 47,251,223,252,207,2,160,191,49,3,48,3,0,32,253,141,69,116,1,0,0,178,255,255,
+ 255,6,0,0,0,98,119,71,0,0,0,208,255,239,1,0,32,255,255,79,0,0,246,255,
+ 255,8,0,144,255,253,207,0,0,253,111,255,31,0,242,207,242,255,4,96,255,8,254,143,
+ 0,250,255,255,255,12,224,255,255,255,255,49,255,78,100,255,79,246,175,0,241,255,152,239,
+ 6,0,250,175,255,255,223,41,240,255,255,255,12,255,239,255,255,243,255,36,255,63,255,79,
+ 244,223,240,255,255,239,3,255,255,255,175,240,255,52,255,79,255,79,241,255,247,255,236,255,
+ 127,255,255,255,239,210,255,255,190,3,0,0,32,1,0,0,145,254,223,6,16,253,255,255,
+ 12,160,255,255,255,7,242,255,77,99,1,245,255,4,0,0,247,255,1,0,0,247,255,1,
+ 0,0,246,255,4,0,0,242,255,77,98,2,176,255,255,255,11,32,254,255,255,31,0,162,
+ 255,239,8,0,0,32,1,0,226,255,239,74,0,244,255,255,255,7,244,255,255,255,47,244,
+ 255,148,255,127,244,255,0,253,175,244,255,0,251,191,244,255,0,252,191,244,255,0,254,159,
+ 244,255,113,255,111,244,255,255,255,30,244,255,255,255,5,226,255,239,58,0,243,255,255,143,
+ 244,255,255,159,244,255,221,125,244,255,0,0,244,255,68,2,244,255,255,9,244,255,255,9,
+ 244,255,68,2,244,255,0,0,244,255,221,109,244,255,255,159,243,255,255,127,243,255,255,111,
+ 244,255,255,127,244,255,221,109,244,255,0,0,244,255,0,0,244,255,255,6,244,255,255,7,
+ 244,255,187,5,244,255,0,0,244,255,0,0,244,255,0,0,243,255,0,0,16,2,0,0,
+ 0,0,16,2,0,0,145,254,255,76,16,253,255,255,143,160,255,255,255,63,242,255,77,82,
+ 7,246,255,4,0,0,247,255,0,32,36,247,255,1,176,191,245,255,5,176,191,242,255,94,
+ 210,191,176,255,255,255,191,32,253,255,255,191,0,145,254,255,125,0,0,16,18,0,227,239,
+ 3,230,239,244,255,4,248,255,244,255,4,248,255,244,255,4,248,255,244,255,188,253,255,244,
+ 255,255,255,255,244,255,255,255,255,244,255,188,253,255,244,255,4,248,255,244,255,4,248,255,
+ 244,255,4,248,255,227,239,3,247,239,249,255,255,189,255,255,255,216,255,239,11,240,255,4,
+ 0,255,79,0,240,255,4,0,255,79,0,240,255,4,0,255,79,128,253,255,190,251,255,255,
+ 159,255,255,223,0,250,255,111,0,252,255,143,0,217,255,143,0,0,255,143,0,0,255,143,
+ 0,0,255,143,0,0,255,143,0,0,255,143,97,130,255,127,248,255,255,111,251,255,255,30,
+ 195,255,191,3,0,33,1,0,227,239,3,251,207,64,255,79,244,255,7,244,255,180,255,29,
+ 64,255,127,255,111,0,244,255,254,207,0,64,255,255,255,5,0,244,255,255,143,0,64,255,
+ 223,255,79,0,244,255,229,255,30,64,255,79,248,255,11,244,255,20,254,255,53,255,62,96,
+ 239,6,0,0,0,16,0,0,227,239,3,0,244,255,4,0,244,255,4,0,244,255,4,0,
+ 244,255,4,0,244,255,4,0,244,255,4,0,244,255,4,0,244,255,71,4,244,255,255,63,
+ 244,255,255,79,226,255,255,47,232,239,11,0,232,239,29,250,255,63,0,254,255,47,251,255,
+ 143,64,255,255,63,251,255,223,144,255,255,63,252,255,255,212,255,255,79,252,191,255,252,191,
+ 255,95,253,127,255,255,111,255,95,253,79,253,255,31,255,111,254,79,249,255,11,254,127,254,
+ 79,244,255,7,253,127,255,79,224,255,2,252,143,253,62,144,207,0,250,126,243,223,2,227,
+ 239,244,255,9,244,255,244,255,47,244,255,244,255,159,244,255,244,255,255,246,255,244,255,255,
+ 253,255,244,255,254,255,255,244,255,246,255,255,244,255,208,255,255,244,255,96,255,255,244,255,
+ 0,253,255,227,239,0,229,239,0,0,32,1,0,0,0,145,254,239,24,0,32,253,255,255,
+ 207,1,176,255,255,255,255,8,242,255,60,229,255,14,246,255,4,112,255,47,247,255,1,64,
+ 255,63,247,255,0,64,255,63,246,255,3,112,255,47,242,255,60,228,255,14,176,255,255,255,
+ 255,8,32,253,255,255,207,1,0,146,254,239,24,0,0,0,32,1,0,0,243,255,239,75,
+ 64,255,255,255,79,244,255,253,255,76,255,15,246,255,244,255,80,255,78,255,111,253,191,244,
+ 255,255,255,68,255,255,239,6,244,255,87,1,64,255,15,0,0,244,255,0,0,48,254,13,
+ 0,0,0,0,32,1,0,0,0,145,254,239,24,0,32,253,255,255,207,1,176,255,255,255,
+ 255,8,242,255,60,229,255,14,246,255,4,112,255,47,247,255,0,64,255,63,247,255,1,64,
+ 255,63,246,255,4,128,255,47,242,255,77,230,255,13,176,255,255,255,255,7,32,253,255,255,
+ 191,0,0,162,255,255,7,0,0,0,193,255,27,0,0,0,32,253,159,0,0,0,0,226,
+ 26,0,243,255,239,124,0,244,255,255,255,10,244,255,254,255,47,244,255,112,255,79,244,255,
+ 64,255,47,244,255,196,255,13,244,255,255,239,3,244,255,255,239,1,244,255,244,255,9,244,
+ 255,192,255,79,244,255,80,255,175,227,239,0,253,26,0,0,0,16,0,0,0,18,0,0,
+ 128,254,255,27,160,255,255,255,33,255,239,236,11,244,255,9,33,32,255,255,59,0,176,255,
+ 255,127,0,177,255,255,63,16,64,252,255,55,143,115,255,127,247,255,255,255,100,255,255,255,
+ 12,128,254,255,26,0,0,33,1,0,249,255,255,255,181,255,255,255,127,249,255,255,255,5,
+ 64,255,15,0,0,244,255,0,0,64,255,15,0,0,244,255,0,0,64,255,15,0,0,244,
+ 255,0,0,64,255,15,0,0,244,255,0,0,48,254,14,0,246,239,3,250,223,248,255,4,
+ 251,255,248,255,4,251,255,248,255,4,251,255,248,255,4,251,255,248,255,4,251,255,248,255,
+ 4,251,255,248,255,4,251,255,247,255,56,253,255,243,255,255,255,207,144,255,255,255,79,0,
+ 214,255,207,4,0,0,33,1,0,250,223,1,209,255,125,255,95,48,255,191,243,255,8,246,
+ 255,7,254,175,144,255,63,176,255,13,252,239,0,247,255,225,255,10,48,255,111,255,111,0,
+ 224,255,252,255,2,0,250,255,255,13,0,96,255,255,159,0,0,242,255,255,5,0,0,252,
+ 255,29,0,248,239,1,245,111,0,252,191,247,255,3,249,175,16,255,159,244,255,5,253,239,
+ 48,255,111,242,255,23,255,255,82,255,79,240,255,88,255,255,118,255,31,192,255,154,255,255,
+ 154,255,13,160,255,220,255,255,189,255,10,128,255,254,207,253,239,255,8,80,255,255,143,249,
+ 255,255,5,48,255,255,79,245,255,255,2,16,255,255,31,242,255,239,0,0,252,239,9,176,
+ 255,158,0,231,239,7,176,254,29,242,255,30,244,255,9,144,255,111,251,255,2,32,255,239,
+ 255,159,0,0,249,255,255,47,0,0,242,255,255,9,0,0,244,255,255,8,0,0,250,255,
+ 255,30,0,32,255,191,255,159,0,144,255,63,253,255,2,225,255,12,247,255,10,230,239,6,
+ 193,255,46,209,255,28,32,252,143,128,255,127,128,255,63,16,254,207,225,255,10,0,248,255,
+ 248,255,3,0,225,255,255,175,0,0,128,255,255,63,0,0,16,254,255,10,0,0,0,248,
+ 255,4,0,0,0,248,255,4,0,0,0,248,255,4,0,0,0,248,255,4,0,0,0,230,
+ 223,3,0,208,255,255,255,10,241,255,255,255,47,224,255,255,255,47,0,0,248,255,8,0,
+ 48,255,223,0,0,192,255,63,0,0,246,255,9,0,32,254,223,1,0,160,255,191,136,5,
+ 243,255,255,255,14,225,255,255,255,15,144,255,255,255,11,184,187,184,255,207,251,71,178,79,
+ 0,251,4,176,79,0,251,4,176,79,0,251,4,176,79,0,251,4,176,79,0,251,4,176,
+ 79,0,251,255,188,255,207,113,1,0,0,0,249,8,0,0,0,243,47,0,0,0,144,175,
+ 0,0,0,16,254,4,0,0,0,247,12,0,0,0,208,111,0,0,0,80,239,1,0,0,
+ 0,251,8,0,0,0,243,47,0,0,0,144,175,0,0,0,16,254,4,0,0,0,247,12,
+ 0,0,0,208,111,0,0,0,80,223,0,0,0,0,105,180,187,43,247,255,79,65,196,79,
+ 0,176,79,0,176,79,0,176,79,0,176,79,0,176,79,0,176,79,0,176,79,0,176,79,
+ 0,176,79,0,176,79,0,176,79,246,255,79,246,255,63,0,0,178,4,0,0,0,210,255,
+ 6,0,0,227,175,254,8,0,228,143,48,254,26,242,143,0,48,254,10,124,0,0,32,93,
+ 113,136,136,136,72,243,255,255,255,191,113,136,136,136,72,215,5,249,207,48,186,32,151,121,
+ 2,0,249,255,239,1,80,172,253,95,0,164,219,255,7,245,255,255,127,160,255,133,255,7,
+ 251,159,251,239,102,255,255,255,159,128,255,109,253,5,16,1,0,1,32,18,0,0,64,255,
+ 11,0,0,244,191,0,0,64,255,11,0,0,244,223,137,4,64,255,255,255,6,244,255,255,
+ 239,64,255,60,254,63,244,191,176,255,68,255,11,252,63,244,239,251,239,64,255,255,255,7,
+ 145,254,239,7,0,0,17,0,0,0,130,137,2,80,255,255,30,225,255,255,31,245,223,181,
+ 9,247,143,0,0,247,175,0,0,244,255,220,7,176,255,255,10,16,250,239,8,0,16,2,
+ 0,0,0,16,18,0,0,0,176,255,3,0,0,176,255,3,0,0,176,255,3,0,131,217,
+ 255,3,96,255,255,255,3,241,255,255,255,3,246,223,213,255,3,247,143,176,255,3,247,159,
+ 176,255,3,244,255,236,255,61,192,255,255,255,95,16,251,207,247,30,0,16,1,16,1,0,
+ 130,137,2,64,254,255,95,225,255,254,223,245,207,240,255,247,239,252,191,247,255,239,43,244,
+ 223,51,39,176,255,255,143,16,249,255,76,0,0,18,0,0,16,2,0,177,255,142,128,255,
+ 255,8,251,79,21,213,255,88,176,255,255,11,232,255,124,0,251,63,0,176,255,3,0,251,
+ 63,0,176,255,3,0,251,63,0,176,255,3,0,0,114,153,22,64,254,255,239,225,255,255,
+ 255,245,223,245,255,247,127,224,255,247,143,224,255,245,239,248,255,208,255,255,255,32,251,254,
+ 255,48,19,241,255,144,255,255,223,128,255,255,60,0,49,36,0,16,2,0,0,244,175,0,
+ 0,244,191,0,0,244,191,0,0,244,207,152,5,244,255,255,143,244,255,255,223,244,207,243,
+ 239,244,191,240,239,244,191,240,239,244,191,240,239,244,191,240,239,243,175,240,239,32,18,244,
+ 191,244,191,146,121,130,87,244,191,244,191,244,191,244,191,244,191,244,191,244,191,244,191,0,
+ 32,18,0,244,191,0,244,191,0,146,121,0,130,87,0,244,191,0,244,191,0,244,191,0,
+ 244,191,0,244,191,0,244,191,0,244,191,0,244,191,83,252,191,255,255,127,251,255,9,48,
+ 19,0,16,18,0,0,64,255,11,0,0,244,191,0,0,64,255,11,0,0,244,191,80,153,
+ 67,255,43,255,29,244,191,249,95,64,255,253,191,0,244,255,255,8,64,255,253,239,2,244,
+ 191,250,159,64,255,59,255,47,243,175,176,255,9,227,175,244,191,244,191,244,191,244,191,244,
+ 191,244,191,244,191,244,191,244,191,244,191,244,175,147,4,150,23,149,56,160,255,253,255,254,
+ 255,63,251,255,255,255,255,255,40,252,127,251,175,248,175,176,255,131,255,71,255,11,251,63,
+ 248,127,244,191,176,255,131,255,71,255,11,251,63,248,127,244,191,176,255,115,255,55,255,11,
+ 146,20,150,40,160,255,253,255,30,250,255,255,255,38,252,127,250,127,176,255,115,255,8,251,
+ 63,247,143,176,255,115,255,8,251,63,247,143,176,255,99,255,7,0,131,121,2,0,246,255,
+ 239,3,241,255,255,207,96,255,92,254,47,247,127,176,255,116,255,8,252,63,244,255,252,239,
+ 1,252,255,255,8,16,250,239,8,0,0,33,0,0,145,22,150,40,128,255,254,255,46,248,
+ 255,255,255,26,249,191,247,223,128,255,9,255,14,248,159,241,223,128,255,172,255,10,248,255,
+ 255,63,128,255,255,93,0,248,127,0,0,128,255,7,0,0,248,127,0,0,32,68,2,0,
+ 0,0,114,137,22,80,255,255,239,225,255,255,255,246,207,244,255,247,127,224,255,247,159,224,
+ 255,243,255,252,255,192,255,255,255,16,234,254,255,0,0,224,255,0,0,224,255,0,0,224,
+ 255,0,0,48,52,147,4,150,163,255,250,127,250,255,255,36,252,143,6,176,255,3,0,251,
+ 63,0,176,255,3,0,251,63,0,176,255,3,0,0,150,121,3,176,255,255,14,243,255,202,
+ 8,243,255,40,0,160,255,239,6,16,231,255,47,230,152,255,63,249,255,255,13,178,255,207,
+ 3,0,33,1,0,48,119,3,128,255,7,181,255,123,251,255,255,250,255,239,128,255,11,128,
+ 255,11,128,255,11,128,255,11,128,255,11,112,255,11,113,87,112,119,64,255,11,254,15,244,
+ 191,224,255,64,255,11,254,15,244,191,224,255,64,255,11,254,15,243,255,252,255,10,254,255,
+ 255,255,64,253,159,249,10,0,17,0,1,118,55,64,119,165,255,8,250,143,246,191,192,255,
+ 35,255,14,255,14,208,255,245,159,0,249,191,255,5,80,255,255,31,0,241,255,191,0,0,
+ 251,255,6,0,118,23,96,71,48,119,179,255,3,255,11,249,95,248,95,244,239,176,255,98,
+ 255,119,255,63,252,14,243,159,251,255,231,191,0,255,235,207,191,255,8,192,255,255,246,255,
+ 95,0,250,255,60,255,255,2,112,255,159,240,255,14,0,16,18,0,33,18,0,116,87,16,
+ 119,23,246,255,114,255,12,208,255,215,255,5,96,255,254,207,0,16,254,255,95,0,16,254,
+ 255,127,0,128,255,250,239,1,225,255,194,255,8,231,191,112,255,29,150,73,32,153,104,255,
+ 10,247,191,241,239,177,255,5,250,111,255,30,64,255,253,175,0,224,255,255,5,0,248,255,
+ 14,0,48,255,159,0,0,224,255,4,0,80,255,14,0,0,251,159,0,0,242,255,4,0,
+ 0,33,2,0,0,113,136,136,5,243,255,255,63,244,255,255,62,65,164,255,5,0,245,127,
+ 0,48,254,9,0,226,255,221,45,246,255,255,79,225,255,255,47,0,96,3,128,223,0,254,
+ 4,240,15,0,255,0,240,15,0,255,0,241,15,177,191,80,255,3,210,175,0,242,15,0,
+ 255,0,240,15,0,255,0,240,15,0,254,1,160,191,0,161,5,200,178,79,251,180,79,251,
+ 180,79,251,180,79,251,180,79,251,180,79,251,180,79,251,180,79,251,180,79,251,116,43,97,
+ 3,80,239,1,176,127,0,248,8,128,143,0,248,8,128,143,0,247,8,64,239,4,176,191,
+ 48,255,6,247,10,128,143,0,248,8,128,143,0,248,8,144,127,64,255,3,145,6,0,64,
+ 71,32,131,255,207,222,165,148,238,6,
+};
+static const Glyph font_mid_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {4, 13, 0, -13, 5, 0},
+ {6, 5, 1, -12, 8, 26},
+ {12, 12, 1, -12, 14, 41},
+ {9, 16, 0, -14, 9, 113},
+ {13, 14, 0, -13, 14, 185},
+ {11, 14, 0, -13, 12, 276},
+ {3, 5, 1, -12, 5, 353},
+ {5, 14, 1, -12, 8, 361},
+ {5, 14, 1, -12, 7, 396},
+ {8, 7, 1, -12, 10, 431},
+ {10, 10, 0, -11, 10, 459},
+ {4, 5, 1, -3, 5, 509},
+ {9, 3, 0, -6, 9, 519},
+ {4, 5, 0, -4, 4, 533},
+ {10, 16, 0, -14, 10, 543},
+ {11, 14, 0, -13, 11, 623},
+ {7, 12, 0, -12, 7, 700},
+ {9, 13, 0, -13, 9, 742},
+ {9, 14, 0, -13, 9, 801},
+ {10, 12, 0, -12, 10, 864},
+ {8, 13, 0, -12, 9, 924},
+ {9, 14, 0, -13, 10, 976},
+ {9, 12, 0, -12, 9, 1039},
+ {10, 14, 0, -13, 10, 1093},
+ {9, 14, 0, -13, 10, 1163},
+ {4, 10, 1, -9, 5, 1226},
+ {5, 11, 0, -9, 5, 1246},
+ {6, 11, 1, -11, 8, 1274},
+ {8, 7, 1, -9, 10, 1307},
+ {6, 11, 1, -11, 8, 1335},
+ {8, 14, 1, -13, 10, 1368},
+ {14, 14, 0, -12, 15, 1424},
+ {11, 12, 0, -12, 11, 1522},
+ {9, 12, 1, -12, 10, 1588},
+ {10, 14, 0, -13, 10, 1642},
+ {10, 12, 0, -12, 11, 1712},
+ {8, 12, 0, -12, 9, 1772},
+ {8, 13, 0, -12, 8, 1820},
+ {10, 14, 0, -13, 11, 1872},
+ {10, 12, 0, -12, 11, 1942},
+ {7, 12, 0, -12, 8, 2002},
+ {8, 13, 0, -12, 8, 2044},
+ {11, 13, 0, -12, 11, 2096},
+ {8, 12, 0, -12, 8, 2168},
+ {14, 12, 1, -12, 16, 2216},
+ {10, 12, 0, -12, 11, 2300},
+ {12, 14, 0, -13, 12, 2360},
+ {9, 12, 0, -12, 10, 2444},
+ {12, 16, 0, -13, 12, 2498},
+ {10, 13, 0, -12, 10, 2594},
+ {9, 14, 0, -13, 9, 2659},
+ {9, 12, 0, -12, 9, 2722},
+ {10, 13, 0, -12, 11, 2776},
+ {11, 12, 0, -12, 11, 2841},
+ {16, 12, 0, -12, 16, 2907},
+ {12, 12, 0, -12, 12, 3003},
+ {12, 12, -1, -12, 11, 3075},
+ {10, 12, 0, -12, 10, 3147},
+ {5, 16, 1, -14, 7, 3207},
+ {10, 16, 0, -14, 10, 3247},
+ {6, 16, 0, -14, 7, 3327},
+ {11, 6, 0, -12, 12, 3375},
+ {10, 3, 0, 0, 11, 3408},
+ {4, 3, 1, -12, 6, 3423},
+ {9, 10, 0, -9, 9, 3429},
+ {9, 14, 0, -13, 9, 3474},
+ {8, 10, 0, -9, 7, 3537},
+ {10, 14, 0, -13, 10, 3577},
+ {8, 10, 0, -9, 9, 3647},
+ {7, 13, 0, -13, 7, 3687},
+ {8, 13, 0, -9, 9, 3733},
+ {8, 13, 0, -13, 9, 3785},
+ {4, 13, 0, -13, 5, 3837},
+ {6, 17, -2, -13, 5, 3863},
+ {9, 13, 0, -13, 9, 3914},
+ {4, 12, 0, -12, 5, 3973},
+ {13, 9, 0, -9, 14, 3997},
+ {9, 9, 0, -9, 10, 4056},
+ {9, 10, 0, -9, 9, 4097},
+ {9, 13, 0, -9, 10, 4142},
+ {8, 13, 0, -9, 9, 4201},
+ {7, 9, 0, -9, 7, 4253},
+ {8, 10, 0, -9, 8, 4285},
+ {6, 11, 0, -11, 7, 4325},
+ {9, 10, 0, -9, 9, 4358},
+ {9, 9, 0, -9, 9, 4403},
+ {13, 10, 0, -9, 13, 4444},
+ {10, 9, 0, -9, 10, 4509},
+ {9, 13, 0, -9, 9, 4554},
+ {8, 9, 0, -9, 8, 4613},
+ {5, 19, 0, -15, 6, 4649},
+ {3, 20, 4, -16, 11, 4697},
+ {5, 19, 1, -15, 6, 4727},
+ {7, 3, 0, -7, 8, 4775},
+};
+static const uint8_t font_mid_o1_data[7395] = {
+ 16,34,18,226,255,207,243,255,255,243,255,255,243,255,239,242,255,239,241,255,223,241,255,207,
+ 240,255,207,224,255,191,225,255,207,244,255,255,244,255,255,244,255,255,244,255,255,210,255,191,
+ 248,223,254,94,255,255,255,191,255,255,255,191,254,255,255,175,252,255,255,143,250,255,255,111,
+ 248,255,255,79,161,171,187,7,0,0,112,171,98,171,3,0,0,243,255,252,255,14,0,0,
+ 248,255,255,255,15,144,255,255,255,255,255,159,240,255,255,255,255,255,255,240,255,255,255,255,
+ 255,255,240,255,255,255,255,255,255,244,255,255,255,255,255,175,247,255,255,255,255,255,127,247,
+ 255,255,255,255,255,127,247,255,255,255,255,255,127,209,255,255,255,255,188,26,144,255,255,255,
+ 239,1,0,144,255,239,255,175,0,0,16,251,62,250,62,0,0,0,0,149,4,0,0,0,
+ 240,255,1,0,0,214,255,255,77,0,247,255,255,255,14,242,255,255,255,255,113,255,255,255,
+ 255,31,247,255,255,255,223,112,255,255,255,255,8,247,255,255,255,223,81,255,255,255,255,95,
+ 208,255,255,255,255,55,255,255,255,255,127,247,255,255,255,255,119,255,255,255,255,111,247,255,
+ 255,255,255,66,255,255,255,255,6,64,252,255,223,5,0,0,241,255,0,0,0,0,182,7,
+ 0,0,0,32,2,0,0,33,0,0,210,255,78,0,227,191,0,209,255,255,63,209,255,111,
+ 80,255,255,255,185,255,255,7,247,255,255,255,255,255,111,112,255,255,255,255,255,191,0,247,
+ 255,255,255,255,255,6,112,255,255,255,255,255,255,10,243,255,255,255,255,255,255,6,246,255,
+ 255,255,255,255,175,0,245,255,255,255,255,255,11,176,255,255,255,255,255,191,80,255,255,223,
+ 255,255,255,11,246,255,191,246,255,255,159,96,255,223,17,253,255,255,3,160,239,3,32,253,
+ 239,5,0,32,1,0,0,34,0,0,0,0,33,18,0,0,0,32,251,255,191,2,0,32,
+ 253,255,255,223,2,0,250,255,255,255,159,0,224,255,255,255,255,11,0,254,255,255,255,239,
+ 42,224,255,255,255,255,255,9,253,255,255,255,255,159,192,255,255,255,255,255,41,255,255,255,
+ 255,255,143,244,255,255,255,255,207,66,255,255,255,255,255,0,243,255,255,255,255,15,16,254,
+ 255,255,255,207,0,64,255,255,255,239,3,0,48,252,255,207,3,0,0,0,33,18,0,0,
+ 0,229,239,181,255,191,251,255,187,255,191,250,255,154,255,159,248,255,24,186,26,0,249,174,
+ 1,243,255,143,160,255,255,8,254,255,111,244,255,239,97,255,255,10,247,255,95,112,255,255,
+ 2,247,255,31,112,255,255,4,246,255,143,64,255,255,14,241,255,255,6,250,255,159,80,255,
+ 255,9,176,255,61,0,64,3,0,128,254,27,64,255,255,7,244,255,223,48,255,255,79,192,
+ 255,255,7,246,255,175,16,255,255,11,208,255,191,0,253,255,11,241,255,191,64,255,255,10,
+ 250,255,127,242,255,255,84,255,255,14,245,255,143,16,251,223,2,0,66,1,0,0,96,255,
+ 6,0,0,176,255,11,0,161,235,255,190,26,247,255,255,255,127,247,255,255,255,127,247,255,
+ 255,255,127,194,255,255,255,28,80,255,255,255,6,64,255,255,255,6,0,183,137,139,0,0,
+ 0,80,53,0,0,0,0,249,239,2,0,0,0,251,255,4,0,0,0,251,255,4,0,193,
+ 255,255,255,255,46,243,255,255,255,255,127,244,255,255,255,255,127,243,255,255,255,255,127,193,
+ 255,255,255,255,46,0,0,251,255,4,0,0,0,251,255,4,0,0,0,250,255,3,0,0,
+ 0,113,71,0,0,0,250,255,9,240,255,239,16,255,255,14,248,255,239,224,255,255,29,255,
+ 255,127,241,255,239,1,181,187,3,48,68,68,68,36,64,255,255,255,255,30,247,255,255,255,
+ 255,116,255,255,255,255,79,247,255,255,255,255,19,186,187,187,187,8,32,34,2,249,255,95,
+ 251,255,143,251,255,143,251,255,143,251,255,143,249,255,111,32,34,2,0,0,0,0,116,4,
+ 0,0,0,48,255,111,0,0,0,176,255,191,0,0,0,245,255,191,0,0,0,253,255,143,
+ 0,0,112,255,255,30,0,0,225,255,255,6,0,0,249,255,207,0,0,48,255,255,79,0,
+ 0,176,255,255,10,0,0,245,255,255,2,0,0,253,255,143,0,0,112,255,255,30,0,0,
+ 225,255,255,6,0,0,249,255,207,0,0,0,254,255,79,0,0,0,254,255,10,0,0,0,
+ 252,239,2,0,0,0,161,91,0,0,0,0,0,0,16,18,0,0,0,0,231,255,223,6,
+ 0,0,250,255,255,255,8,0,248,255,255,255,255,5,241,255,255,255,255,207,80,255,255,255,
+ 255,255,31,247,255,255,255,255,255,115,255,255,159,255,255,79,247,255,223,242,255,255,116,255,
+ 255,159,255,255,79,247,255,255,255,255,255,83,255,255,255,255,255,31,225,255,255,255,255,207,
+ 0,248,255,255,255,255,5,0,250,255,255,255,8,0,0,231,255,223,5,0,0,0,32,18,
+ 0,0,0,227,255,255,207,145,255,255,255,79,249,255,255,255,148,255,255,255,79,249,255,255,
+ 255,84,255,255,255,79,48,247,255,255,4,64,255,255,79,0,244,255,255,4,64,255,255,79,
+ 0,244,255,255,4,64,255,255,79,0,244,255,255,4,64,255,255,79,0,193,255,207,1,0,
+ 0,34,1,0,0,163,254,255,126,0,226,255,255,255,143,64,255,255,255,255,31,244,255,255,
+ 255,255,51,255,255,255,255,79,192,255,255,255,255,4,162,251,255,255,63,0,209,255,255,223,
+ 0,176,255,255,255,7,160,255,255,255,239,67,255,255,255,255,127,244,255,255,255,255,71,255,
+ 255,255,255,127,241,255,255,255,255,6,247,255,255,255,27,0,16,34,1,0,0,197,255,255,
+ 126,0,244,255,255,255,143,96,255,255,255,255,14,246,255,255,255,255,80,255,255,255,255,15,
+ 208,255,255,255,239,0,226,255,255,255,9,0,254,255,255,223,0,247,255,255,255,63,244,255,
+ 255,255,255,148,255,255,255,255,79,251,255,255,255,255,179,255,255,255,255,13,249,255,255,255,
+ 78,0,232,255,255,59,0,0,16,34,1,0,0,0,0,251,255,239,2,0,96,255,255,255,
+ 4,0,225,255,255,255,4,0,248,255,255,255,4,32,254,255,255,255,4,160,255,255,255,255,
+ 4,243,255,255,255,255,4,250,255,255,255,255,79,251,255,255,255,255,127,251,255,255,255,255,
+ 127,248,255,255,255,255,127,225,255,255,255,255,127,48,136,249,255,255,25,0,0,244,255,255,
+ 4,0,0,193,255,190,1,96,255,255,255,62,176,255,255,255,127,176,255,255,255,143,176,255,
+ 255,255,143,176,255,255,255,127,176,255,255,255,79,176,255,255,255,143,176,255,255,255,223,160,
+ 255,255,255,255,224,255,255,255,255,243,255,255,255,255,244,255,255,255,239,244,255,255,255,143,
+ 243,255,255,255,27,128,254,255,142,1,0,32,34,0,0,0,0,16,34,0,0,0,213,255,
+ 255,7,0,247,255,255,255,1,245,255,255,255,31,208,255,255,255,255,49,255,255,255,255,12,
+ 246,255,255,255,159,112,255,255,255,255,111,247,255,255,255,255,125,255,255,255,255,255,247,255,
+ 255,255,255,111,255,255,255,255,255,243,255,255,255,255,14,252,255,255,255,159,32,254,255,255,
+ 207,1,32,251,255,158,1,0,0,33,2,0,0,226,255,255,255,111,112,255,255,255,255,47,
+ 247,255,255,255,255,117,255,255,255,255,95,247,255,255,255,255,67,255,255,255,255,14,48,148,
+ 255,255,159,0,0,252,255,255,5,0,242,255,255,31,0,112,255,255,207,0,0,252,255,255,
+ 7,0,242,255,255,63,0,80,255,255,239,0,0,245,255,255,9,0,32,253,255,61,0,0,
+ 0,0,33,2,0,0,0,178,255,255,26,0,48,254,255,255,223,1,176,255,255,255,255,8,
+ 240,255,255,255,255,10,240,255,255,255,255,11,240,255,255,255,255,10,208,255,255,255,255,9,
+ 242,255,255,255,255,30,247,255,255,255,255,63,247,255,255,255,255,79,247,255,255,255,255,79,
+ 247,255,255,255,255,63,243,255,255,255,255,13,112,255,255,255,239,3,0,213,255,255,43,0,
+ 0,0,33,2,0,0,0,0,33,2,0,0,48,251,255,142,0,48,254,255,255,175,0,252,
+ 255,255,255,95,242,255,255,255,255,75,255,255,255,255,239,244,255,255,255,255,79,255,255,255,
+ 255,255,242,255,255,255,255,15,252,255,255,255,255,48,255,255,255,255,13,245,255,255,255,191,
+ 112,255,255,255,255,7,248,255,255,255,30,112,255,255,255,95,0,177,255,255,76,0,0,16,
+ 34,1,0,0,149,153,8,255,255,79,255,255,79,255,255,79,255,255,79,255,255,79,254,255,
+ 63,255,255,79,255,255,79,255,255,79,255,255,79,253,255,47,33,34,1,80,153,137,0,255,
+ 255,79,240,255,255,4,255,255,79,240,255,255,4,255,255,79,144,255,223,1,251,255,63,192,
+ 255,255,51,255,255,63,250,255,255,195,255,255,12,252,255,111,80,254,175,0,0,0,251,27,
+ 0,144,255,175,0,247,255,191,64,255,255,191,226,255,255,46,252,255,255,4,255,255,111,0,
+ 255,255,207,1,248,255,255,28,144,255,255,159,0,251,255,191,0,193,255,191,0,32,253,62,
+ 0,0,65,1,113,136,136,136,56,250,255,255,255,223,251,255,255,255,255,251,255,255,255,255,
+ 250,255,255,255,223,251,255,255,255,239,251,255,255,255,255,251,255,255,255,255,248,255,255,255,
+ 191,64,68,68,68,20,211,143,0,0,254,255,7,0,255,255,79,0,254,255,239,3,245,255,
+ 255,29,96,255,255,191,0,249,255,223,48,254,255,223,226,255,255,111,253,255,255,7,255,255,
+ 159,0,254,255,10,0,246,191,0,0,32,20,0,0,0,16,34,0,0,129,253,255,175,1,
+ 250,255,255,255,12,253,255,255,255,95,253,255,255,255,127,251,255,255,255,127,243,255,255,255,
+ 127,48,253,255,255,79,80,255,255,255,9,128,255,255,175,0,128,255,255,12,0,112,255,255,
+ 8,0,112,255,255,8,0,112,255,255,8,0,112,255,255,8,0,80,255,255,6,0,0,33,
+ 34,0,0,0,0,16,116,119,54,0,0,0,0,231,255,255,255,43,0,0,177,255,255,255,
+ 255,223,2,0,251,255,255,255,255,255,11,96,255,255,255,255,255,255,63,192,255,255,255,255,
+ 255,255,127,241,255,255,255,255,255,255,127,243,255,255,255,255,255,255,127,244,255,255,255,255,
+ 255,255,127,244,255,255,255,255,255,255,111,244,255,255,255,255,255,255,47,242,255,255,255,255,
+ 255,255,8,208,255,255,255,255,255,143,0,96,255,255,255,255,255,7,0,0,248,255,255,255,
+ 255,6,0,0,96,254,255,255,239,3,0,0,0,64,119,119,38,0,0,0,144,255,255,175,
+ 0,0,0,254,255,255,47,0,0,244,255,255,255,6,0,128,255,255,255,175,0,0,251,255,
+ 255,255,13,0,241,255,255,255,255,2,64,255,255,255,255,111,0,248,255,255,255,255,10,192,
+ 255,255,255,255,239,16,255,255,255,255,255,63,244,255,255,255,255,255,134,255,255,255,255,255,
+ 175,251,255,223,245,255,255,189,255,255,9,253,255,223,230,255,44,80,254,239,7,252,255,255,
+ 206,5,240,255,255,255,255,7,255,255,255,255,255,241,255,255,255,255,79,255,255,255,255,255,
+ 244,255,255,255,255,79,255,255,255,255,255,242,255,255,255,255,30,255,255,255,255,255,246,255,
+ 255,255,255,127,255,255,255,255,255,247,255,255,255,255,127,255,255,255,255,255,245,255,255,255,
+ 255,10,249,255,255,223,7,0,0,0,16,34,0,0,0,80,252,255,191,2,0,247,255,255,
+ 255,12,80,255,255,255,255,13,224,255,255,255,255,13,244,255,255,255,255,10,247,255,255,255,
+ 255,3,247,255,255,73,72,0,247,255,255,2,0,0,247,255,255,73,120,0,247,255,255,255,
+ 255,7,244,255,255,255,255,14,225,255,255,255,255,47,112,255,255,255,255,47,0,249,255,255,
+ 255,30,0,96,253,255,207,3,0,0,16,34,0,0,176,255,255,206,24,0,244,255,255,255,
+ 223,2,244,255,255,255,255,12,244,255,255,255,255,95,244,255,255,255,255,159,244,255,255,255,
+ 255,191,244,255,255,255,255,191,244,255,255,253,255,191,244,255,255,255,255,191,244,255,255,255,
+ 255,175,244,255,255,255,255,143,244,255,255,255,255,63,244,255,255,255,255,11,244,255,255,255,
+ 207,1,177,255,255,207,23,0,209,255,255,255,79,244,255,255,255,159,244,255,255,255,159,244,
+ 255,255,255,159,244,255,255,255,159,244,255,255,255,62,244,255,255,255,9,244,255,255,255,9,
+ 244,255,255,255,9,244,255,255,255,62,244,255,255,255,159,244,255,255,255,159,244,255,255,255,
+ 159,244,255,255,255,159,193,255,255,255,78,209,255,255,255,62,244,255,255,255,127,244,255,255,
+ 255,127,244,255,255,255,127,244,255,255,255,127,244,255,255,255,45,244,255,255,255,7,244,255,
+ 255,255,8,244,255,255,255,8,244,255,255,255,7,244,255,255,187,2,244,255,255,0,0,244,
+ 255,255,0,0,244,255,255,0,0,226,255,191,0,0,16,34,1,0,0,0,0,16,34,1,
+ 0,0,80,252,255,239,25,0,247,255,255,255,143,96,255,255,255,255,159,224,255,255,255,255,
+ 143,244,255,255,255,255,111,247,255,255,255,255,30,247,255,255,185,255,159,247,255,255,179,255,
+ 191,247,255,255,202,255,191,246,255,255,255,255,191,244,255,255,255,255,191,224,255,255,255,255,
+ 191,96,255,255,255,255,191,0,247,255,255,255,191,0,80,252,255,239,59,0,0,16,34,1,
+ 0,193,255,207,212,255,175,244,255,255,251,255,255,244,255,255,251,255,255,244,255,255,251,255,
+ 255,244,255,255,254,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,
+ 255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,255,254,255,255,244,255,255,251,255,
+ 255,244,255,255,251,255,255,244,255,255,251,255,255,193,255,207,229,255,175,245,255,255,255,184,
+ 255,255,255,239,251,255,255,255,191,255,255,255,255,250,255,255,255,78,253,255,255,126,0,255,
+ 255,79,0,240,255,255,4,0,255,255,79,64,253,255,255,126,250,255,255,255,190,255,255,255,
+ 255,251,255,255,255,191,255,255,255,239,245,255,255,255,8,0,246,255,255,46,0,252,255,255,
+ 127,0,252,255,255,143,0,252,255,255,143,0,252,255,255,143,0,213,255,255,143,0,0,255,
+ 255,143,0,0,255,255,143,96,88,255,255,143,244,255,255,255,143,250,255,255,255,143,251,255,
+ 255,255,127,251,255,255,255,79,248,255,255,255,9,128,254,255,126,0,0,16,18,0,0,193,
+ 255,207,231,255,158,64,255,255,255,255,255,15,244,255,255,255,255,255,64,255,255,255,255,255,
+ 11,244,255,255,255,255,63,64,255,255,255,255,175,0,244,255,255,255,255,2,64,255,255,255,
+ 255,29,0,244,255,255,255,255,9,64,255,255,255,255,255,5,244,255,255,255,255,239,66,255,
+ 255,255,255,255,127,244,255,255,255,255,255,71,255,255,239,255,255,62,209,255,223,211,255,43,
+ 0,0,0,0,32,1,0,193,255,207,1,0,244,255,255,4,0,244,255,255,4,0,244,255,
+ 255,4,0,244,255,255,4,0,244,255,255,4,0,244,255,255,4,0,244,255,255,4,0,244,
+ 255,255,71,2,244,255,255,255,30,244,255,255,255,63,244,255,255,255,79,244,255,255,255,79,
+ 243,255,255,255,63,160,255,255,255,12,228,255,223,6,212,255,239,9,250,255,255,31,252,255,
+ 255,47,250,255,255,143,255,255,255,47,251,255,255,239,255,255,255,63,252,255,255,255,255,255,
+ 255,79,252,255,255,255,255,255,255,79,253,255,255,255,255,255,255,95,253,255,255,255,255,255,
+ 255,111,254,255,255,255,255,255,255,111,254,255,255,255,255,255,255,127,255,255,255,255,255,255,
+ 255,143,255,255,255,255,255,255,255,143,255,255,255,255,255,255,255,159,255,255,255,255,239,252,
+ 255,159,233,255,107,255,143,230,255,77,209,255,158,193,255,175,244,255,255,249,255,255,244,255,
+ 255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,
+ 255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,
+ 255,255,255,255,244,255,255,255,255,255,244,255,255,255,255,255,244,255,255,249,255,255,193,255,
+ 175,193,255,175,0,0,16,34,1,0,0,0,80,252,255,191,4,0,0,248,255,255,255,111,
+ 0,112,255,255,255,255,255,4,225,255,255,255,255,255,11,244,255,255,255,255,255,31,247,255,
+ 255,255,255,255,63,247,255,255,184,255,255,79,247,255,255,98,255,255,79,247,255,255,184,255,
+ 255,79,247,255,255,255,255,255,63,244,255,255,255,255,255,31,225,255,255,255,255,255,11,112,
+ 255,255,255,255,255,4,0,248,255,255,255,95,0,0,80,252,255,191,3,0,0,0,16,34,
+ 1,0,0,209,255,255,223,24,64,255,255,255,255,28,244,255,255,255,255,73,255,255,255,255,
+ 223,244,255,255,255,255,79,255,255,255,255,255,244,255,255,255,255,79,255,255,255,255,223,244,
+ 255,255,255,255,72,255,255,255,255,29,244,255,255,255,44,64,255,255,111,3,0,244,255,255,
+ 0,0,64,255,255,15,0,0,193,255,158,0,0,0,0,0,16,34,1,0,0,0,80,252,
+ 255,191,4,0,0,248,255,255,255,111,0,112,255,255,255,255,255,4,225,255,255,255,255,255,
+ 11,244,255,255,255,255,255,31,247,255,255,255,255,255,63,247,255,255,184,255,255,79,247,255,
+ 255,98,255,255,79,247,255,255,201,255,255,79,247,255,255,255,255,255,63,244,255,255,255,255,
+ 255,31,225,255,255,255,255,255,11,96,255,255,255,255,255,3,0,248,255,255,255,159,0,0,
+ 96,253,255,255,175,0,0,0,112,255,255,175,0,0,0,0,248,255,79,0,0,0,0,144,
+ 223,5,0,193,255,255,239,58,0,244,255,255,255,239,4,244,255,255,255,255,14,244,255,255,
+ 255,255,63,244,255,255,255,255,79,244,255,255,255,255,79,244,255,255,255,255,63,244,255,255,
+ 255,255,31,244,255,255,255,255,9,244,255,255,255,255,29,244,255,255,255,255,143,244,255,255,
+ 255,255,207,244,255,255,255,255,207,244,255,255,255,255,111,209,255,175,247,223,5,0,0,0,
+ 16,2,0,0,0,33,18,0,0,48,252,255,223,6,64,254,255,255,255,2,254,255,255,255,
+ 47,243,255,255,255,255,66,255,255,255,255,14,244,255,255,255,143,48,255,255,255,255,29,225,
+ 255,255,255,255,22,253,255,255,255,127,245,255,255,255,255,119,255,255,255,255,127,247,255,255,
+ 255,255,118,255,255,255,255,31,227,255,255,255,111,0,195,255,255,109,0,0,0,34,1,0,
+ 0,245,255,255,255,239,178,255,255,255,255,127,251,255,255,255,255,183,255,255,255,255,127,251,
+ 255,255,255,255,87,255,255,255,255,46,0,244,255,255,0,0,64,255,255,15,0,0,244,255,
+ 255,0,0,64,255,255,15,0,0,244,255,255,0,0,64,255,255,15,0,0,244,255,255,0,
+ 0,64,255,255,15,0,0,193,255,175,0,0,211,255,207,231,255,159,248,255,255,255,255,255,
+ 248,255,255,255,255,255,248,255,255,255,255,255,248,255,255,255,255,255,248,255,255,255,255,255,
+ 248,255,255,255,255,255,248,255,255,255,255,255,248,255,255,255,255,255,248,255,255,255,255,255,
+ 247,255,255,255,255,255,245,255,255,255,255,239,225,255,255,255,255,143,48,254,255,255,255,27,
+ 0,162,254,255,142,1,0,0,32,18,0,0,231,255,158,128,254,239,202,255,255,95,255,255,
+ 255,252,255,255,251,255,255,159,255,255,255,255,255,223,245,255,255,255,255,255,25,255,255,255,
+ 255,255,95,208,255,255,255,255,255,1,249,255,255,255,255,12,80,255,255,255,255,143,0,241,
+ 255,255,255,255,4,0,252,255,255,255,14,0,128,255,255,255,191,0,0,244,255,255,255,7,
+ 0,16,255,255,255,63,0,0,112,254,255,158,0,0,229,255,175,210,255,45,232,255,143,249,
+ 255,255,249,255,143,254,255,207,249,255,255,254,255,223,255,255,207,248,255,255,255,255,255,255,
+ 255,191,245,255,255,255,255,255,255,255,143,243,255,255,255,255,255,255,255,95,241,255,255,255,
+ 255,255,255,255,47,224,255,255,255,255,255,255,255,14,176,255,255,255,255,255,255,255,12,144,
+ 255,255,255,255,255,255,255,9,112,255,255,255,255,255,255,255,6,64,255,255,255,255,255,255,
+ 255,4,32,255,255,255,255,255,255,255,1,0,255,255,255,237,255,255,223,0,0,231,255,223,
+ 100,254,255,93,0,229,255,207,82,254,239,27,249,255,255,252,255,255,47,249,255,255,255,255,
+ 255,47,245,255,255,255,255,255,12,192,255,255,255,255,255,5,80,255,255,255,255,223,0,0,
+ 253,255,255,255,111,0,0,248,255,255,255,14,0,0,253,255,255,255,95,0,80,255,255,255,
+ 255,223,0,192,255,255,255,255,255,6,244,255,255,255,255,255,13,248,255,255,255,255,255,79,
+ 248,255,255,253,255,255,79,228,255,207,130,254,255,28,160,254,239,8,232,255,110,242,255,255,
+ 159,255,255,191,242,255,255,255,255,255,191,192,255,255,255,255,255,111,64,255,255,255,255,255,
+ 13,0,252,255,255,255,255,6,0,244,255,255,255,223,0,0,176,255,255,255,111,0,0,64,
+ 255,255,255,13,0,0,0,251,255,255,7,0,0,0,248,255,255,4,0,0,0,248,255,255,
+ 4,0,0,0,248,255,255,4,0,0,0,248,255,255,4,0,0,0,210,255,190,1,0,128,
+ 255,255,255,239,4,240,255,255,255,255,14,241,255,255,255,255,63,241,255,255,255,255,79,241,
+ 255,255,255,255,79,144,255,255,255,255,13,0,242,255,255,255,3,0,251,255,255,143,0,96,
+ 255,255,255,143,2,225,255,255,255,255,12,244,255,255,255,255,15,244,255,255,255,255,15,242,
+ 255,255,255,255,15,192,255,255,255,255,14,64,255,255,255,255,6,180,187,187,180,255,255,207,
+ 251,255,255,189,255,255,223,251,255,255,186,255,127,4,251,255,4,176,255,79,0,251,255,4,
+ 176,255,79,0,251,255,4,176,255,79,0,251,255,4,176,255,79,0,251,255,255,183,255,255,
+ 223,251,255,255,189,255,255,223,247,255,255,7,64,87,0,0,0,0,246,255,4,0,0,0,
+ 250,255,12,0,0,0,250,255,111,0,0,0,247,255,239,1,0,0,208,255,255,8,0,0,
+ 80,255,255,47,0,0,0,251,255,175,0,0,0,243,255,255,4,0,0,144,255,255,12,0,
+ 0,16,254,255,111,0,0,0,247,255,239,1,0,0,208,255,255,8,0,0,80,255,255,47,
+ 0,0,0,251,255,175,0,0,0,243,255,255,0,0,0,144,255,255,0,0,0,16,254,223,
+ 0,0,0,0,181,42,161,187,187,9,247,255,255,79,247,255,255,79,247,255,255,79,244,255,
+ 255,79,48,196,255,79,0,176,255,79,0,176,255,79,0,176,255,79,0,176,255,79,0,176,
+ 255,79,0,176,255,79,0,176,255,79,0,176,255,79,226,255,255,79,247,255,255,79,247,255,
+ 255,79,247,255,255,79,226,255,255,29,0,0,112,173,1,0,0,0,128,255,207,1,0,0,
+ 144,255,255,223,2,0,161,255,255,255,239,4,177,255,255,255,255,255,69,255,255,255,255,255,
+ 191,244,255,223,162,255,255,43,255,223,2,144,255,159,96,223,2,0,128,207,1,80,136,136,
+ 136,136,23,242,255,255,255,255,175,244,255,255,255,255,191,244,255,255,255,255,191,242,255,255,
+ 255,255,175,80,136,136,136,136,23,16,1,0,227,159,2,250,255,110,251,255,255,251,255,255,
+ 229,255,239,16,215,94,0,133,153,89,0,0,247,255,255,143,0,144,255,255,255,63,0,249,
+ 255,255,255,6,209,255,255,255,127,144,255,255,255,255,7,251,255,255,255,223,178,255,255,255,
+ 255,159,251,255,255,255,255,153,255,255,255,255,159,226,255,255,255,255,8,211,255,207,255,29,
+ 0,16,18,16,18,0,16,34,1,0,0,32,254,255,8,0,0,244,255,191,0,0,64,255,
+ 255,11,0,0,244,255,223,121,1,64,255,255,255,223,2,244,255,255,255,191,64,255,255,255,
+ 255,31,244,255,255,255,255,67,255,255,255,255,79,244,255,255,255,255,68,255,255,255,255,63,
+ 244,255,255,255,255,65,255,255,255,255,11,243,255,255,255,46,0,197,255,255,43,0,0,16,
+ 34,1,0,0,0,80,153,105,0,16,251,255,255,10,176,255,255,255,47,243,255,255,255,47,
+ 247,255,255,255,31,247,255,255,255,13,247,255,255,255,6,247,255,255,255,9,246,255,255,255,
+ 11,225,255,255,255,11,96,255,255,255,11,0,213,255,223,3,0,0,34,1,0,0,0,0,
+ 33,2,0,0,0,128,255,239,1,0,0,176,255,255,3,0,0,176,255,255,3,0,96,233,
+ 255,255,3,16,252,255,255,255,3,192,255,255,255,255,3,244,255,255,255,255,3,247,255,255,
+ 255,255,3,247,255,255,255,255,3,247,255,255,255,255,27,247,255,255,255,255,95,246,255,255,
+ 255,255,111,241,255,255,255,255,111,96,255,255,255,255,79,0,230,255,222,255,10,0,0,34,
+ 0,34,0,0,80,153,105,0,16,251,255,255,28,160,255,255,255,175,243,255,255,255,239,247,
+ 255,255,255,255,247,255,255,255,255,247,255,255,255,239,247,255,255,255,143,246,255,255,255,159,
+ 225,255,255,255,159,80,255,255,255,143,0,212,255,239,25,0,0,33,1,0,0,0,34,1,
+ 0,96,254,255,77,64,255,255,255,11,250,255,255,191,210,255,255,255,186,255,255,255,79,251,
+ 255,255,191,176,255,255,255,11,251,255,255,191,64,254,255,207,3,176,255,255,3,0,251,255,
+ 63,0,176,255,255,3,0,251,255,63,0,176,255,255,3,0,247,255,28,0,0,64,152,137,
+ 4,16,251,255,255,175,160,255,255,255,255,243,255,255,255,255,247,255,255,255,255,247,255,255,
+ 255,255,247,255,255,255,255,247,255,255,255,255,246,255,255,255,255,242,255,255,255,255,160,255,
+ 255,255,255,144,255,255,255,255,144,255,255,255,239,144,255,255,255,143,64,254,255,255,8,0,
+ 32,68,19,0,0,34,1,0,0,226,255,127,0,0,244,255,191,0,0,244,255,191,0,0,
+ 244,255,223,137,2,244,255,255,255,62,244,255,255,255,191,244,255,255,255,239,244,255,255,255,
+ 239,244,255,255,255,239,244,255,255,255,239,244,255,255,255,239,244,255,255,255,239,244,255,255,
+ 255,239,244,255,255,255,239,209,255,223,255,175,16,34,2,226,255,143,244,255,191,244,255,191,
+ 244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,
+ 244,255,191,244,255,191,244,255,191,210,255,143,0,16,34,2,0,226,255,143,0,244,255,191,
+ 0,244,255,191,0,244,255,191,0,244,255,191,0,244,255,191,0,244,255,191,0,244,255,191,
+ 0,244,255,191,0,244,255,191,0,244,255,191,0,244,255,191,65,249,255,191,253,255,255,191,
+ 255,255,255,191,255,255,255,175,254,255,255,63,245,255,223,4,16,68,3,0,16,34,2,0,
+ 0,32,254,255,8,0,0,244,255,191,0,0,64,255,255,11,0,0,244,255,207,153,137,65,
+ 255,255,255,255,127,244,255,255,255,255,71,255,255,255,255,79,244,255,255,255,159,64,255,255,
+ 255,255,1,244,255,255,255,95,64,255,255,255,255,13,244,255,255,255,255,70,255,255,255,255,
+ 207,244,255,255,255,255,28,253,255,234,255,143,209,255,127,244,255,191,244,255,191,244,255,191,
+ 244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,244,255,191,
+ 244,255,191,244,255,191,210,255,127,112,137,132,153,117,153,6,112,255,255,255,255,255,255,11,
+ 251,255,255,255,255,255,255,182,255,255,255,255,255,255,175,251,255,255,255,255,255,255,139,255,
+ 255,255,255,255,255,191,192,255,255,255,255,255,255,11,251,255,255,255,255,255,191,176,255,255,
+ 255,255,255,255,11,251,255,255,255,255,255,191,176,255,255,255,255,255,255,11,247,255,237,255,
+ 223,255,143,112,137,132,153,6,112,255,255,255,255,10,251,255,255,255,255,180,255,255,255,255,
+ 127,251,255,255,255,255,119,255,255,255,255,143,192,255,255,255,255,8,251,255,255,255,143,176,
+ 255,255,255,255,8,251,255,255,255,143,176,255,255,255,255,8,248,255,237,255,78,0,97,153,
+ 89,0,0,193,255,255,175,0,192,255,255,255,143,64,255,255,255,255,30,247,255,255,255,255,
+ 115,255,255,255,255,79,247,255,255,255,255,116,255,255,255,255,79,246,255,255,255,255,18,255,
+ 255,255,255,12,96,255,255,255,62,0,80,253,255,60,0,0,0,33,1,0,0,80,137,132,
+ 153,5,80,255,255,255,255,9,249,255,255,255,255,150,255,255,255,255,207,249,255,255,255,255,
+ 94,255,255,255,255,239,144,255,255,255,255,14,248,255,255,255,239,128,255,255,255,255,12,248,
+ 255,255,255,127,128,255,255,255,207,1,248,255,255,174,1,128,255,255,7,0,0,248,255,127,
+ 0,0,96,255,255,6,0,0,48,68,4,0,0,0,80,153,121,3,16,252,255,255,159,176,
+ 255,255,255,255,244,255,255,255,255,247,255,255,255,255,247,255,255,255,255,247,255,255,255,255,
+ 247,255,255,255,255,245,255,255,255,255,225,255,255,255,255,96,255,255,255,255,0,214,255,255,
+ 255,0,0,224,255,255,0,0,224,255,255,0,0,192,255,223,0,0,16,68,20,128,137,147,
+ 121,128,255,255,255,111,251,255,255,255,183,255,255,255,127,251,255,255,255,118,255,255,255,30,
+ 192,255,255,73,0,251,255,63,0,176,255,255,3,0,251,255,63,0,176,255,255,3,0,248,
+ 255,29,0,0,131,153,88,1,80,255,255,255,11,241,255,255,255,15,244,255,255,255,15,244,
+ 255,255,255,12,243,255,255,255,13,243,255,255,255,63,248,255,255,255,79,249,255,255,255,79,
+ 249,255,255,255,47,247,255,255,255,9,112,254,255,142,0,0,16,34,0,0,0,118,103,0,
+ 112,255,255,6,178,255,255,75,250,255,255,239,251,255,255,255,251,255,255,255,251,255,255,255,
+ 246,255,255,191,128,255,255,11,128,255,255,11,128,255,255,11,128,255,255,11,128,255,255,11,
+ 64,254,255,7,96,119,87,135,71,48,255,255,255,255,15,244,255,255,255,255,64,255,255,255,
+ 255,15,244,255,255,255,255,64,255,255,255,255,15,244,255,255,255,255,69,255,255,255,255,239,
+ 244,255,255,255,255,47,255,255,255,255,255,160,255,255,255,255,13,161,255,223,253,95,0,16,
+ 34,0,18,0,115,120,22,119,119,194,255,255,253,255,175,253,255,255,255,255,202,255,255,255,
+ 255,159,248,255,255,255,255,69,255,255,255,255,31,224,255,255,255,207,0,251,255,255,255,7,
+ 112,255,255,255,63,0,243,255,255,223,0,0,254,255,255,9,0,96,254,255,61,0,115,120,
+ 53,136,23,119,119,209,255,255,253,255,255,255,127,253,255,255,255,255,255,255,199,255,255,255,
+ 255,255,255,111,250,255,255,255,255,255,255,115,255,255,255,255,255,255,31,244,255,255,255,255,
+ 255,207,16,255,255,255,255,255,255,9,224,255,255,255,255,255,111,0,251,255,255,255,255,255,
+ 3,128,255,255,255,255,255,15,0,227,255,255,252,255,175,0,0,32,34,1,33,18,0,0,
+ 113,119,39,117,119,5,250,255,239,255,255,47,250,255,255,255,255,47,249,255,255,255,255,30,
+ 242,255,255,255,255,8,160,255,255,255,239,1,80,255,255,255,207,0,192,255,255,255,255,4,
+ 244,255,255,255,255,12,249,255,255,255,255,47,249,255,255,255,255,47,229,255,143,254,239,27,
+ 147,153,24,151,153,181,255,255,252,255,255,251,255,255,255,255,159,255,255,255,255,223,243,255,
+ 255,255,255,8,253,255,255,255,63,112,255,255,255,223,0,242,255,255,255,7,0,251,255,255,
+ 47,0,96,255,255,207,0,0,248,255,255,7,0,224,255,255,47,0,64,255,255,191,0,0,
+ 244,255,255,6,0,32,254,255,29,0,0,0,33,18,0,0,80,136,136,120,2,242,255,255,
+ 255,12,244,255,255,255,111,244,255,255,255,127,244,255,255,255,111,243,255,255,255,11,176,255,
+ 255,255,27,246,255,255,255,79,247,255,255,255,79,247,255,255,255,79,243,255,255,255,63,144,
+ 255,255,255,28,0,48,103,0,48,254,175,0,252,255,15,240,255,255,0,255,255,9,240,255,
+ 31,0,255,255,0,240,255,15,96,255,255,64,255,255,15,246,255,239,96,255,255,13,245,255,
+ 255,0,249,255,15,0,255,255,0,240,255,15,0,255,255,0,240,255,111,0,255,255,14,208,
+ 255,255,0,246,255,12,0,182,25,196,173,176,255,79,251,255,180,255,79,251,255,180,255,79,
+ 251,255,180,255,79,251,255,180,255,79,251,255,180,255,79,251,255,180,255,79,251,255,180,255,
+ 79,251,255,180,255,79,251,255,180,255,79,251,255,180,255,79,179,139,0,48,103,0,64,255,
+ 159,0,247,255,79,112,255,255,7,226,255,143,0,248,255,8,128,255,143,0,248,255,8,128,
+ 255,207,1,247,255,175,96,255,255,11,246,255,191,112,255,255,10,248,255,45,128,255,143,0,
+ 248,255,8,128,255,143,16,253,255,8,247,255,127,112,255,255,5,245,255,12,0,181,26,0,
+ 16,118,22,117,48,254,255,255,159,251,255,255,255,191,255,255,255,255,249,255,255,255,28,220,
+ 200,255,27,
+};
+static const Glyph font_mid_o1_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {6, 16, -1, -14, 5, 0},
+ {8, 8, 0, -13, 8, 48},
+ {14, 15, 0, -13, 14, 80},
+ {11, 19, -1, -15, 9, 185},
+ {15, 17, -1, -14, 14, 290},
+ {13, 17, -1, -14, 12, 418},
+ {5, 8, 0, -13, 5, 529},
+ {7, 17, 0, -13, 8, 549},
+ {7, 17, 0, -13, 7, 609},
+ {10, 10, 0, -13, 10, 669},
+ {12, 13, -1, -12, 10, 719},
+ {7, 8, -1, -4, 5, 797},
+ {11, 6, -1, -7, 9, 825},
+ {6, 8, -1, -5, 4, 858},
+ {12, 19, -1, -15, 10, 882},
+ {13, 17, -1, -14, 11, 996},
+ {9, 15, -1, -13, 7, 1107},
+ {11, 16, -1, -14, 9, 1175},
+ {11, 17, -1, -14, 9, 1263},
+ {12, 15, -1, -13, 10, 1357},
+ {10, 16, -1, -13, 9, 1447},
+ {11, 17, -1, -14, 10, 1527},
+ {11, 15, -1, -13, 9, 1621},
+ {12, 17, -1, -14, 10, 1704},
+ {11, 17, -1, -14, 10, 1806},
+ {6, 13, 0, -10, 5, 1900},
+ {7, 14, -1, -10, 5, 1939},
+ {8, 14, 0, -12, 8, 1988},
+ {10, 10, 0, -10, 10, 2044},
+ {8, 14, 0, -12, 8, 2094},
+ {10, 17, 0, -14, 10, 2150},
+ {16, 17, -1, -13, 15, 2235},
+ {13, 15, -1, -13, 11, 2371},
+ {11, 15, 0, -13, 10, 2469},
+ {12, 17, -1, -14, 10, 2552},
+ {12, 15, -1, -13, 11, 2654},
+ {10, 15, -1, -13, 9, 2744},
+ {10, 16, -1, -13, 8, 2819},
+ {12, 17, -1, -14, 11, 2899},
+ {12, 15, -1, -13, 11, 3001},
+ {9, 15, -1, -13, 8, 3091},
+ {10, 16, -1, -13, 8, 3159},
+ {13, 16, -1, -13, 11, 3239},
+ {10, 15, -1, -13, 8, 3343},
+ {16, 15, 0, -13, 16, 3418},
+ {12, 15, -1, -13, 11, 3538},
+ {14, 17, -1, -14, 12, 3628},
+ {11, 15, -1, -13, 10, 3747},
+ {14, 19, -1, -14, 12, 3830},
+ {12, 16, -1, -13, 10, 3963},
+ {11, 17, -1, -14, 9, 4059},
+ {11, 15, -1, -13, 9, 4153},
+ {12, 16, -1, -13, 11, 4236},
+ {13, 15, -1, -13, 11, 4332},
+ {18, 15, -1, -13, 16, 4430},
+ {14, 15, -1, -13, 12, 4565},
+ {14, 15, -2, -13, 11, 4670},
+ {12, 15, -1, -13, 10, 4775},
+ {7, 19, 0, -15, 7, 4865},
+ {12, 19, -1, -15, 10, 4932},
+ {8, 19, -1, -15, 7, 5046},
+ {13, 9, -1, -13, 12, 5122},
+ {12, 6, -1, -1, 11, 5181},
+ {6, 7, 0, -14, 6, 5217},
+ {11, 13, -1, -10, 9, 5238},
+ {11, 17, -1, -14, 9, 5310},
+ {10, 13, -1, -10, 7, 5404},
+ {12, 17, -1, -14, 10, 5469},
+ {10, 13, -1, -10, 9, 5571},
+ {9, 16, -1, -14, 7, 5636},
+ {10, 16, -1, -10, 9, 5708},
+ {10, 16, -1, -14, 9, 5788},
+ {6, 16, -1, -14, 5, 5868},
+ {8, 20, -3, -14, 5, 5916},
+ {11, 16, -1, -14, 9, 5996},
+ {6, 15, -1, -13, 5, 6084},
+ {15, 12, -1, -10, 14, 6129},
+ {11, 12, -1, -10, 10, 6219},
+ {11, 13, -1, -10, 9, 6285},
+ {11, 16, -1, -10, 10, 6357},
+ {10, 16, -1, -10, 9, 6445},
+ {9, 12, -1, -10, 7, 6525},
+ {10, 13, -1, -10, 8, 6579},
+ {8, 14, -1, -12, 7, 6644},
+ {11, 13, -1, -10, 9, 6700},
+ {11, 12, -1, -10, 9, 6772},
+ {15, 13, -1, -10, 13, 6838},
+ {12, 12, -1, -10, 10, 6936},
+ {11, 16, -1, -10, 9, 7008},
+ {10, 12, -1, -10, 8, 7096},
+ {7, 22, -1, -16, 6, 7156},
+ {5, 23, 3, -17, 11, 7233},
+ {7, 22, 0, -16, 6, 7291},
+ {9, 6, -1, -8, 8, 7368},
+};
+static const uint8_t font_mid_o2_data[9968] = {
+ 0,33,34,1,128,254,255,78,242,255,255,223,243,255,255,255,243,255,255,255,243,255,255,239,
+ 242,255,255,239,241,255,255,223,241,255,255,207,240,255,255,207,224,255,255,191,241,255,255,207,
+ 244,255,255,255,244,255,255,255,244,255,255,255,244,255,255,255,242,255,255,207,96,254,255,60,
+ 162,255,237,239,24,251,255,255,255,127,255,255,255,255,191,255,255,255,255,191,254,255,255,255,
+ 175,252,255,255,255,143,250,255,255,255,111,248,255,255,255,79,242,255,255,255,13,48,186,186,
+ 139,1,0,0,16,184,74,184,74,0,0,0,176,255,255,255,255,8,0,0,243,255,255,255,
+ 255,14,32,251,255,255,255,255,255,47,160,255,255,255,255,255,255,175,240,255,255,255,255,255,
+ 255,255,240,255,255,255,255,255,255,255,240,255,255,255,255,255,255,255,245,255,255,255,255,255,
+ 255,191,247,255,255,255,255,255,255,127,247,255,255,255,255,255,255,127,247,255,255,255,255,255,
+ 255,127,242,255,255,255,255,255,255,47,160,255,255,255,255,255,171,4,144,255,255,255,255,175,
+ 0,0,48,255,255,255,255,79,0,0,0,196,239,183,239,8,0,0,0,0,96,105,0,0,
+ 0,0,144,255,159,0,0,0,112,255,255,223,6,0,209,255,255,255,255,8,160,255,255,255,
+ 255,239,32,255,255,255,255,255,31,247,255,255,255,255,255,113,255,255,255,255,255,13,247,255,
+ 255,255,255,159,112,255,255,255,255,255,30,245,255,255,255,255,255,5,254,255,255,255,255,127,
+ 243,255,255,255,255,255,119,255,255,255,255,255,127,247,255,255,255,255,255,118,255,255,255,255,
+ 255,47,245,255,255,255,255,159,0,251,255,255,255,207,1,0,197,255,255,111,0,0,0,160,
+ 255,175,0,0,0,0,129,139,1,0,0,0,0,34,0,0,16,2,0,0,80,253,239,7,
+ 128,254,76,0,112,255,255,255,122,255,255,30,16,254,255,255,255,255,255,255,6,245,255,255,
+ 255,255,255,255,127,112,255,255,255,255,255,255,255,6,247,255,255,255,255,255,255,30,112,255,
+ 255,255,255,255,255,223,3,247,255,255,255,255,255,255,223,48,255,255,255,255,255,255,255,111,
+ 160,255,255,255,255,255,255,255,10,193,255,255,255,255,255,255,191,16,253,255,255,255,255,255,
+ 255,11,245,255,255,255,255,255,255,191,96,255,255,255,255,255,255,255,9,246,255,255,239,255,
+ 255,255,63,16,254,255,127,247,255,255,175,0,48,252,158,0,213,255,126,1,0,0,18,0,
+ 0,32,2,0,0,0,0,16,34,1,0,0,0,0,179,255,255,59,0,0,0,248,255,255,
+ 255,127,0,0,243,255,255,255,255,47,0,160,255,255,255,255,255,9,0,254,255,255,255,255,
+ 223,4,224,255,255,255,255,255,255,3,254,255,255,255,255,255,159,208,255,255,255,255,255,255,
+ 9,252,255,255,255,255,255,159,242,255,255,255,255,255,255,72,255,255,255,255,255,255,47,244,
+ 255,255,255,255,255,95,48,255,255,255,255,255,255,0,225,255,255,255,255,255,12,0,247,255,
+ 255,255,255,95,0,0,251,255,255,255,175,0,0,0,197,255,255,92,0,0,0,0,16,34,
+ 1,0,0,0,129,254,142,113,255,255,127,251,255,255,187,255,255,191,251,255,255,171,255,255,
+ 175,249,255,255,137,255,255,143,242,255,255,2,163,171,3,0,178,239,58,0,176,255,255,63,
+ 48,255,255,255,8,250,255,255,143,224,255,255,255,70,255,255,255,30,246,255,255,175,112,255,
+ 255,255,5,247,255,255,47,112,255,255,255,1,247,255,255,79,96,255,255,255,8,244,255,255,
+ 239,16,255,255,255,111,160,255,255,255,9,245,255,255,159,0,252,255,255,4,64,253,223,6,
+ 0,0,52,0,0,16,232,207,4,0,253,255,239,1,244,255,255,127,64,255,255,255,13,243,
+ 255,255,255,4,252,255,255,127,96,255,255,255,10,241,255,255,191,0,253,255,255,11,208,255,
+ 255,191,16,255,255,255,11,244,255,255,175,160,255,255,255,39,255,255,255,79,245,255,255,239,
+ 80,255,255,255,8,225,255,255,47,0,180,255,126,0,0,32,20,0,0,0,16,249,159,1,
+ 0,0,128,255,255,8,0,48,234,255,255,174,3,225,255,255,255,255,30,247,255,255,255,255,
+ 127,247,255,255,255,255,127,247,255,255,255,255,127,243,255,255,255,255,47,112,255,255,255,255,
+ 8,64,255,255,255,255,6,0,253,255,255,239,1,0,129,155,185,24,0,0,0,0,85,3,
+ 0,0,0,0,227,255,159,0,0,0,0,250,255,255,2,0,0,0,251,255,255,4,0,64,
+ 253,255,255,255,239,7,209,255,255,255,255,255,63,243,255,255,255,255,255,127,244,255,255,255,
+ 255,255,127,243,255,255,255,255,255,127,209,255,255,255,255,255,63,64,253,255,255,255,239,7,
+ 0,0,251,255,255,4,0,0,0,250,255,255,3,0,0,0,228,255,175,0,0,0,0,16,
+ 119,5,0,0,0,179,255,175,2,192,255,255,191,0,255,255,255,14,241,255,255,239,128,255,
+ 255,255,14,254,255,255,223,241,255,255,255,23,255,255,255,30,144,255,255,143,0,96,187,91,
+ 0,0,67,68,68,68,2,0,250,255,255,255,255,7,244,255,255,255,255,239,113,255,255,255,
+ 255,255,79,247,255,255,255,255,255,116,255,255,255,255,255,63,225,255,255,255,255,207,0,164,
+ 187,187,187,155,2,0,34,34,0,194,255,255,11,250,255,255,111,251,255,255,143,251,255,255,
+ 143,251,255,255,143,251,255,255,143,250,255,255,111,194,255,255,11,0,34,34,0,0,0,0,
+ 0,80,71,0,0,0,0,0,250,255,28,0,0,0,64,255,255,143,0,0,0,192,255,255,
+ 191,0,0,0,246,255,255,191,0,0,16,254,255,255,143,0,0,128,255,255,255,30,0,0,
+ 242,255,255,255,7,0,0,250,255,255,223,0,0,64,255,255,255,95,0,0,192,255,255,255,
+ 11,0,0,246,255,255,255,3,0,16,254,255,255,159,0,0,128,255,255,255,30,0,0,242,
+ 255,255,255,7,0,0,250,255,255,223,0,0,0,254,255,255,95,0,0,0,254,255,255,11,
+ 0,0,0,253,255,255,3,0,0,0,245,255,159,0,0,0,0,48,186,23,0,0,0,0,
+ 0,0,0,33,1,0,0,0,0,129,254,255,109,0,0,0,228,255,255,255,223,2,0,226,
+ 255,255,255,255,207,0,144,255,255,255,255,255,95,16,255,255,255,255,255,255,12,245,255,255,
+ 255,255,255,255,113,255,255,255,255,255,255,63,247,255,255,255,255,255,255,116,255,255,255,255,
+ 255,255,79,247,255,255,255,255,255,255,116,255,255,255,255,255,255,63,245,255,255,255,255,255,
+ 255,17,254,255,255,255,255,255,12,144,255,255,255,255,255,95,0,225,255,255,255,255,207,0,
+ 0,228,255,255,255,223,2,0,0,129,254,255,109,0,0,0,0,0,34,1,0,0,0,128,
+ 254,255,255,93,64,255,255,255,255,30,249,255,255,255,255,148,255,255,255,255,79,249,255,255,
+ 255,255,148,255,255,255,255,79,246,255,255,255,255,4,252,255,255,255,79,0,246,255,255,255,
+ 4,64,255,255,255,79,0,244,255,255,255,4,64,255,255,255,79,0,244,255,255,255,4,64,
+ 255,255,255,79,0,244,255,255,255,4,16,254,255,255,30,0,80,253,255,93,0,0,0,32,
+ 18,0,0,0,48,234,255,239,24,0,128,255,255,255,255,45,32,255,255,255,255,255,9,244,
+ 255,255,255,255,255,65,255,255,255,255,255,63,243,255,255,255,255,255,4,252,255,255,255,255,
+ 79,64,255,255,255,255,255,3,128,255,255,255,255,13,64,254,255,255,255,191,0,253,255,255,
+ 255,255,79,244,255,255,255,255,255,71,255,255,255,255,255,127,244,255,255,255,255,255,23,255,
+ 255,255,255,255,111,160,255,255,255,255,239,1,162,255,255,255,207,4,0,0,33,18,0,0,
+ 0,96,252,255,239,24,0,192,255,255,255,255,45,64,255,255,255,255,255,9,246,255,255,255,
+ 255,239,96,255,255,255,255,255,15,245,255,255,255,255,255,0,253,255,255,255,255,14,96,255,
+ 255,255,255,175,0,225,255,255,255,255,13,176,255,255,255,255,255,67,255,255,255,255,255,79,
+ 249,255,255,255,255,255,180,255,255,255,255,255,63,251,255,255,255,255,223,160,255,255,255,255,
+ 255,6,227,255,255,255,255,10,0,130,254,255,191,4,0,0,0,33,18,0,0,0,0,0,
+ 195,255,255,110,0,0,0,253,255,255,255,2,0,112,255,255,255,255,4,0,225,255,255,255,
+ 255,4,0,249,255,255,255,255,4,32,255,255,255,255,255,4,176,255,255,255,255,255,4,244,
+ 255,255,255,255,255,10,250,255,255,255,255,255,95,251,255,255,255,255,255,127,251,255,255,255,
+ 255,255,127,248,255,255,255,255,255,127,225,255,255,255,255,255,127,112,255,255,255,255,255,31,
+ 0,132,249,255,255,255,4,0,0,225,255,255,239,1,0,0,80,253,239,76,0,16,250,255,
+ 255,239,8,128,255,255,255,255,79,176,255,255,255,255,127,176,255,255,255,255,143,176,255,255,
+ 255,255,143,176,255,255,255,255,127,176,255,255,255,255,79,176,255,255,255,255,143,176,255,255,
+ 255,255,223,176,255,255,255,255,255,224,255,255,255,255,255,243,255,255,255,255,255,244,255,255,
+ 255,255,239,244,255,255,255,255,143,243,255,255,255,255,30,208,255,255,255,239,5,32,233,255,
+ 239,41,0,0,0,34,2,0,0,0,0,0,33,2,0,0,0,96,253,255,159,1,0,194,
+ 255,255,255,175,0,192,255,255,255,255,31,80,255,255,255,255,255,1,253,255,255,255,255,31,
+ 243,255,255,255,255,207,96,255,255,255,255,255,29,247,255,255,255,255,255,119,255,255,255,255,
+ 255,223,247,255,255,255,255,255,127,255,255,255,255,255,255,246,255,255,255,255,255,63,255,255,
+ 255,255,255,239,192,255,255,255,255,255,9,245,255,255,255,255,47,0,249,255,255,255,95,0,
+ 0,180,255,239,41,0,0,0,16,34,0,0,0,112,254,255,255,255,25,32,255,255,255,255,
+ 255,10,247,255,255,255,255,255,114,255,255,255,255,255,95,247,255,255,255,255,255,117,255,255,
+ 255,255,255,63,244,255,255,255,255,239,0,250,255,255,255,255,9,0,211,255,255,255,95,0,
+ 32,255,255,255,255,1,0,247,255,255,255,12,0,192,255,255,255,127,0,32,255,255,255,255,
+ 3,0,245,255,255,255,14,0,80,255,255,255,159,0,0,243,255,255,255,4,0,0,214,255,
+ 223,7,0,0,0,0,16,34,0,0,0,0,64,251,255,175,3,0,0,248,255,255,255,111,
+ 0,64,255,255,255,255,255,2,176,255,255,255,255,255,8,240,255,255,255,255,255,10,240,255,
+ 255,255,255,255,11,240,255,255,255,255,255,10,208,255,255,255,255,255,9,242,255,255,255,255,
+ 255,30,247,255,255,255,255,255,63,247,255,255,255,255,255,79,247,255,255,255,255,255,79,247,
+ 255,255,255,255,255,63,243,255,255,255,255,255,13,160,255,255,255,255,255,6,32,252,255,255,
+ 255,159,0,0,96,253,255,191,3,0,0,0,16,34,0,0,0,0,0,16,34,0,0,0,
+ 0,180,255,239,41,0,0,249,255,255,255,62,0,245,255,255,255,255,13,192,255,255,255,255,
+ 255,37,255,255,255,255,255,191,244,255,255,255,255,255,78,255,255,255,255,255,255,244,255,255,
+ 255,255,255,47,255,255,255,255,255,255,192,255,255,255,255,255,15,245,255,255,255,255,223,80,
+ 255,255,255,255,255,11,247,255,255,255,255,127,128,255,255,255,255,239,1,247,255,255,255,255,
+ 8,32,255,255,255,255,11,0,64,252,255,207,5,0,0,0,33,18,0,0,0,112,153,137,
+ 2,250,255,255,13,255,255,255,79,255,255,255,79,255,255,255,79,255,255,255,79,255,255,255,
+ 79,254,255,255,63,255,255,255,79,255,255,255,79,255,255,255,79,255,255,255,79,253,255,255,
+ 47,229,255,255,8,16,34,18,0,0,151,153,40,0,250,255,255,13,240,255,255,255,4,255,
+ 255,255,79,240,255,255,255,4,255,255,255,79,240,255,255,255,4,250,255,255,31,176,255,255,
+ 255,3,252,255,255,63,243,255,255,255,163,255,255,255,63,252,255,255,207,192,255,255,255,6,
+ 247,255,255,13,16,232,255,59,0,0,0,196,207,4,0,48,254,255,63,0,209,255,255,175,
+ 0,251,255,255,191,144,255,255,255,191,245,255,255,255,95,253,255,255,255,9,255,255,255,207,
+ 0,255,255,255,255,5,250,255,255,255,63,210,255,255,255,175,48,254,255,255,191,0,244,255,
+ 255,191,0,96,255,255,95,0,0,247,239,8,0,0,16,20,0,32,135,136,136,136,4,243,
+ 255,255,255,255,111,250,255,255,255,255,223,251,255,255,255,255,255,251,255,255,255,255,255,250,
+ 255,255,255,255,223,251,255,255,255,255,239,251,255,255,255,255,255,251,255,255,255,255,255,248,
+ 255,255,255,255,207,209,255,255,255,255,78,0,68,68,68,68,1,96,253,43,0,0,247,255,
+ 223,1,0,254,255,255,11,0,255,255,255,159,0,254,255,255,255,7,248,255,255,255,79,193,
+ 255,255,255,191,16,254,255,255,223,128,255,255,255,223,246,255,255,255,143,253,255,255,255,28,
+ 255,255,255,223,1,254,255,255,46,0,249,255,239,3,0,161,255,94,0,0,0,66,1,0,
+ 0,0,0,33,2,0,0,16,216,255,255,58,0,227,255,255,255,255,5,251,255,255,255,255,
+ 14,253,255,255,255,255,95,253,255,255,255,255,127,251,255,255,255,255,127,244,255,255,255,255,
+ 127,160,255,255,255,255,79,80,255,255,255,255,11,128,255,255,255,239,2,128,255,255,255,62,
+ 0,112,255,255,255,8,0,112,255,255,255,8,0,112,255,255,255,8,0,112,255,255,255,8,
+ 0,80,255,255,255,6,0,0,250,255,191,0,0,0,16,34,2,0,0,0,0,0,65,119,
+ 103,3,0,0,0,0,129,254,255,255,191,4,0,0,64,254,255,255,255,255,127,0,0,244,
+ 255,255,255,255,255,255,4,0,253,255,255,255,255,255,255,12,96,255,255,255,255,255,255,255,
+ 63,192,255,255,255,255,255,255,255,127,241,255,255,255,255,255,255,255,127,243,255,255,255,255,
+ 255,255,255,127,244,255,255,255,255,255,255,255,127,244,255,255,255,255,255,255,255,111,244,255,
+ 255,255,255,255,255,255,47,242,255,255,255,255,255,255,255,10,208,255,255,255,255,255,255,239,
+ 2,96,255,255,255,255,255,255,43,0,0,253,255,255,255,255,255,6,0,0,210,255,255,255,
+ 255,255,4,0,0,16,231,255,255,255,143,0,0,0,0,0,116,119,103,2,0,0,0,32,
+ 251,255,255,60,0,0,0,250,255,255,255,12,0,0,224,255,255,255,255,2,0,64,255,255,
+ 255,255,111,0,0,248,255,255,255,255,10,0,176,255,255,255,255,223,0,16,255,255,255,255,
+ 255,47,0,244,255,255,255,255,255,6,128,255,255,255,255,255,175,0,252,255,255,255,255,255,
+ 14,241,255,255,255,255,255,255,67,255,255,255,255,255,255,111,248,255,255,255,255,255,255,186,
+ 255,255,255,255,255,255,223,251,255,255,255,255,255,255,125,255,255,255,250,255,255,159,145,254,
+ 207,21,232,255,158,2,212,255,255,239,108,0,208,255,255,255,255,223,1,255,255,255,255,255,
+ 159,240,255,255,255,255,255,31,255,255,255,255,255,255,244,255,255,255,255,255,79,255,255,255,
+ 255,255,255,244,255,255,255,255,255,47,255,255,255,255,255,239,241,255,255,255,255,255,111,255,
+ 255,255,255,255,255,247,255,255,255,255,255,127,255,255,255,255,255,255,247,255,255,255,255,255,
+ 95,255,255,255,255,255,223,176,255,255,255,255,239,3,178,255,255,255,125,1,0,0,0,0,
+ 33,2,0,0,0,0,198,255,255,75,0,0,194,255,255,255,255,5,0,253,255,255,255,255,
+ 12,112,255,255,255,255,255,13,224,255,255,255,255,255,13,244,255,255,255,255,255,10,247,255,
+ 255,255,255,255,4,247,255,255,255,255,175,0,247,255,255,255,249,28,0,247,255,255,255,255,
+ 239,1,247,255,255,255,255,255,8,244,255,255,255,255,255,14,225,255,255,255,255,255,47,128,
+ 255,255,255,255,255,47,16,253,255,255,255,255,30,0,211,255,255,255,255,8,0,0,214,255,
+ 255,92,0,0,0,0,33,2,0,0,64,252,255,239,140,1,0,208,255,255,255,255,110,0,
+ 244,255,255,255,255,255,5,244,255,255,255,255,255,13,244,255,255,255,255,255,95,244,255,255,
+ 255,255,255,159,244,255,255,255,255,255,191,244,255,255,255,255,255,191,244,255,255,255,255,255,
+ 191,244,255,255,255,255,255,191,244,255,255,255,255,255,175,244,255,255,255,255,255,143,244,255,
+ 255,255,255,255,63,244,255,255,255,255,255,12,244,255,255,255,255,255,3,225,255,255,255,255,
+ 94,0,64,252,255,255,124,1,0,96,254,255,255,255,9,241,255,255,255,255,95,244,255,255,
+ 255,255,159,244,255,255,255,255,159,244,255,255,255,255,159,244,255,255,255,255,159,244,255,255,
+ 255,255,79,244,255,255,255,255,11,244,255,255,255,255,9,244,255,255,255,255,11,244,255,255,
+ 255,255,79,244,255,255,255,255,159,244,255,255,255,255,159,244,255,255,255,255,159,244,255,255,
+ 255,255,159,225,255,255,255,255,79,80,253,255,255,239,8,96,254,255,255,239,8,241,255,255,
+ 255,255,79,244,255,255,255,255,127,244,255,255,255,255,127,244,255,255,255,255,127,244,255,255,
+ 255,255,127,244,255,255,255,255,63,244,255,255,255,255,10,244,255,255,255,255,8,244,255,255,
+ 255,255,8,244,255,255,255,255,7,244,255,255,255,255,2,244,255,255,255,75,0,244,255,255,
+ 255,0,0,244,255,255,255,0,0,242,255,255,207,0,0,96,254,255,60,0,0,0,33,18,
+ 0,0,0,0,0,0,33,18,0,0,0,0,197,255,255,158,2,0,194,255,255,255,255,47,
+ 16,253,255,255,255,255,143,112,255,255,255,255,255,159,224,255,255,255,255,255,143,244,255,255,
+ 255,255,255,111,247,255,255,255,255,255,63,247,255,255,255,255,255,175,247,255,255,255,255,255,
+ 191,247,255,255,255,255,255,191,246,255,255,255,255,255,191,244,255,255,255,255,255,191,224,255,
+ 255,255,255,255,191,112,255,255,255,255,255,191,16,253,255,255,255,255,191,0,194,255,255,255,
+ 255,111,0,0,197,255,255,190,5,0,0,0,33,18,0,0,80,252,255,140,253,255,59,225,
+ 255,255,255,255,255,207,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,
+ 255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,
+ 244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,
+ 255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,
+ 255,225,255,255,255,255,255,207,80,253,255,141,254,255,59,144,255,255,255,191,98,255,255,255,
+ 255,175,251,255,255,255,255,190,255,255,255,255,255,251,255,255,255,255,175,255,255,255,255,239,
+ 245,255,255,255,255,9,247,255,255,255,26,0,255,255,255,79,0,247,255,255,255,26,245,255,
+ 255,255,255,169,255,255,255,255,239,251,255,255,255,255,191,255,255,255,255,255,251,255,255,255,
+ 255,110,255,255,255,255,175,144,255,255,255,191,2,0,161,255,255,239,7,0,248,255,255,255,
+ 63,0,252,255,255,255,127,0,252,255,255,255,143,0,252,255,255,255,143,0,252,255,255,255,
+ 143,0,247,255,255,255,143,0,129,255,255,255,143,0,134,255,255,255,143,192,255,255,255,255,
+ 143,245,255,255,255,255,143,250,255,255,255,255,143,251,255,255,255,255,127,251,255,255,255,255,
+ 79,249,255,255,255,255,12,226,255,255,255,239,3,32,233,255,239,24,0,0,0,33,1,0,
+ 0,80,253,255,173,254,239,42,16,254,255,255,255,255,255,11,244,255,255,255,255,255,255,64,
+ 255,255,255,255,255,255,15,244,255,255,255,255,255,191,64,255,255,255,255,255,255,4,244,255,
+ 255,255,255,255,11,64,255,255,255,255,255,63,0,244,255,255,255,255,239,3,64,255,255,255,
+ 255,255,207,0,244,255,255,255,255,255,159,64,255,255,255,255,255,255,63,244,255,255,255,255,
+ 255,255,71,255,255,255,255,255,255,127,244,255,255,255,255,255,255,20,254,255,255,255,255,255,
+ 8,80,253,255,141,254,191,3,0,0,0,0,0,18,0,0,80,252,255,92,0,0,225,255,
+ 255,239,1,0,244,255,255,255,4,0,244,255,255,255,4,0,244,255,255,255,4,0,244,255,
+ 255,255,4,0,244,255,255,255,4,0,244,255,255,255,4,0,244,255,255,255,39,0,244,255,
+ 255,255,255,7,244,255,255,255,255,30,244,255,255,255,255,63,244,255,255,255,255,79,244,255,
+ 255,255,255,79,243,255,255,255,255,63,208,255,255,255,255,13,48,252,255,255,223,4,112,254,
+ 255,141,113,253,255,174,2,246,255,255,255,253,255,255,255,12,250,255,255,255,255,255,255,255,
+ 47,250,255,255,255,255,255,255,255,47,251,255,255,255,255,255,255,255,63,252,255,255,255,255,
+ 255,255,255,79,252,255,255,255,255,255,255,255,79,253,255,255,255,255,255,255,255,95,253,255,
+ 255,255,255,255,255,255,111,254,255,255,255,255,255,255,255,111,254,255,255,255,255,255,255,255,
+ 127,255,255,255,255,255,255,255,255,143,255,255,255,255,255,255,255,255,143,255,255,255,255,255,
+ 255,255,255,159,255,255,255,255,255,255,255,255,159,251,255,255,255,255,255,255,255,95,162,254,
+ 207,249,255,154,254,223,7,80,253,239,106,252,255,59,225,255,255,255,255,255,207,244,255,255,
+ 255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,
+ 255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,
+ 255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,244,255,255,255,255,
+ 255,255,244,255,255,255,255,255,255,244,255,255,255,255,255,255,225,255,255,255,255,255,207,80,
+ 253,255,107,253,255,59,0,0,0,33,18,0,0,0,0,0,198,255,255,75,0,0,0,194,
+ 255,255,255,255,27,0,16,253,255,255,255,255,191,0,128,255,255,255,255,255,255,4,225,255,
+ 255,255,255,255,255,11,244,255,255,255,255,255,255,31,247,255,255,255,255,255,255,63,247,255,
+ 255,255,255,255,255,79,247,255,255,255,255,255,255,79,247,255,255,255,255,255,255,79,247,255,
+ 255,255,255,255,255,63,244,255,255,255,255,255,255,31,225,255,255,255,255,255,255,11,128,255,
+ 255,255,255,255,255,4,16,253,255,255,255,255,191,0,0,210,255,255,255,255,27,0,0,0,
+ 198,255,255,75,0,0,0,0,0,33,18,0,0,0,80,253,255,255,141,1,16,254,255,255,
+ 255,239,5,244,255,255,255,255,255,66,255,255,255,255,255,159,244,255,255,255,255,255,77,255,
+ 255,255,255,255,255,244,255,255,255,255,255,79,255,255,255,255,255,255,244,255,255,255,255,255,
+ 77,255,255,255,255,255,143,244,255,255,255,255,239,65,255,255,255,255,255,6,244,255,255,255,
+ 207,4,64,255,255,255,63,0,0,244,255,255,255,0,0,16,254,255,255,11,0,0,80,253,
+ 239,42,0,0,0,0,0,0,33,18,0,0,0,0,0,198,255,255,75,0,0,0,194,255,
+ 255,255,255,27,0,16,253,255,255,255,255,191,0,128,255,255,255,255,255,255,4,225,255,255,
+ 255,255,255,255,11,244,255,255,255,255,255,255,31,247,255,255,255,255,255,255,63,247,255,255,
+ 255,255,255,255,79,247,255,255,255,255,255,255,79,247,255,255,255,255,255,255,79,247,255,255,
+ 255,255,255,255,63,244,255,255,255,255,255,255,31,225,255,255,255,255,255,255,11,112,255,255,
+ 255,255,255,255,4,16,253,255,255,255,255,191,0,0,210,255,255,255,255,175,0,0,0,214,
+ 255,255,255,175,0,0,0,16,253,255,255,111,0,0,0,0,226,255,255,11,0,0,0,0,
+ 48,251,125,0,0,80,253,255,255,174,3,0,225,255,255,255,255,175,0,244,255,255,255,255,
+ 255,7,244,255,255,255,255,255,14,244,255,255,255,255,255,63,244,255,255,255,255,255,79,244,
+ 255,255,255,255,255,79,244,255,255,255,255,255,63,244,255,255,255,255,255,31,244,255,255,255,
+ 255,255,10,244,255,255,255,255,255,46,244,255,255,255,255,255,159,244,255,255,255,255,255,207,
+ 244,255,255,255,255,255,207,244,255,255,255,255,255,143,225,255,255,255,255,255,28,80,253,255,
+ 171,255,109,0,0,0,0,0,33,0,0,0,0,16,34,1,0,0,0,197,255,255,141,1,
+ 0,250,255,255,255,191,0,247,255,255,255,255,47,224,255,255,255,255,255,50,255,255,255,255,
+ 255,47,244,255,255,255,255,239,64,255,255,255,255,255,9,243,255,255,255,255,239,17,254,255,
+ 255,255,255,111,225,255,255,255,255,255,87,255,255,255,255,255,127,247,255,255,255,255,255,119,
+ 255,255,255,255,255,111,247,255,255,255,255,255,49,255,255,255,255,255,9,144,255,255,255,255,
+ 29,0,64,252,255,223,23,0,0,0,32,18,0,0,0,144,255,255,255,255,126,96,255,255,
+ 255,255,255,63,251,255,255,255,255,255,183,255,255,255,255,255,127,251,255,255,255,255,255,183,
+ 255,255,255,255,255,127,246,255,255,255,255,255,3,249,255,255,255,239,7,0,244,255,255,255,
+ 0,0,64,255,255,255,15,0,0,244,255,255,255,0,0,64,255,255,255,15,0,0,244,255,
+ 255,255,0,0,64,255,255,255,15,0,0,244,255,255,255,0,0,16,254,255,255,12,0,0,
+ 80,252,255,59,0,0,112,253,255,156,254,255,59,244,255,255,255,255,255,207,248,255,255,255,
+ 255,255,255,248,255,255,255,255,255,255,248,255,255,255,255,255,255,248,255,255,255,255,255,255,
+ 248,255,255,255,255,255,255,248,255,255,255,255,255,255,248,255,255,255,255,255,255,248,255,255,
+ 255,255,255,255,248,255,255,255,255,255,255,247,255,255,255,255,255,255,245,255,255,255,255,255,
+ 239,225,255,255,255,255,255,159,112,255,255,255,255,255,46,0,249,255,255,255,239,5,0,48,
+ 234,255,239,24,0,0,0,0,34,1,0,0,145,254,239,74,234,255,190,131,255,255,255,255,
+ 255,255,207,252,255,255,255,255,255,255,207,255,255,255,255,255,255,255,249,255,255,255,255,255,
+ 255,93,255,255,255,255,255,255,159,241,255,255,255,255,255,255,5,253,255,255,255,255,255,31,
+ 144,255,255,255,255,255,207,0,245,255,255,255,255,255,8,16,255,255,255,255,255,79,0,192,
+ 255,255,255,255,239,0,0,248,255,255,255,255,11,0,64,255,255,255,255,127,0,0,241,255,
+ 255,255,255,3,0,0,249,255,255,255,12,0,0,32,233,255,239,42,0,0,145,254,255,123,
+ 253,223,151,254,255,42,247,255,255,255,255,255,255,255,255,159,249,255,255,255,255,255,255,255,
+ 255,207,249,255,255,255,255,255,255,255,255,207,248,255,255,255,255,255,255,255,255,191,245,255,
+ 255,255,255,255,255,255,255,143,243,255,255,255,255,255,255,255,255,95,241,255,255,255,255,255,
+ 255,255,255,47,224,255,255,255,255,255,255,255,255,14,176,255,255,255,255,255,255,255,255,12,
+ 144,255,255,255,255,255,255,255,255,9,112,255,255,255,255,255,255,255,255,6,64,255,255,255,
+ 255,255,255,255,255,4,32,255,255,255,255,255,255,255,255,1,0,255,255,255,255,255,255,255,
+ 223,0,0,250,255,255,255,255,255,255,127,0,0,146,254,255,125,232,255,223,23,0,129,254,
+ 255,92,232,255,206,4,246,255,255,255,255,255,255,29,249,255,255,255,255,255,255,47,249,255,
+ 255,255,255,255,255,47,245,255,255,255,255,255,255,12,192,255,255,255,255,255,255,5,80,255,
+ 255,255,255,255,223,0,0,253,255,255,255,255,111,0,0,248,255,255,255,255,14,0,0,253,
+ 255,255,255,255,95,0,80,255,255,255,255,255,223,0,192,255,255,255,255,255,255,6,244,255,
+ 255,255,255,255,255,13,248,255,255,255,255,255,255,79,248,255,255,255,255,255,255,79,245,255,
+ 255,255,255,255,255,30,128,254,255,108,233,255,207,5,48,235,255,158,164,254,239,25,208,255,
+ 255,255,255,255,255,143,242,255,255,255,255,255,255,191,242,255,255,255,255,255,255,191,192,255,
+ 255,255,255,255,255,111,64,255,255,255,255,255,255,13,0,252,255,255,255,255,255,6,0,244,
+ 255,255,255,255,223,0,0,176,255,255,255,255,111,0,0,64,255,255,255,255,13,0,0,0,
+ 251,255,255,255,7,0,0,0,248,255,255,255,4,0,0,0,248,255,255,255,4,0,0,0,
+ 248,255,255,255,4,0,0,0,248,255,255,255,4,0,0,0,243,255,255,239,1,0,0,0,
+ 96,253,239,75,0,0,32,251,255,255,255,142,0,160,255,255,255,255,255,7,240,255,255,255,
+ 255,255,14,241,255,255,255,255,255,63,241,255,255,255,255,255,79,241,255,255,255,255,255,79,
+ 176,255,255,255,255,255,13,48,252,255,255,255,255,5,0,253,255,255,255,191,0,128,255,255,
+ 255,255,255,5,225,255,255,255,255,255,12,244,255,255,255,255,255,15,244,255,255,255,255,255,
+ 15,242,255,255,255,255,255,15,192,255,255,255,255,255,14,96,255,255,255,255,255,8,0,249,
+ 255,255,255,175,1,96,187,187,107,96,255,255,255,127,251,255,255,255,188,255,255,255,223,251,
+ 255,255,255,189,255,255,255,175,251,255,255,239,179,255,255,127,0,251,255,255,4,176,255,255,
+ 79,0,251,255,255,4,176,255,255,79,0,251,255,255,4,176,255,255,79,0,251,255,255,175,
+ 177,255,255,255,143,251,255,255,255,189,255,255,255,223,251,255,255,255,141,255,255,255,143,161,
+ 255,255,175,1,0,116,5,0,0,0,0,177,255,191,0,0,0,0,247,255,255,5,0,0,
+ 0,250,255,255,13,0,0,0,250,255,255,127,0,0,0,247,255,255,239,1,0,0,225,255,
+ 255,255,9,0,0,96,255,255,255,63,0,0,0,252,255,255,191,0,0,0,244,255,255,255,
+ 5,0,0,160,255,255,255,13,0,0,32,255,255,255,127,0,0,0,248,255,255,239,1,0,
+ 0,225,255,255,255,9,0,0,96,255,255,255,63,0,0,0,252,255,255,175,0,0,0,244,
+ 255,255,255,0,0,0,160,255,255,255,0,0,0,32,255,255,223,0,0,0,0,248,255,111,
+ 0,0,0,0,113,171,3,64,186,187,171,3,225,255,255,255,13,247,255,255,255,79,247,255,
+ 255,255,79,247,255,255,255,79,245,255,255,255,79,160,255,255,255,79,0,195,255,255,79,0,
+ 176,255,255,79,0,176,255,255,79,0,176,255,255,79,0,176,255,255,79,0,176,255,255,79,
+ 0,176,255,255,79,112,254,255,255,79,243,255,255,255,79,247,255,255,255,79,247,255,255,255,
+ 79,247,255,255,255,79,243,255,255,255,30,112,254,255,223,5,0,0,16,216,58,0,0,0,
+ 0,32,253,255,94,0,0,0,48,254,255,255,127,0,0,64,254,255,255,255,159,0,80,255,
+ 255,255,255,255,191,17,254,255,255,255,255,255,127,244,255,255,255,255,255,255,75,255,255,255,
+ 255,255,255,191,242,255,255,159,254,255,255,9,250,255,127,32,253,255,63,16,249,109,0,32,
+ 250,93,0,0,133,136,136,136,120,2,160,255,255,255,255,255,63,242,255,255,255,255,255,175,
+ 244,255,255,255,255,255,191,244,255,255,255,255,255,191,242,255,255,255,255,255,175,160,255,255,
+ 255,255,255,63,0,133,136,136,136,120,2,0,17,0,0,128,254,42,0,244,255,255,25,250,
+ 255,255,175,251,255,255,255,251,255,255,255,247,255,255,239,129,254,255,143,0,113,237,25,0,
+ 80,152,153,5,0,0,193,255,255,255,44,0,112,255,255,255,255,11,0,249,255,255,255,255,
+ 3,160,255,255,255,255,111,32,255,255,255,255,255,7,249,255,255,255,255,159,176,255,255,255,
+ 255,255,63,251,255,255,255,255,255,185,255,255,255,255,255,159,249,255,255,255,255,255,41,255,
+ 255,255,255,255,143,128,255,255,255,255,255,2,80,253,255,252,239,6,0,0,33,1,33,1,
+ 0,0,33,18,0,0,0,0,231,255,191,2,0,0,242,255,255,159,0,0,64,255,255,255,
+ 11,0,0,244,255,255,223,23,0,64,255,255,255,255,110,0,244,255,255,255,255,79,64,255,
+ 255,255,255,255,11,244,255,255,255,255,255,65,255,255,255,255,255,63,244,255,255,255,255,255,
+ 68,255,255,255,255,255,79,244,255,255,255,255,255,67,255,255,255,255,255,31,244,255,255,255,
+ 255,191,48,255,255,255,255,255,4,176,255,255,255,255,8,0,80,252,255,191,4,0,0,0,
+ 33,18,0,0,0,0,0,149,153,6,0,0,212,255,255,223,4,48,255,255,255,255,12,176,
+ 255,255,255,255,47,243,255,255,255,255,47,247,255,255,255,255,31,247,255,255,255,255,13,247,
+ 255,255,255,255,7,247,255,255,255,255,9,246,255,255,255,255,11,225,255,255,255,255,11,128,
+ 255,255,255,255,11,16,252,255,255,255,6,0,112,253,255,109,0,0,0,32,18,0,0,0,
+ 0,0,16,34,0,0,0,0,32,252,255,110,0,0,0,144,255,255,255,1,0,0,176,255,
+ 255,255,3,0,16,214,255,255,255,3,0,229,255,255,255,255,3,64,255,255,255,255,255,3,
+ 192,255,255,255,255,255,3,244,255,255,255,255,255,3,247,255,255,255,255,255,3,247,255,255,
+ 255,255,255,5,247,255,255,255,255,255,30,247,255,255,255,255,255,95,246,255,255,255,255,255,
+ 111,241,255,255,255,255,255,111,144,255,255,255,255,255,79,16,253,255,255,255,255,12,0,129,
+ 254,239,253,207,3,0,0,32,2,32,2,0,0,0,149,153,6,0,0,212,255,255,223,5,
+ 48,255,255,255,255,63,176,255,255,255,255,175,243,255,255,255,255,239,247,255,255,255,255,255,
+ 247,255,255,255,255,255,247,255,255,255,255,239,247,255,255,255,255,159,246,255,255,255,255,159,
+ 225,255,255,255,255,159,128,255,255,255,255,143,16,251,255,255,255,47,0,96,253,255,158,2,
+ 0,0,16,18,0,0,0,0,32,18,0,0,16,231,255,223,6,0,252,255,255,255,6,245,
+ 255,255,255,191,160,255,255,255,255,75,255,255,255,255,175,251,255,255,255,255,180,255,255,255,
+ 255,13,251,255,255,255,191,176,255,255,255,255,11,246,255,255,255,95,16,252,255,255,127,0,
+ 176,255,255,255,3,0,251,255,255,63,0,176,255,255,255,3,0,251,255,255,63,0,144,255,
+ 255,239,1,0,161,255,223,5,0,0,0,132,153,72,0,0,196,255,255,255,59,48,255,255,
+ 255,255,207,176,255,255,255,255,255,243,255,255,255,255,255,247,255,255,255,255,255,247,255,255,
+ 255,255,255,247,255,255,255,255,255,247,255,255,255,255,255,246,255,255,255,255,255,242,255,255,
+ 255,255,255,160,255,255,255,255,255,144,255,255,255,255,255,144,255,255,255,255,239,144,255,255,
+ 255,255,159,80,255,255,255,255,46,0,232,255,255,159,2,0,0,66,52,1,0,0,32,18,
+ 0,0,0,112,254,255,27,0,0,242,255,255,143,0,0,244,255,255,191,0,0,244,255,255,
+ 223,40,0,244,255,255,255,255,8,244,255,255,255,255,79,244,255,255,255,255,191,244,255,255,
+ 255,255,239,244,255,255,255,255,239,244,255,255,255,255,239,244,255,255,255,255,239,244,255,255,
+ 255,255,239,244,255,255,255,255,239,244,255,255,255,255,239,244,255,255,255,255,239,241,255,255,
+ 255,255,207,80,253,255,253,255,60,0,33,34,0,112,254,255,44,242,255,255,159,244,255,255,
+ 191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,
+ 191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,
+ 191,242,255,255,159,96,254,255,43,0,0,33,34,0,0,112,254,255,44,0,242,255,255,159,
+ 0,244,255,255,191,0,244,255,255,191,0,244,255,255,191,0,244,255,255,191,0,244,255,255,
+ 191,0,244,255,255,191,0,244,255,255,191,0,244,255,255,191,0,244,255,255,191,0,244,255,
+ 255,191,16,247,255,255,191,245,255,255,255,191,253,255,255,255,191,255,255,255,255,191,255,255,
+ 255,255,175,254,255,255,255,79,248,255,255,255,10,145,255,255,109,0,0,65,52,0,0,0,
+ 33,34,0,0,0,0,231,255,207,2,0,0,242,255,255,159,0,0,64,255,255,255,11,0,
+ 0,244,255,255,223,153,40,64,255,255,255,255,255,47,244,255,255,255,255,255,71,255,255,255,
+ 255,255,127,244,255,255,255,255,255,68,255,255,255,255,255,11,244,255,255,255,255,63,64,255,
+ 255,255,255,255,6,244,255,255,255,255,223,64,255,255,255,255,255,127,244,255,255,255,255,255,
+ 76,255,255,255,255,255,207,241,255,255,255,255,255,9,214,255,191,254,255,43,80,253,255,26,
+ 225,255,255,143,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,
+ 244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,191,
+ 244,255,255,191,244,255,255,191,242,255,255,143,96,254,255,26,16,152,72,152,89,151,105,1,
+ 16,254,255,255,255,255,255,239,4,247,255,255,255,255,255,255,239,177,255,255,255,255,255,255,
+ 255,111,251,255,255,255,255,255,255,255,186,255,255,255,255,255,255,255,191,248,255,255,255,255,
+ 255,255,255,43,254,255,255,255,255,255,255,191,176,255,255,255,255,255,255,255,11,251,255,255,
+ 255,255,255,255,191,176,255,255,255,255,255,255,255,11,251,255,255,255,255,255,255,191,144,255,
+ 255,255,255,255,255,255,9,161,255,223,254,255,254,255,43,16,151,72,152,105,0,16,254,255,
+ 255,255,223,3,247,255,255,255,255,207,176,255,255,255,255,255,79,251,255,255,255,255,255,183,
+ 255,255,255,255,255,127,248,255,255,255,255,255,24,254,255,255,255,255,143,176,255,255,255,255,
+ 255,8,251,255,255,255,255,143,176,255,255,255,255,255,8,251,255,255,255,255,143,144,255,255,
+ 255,255,255,5,162,255,223,254,239,8,0,16,150,153,5,0,0,80,254,255,255,60,0,64,
+ 255,255,255,255,46,0,252,255,255,255,255,9,244,255,255,255,255,239,113,255,255,255,255,255,
+ 63,247,255,255,255,255,255,116,255,255,255,255,255,79,247,255,255,255,255,255,100,255,255,255,
+ 255,255,47,241,255,255,255,255,207,0,249,255,255,255,255,5,16,252,255,255,255,10,0,16,
+ 215,255,207,5,0,0,0,16,18,0,0,0,0,150,72,152,89,0,0,252,255,255,255,223,
+ 3,245,255,255,255,255,223,144,255,255,255,255,255,111,249,255,255,255,255,255,156,255,255,255,
+ 255,255,239,246,255,255,255,255,255,14,252,255,255,255,255,239,128,255,255,255,255,255,14,248,
+ 255,255,255,255,207,128,255,255,255,255,255,7,248,255,255,255,255,30,128,255,255,255,255,95,
+ 0,248,255,255,239,58,0,128,255,255,255,7,0,0,246,255,255,111,0,0,16,252,255,223,
+ 1,0,0,0,67,68,0,0,0,0,0,149,153,55,0,0,213,255,255,255,43,64,255,255,
+ 255,255,191,192,255,255,255,255,255,244,255,255,255,255,255,247,255,255,255,255,255,247,255,255,
+ 255,255,255,247,255,255,255,255,255,247,255,255,255,255,255,245,255,255,255,255,255,225,255,255,
+ 255,255,255,128,255,255,255,255,255,16,252,255,255,255,255,0,113,253,255,255,255,0,0,224,
+ 255,255,255,0,0,208,255,255,239,0,0,80,254,255,94,0,0,0,65,68,1,16,152,72,
+ 153,23,16,254,255,255,255,30,248,255,255,255,255,182,255,255,255,255,127,251,255,255,255,255,
+ 183,255,255,255,255,111,248,255,255,255,255,17,254,255,255,255,8,176,255,255,255,6,0,251,
+ 255,255,63,0,176,255,255,255,3,0,251,255,255,63,0,144,255,255,239,1,0,178,255,223,
+ 6,0,0,48,152,137,21,0,16,250,255,255,239,4,144,255,255,255,255,12,241,255,255,255,
+ 255,15,244,255,255,255,255,15,244,255,255,255,255,12,243,255,255,255,255,13,243,255,255,255,
+ 255,63,248,255,255,255,255,79,249,255,255,255,255,79,249,255,255,255,255,47,247,255,255,255,
+ 255,10,209,255,255,255,239,2,16,232,255,239,24,0,0,0,33,2,0,0,0,97,119,22,
+ 0,16,254,255,223,1,112,255,255,255,8,244,255,255,255,143,250,255,255,255,239,251,255,255,
+ 255,255,251,255,255,255,255,251,255,255,255,255,247,255,255,255,207,193,255,255,255,62,128,255,
+ 255,255,11,128,255,255,255,11,128,255,255,255,11,128,255,255,255,11,80,255,255,255,9,0,
+ 232,255,175,1,16,118,119,117,120,5,0,252,255,255,255,255,9,243,255,255,255,255,255,64,
+ 255,255,255,255,255,15,244,255,255,255,255,255,64,255,255,255,255,255,15,244,255,255,255,255,
+ 255,65,255,255,255,255,255,159,244,255,255,255,255,255,78,255,255,255,255,255,255,242,255,255,
+ 255,255,255,15,251,255,255,255,255,223,48,255,255,255,255,255,7,48,250,255,237,255,25,0,
+ 0,33,2,32,1,0,64,135,119,115,119,55,112,255,255,255,255,255,79,252,255,255,255,255,
+ 255,218,255,255,255,255,255,175,252,255,255,255,255,255,137,255,255,255,255,255,95,244,255,255,
+ 255,255,255,1,254,255,255,255,255,12,176,255,255,255,255,127,0,247,255,255,255,255,3,48,
+ 255,255,255,255,13,0,224,255,255,255,159,0,0,248,255,255,255,4,0,16,233,255,223,7,
+ 0,64,135,103,132,120,115,119,23,112,255,255,255,255,255,255,255,30,253,255,255,255,255,255,
+ 255,255,215,255,255,255,255,255,255,255,127,252,255,255,255,255,255,255,255,166,255,255,255,255,
+ 255,255,255,63,247,255,255,255,255,255,255,255,65,255,255,255,255,255,255,255,12,241,255,255,
+ 255,255,255,255,159,0,254,255,255,255,255,255,255,6,176,255,255,255,255,255,255,63,0,248,
+ 255,255,255,255,255,255,0,64,255,255,255,255,255,255,11,0,128,254,255,223,255,255,60,0,
+ 0,0,34,18,16,34,1,0,0,32,119,119,99,119,87,0,228,255,255,255,255,255,10,250,
+ 255,255,255,255,255,47,250,255,255,255,255,255,47,249,255,255,255,255,255,30,242,255,255,255,
+ 255,255,8,160,255,255,255,255,239,1,80,255,255,255,255,207,0,192,255,255,255,255,255,4,
+ 244,255,255,255,255,255,12,249,255,255,255,255,255,47,249,255,255,255,255,255,47,246,255,255,
+ 255,255,255,29,129,254,255,235,255,206,4,64,153,137,131,153,105,80,255,255,255,255,255,159,
+ 251,255,255,255,255,255,191,255,255,255,255,255,255,249,255,255,255,255,255,61,255,255,255,255,
+ 255,143,208,255,255,255,255,255,3,247,255,255,255,255,13,32,255,255,255,255,127,0,176,255,
+ 255,255,255,2,0,246,255,255,255,12,0,128,255,255,255,127,0,0,254,255,255,255,2,0,
+ 244,255,255,255,11,0,64,255,255,255,111,0,0,243,255,255,239,1,0,0,231,255,239,6,
+ 0,0,0,16,34,1,0,0,0,134,136,136,39,0,176,255,255,255,255,5,242,255,255,255,
+ 255,30,244,255,255,255,255,111,244,255,255,255,255,127,244,255,255,255,255,111,243,255,255,255,
+ 255,30,225,255,255,255,255,30,246,255,255,255,255,79,247,255,255,255,255,79,247,255,255,255,
+ 255,79,243,255,255,255,255,63,176,255,255,255,255,30,32,251,255,255,223,4,0,0,116,22,
+ 0,0,249,255,62,0,245,255,255,12,192,255,255,255,0,255,255,255,15,240,255,255,191,0,
+ 255,255,255,2,240,255,255,15,0,255,255,255,0,252,255,255,15,244,255,255,255,96,255,255,
+ 255,14,246,255,255,223,80,255,255,255,15,208,255,255,255,0,242,255,255,15,0,255,255,255,
+ 0,240,255,255,31,0,255,255,255,9,240,255,255,239,0,253,255,255,15,112,255,255,223,0,
+ 209,255,255,5,0,129,155,3,112,220,58,96,255,255,13,251,255,255,180,255,255,79,251,255,
+ 255,180,255,255,79,251,255,255,180,255,255,79,251,255,255,180,255,255,79,251,255,255,180,255,
+ 255,79,251,255,255,180,255,255,79,251,255,255,180,255,255,79,251,255,255,180,255,255,79,251,
+ 255,255,180,255,255,79,251,255,255,180,255,255,79,251,255,255,84,255,255,13,80,187,24,0,
+ 0,116,22,0,0,250,255,62,0,244,255,255,12,112,255,255,255,4,247,255,255,127,48,255,
+ 255,255,8,160,255,255,143,0,248,255,255,8,128,255,255,143,0,248,255,255,63,112,255,255,
+ 255,10,246,255,255,191,96,255,255,255,11,247,255,255,175,128,255,255,255,4,248,255,255,9,
+ 128,255,255,143,0,248,255,255,8,242,255,255,143,112,255,255,255,7,247,255,255,95,80,255,
+ 255,223,0,192,255,255,5,0,96,171,4,0,0,97,103,97,23,0,231,255,255,255,62,246,
+ 255,255,255,255,187,255,255,255,255,255,251,255,255,255,255,159,255,255,255,255,223,243,255,255,
+ 255,255,5,197,141,252,191,4,
+};
+static const Glyph font_mid_o2_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {8, 18, -2, -15, 5, 0},
+ {10, 10, -1, -14, 8, 72},
+ {16, 17, -1, -14, 14, 122},
+ {13, 21, -2, -16, 9, 258},
+ {17, 19, -2, -15, 14, 395},
+ {15, 19, -2, -15, 12, 557},
+ {7, 10, -1, -14, 5, 700},
+ {9, 19, -1, -14, 8, 735},
+ {9, 19, -1, -14, 7, 821},
+ {12, 12, -1, -14, 10, 907},
+ {14, 15, -2, -13, 10, 979},
+ {9, 10, -2, -5, 5, 1084},
+ {13, 8, -2, -8, 9, 1129},
+ {8, 10, -2, -6, 4, 1181},
+ {14, 21, -2, -16, 10, 1221},
+ {15, 19, -2, -15, 11, 1368},
+ {11, 17, -2, -14, 7, 1511},
+ {13, 18, -2, -15, 9, 1605},
+ {13, 19, -2, -15, 9, 1722},
+ {14, 17, -2, -14, 10, 1846},
+ {12, 18, -2, -14, 9, 1965},
+ {13, 19, -2, -15, 10, 2073},
+ {13, 17, -2, -14, 9, 2197},
+ {14, 19, -2, -15, 10, 2308},
+ {13, 19, -2, -15, 10, 2441},
+ {8, 15, -1, -11, 5, 2565},
+ {9, 16, -2, -11, 5, 2625},
+ {10, 16, -1, -13, 8, 2697},
+ {12, 12, -1, -11, 10, 2777},
+ {10, 16, -1, -13, 8, 2849},
+ {12, 19, -1, -15, 10, 2929},
+ {18, 19, -2, -14, 15, 3043},
+ {15, 17, -2, -14, 11, 3214},
+ {13, 17, -1, -14, 10, 3342},
+ {14, 19, -2, -15, 10, 3453},
+ {14, 17, -2, -14, 11, 3586},
+ {12, 17, -2, -14, 9, 3705},
+ {12, 18, -2, -14, 8, 3807},
+ {14, 19, -2, -15, 11, 3915},
+ {14, 17, -2, -14, 11, 4048},
+ {11, 17, -2, -14, 8, 4167},
+ {12, 18, -2, -14, 8, 4261},
+ {15, 18, -2, -14, 11, 4369},
+ {12, 17, -2, -14, 8, 4504},
+ {18, 17, -1, -14, 16, 4606},
+ {14, 17, -2, -14, 11, 4759},
+ {16, 19, -2, -15, 12, 4878},
+ {13, 17, -2, -14, 10, 5030},
+ {16, 21, -2, -15, 12, 5141},
+ {14, 18, -2, -14, 10, 5309},
+ {13, 19, -2, -15, 9, 5435},
+ {13, 17, -2, -14, 9, 5559},
+ {14, 18, -2, -14, 11, 5670},
+ {15, 17, -2, -14, 11, 5796},
+ {20, 17, -2, -14, 16, 5924},
+ {16, 17, -2, -14, 12, 6094},
+ {16, 17, -3, -14, 11, 6230},
+ {14, 17, -2, -14, 10, 6366},
+ {9, 21, -1, -16, 7, 6485},
+ {14, 21, -2, -16, 10, 6580},
+ {10, 21, -2, -16, 7, 6727},
+ {15, 11, -2, -14, 12, 6832},
+ {14, 8, -2, -2, 11, 6915},
+ {8, 9, -1, -15, 6, 6971},
+ {13, 15, -2, -11, 9, 7007},
+ {13, 19, -2, -15, 9, 7105},
+ {12, 15, -2, -11, 7, 7229},
+ {14, 19, -2, -15, 10, 7319},
+ {12, 15, -2, -11, 9, 7452},
+ {11, 18, -2, -15, 7, 7542},
+ {12, 18, -2, -11, 9, 7641},
+ {12, 18, -2, -15, 9, 7749},
+ {8, 18, -2, -15, 5, 7857},
+ {10, 22, -4, -15, 5, 7929},
+ {13, 18, -2, -15, 9, 8039},
+ {8, 17, -2, -14, 5, 8156},
+ {17, 14, -2, -11, 14, 8224},
+ {13, 14, -2, -11, 10, 8343},
+ {13, 15, -2, -11, 9, 8434},
+ {13, 18, -2, -11, 10, 8532},
+ {12, 18, -2, -11, 9, 8649},
+ {11, 14, -2, -11, 7, 8757},
+ {12, 15, -2, -11, 8, 8834},
+ {10, 16, -2, -13, 7, 8924},
+ {13, 15, -2, -11, 9, 9004},
+ {13, 14, -2, -11, 9, 9102},
+ {17, 15, -2, -11, 13, 9193},
+ {14, 14, -2, -11, 10, 9321},
+ {13, 18, -2, -11, 9, 9419},
+ {12, 14, -2, -11, 8, 9536},
+ {9, 24, -2, -17, 6, 9620},
+ {7, 25, 2, -18, 11, 9728},
+ {9, 24, -1, -17, 6, 9816},
+ {11, 8, -2, -9, 8, 9924},
+};
+const Font font_mid = {32, 95, 16, 4, font_mid_glyphs, font_mid_data,
+ {font_mid_o1_glyphs, font_mid_o2_glyphs}, {font_mid_o1_data, font_mid_o2_data}};
+
+static const uint8_t font_small_data[2065] = {
+ 246,103,143,246,104,143,246,88,107,215,119,127,244,246,51,143,31,225,230,0,0,161,65,4,
+ 0,229,192,8,181,237,251,93,131,159,234,56,115,78,187,3,254,255,255,14,224,101,14,0,
+ 226,129,9,0,0,52,0,145,254,28,248,222,30,251,71,1,248,255,27,112,219,111,35,84,
+ 127,250,254,79,213,239,7,0,68,0,193,110,0,107,96,174,14,232,2,215,232,244,5,48,
+ 254,235,57,1,16,179,172,239,2,112,46,142,125,64,111,224,234,6,152,0,230,28,80,253,
+ 43,32,255,254,10,243,43,90,16,254,204,222,209,254,239,120,127,241,12,245,239,207,0,232,
+ 207,3,243,38,111,224,4,225,120,95,252,225,12,191,224,13,250,81,127,160,6,203,144,79,
+ 244,24,191,240,27,175,245,183,47,136,0,48,11,96,199,54,216,159,19,173,8,81,81,0,
+ 0,162,0,0,64,15,0,131,249,120,81,203,191,43,0,244,0,0,48,14,0,128,43,192,
+ 31,244,10,65,1,131,136,56,181,187,91,67,177,79,251,4,0,0,160,2,0,112,30,0,
+ 16,126,0,0,217,0,0,243,5,0,176,11,0,64,63,0,0,157,0,0,230,2,0,208,
+ 7,0,0,2,0,0,0,48,251,93,16,253,255,63,245,93,253,121,143,128,191,247,8,248,
+ 91,223,213,159,209,255,255,3,195,223,5,250,255,251,255,114,255,64,255,64,255,64,255,64,
+ 255,48,239,195,239,7,246,255,47,113,245,63,0,243,30,0,252,7,160,191,0,246,239,109,
+ 245,255,111,196,239,9,247,255,63,81,245,47,96,253,7,80,252,62,33,209,127,249,255,95,
+ 214,239,7,0,247,127,0,225,255,8,128,223,143,32,222,247,8,249,137,159,145,255,255,79,
+ 129,216,191,2,0,251,7,243,255,13,244,222,12,244,57,0,244,255,9,65,246,47,17,242,
+ 63,248,254,30,231,207,3,16,251,78,192,239,47,243,11,1,247,254,94,247,156,223,246,25,
+ 254,242,239,191,80,253,43,250,255,46,251,255,63,66,247,14,0,249,9,0,254,5,64,255,
+ 1,144,207,0,208,127,0,128,238,10,244,238,111,245,121,111,209,239,30,246,205,143,251,88,
+ 191,248,239,143,161,238,25,112,238,9,244,239,111,247,87,175,245,172,191,144,238,175,0,112,
+ 143,208,254,63,192,239,6,179,72,191,114,22,52,244,75,191,179,74,239,114,7,0,176,26,
+ 223,248,39,3,0,32,0,96,47,48,127,16,157,0,244,4,0,231,3,0,233,2,0,6,
+ 178,187,139,113,136,88,64,68,36,243,255,175,32,0,80,62,0,160,29,0,192,11,0,232,
+ 2,246,4,244,6,16,5,0,178,238,26,244,254,111,32,192,111,0,246,11,64,207,1,64,
+ 73,0,96,125,0,96,143,0,0,113,187,24,0,227,157,216,29,208,42,185,212,88,46,205,
+ 111,184,199,246,245,148,122,124,191,159,110,243,165,122,107,0,249,138,104,0,0,165,187,6,
+ 0,16,255,63,0,244,255,7,128,223,191,0,251,246,14,241,94,255,67,255,255,127,248,73,
+ 250,186,79,80,223,244,255,93,64,255,254,14,244,27,238,64,223,249,8,244,206,191,64,191,
+ 224,79,244,239,255,52,255,239,8,48,252,93,226,255,127,248,94,21,251,8,0,251,8,0,
+ 248,94,37,242,255,159,64,252,109,247,239,26,128,255,255,11,248,137,255,130,143,241,79,248,
+ 8,255,131,143,245,31,248,254,175,112,255,174,1,247,255,142,255,221,248,11,128,239,43,248,
+ 255,131,191,0,248,223,125,255,239,247,255,141,255,189,248,11,128,239,27,248,255,130,207,2,
+ 248,11,112,175,0,48,252,190,33,254,255,30,248,110,85,176,143,16,2,251,9,247,132,239,
+ 166,79,226,255,255,4,195,239,44,247,11,250,135,191,176,143,248,11,251,136,255,255,143,248,
+ 255,255,136,207,196,143,248,11,251,120,191,176,127,250,255,151,255,110,176,143,0,251,8,176,
+ 143,0,251,8,249,239,166,255,127,144,255,11,232,191,0,248,11,128,191,0,248,75,196,191,
+ 252,255,121,254,27,247,27,254,133,191,248,13,248,236,95,128,255,207,0,248,255,30,128,207,
+ 253,10,248,91,255,118,191,192,93,247,11,128,191,0,248,11,128,191,0,248,11,128,207,36,
+ 248,255,107,255,175,226,207,16,254,13,242,255,83,255,15,243,255,168,255,31,243,253,237,239,
+ 47,244,219,255,219,47,244,139,255,215,63,245,59,255,210,79,245,10,205,208,79,247,12,246,
+ 135,255,102,143,248,223,247,136,255,207,143,248,253,255,136,127,253,143,248,102,255,120,111,192,
+ 127,64,252,158,1,226,255,255,10,248,94,249,31,251,8,241,63,251,8,241,63,248,94,249,
+ 31,226,255,255,10,64,252,142,1,247,239,43,248,254,191,248,88,255,248,153,223,248,255,111,
+ 248,173,5,248,8,0,247,7,0,48,252,158,1,226,255,255,9,248,94,249,31,251,9,241,
+ 63,251,8,240,63,249,28,246,31,243,255,255,11,96,254,207,2,0,161,175,1,0,16,220,
+ 1,0,0,1,0,247,255,60,128,239,255,13,248,88,255,128,159,249,11,248,255,63,128,175,
+ 254,8,248,136,255,114,127,226,26,112,254,45,245,239,31,247,45,2,244,255,8,128,255,95,
+ 84,243,127,249,255,79,195,239,8,250,255,175,250,255,175,64,255,0,64,255,0,64,255,0,
+ 64,255,0,64,255,0,48,239,0,251,11,254,183,191,240,143,251,11,255,184,191,240,143,251,
+ 11,255,184,223,245,127,246,255,255,4,215,223,6,251,9,247,30,248,13,251,12,244,31,253,
+ 8,241,95,255,4,176,191,255,1,128,255,191,0,64,255,127,0,0,236,61,0,250,9,251,
+ 50,254,131,207,224,111,245,15,246,61,255,121,223,64,255,247,223,249,10,242,207,239,207,127,
+ 0,254,239,249,255,5,192,255,90,255,47,0,249,94,226,223,0,249,29,246,30,242,127,253,
+ 9,160,239,255,2,48,255,175,0,64,255,159,0,176,223,255,2,242,95,254,10,248,13,248,
+ 46,253,9,248,124,255,226,111,225,207,223,0,247,255,6,16,254,30,0,176,191,0,0,251,
+ 11,0,160,175,0,244,255,175,245,255,239,0,244,111,0,252,12,112,255,3,225,191,36,247,
+ 255,191,242,255,175,255,254,55,79,240,4,79,240,4,79,240,4,79,240,239,67,3,87,0,
+ 0,128,30,0,0,225,8,0,0,246,2,0,0,172,0,0,64,63,0,0,160,12,0,0,
+ 242,5,0,0,216,1,0,16,94,0,0,32,0,250,63,66,79,0,79,0,79,0,79,0,
+ 79,0,79,0,79,0,79,250,79,66,20,0,161,4,0,193,253,5,210,27,246,87,27,0,
+ 197,131,136,136,83,187,187,91,210,6,113,45,128,171,3,192,252,12,146,251,14,250,249,14,
+ 250,253,127,211,158,126,247,6,0,248,6,0,248,188,5,248,255,47,248,168,111,248,150,95,
+ 248,254,47,196,223,5,96,171,82,255,127,250,118,178,79,0,247,239,4,250,78,0,176,47,
+ 0,176,47,96,235,47,246,255,47,250,198,47,251,180,47,248,254,223,177,191,204,80,171,3,
+ 245,255,30,250,214,47,251,239,9,247,138,8,144,238,9,144,239,37,239,41,249,142,144,239,
+ 8,242,11,32,191,0,242,11,32,191,0,80,186,23,245,255,47,250,199,47,251,179,47,248,
+ 237,47,177,255,47,113,212,47,242,255,11,32,52,0,247,6,0,248,6,0,248,188,6,248,
+ 255,31,248,200,47,248,182,47,248,182,47,247,182,47,247,118,109,182,133,111,248,134,111,248,
+ 118,111,0,247,6,112,109,0,182,5,128,111,0,248,6,128,111,0,248,6,128,111,65,252,
+ 54,255,29,32,3,0,247,6,0,248,6,0,248,102,75,248,232,13,248,254,4,248,254,8,
+ 248,248,30,247,166,143,247,134,111,248,134,111,248,134,111,248,118,111,135,182,135,91,208,255,
+ 255,255,31,245,155,143,252,66,175,248,182,47,244,138,111,251,66,175,247,182,47,135,182,9,
+ 253,255,111,245,139,127,244,106,143,244,106,143,244,106,127,96,155,2,246,255,13,250,198,63,
+ 251,179,63,247,254,30,161,223,5,150,182,8,251,255,127,241,111,191,240,63,191,240,223,143,
+ 240,255,27,240,14,0,240,14,0,64,3,0,80,186,7,245,255,47,250,198,47,251,180,47,
+ 248,254,47,177,255,47,0,176,47,0,176,47,0,32,4,150,180,179,255,79,241,62,0,239,
+ 0,240,14,0,239,0,128,171,100,239,108,246,126,0,249,159,169,252,106,254,60,208,12,248,
+ 191,248,191,240,14,240,14,240,14,240,13,181,116,59,248,166,79,248,166,79,247,166,79,246,
+ 254,191,177,191,172,185,82,107,250,166,95,246,201,31,242,236,12,208,255,8,144,255,3,185,
+ 113,11,185,145,79,252,212,14,247,246,127,207,64,207,239,252,9,241,239,249,111,0,253,91,
+ 255,3,184,54,155,245,173,111,208,255,30,160,255,12,242,205,79,248,119,191,186,81,107,249,
+ 182,95,243,251,14,208,255,9,128,255,4,48,239,0,128,159,0,208,79,0,181,187,117,255,
+ 159,49,205,1,235,2,248,222,122,255,175,16,6,201,176,8,139,176,40,110,249,33,110,176,
+ 8,139,176,8,201,16,6,81,244,244,244,244,244,244,244,244,244,244,244,244,113,22,192,9,
+ 184,128,11,184,96,46,242,121,46,184,128,11,184,192,9,22,0,48,17,144,239,109,19,101,
+ 1,
+};
+static const Glyph font_small_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {3, 8, 0, -8, 4, 0},
+ {5, 3, 0, -8, 6, 12},
+ {8, 8, 1, -8, 10, 20},
+ {6, 10, 0, -9, 6, 52},
+ {9, 8, 0, -8, 9, 82},
+ {7, 8, 0, -8, 8, 118},
+ {3, 3, 0, -8, 4, 146},
+ {3, 9, 1, -8, 5, 151},
+ {3, 9, 1, -8, 5, 165},
+ {5, 5, 1, -8, 7, 179},
+ {7, 6, 0, -7, 7, 192},
+ {4, 4, 0, -2, 4, 213},
+ {6, 2, 0, -4, 6, 221},
+ {3, 3, 0, -3, 3, 227},
+ {7, 11, 0, -9, 7, 232},
+ {7, 8, 0, -8, 8, 271},
+ {4, 8, 0, -8, 5, 299},
+ {6, 8, 0, -8, 6, 315},
+ {6, 8, 0, -8, 6, 339},
+ {7, 8, 0, -8, 7, 363},
+ {6, 8, 0, -8, 6, 391},
+ {6, 8, 0, -8, 7, 415},
+ {6, 8, 0, -8, 6, 439},
+ {6, 8, 0, -8, 7, 463},
+ {6, 8, 0, -8, 7, 487},
+ {3, 6, 0, -6, 4, 511},
+ {3, 8, 0, -6, 4, 520},
+ {5, 8, 0, -8, 6, 532},
+ {6, 4, 0, -6, 7, 552},
+ {5, 8, 0, -8, 5, 564},
+ {6, 8, 0, -8, 7, 584},
+ {9, 9, 0, -8, 10, 608},
+ {7, 8, 0, -8, 8, 649},
+ {7, 8, 0, -8, 7, 677},
+ {6, 8, 0, -8, 7, 705},
+ {7, 8, 0, -8, 7, 729},
+ {5, 8, 0, -8, 6, 757},
+ {5, 8, 0, -8, 6, 777},
+ {7, 8, 0, -8, 7, 797},
+ {7, 8, 0, -8, 8, 825},
+ {5, 8, 0, -8, 5, 853},
+ {5, 8, 0, -8, 6, 873},
+ {7, 8, 0, -8, 7, 893},
+ {5, 8, 0, -8, 5, 921},
+ {10, 8, 0, -8, 10, 941},
+ {7, 8, 0, -8, 8, 981},
+ {8, 8, 0, -8, 8, 1009},
+ {6, 8, 0, -8, 7, 1041},
+ {8, 11, 0, -8, 8, 1065},
+ {7, 8, 0, -8, 7, 1109},
+ {6, 8, 0, -8, 6, 1137},
+ {6, 8, 0, -8, 6, 1161},
+ {7, 8, 0, -8, 7, 1185},
+ {8, 8, 0, -8, 8, 1213},
+ {11, 8, 0, -8, 11, 1245},
+ {8, 8, 0, -8, 8, 1289},
+ {7, 8, 0, -8, 7, 1321},
+ {6, 8, 0, -8, 7, 1349},
+ {3, 11, 1, -9, 5, 1373},
+ {7, 11, 0, -9, 7, 1390},
+ {4, 11, 0, -9, 5, 1429},
+ {7, 4, 0, -8, 8, 1451},
+ {7, 2, 0, 0, 7, 1465},
+ {4, 2, 0, -8, 4, 1472},
+ {6, 6, 0, -6, 6, 1476},
+ {6, 8, 0, -8, 6, 1494},
+ {5, 6, 0, -6, 5, 1518},
+ {6, 8, 0, -8, 7, 1533},
+ {6, 6, 0, -6, 6, 1557},
+ {5, 8, 0, -8, 5, 1575},
+ {6, 9, 0, -6, 6, 1595},
+ {6, 8, 0, -8, 6, 1622},
+ {3, 8, 0, -8, 4, 1646},
+ {5, 11, -2, -8, 3, 1658},
+ {6, 8, 0, -8, 6, 1686},
+ {3, 8, 0, -8, 3, 1710},
+ {9, 6, 0, -6, 9, 1722},
+ {6, 6, 0, -6, 7, 1749},
+ {6, 6, 0, -6, 6, 1767},
+ {6, 9, 0, -6, 7, 1785},
+ {6, 9, 0, -6, 6, 1812},
+ {5, 6, 0, -6, 5, 1839},
+ {5, 6, 0, -6, 5, 1854},
+ {4, 7, 0, -7, 5, 1869},
+ {6, 6, 0, -6, 6, 1883},
+ {6, 6, 0, -6, 6, 1901},
+ {9, 6, 0, -6, 9, 1919},
+ {6, 6, 0, -6, 7, 1946},
+ {6, 8, 0, -6, 6, 1964},
+ {5, 6, 0, -6, 5, 1988},
+ {3, 13, 0, -10, 4, 2003},
+ {2, 14, 2, -11, 7, 2023},
+ {3, 13, 1, -10, 4, 2037},
+ {5, 3, 0, -5, 6, 2057},
+};
+static const uint8_t font_small_o1_data[3910] = {
+ 244,255,100,255,143,246,255,104,255,143,246,255,104,255,143,247,255,136,255,143,248,255,136,255,
+ 143,244,255,4,210,239,223,81,255,255,79,245,255,255,68,255,255,47,242,255,255,0,250,255,
+ 9,0,128,123,136,1,0,243,255,255,10,178,253,255,255,45,247,255,255,255,127,247,255,255,
+ 255,127,252,255,255,255,127,255,255,255,255,15,255,255,255,255,15,251,255,255,255,11,244,255,
+ 255,11,0,177,207,254,4,0,0,210,29,0,64,253,239,8,244,255,255,63,250,255,255,63,
+ 251,255,255,47,251,255,255,63,250,255,255,127,249,255,255,127,251,255,255,127,251,255,255,111,
+ 250,255,255,29,161,254,207,2,0,226,46,0,112,254,28,246,45,64,255,255,252,255,8,247,
+ 255,255,255,143,112,255,255,255,255,6,247,255,255,255,175,96,255,255,255,255,95,160,255,255,
+ 255,255,7,248,255,255,255,127,176,255,255,255,255,7,251,239,252,255,79,64,238,36,252,126,
+ 0,16,250,239,7,0,252,255,255,6,243,255,255,191,64,255,255,255,159,244,255,255,255,93,
+ 255,255,255,223,247,255,255,255,124,255,255,255,78,247,255,255,223,32,254,255,255,9,48,252,
+ 239,9,0,193,239,67,255,127,244,255,55,255,111,241,255,5,250,29,160,239,69,255,191,250,
+ 255,219,255,143,255,255,242,255,13,255,239,224,255,79,252,255,138,255,207,242,255,11,182,42,
+ 232,111,224,255,30,254,255,198,255,175,246,255,43,255,191,243,255,123,255,191,254,255,248,255,
+ 79,254,223,64,186,3,16,253,7,48,249,223,7,254,255,255,247,255,255,127,255,255,255,103,
+ 255,255,29,243,255,191,0,117,118,2,0,144,123,0,0,64,255,15,0,112,249,255,88,112,
+ 255,255,255,63,247,255,255,255,116,255,255,255,79,178,252,255,155,0,64,255,15,0,0,209,
+ 175,0,0,80,187,8,176,255,47,225,255,47,246,255,47,246,255,13,244,255,6,32,52,0,
+ 112,136,136,7,247,255,255,127,247,255,255,127,247,255,255,127,178,187,187,43,65,52,160,255,
+ 63,251,255,180,255,79,251,255,132,255,46,0,0,96,123,0,0,48,255,79,0,0,251,255,
+ 4,0,245,255,63,0,208,255,191,0,112,255,255,3,16,254,255,9,0,249,255,30,0,242,
+ 255,127,0,160,255,223,0,0,255,255,5,0,240,255,12,0,0,250,62,0,0,0,35,0,
+ 0,0,0,232,239,26,0,249,255,255,28,243,255,255,255,103,255,255,255,175,247,255,255,255,
+ 123,255,255,255,191,247,255,255,255,107,255,255,255,175,243,255,255,255,7,249,255,255,28,0,
+ 232,239,26,0,246,255,191,251,255,255,251,255,255,251,255,255,249,255,255,112,255,255,64,255,
+ 255,64,255,255,64,255,255,64,255,255,32,253,191,128,254,207,2,246,255,255,29,247,255,255,
+ 63,247,255,255,79,244,255,255,79,144,255,255,47,227,255,255,46,247,255,255,127,247,255,255,
+ 127,247,255,255,127,210,255,255,45,144,254,223,4,247,255,255,46,248,255,255,79,248,255,255,
+ 79,244,255,255,63,160,255,255,111,245,255,255,127,251,255,255,127,251,255,255,127,251,255,255,
+ 46,178,254,191,2,0,226,255,95,0,176,255,255,8,64,255,255,143,0,252,255,255,8,245,
+ 255,255,143,176,255,255,255,63,251,255,255,255,180,255,255,255,79,245,255,255,255,4,133,253,
+ 255,10,0,112,255,78,0,209,255,255,10,244,255,255,14,244,255,255,14,244,255,255,14,244,
+ 255,255,30,244,255,255,63,246,255,255,79,249,255,255,79,249,255,255,47,249,255,255,10,195,
+ 255,142,0,0,214,255,28,96,255,255,111,225,255,255,111,245,255,255,95,247,255,255,175,247,
+ 255,255,255,247,255,255,255,247,255,255,255,244,255,255,239,192,255,255,111,16,250,223,6,246,
+ 255,255,10,251,255,255,79,251,255,255,79,251,255,255,79,249,255,255,31,80,255,255,11,96,
+ 255,255,7,176,255,255,3,224,255,239,0,224,255,175,0,176,255,62,0,48,252,223,4,226,
+ 255,255,63,246,255,255,127,246,255,255,127,246,255,255,127,249,255,255,175,251,255,255,191,251,
+ 255,255,191,250,255,255,175,244,255,255,79,80,253,223,4,32,252,207,3,225,255,255,46,246,
+ 255,255,143,247,255,255,191,247,255,255,191,247,255,255,191,242,255,255,191,240,255,255,159,240,
+ 255,255,111,240,255,255,12,128,254,191,1,161,187,69,255,191,244,255,75,255,191,244,255,75,
+ 255,191,244,255,75,255,191,226,255,8,161,187,71,255,239,244,255,78,255,239,244,255,14,255,
+ 239,244,255,174,255,239,250,255,122,255,62,48,36,0,0,16,20,0,16,253,28,0,251,255,
+ 3,249,255,63,245,255,207,113,255,255,2,247,255,159,16,253,255,63,32,254,255,3,48,254,
+ 46,0,64,55,0,144,187,187,75,244,255,255,191,244,255,255,191,244,255,255,191,244,255,255,
+ 191,244,255,255,191,209,255,255,127,32,4,0,48,254,11,0,247,255,8,112,255,255,5,227,
+ 255,239,2,245,255,63,193,255,255,115,255,255,10,247,255,12,80,255,29,0,80,39,0,0,
+ 112,253,223,5,245,255,255,79,245,255,255,127,245,255,255,127,209,255,255,127,112,255,255,63,
+ 128,255,255,5,112,255,143,0,96,255,143,0,96,255,143,0,48,254,95,0,0,64,185,171,
+ 4,0,144,255,255,255,7,144,255,255,255,255,37,255,255,255,255,175,246,255,255,255,255,123,
+ 255,255,255,255,191,247,255,255,255,255,123,255,255,255,255,159,246,255,255,255,239,18,254,255,
+ 255,223,2,48,254,255,255,11,0,32,184,187,41,0,0,251,255,29,0,242,255,255,5,96,
+ 255,255,159,0,250,255,255,13,208,255,255,255,33,255,255,255,95,246,255,255,255,153,255,255,
+ 255,207,252,255,255,255,207,255,223,255,255,248,207,211,255,11,226,255,239,26,64,255,255,255,
+ 10,244,255,255,255,64,255,255,255,15,244,255,255,255,64,255,255,255,47,244,255,255,255,69,
+ 255,255,255,95,244,255,255,255,69,255,255,255,46,209,255,255,60,0,0,232,239,27,160,255,
+ 255,159,245,255,255,159,250,255,255,159,251,255,255,79,251,255,238,11,251,255,255,111,250,255,
+ 255,191,246,255,255,191,176,255,255,191,16,233,255,43,227,255,207,5,112,255,255,255,6,248,
+ 255,255,239,129,255,255,255,63,248,255,255,255,132,255,255,255,79,248,255,255,255,132,255,255,
+ 255,47,248,255,255,239,128,255,255,255,5,227,255,223,5,0,244,255,255,139,255,255,255,248,
+ 255,255,143,255,255,255,248,255,255,137,255,255,79,248,255,255,137,255,255,255,248,255,255,143,
+ 255,255,255,244,255,255,10,244,255,255,137,255,255,223,248,255,255,141,255,255,223,248,255,255,
+ 136,255,255,47,248,255,255,130,255,255,29,248,255,28,128,255,191,0,228,255,7,0,0,232,
+ 255,125,0,250,255,255,47,245,255,255,255,162,255,255,255,31,251,255,255,255,178,255,255,255,
+ 79,251,255,255,255,164,255,255,255,79,245,255,255,255,4,250,255,255,79,0,232,255,158,0,
+ 228,255,251,239,132,255,255,255,143,248,255,255,255,136,255,255,255,143,248,255,255,255,136,255,
+ 255,255,143,248,255,255,255,136,255,255,255,143,248,255,255,255,136,255,255,255,143,228,255,252,
+ 239,4,247,255,239,179,255,255,127,251,255,255,183,255,255,127,245,255,239,2,251,255,8,245,
+ 255,223,178,255,255,127,251,255,255,183,255,255,127,247,255,239,3,80,255,255,7,250,255,191,
+ 160,255,255,11,250,255,191,64,254,255,27,183,255,191,250,255,255,219,255,255,191,253,255,255,
+ 203,255,255,95,194,255,109,0,228,255,253,239,131,255,255,255,127,248,255,255,255,135,255,255,
+ 255,47,248,255,255,159,128,255,255,255,6,248,255,255,239,130,255,255,255,175,248,255,255,255,
+ 139,255,255,255,175,244,255,251,175,1,228,255,7,128,255,191,0,248,255,11,128,255,191,0,
+ 248,255,11,128,255,207,4,248,255,255,137,255,255,191,248,255,255,123,255,255,191,227,255,255,
+ 6,177,255,126,250,255,9,242,255,239,255,255,15,243,255,255,255,255,31,243,255,255,255,255,
+ 31,244,255,255,255,255,47,244,255,255,255,255,63,245,255,255,255,255,63,245,255,255,255,255,
+ 79,246,255,255,255,255,79,246,255,255,255,255,79,210,255,252,207,255,45,244,239,232,239,132,
+ 255,255,255,143,248,255,255,255,136,255,255,255,143,248,255,255,255,136,255,255,255,143,248,255,
+ 255,255,136,255,255,255,143,248,255,255,255,136,255,255,255,143,228,239,249,239,4,0,232,255,
+ 76,0,176,255,255,255,4,246,255,255,255,13,250,255,255,255,63,251,255,255,255,79,251,255,
+ 255,255,79,251,255,255,255,79,250,255,255,255,63,246,255,255,255,13,176,255,255,255,4,0,
+ 232,255,76,0,244,255,223,7,248,255,255,127,248,255,255,239,248,255,255,255,248,255,255,255,
+ 248,255,255,255,248,255,255,175,248,255,255,45,248,255,141,1,248,255,8,0,228,239,4,0,
+ 0,232,255,76,0,160,255,255,255,4,245,255,255,255,13,250,255,255,255,47,251,255,255,255,
+ 79,251,255,254,255,79,251,255,255,255,79,250,255,255,255,63,246,255,255,255,14,193,255,255,
+ 255,6,16,251,255,255,3,0,64,255,255,3,0,0,246,127,0,0,0,16,1,0,244,255,
+ 239,8,128,255,255,255,9,248,255,255,239,128,255,255,255,15,248,255,255,255,128,255,255,255,
+ 14,248,255,255,223,128,255,255,255,79,248,255,255,255,133,255,255,255,79,244,255,251,94,0,
+ 32,252,239,9,226,255,255,79,247,255,255,79,247,255,255,63,247,255,255,47,246,255,255,127,
+ 247,255,255,127,249,255,255,127,249,255,255,111,248,255,255,30,144,254,207,2,246,255,255,111,
+ 251,255,255,191,251,255,255,191,251,255,255,191,247,255,255,111,64,255,255,0,64,255,255,0,
+ 64,255,255,0,64,255,255,0,64,255,255,0,16,253,191,0,247,255,253,239,180,255,255,255,
+ 143,251,255,255,255,184,255,255,255,143,251,255,255,255,184,255,255,255,143,251,255,255,255,184,
+ 255,255,255,127,249,255,255,255,38,254,255,255,29,32,235,239,26,0,248,239,232,255,28,252,
+ 255,255,255,31,252,255,255,255,31,250,255,255,255,14,246,255,255,255,10,242,255,255,255,6,
+ 208,255,255,255,2,160,255,255,223,0,96,255,255,159,0,32,255,255,95,0,0,216,222,26,
+ 0,248,255,250,207,252,223,177,255,255,255,255,255,63,251,255,255,255,255,255,163,255,255,255,
+ 255,255,47,247,255,255,255,255,239,80,255,255,255,255,255,11,243,255,255,255,255,159,16,255,
+ 255,255,255,255,6,208,255,255,255,255,63,0,251,255,255,255,255,1,80,254,207,250,239,8,
+ 0,247,255,217,255,28,251,255,255,255,47,251,255,255,255,47,246,255,255,255,13,208,255,255,
+ 255,6,144,255,255,255,1,224,255,255,255,6,246,255,255,255,13,250,255,255,255,63,250,255,
+ 255,255,79,246,255,217,255,45,176,255,126,253,191,241,255,255,255,239,241,255,255,255,239,176,
+ 255,255,255,159,48,255,255,255,47,0,251,255,255,10,0,243,255,255,3,0,192,255,207,0,
+ 0,176,255,191,0,0,176,255,191,0,0,96,254,110,0,210,255,255,95,245,255,255,223,246,
+ 255,255,255,246,255,255,255,226,255,255,191,176,255,255,47,245,255,255,143,247,255,255,191,247,
+ 255,255,191,245,255,255,191,193,255,255,95,251,255,250,255,255,255,255,255,255,223,255,127,241,
+ 255,4,255,79,240,255,4,255,79,240,255,175,255,255,255,255,255,253,255,45,68,20,162,27,
+ 0,0,176,255,10,0,0,252,255,4,0,176,255,207,0,0,243,255,111,0,0,250,255,29,
+ 0,32,255,255,8,0,128,255,239,2,0,225,255,159,0,0,246,255,63,0,0,252,255,7,
+ 0,64,255,127,0,0,160,239,3,0,0,64,2,247,255,45,251,255,79,251,255,79,249,255,
+ 79,64,255,79,0,255,79,0,255,79,0,255,79,0,255,79,247,255,79,251,255,79,251,255,
+ 79,249,255,63,64,68,3,0,80,157,0,0,96,255,191,1,112,255,255,223,98,255,255,255,
+ 223,247,255,255,255,127,255,111,252,255,193,94,16,251,6,112,136,136,120,112,255,255,255,127,
+ 247,255,255,255,119,255,255,255,127,178,187,187,187,2,176,174,2,243,255,46,243,255,79,242,
+ 255,63,48,234,11,64,186,139,0,240,255,255,9,240,255,255,13,246,255,255,14,251,255,255,
+ 79,251,255,255,159,251,255,255,159,247,255,255,159,128,255,253,62,244,239,3,0,248,255,6,
+ 0,248,255,157,1,248,255,255,12,248,255,255,95,248,255,255,111,248,255,255,111,248,255,255,
+ 111,248,255,255,79,247,255,255,12,145,254,175,1,32,185,123,16,253,255,111,248,255,255,183,
+ 255,255,127,251,255,255,181,255,255,95,250,255,255,54,255,255,111,64,253,191,1,0,128,255,
+ 28,0,176,255,47,32,234,255,47,226,255,255,47,249,255,255,47,251,255,255,47,251,255,255,
+ 143,251,255,255,255,250,255,255,255,244,255,255,255,80,254,254,111,16,185,139,0,209,255,255,
+ 10,248,255,255,47,251,255,255,47,251,255,255,47,251,255,255,30,250,255,255,13,227,255,255,
+ 13,64,253,223,4,64,253,207,18,254,255,127,245,255,255,183,255,255,95,251,255,207,176,255,
+ 255,11,246,255,78,32,255,191,0,242,255,11,32,255,191,0,209,255,8,0,16,184,171,3,
+ 209,255,255,47,248,255,255,47,251,255,255,47,251,255,255,47,251,255,255,47,250,255,255,47,
+ 245,255,255,47,243,255,255,47,243,255,255,31,209,255,239,5,16,67,19,0,244,239,3,0,
+ 248,255,6,0,248,255,173,2,248,255,255,12,248,255,255,47,248,255,255,47,248,255,255,47,
+ 248,255,255,47,248,255,255,47,248,255,255,47,244,255,255,29,244,239,131,255,111,248,255,134,
+ 255,111,248,255,134,255,111,248,255,134,255,111,248,255,134,255,111,244,255,4,0,244,239,3,
+ 128,255,111,0,248,255,6,128,255,111,0,248,255,6,128,255,111,0,248,255,6,128,255,111,
+ 48,250,255,54,255,255,111,244,255,255,70,255,255,79,193,255,143,0,65,36,0,228,239,3,
+ 0,248,255,6,0,248,255,189,43,248,255,255,111,248,255,255,111,248,255,255,63,248,255,255,
+ 12,248,255,255,79,248,255,255,175,248,255,255,175,244,239,255,127,244,239,131,255,111,248,255,
+ 134,255,111,248,255,134,255,111,248,255,134,255,111,248,255,134,255,111,244,239,3,179,171,171,
+ 186,25,192,255,255,255,255,12,253,255,255,255,255,210,255,255,255,255,47,250,255,255,255,255,
+ 66,255,255,255,255,47,244,255,255,255,255,66,255,255,255,255,47,226,255,255,255,223,1,179,
+ 171,187,4,252,255,255,63,253,255,255,127,253,255,255,143,250,255,255,143,244,255,255,143,244,
+ 255,255,143,244,255,255,143,226,255,254,79,32,185,107,0,210,255,255,8,249,255,255,31,251,
+ 255,255,79,251,255,255,79,251,255,255,79,250,255,255,47,244,255,255,11,80,253,175,1,162,
+ 171,171,3,250,255,255,62,251,255,255,159,251,255,255,191,247,255,255,191,240,255,255,191,240,
+ 255,255,175,240,255,255,79,240,255,239,6,240,255,14,0,224,255,13,0,32,68,2,0,32,
+ 185,155,3,210,255,255,46,249,255,255,47,251,255,255,47,251,255,255,47,251,255,255,47,250,
+ 255,255,47,244,255,255,47,80,254,255,47,0,176,255,47,0,160,255,46,0,16,68,2,178,
+ 155,155,161,255,255,95,251,255,255,182,255,255,95,247,255,239,2,255,239,2,240,255,14,0,
+ 255,239,0,192,255,10,0,48,186,139,49,254,255,143,247,255,255,121,255,255,159,248,255,255,
+ 187,255,255,191,251,255,255,187,255,255,127,178,255,142,0,144,221,8,245,255,143,251,255,255,
+ 251,255,255,251,255,255,245,255,127,240,255,14,240,255,14,240,255,14,192,255,10,178,187,187,
+ 26,248,255,255,79,248,255,255,79,248,255,255,79,248,255,255,143,248,255,255,223,247,255,255,
+ 223,244,255,255,223,96,254,238,95,183,155,187,75,253,255,255,159,253,255,255,159,251,255,255,
+ 127,248,255,255,63,244,255,255,14,224,255,255,10,176,255,255,5,64,254,207,1,182,171,187,
+ 186,155,193,255,255,255,255,47,252,255,255,255,255,178,255,255,255,255,31,248,255,255,255,223,
+ 80,255,255,255,255,10,243,255,255,255,127,0,255,255,255,255,4,144,255,239,255,28,0,181,
+ 187,186,123,252,255,255,223,252,255,255,223,249,255,255,175,242,255,255,79,246,255,255,143,250,
+ 255,255,223,250,255,255,223,247,239,254,159,183,155,187,75,254,255,255,159,254,255,255,159,252,
+ 255,255,127,246,255,255,47,241,255,255,12,160,255,255,7,176,255,255,2,240,255,207,0,241,
+ 255,111,0,176,255,29,0,178,187,171,113,255,255,159,248,255,255,139,255,255,191,247,255,255,
+ 184,255,255,191,251,255,255,171,255,255,191,227,255,255,7,0,117,3,80,255,30,176,255,47,
+ 176,255,31,176,255,9,192,255,8,247,255,8,249,255,7,249,255,7,247,255,8,192,255,8,
+ 176,255,9,176,255,31,176,255,47,80,255,30,0,117,2,64,38,243,239,244,255,244,255,244,
+ 255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,244,255,243,239,80,
+ 55,48,87,0,225,255,5,242,255,11,241,255,11,144,255,11,128,255,12,128,255,127,112,255,
+ 159,112,255,159,128,255,111,128,255,12,144,255,11,241,255,11,242,255,11,225,255,5,32,87,
+ 0,16,36,35,64,254,255,62,251,255,255,183,255,255,127,249,255,255,4,86,119,3,
+};
+static const Glyph font_small_o1_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {5, 11, -1, -9, 4, 0},
+ {7, 6, -1, -9, 6, 28},
+ {10, 11, 0, -9, 10, 49},
+ {8, 13, -1, -10, 6, 104},
+ {11, 11, -1, -9, 9, 156},
+ {9, 11, -1, -9, 8, 217},
+ {5, 6, -1, -9, 4, 267},
+ {5, 12, 0, -9, 5, 282},
+ {5, 12, 0, -9, 5, 312},
+ {7, 8, 0, -9, 7, 342},
+ {9, 9, -1, -8, 7, 370},
+ {6, 7, -1, -3, 4, 411},
+ {8, 5, -1, -5, 6, 432},
+ {5, 6, -1, -4, 3, 452},
+ {9, 14, -1, -10, 7, 467},
+ {9, 11, -1, -9, 8, 530},
+ {6, 11, -1, -9, 5, 580},
+ {8, 11, -1, -9, 6, 613},
+ {8, 11, -1, -9, 6, 657},
+ {9, 11, -1, -9, 7, 701},
+ {8, 11, -1, -9, 6, 751},
+ {8, 11, -1, -9, 7, 795},
+ {8, 11, -1, -9, 6, 839},
+ {8, 11, -1, -9, 7, 883},
+ {8, 11, -1, -9, 7, 927},
+ {5, 9, -1, -7, 4, 971},
+ {5, 11, -1, -7, 4, 994},
+ {7, 11, -1, -9, 6, 1022},
+ {8, 7, -1, -7, 7, 1061},
+ {7, 11, -1, -9, 5, 1089},
+ {8, 11, -1, -9, 7, 1128},
+ {11, 12, -1, -9, 10, 1172},
+ {9, 11, -1, -9, 8, 1238},
+ {9, 11, -1, -9, 7, 1288},
+ {8, 11, -1, -9, 7, 1338},
+ {9, 11, -1, -9, 7, 1382},
+ {7, 11, -1, -9, 6, 1432},
+ {7, 11, -1, -9, 6, 1471},
+ {9, 11, -1, -9, 7, 1510},
+ {9, 11, -1, -9, 8, 1560},
+ {7, 11, -1, -9, 5, 1610},
+ {7, 11, -1, -9, 6, 1649},
+ {9, 11, -1, -9, 7, 1688},
+ {7, 11, -1, -9, 5, 1738},
+ {12, 11, -1, -9, 10, 1777},
+ {9, 11, -1, -9, 8, 1843},
+ {10, 11, -1, -9, 8, 1893},
+ {8, 11, -1, -9, 7, 1948},
+ {10, 14, -1, -9, 8, 1992},
+ {9, 11, -1, -9, 7, 2062},
+ {8, 11, -1, -9, 6, 2112},
+ {8, 11, -1, -9, 6, 2156},
+ {9, 11, -1, -9, 7, 2200},
+ {10, 11, -1, -9, 8, 2250},
+ {13, 11, -1, -9, 11, 2305},
+ {10, 11, -1, -9, 8, 2377},
+ {10, 11, -2, -9, 7, 2432},
+ {8, 11, -1, -9, 7, 2487},
+ {5, 14, 0, -10, 5, 2531},
+ {9, 14, -1, -10, 7, 2566},
+ {6, 14, -1, -10, 5, 2629},
+ {9, 7, -1, -9, 8, 2671},
+ {9, 5, -1, -1, 7, 2703},
+ {6, 5, -1, -9, 4, 2726},
+ {8, 9, -1, -7, 6, 2741},
+ {8, 11, -1, -9, 6, 2777},
+ {7, 9, -1, -7, 5, 2821},
+ {8, 11, -1, -9, 7, 2853},
+ {8, 9, -1, -7, 6, 2897},
+ {7, 11, -1, -9, 5, 2933},
+ {8, 12, -1, -7, 6, 2972},
+ {8, 11, -1, -9, 6, 3020},
+ {5, 11, -1, -9, 4, 3064},
+ {7, 14, -3, -9, 3, 3092},
+ {8, 11, -1, -9, 6, 3141},
+ {5, 11, -1, -9, 3, 3185},
+ {11, 9, -1, -7, 9, 3213},
+ {8, 9, -1, -7, 7, 3263},
+ {8, 9, -1, -7, 6, 3299},
+ {8, 12, -1, -7, 7, 3335},
+ {8, 12, -1, -7, 6, 3383},
+ {7, 9, -1, -7, 5, 3431},
+ {7, 9, -1, -7, 5, 3463},
+ {6, 10, -1, -8, 5, 3495},
+ {8, 9, -1, -7, 6, 3525},
+ {8, 9, -1, -7, 6, 3561},
+ {11, 9, -1, -7, 9, 3597},
+ {8, 9, -1, -7, 7, 3647},
+ {8, 11, -1, -7, 6, 3683},
+ {7, 9, -1, -7, 5, 3727},
+ {6, 16, -1, -11, 4, 3759},
+ {4, 17, 1, -12, 7, 3807},
+ {6, 16, -1, -11, 4, 3841},
+ {7, 6, -1, -6, 6, 3889},
+};
+static const uint8_t font_small_o2_data[5828] = {
+ 128,255,159,64,255,255,95,246,255,255,104,255,255,143,246,255,255,104,255,255,143,246,255,255,
+ 120,255,255,143,248,255,255,136,255,255,143,248,255,255,88,255,255,95,144,255,159,0,96,254,
+ 254,93,48,255,255,255,30,245,255,255,255,84,255,255,255,79,244,255,255,255,34,255,255,255,
+ 15,192,255,255,191,0,195,255,191,3,0,32,185,135,40,0,0,192,255,255,255,3,80,251,
+ 255,255,255,10,243,255,255,255,255,47,247,255,255,255,255,127,248,255,255,255,255,127,253,255,
+ 255,255,255,127,255,255,255,255,255,31,255,255,255,255,255,15,252,255,255,255,255,12,245,255,
+ 255,255,207,3,225,255,255,255,5,0,64,252,236,159,0,0,0,96,221,6,0,0,246,255,
+ 159,2,176,255,255,255,12,245,255,255,255,63,250,255,255,255,63,251,255,255,255,47,251,255,
+ 255,255,63,250,255,255,255,127,249,255,255,255,127,251,255,255,255,127,251,255,255,255,111,250,
+ 255,255,255,30,243,255,255,255,7,48,250,255,79,0,0,112,238,7,0,16,233,207,149,223,
+ 6,0,252,255,255,255,255,4,244,255,255,255,255,143,112,255,255,255,255,255,8,247,255,255,
+ 255,255,127,112,255,255,255,255,255,13,246,255,255,255,255,255,5,253,255,255,255,255,127,144,
+ 255,255,255,255,255,7,251,255,255,255,255,127,176,255,255,255,255,255,4,246,255,255,255,255,
+ 12,0,232,142,197,239,25,0,0,179,255,142,1,0,245,255,255,223,1,208,255,255,255,127,
+ 48,255,255,255,255,45,244,255,255,255,255,74,255,255,255,255,223,245,255,255,255,255,125,255,
+ 255,255,255,207,247,255,255,255,255,119,255,255,255,255,30,242,255,255,255,159,0,249,255,255,
+ 239,2,0,197,255,158,2,0,80,253,142,16,254,255,79,244,255,255,71,255,255,127,243,255,
+ 255,22,255,255,95,192,255,239,1,195,223,5,48,252,126,1,252,255,127,244,255,255,171,255,
+ 255,191,253,255,255,248,255,255,47,255,255,223,240,255,255,14,254,255,255,196,255,255,175,248,
+ 255,255,44,255,255,191,160,255,255,5,129,171,3,146,254,25,160,255,255,8,254,255,239,225,
+ 255,255,111,252,255,255,106,255,255,191,242,255,255,59,255,255,191,247,255,255,235,255,255,143,
+ 255,255,255,228,255,255,13,248,255,111,0,165,107,0,0,213,175,1,0,228,255,175,1,248,
+ 255,255,239,225,255,255,255,127,255,255,255,255,247,255,255,255,127,249,255,255,255,50,255,255,
+ 255,11,176,255,255,95,0,80,103,39,0,0,48,185,24,0,0,0,253,255,10,0,16,249,
+ 255,255,6,16,254,255,255,255,12,247,255,255,255,255,115,255,255,255,255,79,247,255,255,255,
+ 255,52,255,255,255,255,13,80,252,255,255,58,0,16,254,255,12,0,0,80,253,60,0,0,
+ 16,183,155,2,112,255,255,12,176,255,255,47,225,255,255,47,246,255,255,47,246,255,255,13,
+ 245,255,255,7,160,255,191,1,0,66,3,0,16,135,136,120,1,225,255,255,255,30,247,255,
+ 255,255,127,247,255,255,255,127,247,255,255,255,127,243,255,255,255,63,80,187,187,187,5,16,
+ 68,3,48,254,255,10,250,255,255,179,255,255,79,251,255,255,180,255,255,79,249,255,255,34,
+ 251,239,7,0,0,16,184,24,0,0,0,250,255,12,0,0,244,255,255,4,0,192,255,255,
+ 79,0,96,255,255,255,3,16,253,255,255,12,0,248,255,255,63,0,226,255,255,175,0,160,
+ 255,255,255,2,48,255,255,255,8,0,251,255,255,30,0,240,255,255,111,0,0,255,255,207,
+ 0,0,192,255,255,4,0,0,211,255,9,0,0,0,48,2,0,0,0,0,129,254,174,3,
+ 0,226,255,255,255,5,176,255,255,255,239,49,255,255,255,255,127,246,255,255,255,255,122,255,
+ 255,255,255,191,247,255,255,255,255,123,255,255,255,255,191,246,255,255,255,255,58,255,255,255,
+ 255,127,160,255,255,255,239,1,226,255,255,255,5,0,129,254,174,3,0,161,255,255,60,248,
+ 255,255,207,251,255,255,255,251,255,255,255,251,255,255,255,249,255,255,255,210,255,255,255,64,
+ 255,255,255,64,255,255,255,64,255,255,255,64,255,255,255,32,255,255,207,0,214,255,60,32,
+ 232,255,92,0,225,255,255,255,7,246,255,255,255,30,247,255,255,255,63,247,255,255,255,79,
+ 244,255,255,255,79,208,255,255,255,47,243,255,255,255,63,247,255,255,255,127,247,255,255,255,
+ 127,247,255,255,255,127,242,255,255,255,63,96,254,255,239,6,32,234,255,109,0,241,255,255,
+ 255,9,247,255,255,255,47,248,255,255,255,79,248,255,255,255,79,244,255,255,255,63,224,255,
+ 255,255,111,246,255,255,255,127,251,255,255,255,127,251,255,255,255,127,251,255,255,255,47,245,
+ 255,255,255,8,64,235,255,75,0,0,112,254,255,9,0,48,255,255,255,5,0,251,255,255,
+ 143,0,244,255,255,255,8,192,255,255,255,143,80,255,255,255,255,11,251,255,255,255,255,179,
+ 255,255,255,255,79,251,255,255,255,255,84,255,255,255,255,79,192,255,255,255,223,0,96,251,
+ 255,255,5,0,32,250,239,8,0,96,254,255,207,3,241,255,255,255,11,244,255,255,255,14,
+ 244,255,255,255,14,244,255,255,255,14,244,255,255,255,30,244,255,255,255,63,246,255,255,255,
+ 79,249,255,255,255,79,249,255,255,255,47,249,255,255,255,11,244,255,255,239,3,96,252,239,
+ 41,0,0,113,253,207,5,16,253,255,255,47,128,255,255,255,111,225,255,255,255,111,245,255,
+ 255,255,111,247,255,255,255,191,247,255,255,255,255,247,255,255,255,255,247,255,255,255,255,244,
+ 255,255,255,239,208,255,255,255,143,64,255,255,255,29,0,163,255,125,1,161,255,255,191,3,
+ 248,255,255,255,13,251,255,255,255,79,251,255,255,255,79,251,255,255,255,79,249,255,255,255,
+ 31,210,255,255,255,11,96,255,255,255,7,176,255,255,255,3,224,255,255,239,0,224,255,255,
+ 175,0,192,255,255,79,0,48,252,239,8,0,0,197,255,109,0,128,255,255,255,10,242,255,
+ 255,255,63,246,255,255,255,127,246,255,255,255,127,246,255,255,255,127,249,255,255,255,175,251,
+ 255,255,255,191,251,255,255,255,191,250,255,255,255,175,245,255,255,255,95,192,255,255,255,11,
+ 0,214,255,109,0,0,196,255,108,0,112,255,255,255,9,225,255,255,255,47,246,255,255,255,
+ 143,247,255,255,255,191,247,255,255,255,191,247,255,255,255,191,242,255,255,255,191,240,255,255,
+ 255,159,240,255,255,255,111,240,255,255,255,13,176,255,255,255,5,32,233,255,75,0,48,186,
+ 123,17,254,255,127,244,255,255,75,255,255,191,244,255,255,75,255,255,191,244,255,255,75,255,
+ 255,191,244,255,255,43,255,255,159,96,254,191,2,48,186,139,17,254,255,175,244,255,255,78,
+ 255,255,239,244,255,255,78,255,255,239,240,255,255,78,255,255,239,250,255,255,174,255,255,175,
+ 248,255,255,35,252,255,8,0,67,2,0,0,0,65,1,0,0,230,239,5,0,244,255,239,
+ 1,226,255,255,63,208,255,255,255,83,255,255,255,30,247,255,255,127,112,255,255,255,12,242,
+ 255,255,255,3,246,255,255,63,0,248,255,255,2,0,250,255,8,0,0,116,3,0,48,186,
+ 187,187,6,208,255,255,255,111,244,255,255,255,191,244,255,255,255,191,244,255,255,255,191,244,
+ 255,255,255,191,244,255,255,255,191,225,255,255,255,143,80,254,255,255,26,0,66,0,0,0,
+ 249,223,4,0,244,255,239,2,112,255,255,207,1,247,255,255,159,48,255,255,255,47,176,255,
+ 255,255,35,255,255,255,63,247,255,255,223,112,255,255,239,3,245,255,255,5,0,252,255,7,
+ 0,0,117,3,0,0,16,216,255,125,1,208,255,255,255,11,245,255,255,255,79,245,255,255,
+ 255,127,245,255,255,255,127,225,255,255,255,127,144,255,255,255,63,128,255,255,255,10,112,255,
+ 255,191,1,96,255,255,143,0,96,255,255,143,0,64,255,255,111,0,0,248,255,9,0,0,
+ 0,148,187,90,0,0,48,252,255,255,207,2,32,254,255,255,255,207,0,250,255,255,255,255,
+ 95,242,255,255,255,255,255,106,255,255,255,255,255,191,247,255,255,255,255,255,123,255,255,255,
+ 255,255,191,247,255,255,255,255,255,105,255,255,255,255,255,47,225,255,255,255,255,143,0,247,
+ 255,255,255,191,0,0,248,255,255,255,5,0,0,130,187,155,3,0,0,211,255,223,5,0,
+ 192,255,255,239,1,32,255,255,255,95,0,246,255,255,255,9,160,255,255,255,223,0,253,255,
+ 255,255,31,242,255,255,255,255,101,255,255,255,255,159,249,255,255,255,255,204,255,255,255,255,
+ 255,252,255,255,255,255,159,255,255,255,255,207,178,255,141,253,207,3,96,254,255,174,3,32,
+ 255,255,255,255,3,244,255,255,255,191,64,255,255,255,255,15,244,255,255,255,255,64,255,255,
+ 255,255,15,244,255,255,255,255,66,255,255,255,255,95,244,255,255,255,255,69,255,255,255,255,
+ 95,244,255,255,255,255,18,254,255,255,255,8,80,253,255,207,5,0,0,146,254,190,4,48,
+ 254,255,255,63,208,255,255,255,159,245,255,255,255,159,250,255,255,255,159,251,255,255,255,79,
+ 251,255,255,255,14,251,255,255,255,111,250,255,255,255,191,246,255,255,255,191,208,255,255,255,
+ 191,64,255,255,255,79,0,146,254,191,4,128,254,255,108,0,64,255,255,255,207,1,247,255,
+ 255,255,143,128,255,255,255,255,30,248,255,255,255,255,131,255,255,255,255,79,248,255,255,255,
+ 255,132,255,255,255,255,79,248,255,255,255,255,130,255,255,255,255,14,248,255,255,255,127,64,
+ 255,255,255,207,1,128,254,255,109,0,0,144,255,255,207,83,255,255,255,207,248,255,255,255,
+ 143,255,255,255,255,248,255,255,255,143,255,255,255,191,248,255,255,255,134,255,255,255,191,248,
+ 255,255,255,143,255,255,255,255,248,255,255,255,95,255,255,255,191,144,255,255,207,3,144,255,
+ 255,207,82,255,255,255,175,248,255,255,255,141,255,255,255,223,248,255,255,255,141,255,255,255,
+ 159,248,255,255,255,131,255,255,255,47,248,255,255,239,129,255,255,255,6,248,255,255,11,80,
+ 255,255,143,0,128,254,175,1,0,0,129,254,223,24,0,227,255,255,255,11,208,255,255,255,
+ 255,82,255,255,255,255,47,250,255,255,255,255,177,255,255,255,255,47,251,255,255,255,255,180,
+ 255,255,255,255,79,250,255,255,255,255,84,255,255,255,255,79,208,255,255,255,255,4,227,255,
+ 255,255,13,0,129,254,239,41,0,128,254,207,255,142,80,255,255,255,255,95,248,255,255,255,
+ 255,136,255,255,255,255,143,248,255,255,255,255,136,255,255,255,255,143,248,255,255,255,255,136,
+ 255,255,255,255,143,248,255,255,255,255,136,255,255,255,255,143,248,255,255,255,255,88,255,255,
+ 255,255,95,128,254,207,255,142,0,161,255,255,142,128,255,255,255,79,251,255,255,255,183,255,
+ 255,255,127,251,255,255,255,119,255,255,255,63,226,255,255,207,112,255,255,255,63,251,255,255,
+ 255,183,255,255,255,127,251,255,255,255,135,255,255,255,79,161,255,255,142,0,0,249,255,175,
+ 1,246,255,255,143,160,255,255,255,11,250,255,255,191,160,255,255,255,11,246,255,255,191,243,
+ 255,255,255,171,255,255,255,191,253,255,255,255,219,255,255,255,191,252,255,255,255,102,255,255,
+ 255,13,80,252,223,23,0,128,254,223,255,126,80,255,255,255,255,79,248,255,255,255,255,135,
+ 255,255,255,255,127,248,255,255,255,255,130,255,255,255,255,9,248,255,255,255,143,128,255,255,
+ 255,255,63,248,255,255,255,255,138,255,255,255,255,191,248,255,255,255,255,90,255,255,255,255,
+ 79,144,255,207,255,42,0,128,254,175,1,80,255,255,159,0,248,255,255,11,128,255,255,191,
+ 0,248,255,255,11,128,255,255,207,0,248,255,255,223,130,255,255,255,159,248,255,255,255,139,
+ 255,255,255,191,247,255,255,255,75,255,255,255,143,112,254,255,175,1,64,252,239,185,255,191,
+ 3,209,255,255,255,255,255,11,242,255,255,255,255,255,15,243,255,255,255,255,255,31,243,255,
+ 255,255,255,255,31,244,255,255,255,255,255,47,244,255,255,255,255,255,63,245,255,255,255,255,
+ 255,63,245,255,255,255,255,255,79,246,255,255,255,255,255,79,246,255,255,255,255,255,79,243,
+ 255,255,255,255,255,47,96,253,207,255,253,223,6,144,255,174,254,142,80,255,255,255,255,95,
+ 248,255,255,255,255,136,255,255,255,255,143,248,255,255,255,255,136,255,255,255,255,143,248,255,
+ 255,255,255,136,255,255,255,255,143,248,255,255,255,255,136,255,255,255,255,143,248,255,255,255,
+ 255,88,255,255,255,255,95,128,254,190,255,142,0,0,130,254,207,5,0,64,254,255,255,191,
+ 0,208,255,255,255,255,6,246,255,255,255,255,13,250,255,255,255,255,63,251,255,255,255,255,
+ 79,251,255,255,255,255,79,251,255,255,255,255,79,250,255,255,255,255,63,246,255,255,255,255,
+ 13,208,255,255,255,255,6,64,254,255,255,191,0,0,146,254,207,5,0,144,255,255,141,1,
+ 245,255,255,255,29,248,255,255,255,143,248,255,255,255,239,248,255,255,255,255,248,255,255,255,
+ 255,248,255,255,255,255,248,255,255,255,191,248,255,255,255,63,248,255,255,255,7,248,255,255,
+ 43,0,245,255,255,5,0,128,254,142,0,0,0,129,254,207,5,0,64,254,255,255,191,0,
+ 208,255,255,255,255,6,245,255,255,255,255,13,250,255,255,255,255,47,251,255,255,255,255,79,
+ 251,255,255,255,255,79,251,255,255,255,255,79,250,255,255,255,255,63,246,255,255,255,255,14,
+ 225,255,255,255,255,7,80,255,255,255,255,3,0,196,255,255,255,3,0,0,251,255,191,0,
+ 0,0,161,255,42,0,0,0,0,17,0,0,128,255,255,158,2,80,255,255,255,239,2,248,
+ 255,255,255,175,128,255,255,255,255,14,248,255,255,255,255,128,255,255,255,255,15,248,255,255,
+ 255,239,128,255,255,255,255,13,248,255,255,255,255,132,255,255,255,255,95,248,255,255,255,255,
+ 84,255,255,255,255,11,144,255,207,239,23,0,0,197,255,174,3,128,255,255,255,14,242,255,
+ 255,255,79,247,255,255,255,79,247,255,255,255,63,247,255,255,255,47,246,255,255,255,127,247,
+ 255,255,255,127,249,255,255,255,127,249,255,255,255,111,248,255,255,255,30,226,255,255,255,7,
+ 32,233,255,92,0,161,255,255,255,26,248,255,255,255,143,251,255,255,255,191,251,255,255,255,
+ 191,251,255,255,255,191,248,255,255,255,143,177,255,255,255,26,64,255,255,255,0,64,255,255,
+ 255,0,64,255,255,255,0,64,255,255,255,0,16,255,255,207,0,0,214,255,60,0,161,255,
+ 223,255,142,128,255,255,255,255,95,251,255,255,255,255,184,255,255,255,255,143,251,255,255,255,
+ 255,184,255,255,255,255,143,251,255,255,255,255,184,255,255,255,255,143,251,255,255,255,255,151,
+ 255,255,255,255,111,243,255,255,255,239,1,248,255,255,255,6,0,180,254,174,3,0,178,255,
+ 174,254,223,4,250,255,255,255,255,29,252,255,255,255,255,31,252,255,255,255,255,31,250,255,
+ 255,255,255,14,246,255,255,255,255,10,242,255,255,255,255,6,208,255,255,255,255,2,160,255,
+ 255,255,223,0,96,255,255,255,159,0,32,255,255,255,95,0,0,251,255,255,30,0,0,162,
+ 237,189,3,0,178,255,191,255,205,255,110,144,255,255,255,255,255,255,30,251,255,255,255,255,
+ 255,255,179,255,255,255,255,255,255,63,250,255,255,255,255,255,255,114,255,255,255,255,255,255,
+ 14,245,255,255,255,255,255,191,48,255,255,255,255,255,255,9,241,255,255,255,255,255,111,0,
+ 253,255,255,255,255,255,3,176,255,255,255,255,255,31,0,246,255,255,255,255,191,0,16,233,
+ 255,205,255,174,2,0,161,255,191,253,223,5,248,255,255,255,255,30,251,255,255,255,255,47,
+ 251,255,255,255,255,47,246,255,255,255,255,13,208,255,255,255,255,6,144,255,255,255,255,1,
+ 224,255,255,255,255,6,246,255,255,255,255,13,250,255,255,255,255,63,250,255,255,255,255,79,
+ 247,255,255,255,255,46,161,255,191,253,223,6,64,252,239,217,255,60,208,255,255,255,255,207,
+ 241,255,255,255,255,239,241,255,255,255,255,239,176,255,255,255,255,159,48,255,255,255,255,47,
+ 0,251,255,255,255,10,0,243,255,255,255,3,0,192,255,255,207,0,0,176,255,255,191,0,
+ 0,176,255,255,191,0,0,128,255,255,143,0,0,16,233,239,25,0,96,254,255,255,25,242,
+ 255,255,255,127,245,255,255,255,223,246,255,255,255,255,246,255,255,255,255,242,255,255,255,207,
+ 208,255,255,255,95,245,255,255,255,159,247,255,255,255,191,247,255,255,255,191,245,255,255,255,
+ 191,209,255,255,255,127,64,253,255,255,25,211,255,207,211,255,255,207,255,255,255,255,255,255,
+ 255,255,255,255,253,255,255,94,255,255,79,240,255,255,4,255,255,79,240,255,255,60,255,255,
+ 255,252,255,255,255,255,255,255,239,255,255,223,246,255,239,5,66,68,1,64,186,4,0,0,
+ 80,255,255,3,0,0,251,255,191,0,0,192,255,255,95,0,0,251,255,255,13,0,64,255,
+ 255,255,7,0,176,255,255,239,1,0,243,255,255,159,0,0,249,255,255,47,0,16,254,255,
+ 255,10,0,112,255,255,255,3,0,208,255,255,127,0,0,245,255,255,7,0,0,252,255,79,
+ 0,0,48,253,159,0,0,0,0,36,0,161,255,239,6,248,255,255,47,251,255,255,79,251,
+ 255,255,79,249,255,255,79,227,255,255,79,0,255,255,79,0,255,255,79,0,255,255,79,161,
+ 255,255,79,248,255,255,79,251,255,255,79,251,255,255,79,249,255,255,63,227,255,255,9,0,
+ 68,52,0,0,16,216,58,0,0,16,252,255,94,0,32,253,255,255,111,16,253,255,255,255,
+ 111,246,255,255,255,255,126,255,255,255,255,255,247,255,255,255,255,47,255,255,252,255,159,80,
+ 237,25,196,175,1,16,135,136,136,23,16,254,255,255,255,30,247,255,255,255,255,119,255,255,
+ 255,255,127,247,255,255,255,255,55,255,255,255,255,63,80,187,187,187,91,0,48,236,42,0,
+ 208,255,255,8,243,255,255,47,243,255,255,79,242,255,255,63,160,255,255,13,0,164,206,4,
+ 0,165,187,24,0,144,255,255,239,2,240,255,255,255,9,241,255,255,255,13,247,255,255,255,
+ 14,251,255,255,255,95,251,255,255,255,159,251,255,255,255,159,247,255,255,255,159,225,255,255,
+ 255,79,32,250,223,239,7,144,255,142,0,0,245,255,255,4,0,248,255,255,43,0,248,255,
+ 255,255,5,248,255,255,255,13,248,255,255,255,95,248,255,255,255,111,248,255,255,255,111,248,
+ 255,255,255,111,248,255,255,255,79,247,255,255,255,13,242,255,255,255,5,32,234,255,59,0,
+ 0,146,187,23,0,247,255,255,29,242,255,255,255,134,255,255,255,127,251,255,255,255,183,255,
+ 255,255,95,251,255,255,255,165,255,255,255,111,244,255,255,255,6,250,255,255,46,0,214,255,
+ 75,0,0,32,250,223,5,0,144,255,255,30,0,211,255,255,47,128,255,255,255,47,242,255,
+ 255,255,47,249,255,255,255,47,251,255,255,255,63,251,255,255,255,191,251,255,255,255,255,250,
+ 255,255,255,255,244,255,255,255,255,176,255,255,255,159,16,231,239,255,26,0,146,187,24,0,
+ 96,255,255,239,3,242,255,255,255,12,248,255,255,255,47,251,255,255,255,47,251,255,255,255,
+ 47,251,255,255,255,30,250,255,255,255,13,244,255,255,255,13,160,255,255,255,7,0,214,255,
+ 109,0,0,214,255,92,0,248,255,255,63,225,255,255,255,119,255,255,255,127,251,255,255,255,
+ 181,255,255,255,13,251,255,255,191,112,255,255,255,6,243,255,255,12,32,255,255,191,0,242,
+ 255,255,11,16,254,255,159,0,80,253,191,2,0,0,130,187,74,0,96,255,255,255,9,242,
+ 255,255,255,47,248,255,255,255,47,251,255,255,255,47,251,255,255,255,47,251,255,255,255,47,
+ 250,255,255,255,47,245,255,255,255,47,243,255,255,255,47,243,255,255,255,31,225,255,255,255,
+ 9,80,254,255,142,1,0,49,52,1,0,144,255,126,0,0,245,255,255,4,0,248,255,255,
+ 59,0,248,255,255,255,5,248,255,255,255,13,248,255,255,255,47,248,255,255,255,47,248,255,
+ 255,255,47,248,255,255,255,47,248,255,255,255,47,248,255,255,255,47,245,255,255,255,30,144,
+ 255,255,223,5,144,255,142,80,255,255,79,248,255,255,134,255,255,111,248,255,255,134,255,255,
+ 111,248,255,255,134,255,255,111,248,255,255,134,255,255,111,248,255,255,86,255,255,79,144,255,
+ 143,0,0,144,255,142,0,80,255,255,79,0,248,255,255,6,128,255,255,111,0,248,255,255,
+ 6,128,255,255,111,0,248,255,255,6,128,255,255,111,0,248,255,255,6,250,255,255,111,243,
+ 255,255,255,70,255,255,255,111,244,255,255,255,20,254,255,255,12,80,254,255,42,0,16,68,
+ 2,0,128,254,142,0,0,245,255,255,4,0,248,255,255,189,5,248,255,255,255,63,248,255,
+ 255,255,111,248,255,255,255,111,248,255,255,255,63,248,255,255,255,13,248,255,255,255,79,248,
+ 255,255,255,175,248,255,255,255,175,245,255,255,255,143,144,255,254,255,26,144,255,142,80,255,
+ 255,79,248,255,255,134,255,255,111,248,255,255,134,255,255,111,248,255,255,134,255,255,111,248,
+ 255,255,134,255,255,111,248,255,255,86,255,255,79,144,255,142,0,80,187,186,170,155,3,80,
+ 255,255,255,255,255,4,252,255,255,255,255,207,208,255,255,255,255,255,47,253,255,255,255,255,
+ 255,178,255,255,255,255,255,47,244,255,255,255,255,255,66,255,255,255,255,255,47,244,255,255,
+ 255,255,255,34,255,255,255,255,255,30,96,254,255,255,255,110,0,80,187,186,91,0,246,255,
+ 255,255,10,252,255,255,255,63,253,255,255,255,127,253,255,255,255,143,251,255,255,255,143,244,
+ 255,255,255,143,244,255,255,255,143,244,255,255,255,143,242,255,255,255,95,96,254,239,255,9,
+ 0,147,187,23,0,128,255,255,223,2,242,255,255,255,10,249,255,255,255,31,251,255,255,255,
+ 79,251,255,255,255,79,251,255,255,255,79,250,255,255,255,47,244,255,255,255,12,176,255,255,
+ 255,4,0,215,255,58,0,64,186,186,90,0,243,255,255,255,10,250,255,255,255,79,251,255,
+ 255,255,159,251,255,255,255,191,249,255,255,255,191,242,255,255,255,191,240,255,255,255,175,240,
+ 255,255,255,79,240,255,255,255,11,240,255,255,143,1,224,255,255,13,0,96,255,255,6,0,
+ 0,66,36,0,0,0,146,187,73,0,112,255,255,255,9,242,255,255,255,47,249,255,255,255,
+ 47,251,255,255,255,47,251,255,255,255,47,251,255,255,255,47,250,255,255,255,47,244,255,255,
+ 255,47,176,255,255,255,47,16,232,255,255,47,0,160,255,255,47,0,48,254,255,8,0,0,
+ 65,36,0,80,187,185,58,64,255,255,255,30,250,255,255,255,181,255,255,255,111,251,255,255,
+ 255,149,255,255,255,47,242,255,255,143,0,255,255,239,0,240,255,255,14,0,253,255,207,0,
+ 64,253,207,3,0,0,164,187,40,0,250,255,255,47,243,255,255,255,120,255,255,255,159,247,
+ 255,255,255,137,255,255,255,191,251,255,255,255,187,255,255,255,191,251,255,255,255,87,255,255,
+ 255,30,64,251,239,41,0,32,218,173,2,177,255,255,43,247,255,255,191,251,255,255,255,251,
+ 255,255,255,251,255,255,255,247,255,255,175,241,255,255,46,240,255,255,14,240,255,255,14,208,
+ 255,255,11,48,253,207,3,80,187,187,171,3,243,255,255,255,30,248,255,255,255,79,248,255,
+ 255,255,79,248,255,255,255,79,248,255,255,255,159,248,255,255,255,223,247,255,255,255,223,244,
+ 255,255,255,223,176,255,255,255,127,16,232,239,254,25,129,187,186,187,6,249,255,255,255,95,
+ 253,255,255,255,159,253,255,255,255,159,251,255,255,255,127,248,255,255,255,63,244,255,255,255,
+ 14,224,255,255,255,10,176,255,255,255,5,80,255,255,239,1,0,232,255,93,0,129,187,186,
+ 171,187,58,128,255,255,255,255,255,29,252,255,255,255,255,255,194,255,255,255,255,255,47,251,
+ 255,255,255,255,255,129,255,255,255,255,255,13,245,255,255,255,255,175,48,255,255,255,255,255,
+ 7,240,255,255,255,255,79,0,250,255,255,255,239,1,32,251,255,254,223,5,0,113,187,171,
+ 187,24,247,255,255,255,159,252,255,255,255,223,252,255,255,255,223,249,255,255,255,175,242,255,
+ 255,255,79,246,255,255,255,143,250,255,255,255,223,250,255,255,255,223,248,255,255,255,175,161,
+ 255,238,255,43,146,187,185,187,6,250,255,255,255,95,254,255,255,255,159,254,255,255,255,159,
+ 252,255,255,255,127,246,255,255,255,47,241,255,255,255,12,160,255,255,255,7,176,255,255,255,
+ 2,240,255,255,207,0,241,255,255,111,0,208,255,255,30,0,64,252,239,6,0,80,187,187,
+ 74,48,255,255,255,47,247,255,255,255,137,255,255,255,191,248,255,255,255,123,255,255,255,159,
+ 251,255,255,255,187,255,255,255,191,250,255,255,255,59,255,255,255,143,112,254,255,175,1,0,
+ 80,55,0,0,252,255,8,96,255,255,30,176,255,255,47,176,255,255,31,176,255,255,10,225,
+ 255,255,8,247,255,255,8,249,255,255,7,249,255,255,7,247,255,255,8,225,255,255,8,176,
+ 255,255,10,176,255,255,31,176,255,255,47,96,255,255,30,0,252,255,7,0,96,55,0,0,
+ 100,3,160,255,127,243,255,239,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,
+ 255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,244,255,255,243,
+ 255,239,192,255,143,0,118,4,0,115,5,0,128,255,207,0,225,255,255,6,242,255,255,11,
+ 241,255,255,11,160,255,255,11,128,255,255,30,128,255,255,143,112,255,255,159,112,255,255,159,
+ 128,255,255,127,128,255,255,30,160,255,255,11,241,255,255,11,242,255,255,11,225,255,255,6,
+ 112,255,207,0,0,115,5,0,0,65,50,2,0,232,255,255,9,246,255,255,255,180,255,255,
+ 255,127,251,255,255,255,151,255,255,255,79,226,255,255,175,0,97,117,71,0,
+};
+static const Glyph font_small_o2_glyphs[95] = {
+ {0, 0, 0, 0, 3, 0},
+ {7, 13, -2, -10, 4, 0},
+ {9, 8, -2, -10, 6, 46},
+ {12, 13, -1, -10, 10, 82},
+ {10, 15, -2, -11, 6, 160},
+ {13, 13, -2, -10, 9, 235},
+ {11, 13, -2, -10, 8, 320},
+ {7, 8, -2, -10, 4, 392},
+ {7, 14, -1, -10, 5, 420},
+ {7, 14, -1, -10, 5, 469},
+ {9, 10, -1, -10, 7, 518},
+ {11, 11, -2, -9, 7, 563},
+ {8, 9, -2, -4, 4, 624},
+ {10, 7, -2, -6, 6, 660},
+ {7, 8, -2, -5, 3, 695},
+ {11, 16, -2, -11, 7, 723},
+ {11, 13, -2, -10, 8, 811},
+ {8, 13, -2, -10, 5, 883},
+ {10, 13, -2, -10, 6, 935},
+ {10, 13, -2, -10, 6, 1000},
+ {11, 13, -2, -10, 7, 1065},
+ {10, 13, -2, -10, 6, 1137},
+ {10, 13, -2, -10, 7, 1202},
+ {10, 13, -2, -10, 6, 1267},
+ {10, 13, -2, -10, 7, 1332},
+ {10, 13, -2, -10, 7, 1397},
+ {7, 11, -2, -8, 4, 1462},
+ {7, 13, -2, -8, 4, 1501},
+ {9, 13, -2, -10, 6, 1547},
+ {10, 9, -2, -8, 7, 1606},
+ {9, 13, -2, -10, 5, 1651},
+ {10, 13, -2, -10, 7, 1710},
+ {13, 14, -2, -10, 10, 1775},
+ {11, 13, -2, -10, 8, 1866},
+ {11, 13, -2, -10, 7, 1938},
+ {10, 13, -2, -10, 7, 2010},
+ {11, 13, -2, -10, 7, 2075},
+ {9, 13, -2, -10, 6, 2147},
+ {9, 13, -2, -10, 6, 2206},
+ {11, 13, -2, -10, 7, 2265},
+ {11, 13, -2, -10, 8, 2337},
+ {9, 13, -2, -10, 5, 2409},
+ {9, 13, -2, -10, 6, 2468},
+ {11, 13, -2, -10, 7, 2527},
+ {9, 13, -2, -10, 5, 2599},
+ {14, 13, -2, -10, 10, 2658},
+ {11, 13, -2, -10, 8, 2749},
+ {12, 13, -2, -10, 8, 2821},
+ {10, 13, -2, -10, 7, 2899},
+ {12, 16, -2, -10, 8, 2964},
+ {11, 13, -2, -10, 7, 3060},
+ {10, 13, -2, -10, 6, 3132},
+ {10, 13, -2, -10, 6, 3197},
+ {11, 13, -2, -10, 7, 3262},
+ {12, 13, -2, -10, 8, 3334},
+ {15, 13, -2, -10, 11, 3412},
+ {12, 13, -2, -10, 8, 3510},
+ {12, 13, -3, -10, 7, 3588},
+ {10, 13, -2, -10, 7, 3666},
+ {7, 16, -1, -11, 5, 3731},
+ {11, 16, -2, -11, 7, 3787},
+ {8, 16, -2, -11, 5, 3875},
+ {11, 9, -2, -10, 8, 3939},
+ {11, 7, -2, -2, 7, 3989},
+ {8, 7, -2, -10, 4, 4028},
+ {10, 11, -2, -8, 6, 4056},
+ {10, 13, -2, -10, 6, 4111},
+ {9, 11, -2, -8, 5, 4176},
+ {10, 13, -2, -10, 7, 4226},
+ {10, 11, -2, -8, 6, 4291},
+ {9, 13, -2, -10, 5, 4346},
+ {10, 14, -2, -8, 6, 4405},
+ {10, 13, -2, -10, 6, 4475},
+ {7, 13, -2, -10, 4, 4540},
+ {9, 16, -4, -10, 3, 4586},
+ {10, 13, -2, -10, 6, 4658},
+ {7, 13, -2, -10, 3, 4723},
+ {13, 11, -2, -8, 9, 4769},
+ {10, 11, -2, -8, 7, 4841},
+ {10, 11, -2, -8, 6, 4896},
+ {10, 14, -2, -8, 7, 4951},
+ {10, 14, -2, -8, 6, 5021},
+ {9, 11, -2, -8, 5, 5091},
+ {9, 11, -2, -8, 5, 5141},
+ {8, 12, -2, -9, 5, 5191},
+ {10, 11, -2, -8, 6, 5239},
+ {10, 11, -2, -8, 6, 5294},
+ {13, 11, -2, -8, 9, 5349},
+ {10, 11, -2, -8, 7, 5421},
+ {10, 13, -2, -8, 6, 5476},
+ {9, 11, -2, -8, 5, 5541},
+ {8, 18, -2, -12, 4, 5591},
+ {6, 19, 0, -13, 7, 5663},
+ {8, 18, -2, -12, 4, 5720},
+ {9, 8, -2, -7, 6, 5792},
+};
+const Font font_small = {32, 95, 11, 3, font_small_glyphs, font_small_data,
+ {font_small_o1_glyphs, font_small_o2_glyphs}, {font_small_o1_data, font_small_o2_data}};
+
+#define LOGO_W 196
+#define LOGO_H 102
+const uint16_t logo_w = 196, logo_h = 102;
+const uint16_t logo_pal[16] = {0xEFBC, 0xC75F, 0xFEEA, 0xFE46, 0xD6B4, 0xF5A5, 0xB489, 0x298B, 0x112B, 0x110B, 0x08AB, 0x08A9, 0x0866, 0x0845, 0x0000, 0x0000};
+const uint16_t logo_rows[103] = {
+ 0,2,4,12,40,84,134,206,288,374,486,606,724,864,1000,1146,
+ 1318,1456,1602,1762,1930,2090,2252,2420,2590,2758,2910,3076,3218,3350,3496,3618,
+ 3746,3878,4022,4162,4308,4450,4590,4720,4860,5018,5170,5316,5472,5636,5792,5950,
+ 6122,6282,6440,6582,6724,6856,6990,7126,7256,7388,7540,7688,7844,8006,8166,8344,
+ 8502,8682,8848,9018,9190,9356,9540,9702,9876,10034,10192,10374,10546,10716,10874,11050,
+ 11212,11366,11528,11672,11810,11942,12064,12186,12308,12442,12574,12688,12794,12906,13002,13070,
+ 13122,13166,13186,13212,13228,13230,13232,
+};
+const uint8_t logo_runs[13232] = {
+ 196,0,196,0,170,0,2,25,3,41,21,0,162,0,1,40,1,73,1,105,1,121,1,153,1,169,1,185,1,201,1,217,
+ 3,233,1,232,1,105,20,0,146,0,1,27,1,40,1,56,1,73,1,88,1,104,1,121,1,152,2,169,1,152,1,137,
+ 1,57,1,0,1,89,1,200,1,249,10,248,1,249,1,248,1,137,20,0,140,0,1,25,1,24,1,41,1,89,1,152,
+ 1,185,1,217,1,233,10,248,1,233,1,104,1,249,1,248,1,249,1,248,1,249,3,251,1,250,2,249,1,250,2,249,
+ 1,248,1,153,20,0,129,0,1,25,2,56,1,89,1,104,1,121,1,153,1,168,1,185,1,201,1,216,1,217,2,233,
+ 5,248,1,249,1,250,5,251,1,249,1,248,2,249,1,233,2,249,1,248,1,251,2,247,1,246,2,244,3,241,1,246,
+ 1,251,1,248,1,185,1,77,1,76,1,44,17,0,112,0,1,27,1,40,1,57,1,72,1,88,1,105,1,137,1,152,
+ 1,169,1,185,1,200,1,169,1,0,1,72,1,168,1,200,1,217,1,233,11,248,5,249,1,251,1,249,4,247,2,246,
+ 2,247,1,249,1,248,3,249,1,248,1,250,1,247,8,240,1,247,1,251,1,248,1,233,1,189,1,204,1,156,17,0,
+ 102,0,1,26,1,41,1,56,2,73,1,57,1,0,1,89,1,152,1,185,1,217,11,248,1,41,1,169,3,248,2,249,
+ 1,250,7,251,1,250,3,249,1,248,1,249,1,247,1,244,1,241,8,240,1,247,1,251,1,248,1,249,1,248,1,249,
+ 1,247,8,240,1,241,1,248,1,249,1,248,1,233,1,172,1,188,1,156,17,0,89,0,1,25,1,40,1,56,1,57,
+ 1,56,1,24,1,0,1,88,1,121,1,169,1,185,1,201,1,217,1,232,1,233,4,248,1,105,1,233,4,248,1,249,
+ 6,251,2,249,1,248,1,56,1,185,1,248,2,249,1,248,3,247,2,246,3,244,2,241,1,247,1,250,1,248,3,249,
+ 1,241,9,240,1,241,1,250,1,248,1,249,1,248,1,251,1,247,8,240,1,244,1,251,2,248,1,233,1,172,1,188,
+ 1,172,1,29,16,0,80,0,1,25,1,73,1,89,1,121,1,136,1,152,1,185,1,200,1,216,1,233,1,232,2,249,
+ 1,248,1,217,1,137,5,248,6,249,1,248,1,185,1,233,2,249,1,251,1,249,3,247,2,246,1,244,1,246,1,247,
+ 1,249,1,248,1,105,1,217,1,248,1,250,1,247,11,240,1,244,1,251,1,248,1,249,1,248,1,251,1,247,10,240,
+ 1,247,1,251,2,248,1,251,1,244,8,240,1,247,1,250,2,248,1,219,1,173,1,188,1,172,1,28,16,0,69,0,
+ 1,25,1,40,1,57,1,73,3,89,1,72,1,41,2,0,1,217,8,248,2,249,2,248,2,249,1,233,3,249,2,251,
+ 1,248,3,247,3,249,1,233,1,249,1,248,1,249,1,246,1,241,7,240,1,247,1,251,1,248,1,219,1,249,1,248,
+ 1,251,1,246,11,240,1,241,1,248,3,249,1,248,1,251,1,246,9,240,1,244,1,251,1,248,1,249,1,247,8,240,
+ 1,244,1,251,1,248,2,249,1,188,1,173,1,188,1,172,1,45,16,0,58,0,1,24,1,40,1,57,1,72,1,104,
+ 1,121,1,136,1,152,1,185,1,200,1,216,1,233,1,232,6,248,1,249,1,201,1,121,1,217,1,248,1,249,1,250,
+ 3,251,2,249,2,248,2,249,1,248,4,249,1,248,1,246,1,244,1,241,3,240,1,247,1,251,1,248,4,249,1,241,
+ 8,240,1,247,1,250,1,248,1,233,1,249,1,248,1,251,1,244,12,240,1,247,1,251,1,248,3,249,1,248,1,241,
+ 9,240,1,247,1,249,1,251,1,247,8,240,1,247,1,251,2,248,1,235,1,173,1,188,1,172,1,188,1,60,16,0,
+ 47,0,2,25,1,41,1,56,1,73,1,89,1,121,1,137,1,153,1,168,1,217,1,233,1,249,9,248,6,249,2,248,
+ 1,249,2,248,1,249,1,248,1,249,1,247,1,246,2,244,5,241,1,247,1,250,1,248,1,249,1,248,1,251,1,247,
+ 6,240,1,241,1,250,1,248,3,249,1,248,1,241,8,240,1,247,1,249,1,248,4,249,1,241,12,240,1,244,1,251,
+ 1,248,2,249,1,248,1,251,1,247,9,240,1,244,1,250,1,251,1,244,8,240,1,247,2,249,1,248,1,203,1,173,
+ 2,188,1,172,1,44,16,0,36,0,1,25,1,41,1,57,2,73,1,88,1,89,1,57,1,89,1,152,1,185,1,217,
+ 1,233,1,249,9,248,1,249,1,250,6,251,2,249,1,248,4,247,1,249,2,251,2,248,2,249,1,248,1,251,1,244,
+ 8,240,1,244,1,251,1,248,1,249,1,248,1,251,1,247,7,240,1,247,1,249,2,248,1,249,1,247,1,241,8,240,
+ 1,247,1,249,1,248,1,249,1,248,1,249,1,247,1,241,13,240,1,247,1,249,1,248,2,249,1,248,1,251,1,244,
+ 9,240,1,247,1,249,1,241,7,240,1,244,1,251,2,248,1,233,3,172,1,188,1,124,17,0,18,0,1,24,1,40,
+ 1,57,1,72,1,104,1,121,3,137,1,121,1,89,1,57,1,72,1,120,1,153,1,169,1,185,1,217,1,232,1,233,
+ 5,248,1,249,5,248,1,249,1,250,4,251,1,250,4,249,3,247,1,246,3,244,2,241,5,240,1,241,1,244,1,247,
+ 1,250,1,249,1,248,1,249,1,248,1,251,1,246,8,240,1,241,1,250,1,248,1,249,1,248,1,251,1,244,7,240,
+ 1,246,1,251,2,248,1,249,1,247,1,241,7,240,1,241,1,248,3,249,1,248,1,250,1,247,14,240,1,247,1,251,
+ 1,248,2,249,1,248,1,249,1,247,9,240,1,246,1,247,8,240,1,247,1,250,2,248,1,219,1,173,1,188,1,172,
+ 1,188,1,76,17,0,13,0,1,24,1,89,1,153,1,201,1,217,1,232,10,248,1,249,6,248,11,249,1,251,1,249,
+ 7,247,1,249,1,248,1,249,1,247,17,240,1,244,1,247,1,249,2,248,1,250,1,247,9,240,1,247,1,249,2,248,
+ 1,251,1,244,7,240,1,241,1,250,2,248,1,249,1,247,8,240,1,241,1,250,1,248,2,249,1,248,1,251,1,247,
+ 14,240,1,244,1,251,1,248,3,249,1,248,1,251,1,247,8,240,1,241,1,244,5,240,1,241,1,240,1,241,1,249,
+ 1,248,2,249,1,188,1,173,1,172,1,188,1,156,18,0,12,0,1,104,1,216,5,248,1,249,1,250,4,251,1,250,
+ 1,249,2,248,4,249,2,251,1,249,5,247,6,249,1,244,1,241,7,240,1,247,2,249,1,247,18,240,1,241,1,247,
+ 1,249,1,248,1,249,1,248,9,240,1,247,1,250,1,248,2,249,1,241,8,240,1,247,1,249,1,248,1,249,1,247,
+ 8,240,1,244,1,251,1,248,2,249,1,248,1,251,1,246,15,240,1,247,1,249,1,248,3,249,1,248,1,251,1,241,
+ 1,240,1,241,2,240,4,241,1,240,6,241,1,240,1,247,1,251,2,248,1,233,1,173,1,188,1,172,1,188,1,93,
+ 18,0,10,0,1,24,1,169,2,248,1,249,1,248,1,249,1,251,1,249,8,247,1,250,1,251,2,248,1,249,1,247,
+ 1,246,1,244,1,241,5,240,1,247,1,250,1,248,2,249,1,248,9,240,1,247,1,249,1,248,1,249,1,241,18,240,
+ 1,244,1,251,2,248,1,250,1,244,8,240,1,247,1,251,1,248,1,249,1,247,9,240,1,246,1,251,1,248,1,250,
+ 1,247,8,240,1,244,1,251,1,248,2,249,1,248,1,251,1,244,6,240,2,241,5,240,1,241,1,240,1,247,1,251,
+ 1,248,3,249,1,248,1,250,1,247,1,240,15,241,1,247,2,249,1,248,1,203,1,173,1,188,1,172,1,188,1,45,
+ 18,0,10,0,1,169,1,248,1,249,1,248,1,249,1,251,1,247,1,246,1,241,8,240,1,244,1,247,1,249,1,248,
+ 1,251,1,244,8,240,1,247,1,251,1,248,1,249,1,248,1,249,1,241,8,240,1,247,1,250,1,248,1,249,1,241,
+ 19,240,1,247,1,249,1,248,1,251,1,246,8,240,1,244,1,251,1,248,1,250,1,247,9,240,1,241,1,249,1,248,
+ 1,250,1,247,8,240,1,246,1,251,1,248,4,249,1,241,4,240,1,241,1,240,1,247,1,241,1,240,5,241,1,240,
+ 1,241,1,250,1,248,1,249,1,233,2,249,1,248,1,251,1,244,1,240,12,241,1,240,1,244,1,251,2,248,1,233,
+ 1,188,2,172,1,188,1,140,19,0,9,0,1,121,1,248,1,249,1,248,2,249,1,246,13,240,1,247,1,249,1,251,
+ 1,244,8,240,1,246,1,251,1,248,1,249,1,248,1,250,1,241,8,240,1,247,1,251,1,248,1,251,1,244,19,240,
+ 1,247,1,251,1,248,1,251,1,247,8,240,1,241,1,249,1,248,1,251,1,247,10,240,1,247,1,249,1,250,1,247,
+ 6,240,1,241,1,240,1,246,1,251,1,248,1,249,1,248,1,249,1,247,1,241,1,240,4,241,1,240,1,247,1,246,
+ 1,240,7,241,1,247,1,249,1,248,1,233,1,235,1,248,2,249,1,248,14,241,1,247,1,251,2,248,1,219,1,173,
+ 1,188,1,172,1,188,1,77,19,0,8,0,1,24,1,233,3,249,1,248,1,244,14,240,1,247,1,249,1,251,1,246,
+ 8,240,1,244,1,251,1,248,1,249,1,248,1,251,1,244,8,240,1,247,1,251,1,248,1,251,1,244,8,240,2,241,
+ 9,240,1,246,1,251,1,248,1,249,1,247,1,241,7,240,1,241,1,247,1,249,1,251,1,246,8,240,1,241,1,240,
+ 1,246,1,251,1,250,1,247,1,240,6,241,1,240,1,247,1,251,1,248,1,249,1,248,1,250,1,247,7,241,1,249,
+ 1,247,1,240,6,241,1,240,1,247,1,251,1,248,1,249,1,203,2,249,1,248,1,251,1,247,13,241,4,249,1,188,
+ 1,173,1,172,1,188,1,172,1,28,19,0,8,0,1,105,1,248,1,249,1,248,1,251,1,244,15,240,1,247,1,249,
+ 1,251,1,247,8,240,1,244,1,251,1,248,1,249,1,248,1,251,1,244,8,240,1,246,1,251,1,248,1,251,1,244,
+ 7,240,1,246,1,251,1,249,1,247,1,241,7,240,1,244,1,251,2,248,1,251,1,244,8,240,1,247,1,249,1,251,
+ 1,244,1,240,8,241,1,240,1,241,1,249,1,251,1,247,1,240,7,241,1,247,1,251,1,248,1,249,1,248,1,251,
+ 1,247,1,240,6,241,1,249,1,248,9,241,2,249,1,248,1,219,1,203,1,248,1,249,1,248,1,251,1,244,11,241,
+ 1,247,1,251,2,248,1,233,1,173,1,188,1,172,1,188,1,108,20,0,8,0,1,153,2,248,1,251,1,247,15,240,
+ 1,241,1,250,1,248,1,251,1,247,8,240,1,244,1,251,1,248,1,249,1,248,1,251,1,246,8,240,1,244,1,251,
+ 1,248,1,251,1,246,7,240,1,244,1,251,1,248,1,251,1,247,7,240,1,246,1,251,2,248,1,251,1,246,1,240,
+ 6,241,1,240,1,247,1,251,1,249,1,241,1,240,10,241,1,247,1,251,1,247,1,240,7,241,1,247,1,250,1,248,
+ 1,249,1,248,1,251,1,246,1,240,5,241,1,244,1,250,1,251,1,244,8,241,1,247,1,250,1,248,1,249,1,188,
+ 1,233,2,248,1,249,1,247,11,241,1,247,2,249,1,248,1,203,1,173,1,188,1,172,1,188,1,44,20,0,8,0,
+ 1,185,1,248,2,249,1,241,15,240,1,246,1,251,1,248,1,251,1,247,8,240,1,241,1,249,1,248,1,249,1,248,
+ 1,251,1,247,8,240,1,244,1,251,1,248,1,251,1,247,7,240,1,244,1,251,1,248,1,249,1,247,3,240,3,241,
+ 1,240,1,247,1,251,2,248,1,251,1,247,1,240,6,241,1,240,1,244,1,251,1,247,11,241,1,240,1,246,1,251,
+ 1,247,1,240,7,241,1,247,1,249,1,248,1,249,1,248,1,251,1,244,6,241,1,246,1,251,1,250,1,247,8,241,
+ 1,246,1,251,2,248,1,203,1,188,2,249,1,248,1,251,1,247,9,241,1,244,1,251,1,248,2,249,1,188,2,172,
+ 1,188,1,140,21,0,8,0,1,185,1,248,1,251,1,247,16,240,1,247,1,250,1,248,1,250,1,247,8,240,1,241,
+ 3,249,1,248,1,251,1,247,8,240,1,244,1,251,1,248,1,251,1,247,1,240,1,241,1,240,3,241,1,240,1,241,
+ 1,249,1,248,1,251,1,247,1,240,4,241,1,240,1,241,1,248,2,249,1,248,1,249,1,247,9,241,1,251,1,247,
+ 13,241,1,251,1,246,1,240,7,241,1,248,5,249,7,241,1,247,1,251,1,249,1,248,9,241,2,249,1,248,1,233,
+ 1,173,1,219,1,248,3,249,9,241,1,244,1,251,2,248,1,219,1,173,1,188,1,172,1,188,1,77,21,0,8,0,
+ 1,152,1,248,1,251,1,246,9,240,1,246,3,247,1,246,2,241,1,250,2,248,1,249,1,247,8,240,1,241,1,247,
+ 1,249,2,248,1,251,1,247,5,240,2,241,1,240,1,241,1,249,1,248,1,250,1,247,1,240,5,241,1,240,1,241,
+ 1,251,1,249,1,247,6,241,1,240,1,247,1,251,1,248,2,249,1,248,1,250,9,241,1,248,1,247,13,241,1,247,
+ 1,246,8,241,3,249,1,248,1,249,1,247,7,241,1,247,1,251,2,248,1,244,8,241,1,247,1,250,1,248,1,249,
+ 1,188,1,172,1,233,2,248,1,251,1,244,8,241,1,244,1,251,1,248,1,249,1,188,1,173,1,172,1,188,1,172,
+ 1,28,21,0,8,0,1,136,1,248,1,251,1,246,8,240,1,244,1,252,2,249,2,251,1,249,1,247,2,249,1,248,
+ 1,249,1,248,1,241,8,240,1,247,1,249,2,248,1,250,1,247,1,240,6,241,1,240,1,241,1,249,1,248,1,249,
+ 1,247,8,241,1,244,8,241,1,244,1,250,1,248,3,249,1,248,1,251,1,246,8,241,2,247,13,241,1,247,1,246,
+ 8,241,1,250,1,248,1,249,1,248,1,250,1,247,20,241,1,246,1,251,2,248,1,203,1,173,1,171,2,248,1,251,
+ 1,246,9,241,1,249,1,248,1,233,3,172,1,188,1,124,22,0,8,0,1,121,1,248,1,251,1,246,8,240,1,241,
+ 1,247,1,251,1,249,2,248,2,249,1,248,4,249,1,241,1,240,7,241,1,247,1,250,2,248,1,249,1,247,9,241,
+ 1,248,2,249,1,247,17,241,1,248,1,251,2,248,2,249,1,248,1,251,1,247,8,241,1,247,1,246,14,241,1,244,
+ 7,241,1,244,1,251,1,248,1,249,1,248,1,251,1,247,21,241,1,248,1,249,1,248,1,233,1,189,1,141,1,169,
+ 1,248,1,251,1,247,9,241,1,249,1,248,1,233,3,172,1,188,1,44,22,0,8,0,1,104,1,248,1,251,1,247,
+ 1,240,1,241,5,240,1,241,1,240,1,241,1,246,1,247,1,250,1,251,1,249,1,248,3,249,1,248,1,249,1,241,
+ 1,240,6,241,1,240,1,247,1,251,2,248,1,249,1,248,9,241,1,247,2,249,1,248,18,241,1,247,1,251,1,249,
+ 1,248,1,249,1,248,1,249,1,247,8,241,2,244,6,241,1,244,15,241,1,244,1,251,1,248,1,249,1,248,1,251,
+ 1,246,21,241,1,247,1,251,1,248,1,249,1,188,1,157,1,105,1,248,1,251,1,247,9,241,1,248,2,249,1,188,
+ 1,172,1,188,1,140,23,0,8,0,1,72,1,248,1,250,1,247,10,241,1,240,2,241,1,247,1,249,1,251,2,248,
+ 1,249,1,248,1,251,1,244,1,240,6,241,1,240,1,247,1,251,1,248,3,249,9,241,1,247,1,249,1,248,1,249,
+ 19,241,1,244,4,249,1,248,1,249,16,241,1,247,15,241,1,246,1,251,1,248,1,249,1,248,1,251,1,244,21,241,
+ 1,244,1,251,2,248,1,219,1,173,1,155,1,248,1,251,1,247,9,241,1,247,2,249,1,188,1,172,1,188,1,92,
+ 23,0,8,0,1,57,1,248,2,249,1,241,1,240,11,241,1,240,1,241,1,247,1,251,1,249,2,248,1,251,1,244,
+ 1,240,6,241,1,240,1,247,1,251,1,248,1,249,1,248,1,249,9,241,1,247,1,251,1,248,1,251,20,241,1,244,
+ 1,251,1,248,1,249,1,248,1,251,1,246,15,241,1,249,1,244,14,241,1,247,1,251,1,248,3,249,23,241,1,248,
+ 1,249,1,248,1,233,1,173,1,188,1,248,1,249,1,247,9,241,1,247,1,249,1,248,1,188,1,173,1,188,1,45,
+ 23,0,8,0,1,40,1,249,1,248,1,251,1,246,1,240,14,241,1,244,2,249,1,248,1,251,1,246,8,241,1,246,
+ 1,251,1,248,1,249,1,248,1,251,1,244,8,241,1,247,1,251,1,248,1,251,1,244,7,241,1,244,2,247,1,246,
+ 9,241,1,247,1,249,2,248,1,251,1,247,15,241,1,251,1,247,14,241,1,247,1,251,2,248,1,249,1,247,8,241,
+ 1,246,5,247,9,241,1,247,1,251,1,248,1,249,2,188,2,249,1,247,9,241,1,247,1,251,1,248,1,203,1,173,
+ 1,188,1,60,23,0,8,0,1,25,1,217,1,248,1,249,1,248,15,241,1,240,1,244,1,250,1,248,1,251,1,247,
+ 8,241,1,244,1,251,1,248,1,249,1,248,1,251,1,244,8,241,1,247,1,251,1,248,1,251,1,244,7,241,1,247,
+ 1,251,1,249,1,251,1,246,8,241,1,246,1,251,2,248,1,249,1,247,14,241,1,244,1,251,1,247,14,241,1,247,
+ 1,251,2,248,1,251,1,247,7,241,1,247,4,251,1,249,1,251,1,247,8,241,1,244,1,251,2,248,1,219,1,173,
+ 2,249,1,248,9,241,1,247,1,251,1,248,1,203,1,173,1,188,1,77,23,0,9,0,1,169,2,248,1,251,1,247,
+ 16,241,1,247,2,251,1,247,8,241,1,244,1,251,1,248,1,249,1,248,1,251,1,244,8,241,1,246,1,251,1,248,
+ 1,251,1,246,7,241,1,244,1,251,1,248,1,249,1,247,9,241,1,250,1,248,1,249,1,248,1,249,14,241,1,247,
+ 1,251,1,250,1,244,13,241,1,247,1,249,2,248,1,251,1,247,7,241,1,247,1,249,4,248,1,249,1,247,9,241,
+ 1,247,1,249,1,248,1,217,1,173,1,233,1,248,1,249,9,241,1,247,1,251,1,248,1,203,1,173,1,188,1,92,
+ 23,0,9,0,1,88,1,248,1,249,1,248,1,251,1,247,16,241,1,248,1,251,1,247,9,241,1,249,1,248,1,249,
+ 1,248,1,251,1,247,8,241,1,244,1,251,1,248,1,251,1,247,7,241,1,244,1,251,1,248,1,250,1,247,9,241,
+ 3,249,1,248,1,251,1,244,13,241,1,247,1,249,1,251,1,247,13,241,1,247,1,249,2,248,1,251,1,246,7,241,
+ 1,247,1,249,1,248,1,233,1,219,2,248,1,251,1,244,8,241,1,247,1,251,1,248,1,233,1,173,1,233,1,248,
+ 1,249,9,241,1,247,1,249,1,248,1,219,1,173,1,188,1,108,23,0,10,0,1,217,1,248,1,249,1,248,1,251,
+ 1,247,1,246,14,241,1,247,1,251,1,247,9,241,1,249,3,248,1,251,1,247,8,241,1,244,1,251,1,248,1,251,
+ 1,247,7,241,1,244,1,251,1,250,1,251,1,244,9,241,1,247,1,249,2,248,1,251,1,247,13,241,1,247,2,249,
+ 1,248,13,241,1,248,1,249,2,248,1,251,8,241,2,249,1,248,1,203,1,188,2,248,1,251,1,247,9,241,1,251,
+ 1,248,1,233,1,173,1,235,1,248,1,249,1,247,1,246,3,244,3,247,3,249,1,248,1,219,1,173,1,188,1,124,
+ 23,0,9,0,1,57,3,249,2,248,1,249,1,251,2,247,12,241,1,247,1,251,1,247,9,241,1,248,1,251,2,249,
+ 1,251,1,246,8,241,1,244,1,251,1,248,1,251,1,247,8,241,2,247,1,244,10,241,1,248,1,249,2,248,1,249,
+ 1,247,13,241,2,249,1,248,1,251,1,244,12,241,2,249,1,248,2,249,8,241,1,250,2,248,1,203,1,173,1,233,
+ 1,248,1,249,1,248,7,241,1,244,1,247,1,249,1,248,1,233,1,173,1,219,1,248,2,249,6,251,2,249,1,248,
+ 1,249,1,248,1,219,1,173,1,188,1,124,23,0,9,0,1,153,1,248,1,249,1,248,1,250,1,251,1,249,1,248,
+ 1,249,1,251,1,249,1,247,10,241,1,246,1,251,1,247,10,241,4,247,9,241,1,244,1,251,1,248,1,249,1,247,
+ 21,241,1,249,1,248,4,249,13,241,1,251,2,248,1,251,1,247,12,241,1,249,2,248,1,249,1,247,7,241,1,247,
+ 1,251,2,248,1,203,1,173,1,219,1,248,2,249,1,248,4,247,1,248,1,249,2,251,3,249,1,172,1,219,11,248,
+ 1,249,1,233,1,219,1,188,1,172,1,188,1,140,23,0,9,0,1,201,2,248,1,251,1,246,1,247,1,249,1,251,
+ 1,249,2,248,1,251,1,247,9,241,1,246,1,251,1,249,23,241,1,247,1,251,1,248,1,249,1,247,20,241,1,247,
+ 1,251,1,248,2,249,1,248,1,251,1,244,11,241,1,246,1,251,1,248,2,249,1,248,11,241,1,247,1,250,2,248,
+ 1,249,1,247,4,244,3,247,1,249,1,248,2,249,1,188,1,173,1,188,2,249,1,248,1,249,1,250,2,251,2,249,
+ 5,248,1,249,2,188,1,233,2,217,2,233,3,219,3,203,2,188,1,173,2,172,1,188,1,156,23,0,8,0,1,25,
+ 1,233,1,248,1,249,1,247,3,241,2,247,3,251,1,247,9,241,1,247,2,251,1,246,22,241,1,247,1,250,1,248,
+ 1,249,1,248,20,241,1,248,1,249,1,248,2,249,1,248,1,251,1,247,11,241,1,247,1,251,1,248,1,249,1,248,
+ 1,249,1,247,6,241,1,244,2,247,1,248,1,251,1,248,4,249,6,251,1,249,1,248,1,249,1,248,1,249,1,188,
+ 1,172,1,173,1,233,7,248,2,249,2,233,1,219,1,203,2,188,1,173,1,189,1,45,1,77,1,188,7,173,2,172,
+ 3,173,1,189,1,156,1,27,1,24,1,40,1,57,1,73,3,89,1,73,1,57,1,25,12,0,8,0,1,40,1,233,
+ 1,248,1,251,1,247,5,241,3,244,10,241,1,247,1,251,1,249,1,247,22,241,1,249,1,248,3,249,19,241,1,247,
+ 1,249,2,248,1,233,1,235,1,248,1,249,1,247,10,241,1,247,5,249,1,248,1,250,1,249,1,248,1,247,1,248,
+ 2,249,3,251,1,249,1,248,1,249,2,248,1,249,9,248,1,249,1,233,1,203,1,173,1,172,1,189,1,140,1,88,
+ 1,155,1,219,3,203,4,188,4,173,2,172,1,188,2,45,1,188,5,172,1,188,1,172,1,173,1,188,1,203,2,219,
+ 2,233,1,217,1,233,7,248,1,249,1,233,1,184,1,105,10,0,8,0,1,25,1,233,1,248,1,251,1,244,18,241,
+ 1,247,1,249,1,248,1,251,1,246,20,241,1,247,1,250,1,248,1,249,1,248,1,249,17,241,1,244,1,247,1,250,
+ 1,248,1,249,1,248,1,219,1,203,1,248,2,249,2,247,1,244,1,246,4,247,1,248,1,249,1,251,3,249,1,248,
+ 2,249,1,248,4,249,7,248,1,249,1,235,5,233,1,235,2,219,3,203,1,188,1,172,1,173,1,188,1,172,1,188,
+ 1,108,1,0,1,30,13,173,1,172,1,204,1,76,1,28,6,188,1,173,1,188,1,219,1,249,6,248,7,249,5,248,
+ 1,105,9,0,9,0,1,217,1,248,1,250,19,241,1,251,2,248,2,249,19,241,1,247,1,251,1,248,2,249,1,248,
+ 1,251,1,244,14,241,1,244,1,247,2,249,1,248,1,249,1,248,1,233,2,188,3,249,7,251,2,249,4,248,1,249,
+ 1,235,2,249,4,248,1,249,2,233,1,235,2,219,1,203,2,188,2,173,3,188,1,172,7,173,2,172,2,173,1,189,
+ 1,77,2,0,1,125,1,189,2,172,3,188,5,203,2,188,1,173,1,61,1,0,1,76,2,108,1,124,1,108,1,77,
+ 1,187,1,249,1,248,1,249,1,248,1,249,3,250,1,249,5,247,1,248,1,249,2,250,2,249,1,248,1,136,9,0,
+ 9,0,1,200,1,248,1,249,18,241,1,247,1,251,1,248,1,249,1,248,1,249,1,248,1,244,16,241,1,247,1,251,
+ 1,248,2,249,2,248,1,251,1,247,6,241,2,244,5,247,1,249,2,251,3,249,1,248,1,233,1,188,1,173,1,188,
+ 1,249,11,248,1,249,2,233,1,219,1,188,1,173,2,188,1,203,1,187,3,188,2,172,6,173,2,172,7,173,1,172,
+ 3,188,1,172,3,188,1,203,2,121,1,136,1,185,1,235,2,233,2,249,6,248,2,249,1,201,1,121,1,25,5,0,
+ 1,136,1,248,2,249,1,248,1,250,1,249,1,247,2,246,1,245,5,243,2,245,1,246,1,247,2,249,1,248,1,185,
+ 1,45,8,0,9,0,1,185,1,248,1,251,1,244,16,241,1,244,1,251,1,248,3,249,1,248,1,249,1,251,1,247,
+ 13,241,1,244,1,247,1,251,1,248,3,249,1,233,1,248,2,249,2,247,1,248,2,249,7,251,2,249,4,248,1,249,
+ 1,219,1,188,1,173,1,188,1,173,1,203,1,217,1,201,2,233,3,219,2,203,4,188,3,173,1,188,1,172,11,173,
+ 2,172,4,188,2,203,3,219,3,233,1,249,2,233,2,249,9,248,7,249,5,248,1,232,1,105,3,0,1,137,1,248,
+ 3,249,1,250,1,247,1,246,1,243,2,242,8,243,2,242,1,246,1,250,1,248,1,235,1,173,1,156,1,61,6,0,
+ 9,0,1,152,1,248,1,251,1,247,15,241,1,244,5,249,1,248,1,249,2,248,1,251,1,248,1,247,1,244,7,241,
+ 1,244,2,247,1,251,1,249,1,248,1,249,2,248,2,203,1,248,1,249,1,248,4,249,9,248,1,249,2,233,1,219,
+ 1,203,1,188,1,173,1,172,1,188,2,172,1,189,1,141,1,29,1,172,15,173,2,172,3,188,3,203,3,219,3,233,
+ 1,249,10,248,1,249,3,248,1,249,8,250,1,249,1,248,4,247,1,248,1,249,2,250,1,249,1,248,1,249,2,248,
+ 1,121,1,0,1,72,1,248,4,249,1,246,15,243,1,245,1,249,1,248,1,233,1,172,1,188,1,156,6,0,9,0,
+ 1,137,2,248,1,251,1,247,13,241,1,247,2,249,1,248,1,249,1,248,1,203,1,219,1,248,2,249,1,248,1,249,
+ 2,251,1,248,5,247,1,248,2,251,1,249,4,248,1,233,1,203,1,173,1,188,1,249,4,248,1,249,3,233,3,219,
+ 2,203,4,188,3,173,1,172,1,188,3,172,1,188,1,173,1,30,1,0,1,125,1,189,3,173,1,172,4,188,3,203,
+ 2,219,3,233,3,249,8,248,2,249,9,250,6,249,3,247,4,246,2,245,6,243,1,245,1,246,1,247,1,248,1,250,
+ 1,248,2,249,1,248,1,89,1,185,1,248,1,249,1,248,1,250,1,246,1,242,14,243,1,242,1,246,1,250,1,248,
+ 1,233,1,172,1,188,1,156,6,0,9,0,1,121,1,248,1,249,1,248,1,251,1,248,1,247,8,241,1,244,1,247,
+ 1,248,1,251,3,249,1,248,1,219,2,173,1,219,1,249,5,248,2,249,2,251,3,249,5,248,1,233,1,219,1,188,
+ 1,173,1,188,1,173,1,188,2,203,4,188,1,172,8,173,2,172,3,188,3,172,2,188,1,172,1,91,1,72,1,88,
+ 1,155,3,219,3,233,1,249,10,248,4,249,6,250,1,249,1,248,4,247,6,246,1,247,2,249,1,248,1,250,1,246,
+ 7,242,11,243,1,245,1,247,1,250,1,248,5,249,1,248,1,250,1,246,1,242,8,243,8,242,1,246,1,250,1,248,
+ 1,249,2,188,1,172,1,29,5,0,9,0,1,41,1,249,1,248,1,249,1,248,1,249,1,251,1,249,1,248,5,247,
+ 1,249,2,251,1,249,1,248,1,249,2,248,1,219,1,173,1,172,1,188,1,173,1,188,1,219,1,233,1,249,8,248,
+ 1,249,2,233,1,235,1,219,1,203,1,188,1,173,1,172,4,188,1,189,1,109,12,173,3,172,4,173,2,188,1,141,
+ 1,171,1,232,9,248,3,249,8,250,4,249,2,247,5,246,1,245,4,243,5,242,1,243,1,242,1,246,1,250,1,248,
+ 2,249,1,245,19,243,1,242,1,246,1,250,1,248,3,249,1,248,1,250,1,247,18,242,1,246,1,250,1,248,1,249,
+ 1,188,2,172,1,44,5,0,10,0,1,89,1,232,1,248,1,249,2,248,7,249,6,248,1,233,1,203,1,173,3,172,
+ 1,188,2,173,2,188,6,203,3,188,2,172,10,173,1,61,1,0,1,173,4,188,3,203,3,219,5,233,2,219,1,171,
+ 1,92,1,45,1,0,1,120,1,248,2,249,6,250,1,249,1,248,5,247,4,246,1,245,1,247,1,250,1,248,1,250,
+ 1,246,5,242,13,243,1,246,1,250,1,248,2,249,1,245,16,243,5,242,1,246,1,250,1,248,2,249,1,248,1,250,
+ 1,246,18,242,1,247,1,250,1,248,1,249,1,188,1,172,1,188,1,44,5,0,11,0,1,41,1,153,2,249,7,248,
+ 1,249,3,233,1,219,1,203,1,188,2,173,3,188,1,172,1,204,1,92,1,44,1,172,1,188,11,173,5,188,3,203,
+ 1,219,1,185,1,152,1,185,2,233,2,249,15,248,1,200,1,104,1,0,1,105,1,248,2,249,1,247,5,246,1,245,
+ 4,243,5,242,1,243,1,242,1,246,1,250,1,248,1,250,1,246,18,243,1,246,1,250,2,248,1,250,1,246,1,242,
+ 3,243,18,242,1,247,1,249,1,248,2,249,1,247,18,242,1,246,1,250,1,249,1,248,1,233,1,173,1,172,1,188,
+ 1,61,5,0,13,0,2,188,5,203,4,188,1,172,4,173,2,188,1,172,2,173,1,189,1,125,3,0,1,109,3,173,
+ 1,172,1,188,2,203,2,219,3,233,3,249,10,248,2,249,11,250,1,249,2,248,1,249,2,248,1,153,1,88,1,248,
+ 1,250,1,247,6,242,12,243,1,246,1,250,1,248,1,250,1,246,17,243,1,242,1,245,2,249,1,248,1,250,1,246,
+ 22,242,1,246,1,250,2,248,1,250,1,247,11,242,1,246,1,247,3,246,2,242,1,246,1,250,2,248,1,219,1,173,
+ 1,172,1,188,1,76,5,0,13,0,1,109,1,189,11,173,1,172,3,173,1,172,3,188,1,171,1,88,1,121,1,136,
+ 2,152,1,201,1,219,1,203,1,233,1,249,6,248,10,249,2,250,2,249,1,248,4,247,7,246,2,247,2,250,1,248,
+ 2,249,1,248,1,217,1,248,1,250,1,247,18,243,1,245,1,249,1,248,1,250,1,246,1,242,4,243,13,242,1,245,
+ 1,248,1,249,1,248,1,250,1,246,23,242,2,249,1,248,1,250,1,247,10,242,1,247,5,250,1,248,2,247,2,249,
+ 1,248,1,203,1,173,1,172,1,188,1,77,5,0,13,0,1,25,1,124,2,188,3,203,4,219,1,203,2,188,1,203,
+ 1,219,2,233,2,249,11,248,3,249,4,250,1,249,2,248,1,247,1,248,1,250,2,249,1,248,1,249,1,247,2,246,
+ 1,245,4,243,8,242,2,243,1,246,1,247,1,250,1,249,1,248,1,249,2,248,1,250,1,247,17,243,1,242,1,245,
+ 2,248,1,250,1,247,19,242,1,248,1,249,1,248,1,250,1,246,23,242,1,247,1,249,1,248,1,250,1,247,10,242,
+ 1,249,1,250,4,248,1,249,1,250,4,249,1,188,2,172,1,188,1,60,5,0,9,0,1,56,1,121,1,169,1,200,
+ 1,217,1,232,1,249,9,248,2,249,5,248,1,249,7,250,6,249,1,248,1,247,3,246,1,245,4,243,1,246,1,250,
+ 1,248,1,249,1,247,1,243,1,242,18,243,1,246,2,249,1,248,3,249,1,247,6,243,13,242,1,247,1,249,1,250,
+ 1,247,19,242,2,249,1,248,1,250,1,247,9,242,3,246,11,242,1,247,1,250,1,248,1,250,1,247,10,242,1,246,
+ 1,247,2,250,1,249,3,248,2,249,1,248,1,219,1,173,2,188,1,172,1,28,5,0,7,0,1,73,1,185,5,248,
+ 2,249,6,250,2,249,1,248,5,249,1,250,1,249,4,247,3,246,1,247,6,249,1,246,4,242,4,243,1,242,1,246,
+ 1,250,1,248,1,249,1,247,20,243,1,242,1,246,5,249,1,248,1,243,18,242,1,247,2,249,1,247,16,242,2,246,
+ 1,247,1,250,2,248,1,250,1,247,9,242,1,249,2,250,1,248,1,246,9,242,1,247,1,250,1,248,1,249,1,247,
+ 12,242,1,246,2,247,1,250,1,249,1,248,2,249,1,248,1,233,1,188,1,173,1,188,1,140,6,0,6,0,1,136,
+ 2,248,1,249,1,248,1,249,2,250,1,248,8,247,1,249,1,250,4,249,1,247,1,246,1,245,3,243,4,242,1,243,
+ 1,247,1,250,1,248,3,249,1,245,9,243,1,246,1,250,1,248,1,249,1,247,11,243,11,242,1,246,1,250,1,248,
+ 3,249,19,242,1,247,2,249,1,247,9,242,1,246,4,247,1,248,2,249,2,250,2,249,1,248,1,250,1,247,9,242,
+ 1,247,1,249,1,248,1,250,1,247,9,242,1,247,1,250,1,248,2,249,1,245,1,242,12,243,1,245,1,246,1,247,
+ 1,250,1,249,1,248,1,249,1,248,1,249,1,188,1,189,1,108,6,0,5,0,1,169,1,248,2,249,1,248,1,250,
+ 1,248,1,247,1,246,1,245,3,243,1,242,4,243,1,245,1,246,1,247,1,249,1,248,1,250,1,247,1,242,9,243,
+ 1,247,1,250,1,248,1,249,1,248,1,250,1,246,9,243,1,245,4,249,1,245,22,242,1,247,1,249,2,248,1,250,
+ 1,246,15,242,3,246,3,249,1,248,9,242,1,246,3,250,4,249,5,248,1,250,1,247,9,242,1,247,1,250,1,248,
+ 1,249,1,247,5,242,4,243,1,247,1,250,2,248,1,250,1,246,16,243,1,246,1,248,1,250,1,248,1,249,1,248,
+ 1,233,1,188,1,45,6,0,4,0,1,153,1,248,1,249,1,248,1,249,1,250,1,247,1,245,2,242,10,243,1,242,
+ 1,246,1,249,1,248,1,250,1,247,10,243,1,247,1,250,1,248,1,249,1,248,1,250,1,246,1,242,1,243,7,242,
+ 1,245,1,248,1,249,1,248,1,249,1,246,22,242,1,246,1,250,2,248,1,250,1,246,9,242,5,247,2,249,2,250,
+ 4,249,9,242,1,246,1,250,5,248,2,249,1,248,1,233,1,219,2,249,1,247,7,242,1,243,1,242,1,247,1,250,
+ 1,248,1,249,1,247,9,243,1,247,2,249,1,248,1,250,1,247,17,243,1,245,1,247,1,250,1,248,1,249,1,248,
+ 1,187,7,0,3,0,1,73,1,248,1,249,1,248,2,249,1,246,1,242,14,243,1,245,1,248,2,249,1,247,7,243,
+ 1,242,1,243,1,242,1,246,1,250,1,248,1,249,1,248,1,250,1,246,10,242,1,247,1,249,1,248,1,250,1,246,
+ 22,242,1,246,1,250,2,248,1,250,1,246,9,242,3,250,4,249,5,248,1,250,1,246,8,242,1,246,1,249,1,248,
+ 6,249,1,248,1,235,1,173,1,233,1,249,1,248,1,245,8,243,1,247,1,250,1,247,1,250,1,247,8,243,1,246,
+ 1,250,1,248,2,249,1,248,1,250,1,246,1,243,1,245,13,243,1,245,1,243,1,245,1,247,1,250,2,248,1,233,
+ 1,125,1,29,5,0,3,0,1,185,1,248,2,249,1,250,1,246,15,243,1,242,1,245,3,249,1,247,10,242,1,246,
+ 1,250,1,248,1,249,1,248,1,250,1,246,10,242,1,247,1,250,1,248,1,250,1,246,23,242,1,248,1,249,1,248,
+ 1,250,1,246,9,242,1,247,1,249,1,248,5,249,1,248,2,233,1,248,1,250,1,246,8,242,1,246,2,250,2,249,
+ 2,247,1,248,1,249,1,248,1,233,1,172,1,233,1,248,1,249,1,245,8,243,1,246,2,250,1,247,1,245,8,243,
+ 1,246,1,250,1,248,4,249,1,247,1,245,1,243,1,245,13,243,1,245,1,243,1,245,1,247,1,249,1,248,1,249,
+ 1,204,1,125,5,0,2,0,1,41,2,249,1,248,1,250,1,246,1,242,6,243,10,242,1,246,1,250,1,248,2,249,
+ 10,242,1,246,1,250,1,248,1,249,1,248,1,250,1,247,10,242,1,247,1,250,1,248,1,250,1,246,8,242,1,246,
+ 3,247,1,246,10,242,1,247,1,249,1,248,1,250,1,246,9,242,1,247,1,249,5,248,1,249,1,248,2,219,1,248,
+ 1,250,1,246,8,243,1,245,2,246,3,245,1,243,1,246,1,250,1,248,1,249,1,172,1,233,1,248,1,250,1,246,
+ 8,243,1,246,1,247,1,246,1,245,8,243,1,245,1,247,5,249,1,248,1,250,1,247,1,245,2,243,1,245,4,243,
+ 2,245,1,243,6,245,1,243,1,246,1,250,1,248,1,249,1,188,1,189,1,76,4,0,2,0,1,89,2,248,1,250,
+ 1,247,18,242,1,246,1,250,1,248,2,249,1,246,9,242,1,246,1,250,1,248,1,249,1,248,1,250,1,247,10,242,
+ 1,247,1,250,1,248,1,250,1,246,8,242,1,246,1,250,2,249,1,250,1,246,9,242,1,247,1,249,1,248,1,250,
+ 1,247,7,242,1,243,1,242,1,247,6,250,1,249,1,248,1,233,1,219,1,248,1,250,1,246,15,243,1,245,1,247,
+ 2,249,1,188,1,219,1,248,1,250,1,246,20,243,1,247,1,250,2,248,1,233,1,219,1,248,1,249,1,248,1,250,
+ 1,248,1,246,3,243,14,245,1,247,1,249,1,248,1,203,1,189,1,156,4,0,2,0,1,120,2,248,1,250,1,246,
+ 18,242,1,247,1,250,2,248,1,250,1,246,9,242,1,246,3,249,1,248,1,250,1,247,10,242,1,247,1,250,1,248,
+ 1,250,1,247,9,242,1,248,1,249,1,248,1,250,1,247,8,242,1,243,1,247,1,249,1,248,1,250,1,247,9,243,
+ 1,246,2,247,3,246,1,247,1,250,1,248,1,233,1,203,1,248,1,250,1,246,16,243,1,247,1,250,1,248,1,188,
+ 1,219,1,248,1,250,1,246,1,243,1,245,7,243,3,245,3,243,3,245,1,243,1,246,1,250,1,248,1,249,1,248,
+ 1,219,1,188,1,248,2,249,1,248,1,249,1,250,1,247,1,246,1,245,2,243,11,245,1,243,1,247,1,250,1,248,
+ 1,203,1,173,1,188,1,45,3,0,2,0,1,121,1,248,1,249,1,248,18,242,1,244,3,249,1,248,1,250,1,246,
+ 10,242,3,249,1,248,1,249,1,247,10,242,1,246,1,250,1,248,1,250,1,247,8,242,1,243,1,247,1,249,1,248,
+ 1,250,1,247,1,242,7,243,1,245,1,248,1,249,1,248,1,250,1,247,15,243,1,245,1,249,1,248,1,233,1,203,
+ 1,248,1,250,1,247,16,243,1,247,1,250,1,248,1,188,1,219,1,248,1,250,1,246,1,243,1,245,2,243,1,245,
+ 2,243,10,245,1,243,1,245,5,249,1,188,1,233,1,248,2,249,3,248,2,250,1,247,2,246,1,243,10,245,1,243,
+ 1,246,1,250,1,248,1,203,1,173,1,188,1,77,3,0,2,0,1,105,1,248,1,250,1,247,10,242,1,244,4,247,
+ 2,246,1,242,1,246,1,250,1,248,1,249,1,248,1,250,1,246,10,242,1,248,4,249,1,247,10,242,1,246,1,250,
+ 1,248,1,250,1,247,1,242,8,243,1,247,1,249,1,248,1,250,1,247,8,243,1,246,1,250,1,248,2,249,1,247,
+ 13,243,1,245,1,243,1,245,1,247,2,249,1,203,1,248,1,250,1,247,14,243,1,245,1,243,1,247,1,250,1,248,
+ 2,203,1,248,1,250,1,246,1,243,17,245,1,243,1,246,1,250,1,248,2,249,1,233,4,249,2,250,3,248,1,249,
+ 1,250,1,249,1,247,10,245,1,243,1,246,1,250,1,248,1,219,1,173,1,188,1,108,3,0,2,0,1,88,1,248,
+ 1,250,1,247,10,242,1,247,1,250,1,249,4,250,1,247,1,248,3,249,1,248,1,250,1,246,10,242,1,247,5,249,
+ 1,245,4,242,5,243,1,246,1,250,1,248,1,249,1,247,9,243,1,247,1,250,1,249,1,250,1,246,8,243,1,246,
+ 1,250,1,248,2,249,1,247,1,245,15,243,1,247,1,250,1,249,1,203,1,249,1,250,1,247,5,243,1,245,2,243,
+ 5,245,3,243,1,247,1,250,1,248,2,203,1,248,1,250,1,247,1,243,19,245,1,247,1,250,1,248,1,249,1,248,
+ 2,249,1,250,1,247,1,246,1,247,2,250,1,249,3,248,1,250,1,247,10,245,1,246,1,250,1,248,1,219,1,173,
+ 1,188,1,124,3,0,2,0,1,72,1,248,1,250,1,247,10,242,1,247,1,250,1,249,4,248,5,249,1,248,1,250,
+ 1,247,10,242,1,247,1,250,1,248,3,249,1,245,9,243,1,246,1,250,1,248,1,249,1,247,1,245,8,243,1,247,
+ 1,250,1,247,1,246,8,243,1,245,1,247,5,249,1,245,13,243,1,245,1,243,1,247,1,250,1,248,1,203,2,249,
+ 1,247,9,245,3,243,3,245,1,246,1,248,1,249,1,248,1,203,1,188,1,248,1,250,1,247,1,243,20,245,1,247,
+ 1,249,1,248,2,249,1,248,1,250,1,246,1,243,1,245,1,246,1,247,1,249,4,250,1,247,10,245,1,246,1,250,
+ 1,248,1,235,1,173,1,188,1,140,3,0,2,0,1,57,1,248,1,250,1,247,11,242,1,247,1,248,2,250,1,249,
+ 2,248,4,249,1,248,1,250,1,247,1,242,9,243,1,247,1,250,1,248,1,249,1,248,1,250,1,246,9,243,1,246,
+ 1,249,1,248,1,249,1,248,1,245,8,243,2,246,8,243,1,245,1,243,1,246,1,250,1,248,4,249,1,245,1,243,
+ 1,245,2,243,2,245,1,243,7,245,1,243,1,247,1,250,1,248,1,203,1,233,1,249,1,247,1,245,1,243,6,245,
+ 1,243,1,246,4,247,1,248,3,249,1,248,1,203,1,172,1,248,1,250,1,247,9,245,2,247,10,245,1,246,1,250,
+ 1,248,1,249,1,248,1,249,1,247,5,245,2,246,2,247,1,246,11,245,1,247,1,250,1,248,1,233,1,173,1,188,
+ 1,156,3,0,2,0,1,40,1,248,1,249,1,247,12,242,1,245,1,246,1,247,1,249,1,250,1,249,1,248,3,249,
+ 1,248,1,250,1,247,10,243,1,247,1,250,1,248,1,249,1,248,1,250,1,246,9,243,1,245,4,249,1,245,11,243,
+ 1,245,5,243,1,245,1,243,1,246,4,249,1,248,1,249,1,250,1,246,1,243,13,245,1,243,1,247,1,250,1,248,
+ 1,219,1,233,1,248,1,249,1,245,1,243,6,245,1,243,1,246,1,250,7,249,1,248,1,235,1,219,2,249,1,247,
+ 9,245,1,247,1,250,1,246,10,245,1,246,1,250,2,248,1,250,1,247,21,245,1,247,1,250,1,248,1,233,1,173,
+ 1,188,1,156,3,0,2,0,1,24,1,233,1,248,1,250,1,246,1,242,13,243,1,246,1,247,1,249,1,250,1,248,
+ 2,249,1,248,1,250,1,247,10,243,1,246,1,250,1,248,1,249,1,248,1,250,1,246,9,243,1,245,1,248,1,249,
+ 1,248,1,250,1,246,1,243,1,245,6,243,3,245,1,243,5,245,1,243,1,246,3,249,1,248,2,233,1,248,1,250,
+ 1,246,1,243,8,245,1,243,5,245,1,247,1,249,1,248,1,219,1,233,1,248,1,249,1,246,8,245,1,246,1,250,
+ 1,248,1,249,2,248,1,249,5,248,2,249,1,248,9,245,1,247,1,250,1,247,11,245,1,247,1,250,1,248,1,250,
+ 1,246,21,245,2,249,1,248,1,235,1,173,1,188,1,172,1,28,2,0,3,0,1,217,1,248,1,250,1,246,16,243,
+ 1,246,1,247,1,250,1,248,3,249,1,247,1,245,9,243,1,246,1,250,1,248,1,249,1,248,1,250,1,246,1,243,
+ 1,245,7,243,1,245,1,247,1,249,1,248,1,250,1,246,1,243,16,245,1,243,1,245,1,248,2,249,1,248,1,233,
+ 1,219,1,248,1,250,1,246,1,243,8,245,4,247,1,248,3,249,1,248,2,219,1,248,1,250,1,246,8,245,1,246,
+ 1,249,1,248,4,249,3,250,5,249,9,245,1,247,2,250,1,246,10,245,1,246,1,249,1,248,1,250,1,246,20,245,
+ 1,246,1,250,2,248,1,219,1,173,1,188,1,172,1,29,2,0,3,0,1,185,1,248,1,249,1,247,1,245,17,243,
+ 1,246,1,250,1,248,2,249,1,248,1,245,7,243,1,245,1,243,1,246,1,250,1,248,1,249,1,248,1,250,1,247,
+ 1,243,2,245,1,243,5,245,1,243,1,247,1,250,1,248,1,250,1,246,1,243,17,245,1,243,1,246,1,250,1,248,
+ 3,249,1,248,1,250,1,246,1,243,8,245,1,248,1,250,3,249,4,248,2,219,1,248,1,250,1,246,9,245,2,250,
+ 1,249,1,248,6,247,4,249,1,246,8,245,1,246,1,250,1,249,1,247,11,245,1,246,2,250,1,246,20,245,1,248,
+ 2,249,1,248,1,203,1,173,1,188,1,172,1,44,2,0,3,0,1,137,2,248,1,250,1,246,1,243,1,245,13,243,
+ 1,245,2,243,1,246,1,250,1,248,2,249,1,245,1,243,1,245,4,243,2,245,1,243,1,246,1,250,1,248,1,249,
+ 1,248,1,250,1,247,1,243,8,245,1,243,1,247,1,250,1,248,1,250,1,246,1,243,8,245,1,243,9,245,1,243,
+ 1,246,1,250,1,248,2,249,1,248,1,250,1,247,1,243,8,245,1,247,1,249,1,248,2,249,2,233,1,219,1,217,
+ 1,188,1,219,1,248,1,250,1,246,9,245,2,246,6,245,1,243,1,246,1,250,2,248,1,250,1,246,8,245,1,246,
+ 1,250,1,248,1,250,1,246,11,245,1,247,1,250,1,246,19,245,1,247,1,250,1,248,2,249,1,188,1,172,1,188,
+ 1,172,1,28,2,0,3,0,1,73,1,248,1,249,1,248,1,250,1,246,1,243,1,245,13,243,2,245,1,243,1,247,
+ 1,250,1,248,1,249,1,246,1,243,7,245,1,243,1,246,1,250,1,248,1,249,1,248,1,250,1,247,1,243,8,245,
+ 1,243,1,247,1,250,1,248,1,250,1,247,1,243,8,245,2,246,10,245,1,247,1,250,1,248,1,249,1,248,1,250,
+ 1,247,9,245,1,247,1,250,1,248,1,203,2,172,4,173,1,219,1,248,1,250,1,246,19,245,1,248,1,249,1,248,
+ 1,250,1,246,8,245,1,246,1,250,1,248,1,249,1,248,11,245,1,247,1,250,1,247,18,245,1,246,1,250,1,248,
+ 1,249,1,248,1,219,1,173,1,172,1,188,1,172,1,28,2,0,4,0,1,201,1,248,2,249,1,248,1,246,2,243,
+ 2,245,1,243,2,245,1,243,8,245,1,243,1,246,1,249,1,248,1,250,1,246,1,243,7,245,1,243,1,245,3,249,
+ 1,248,1,250,1,247,9,245,1,243,1,247,1,250,1,248,1,250,1,247,1,243,8,245,1,250,1,247,11,245,3,249,
+ 1,248,1,250,1,247,9,245,1,247,1,250,1,248,1,203,1,173,1,188,3,172,1,173,1,203,1,248,1,250,1,247,
+ 19,245,1,247,1,250,1,248,1,250,1,246,8,245,1,246,1,250,1,249,1,248,1,250,1,246,9,245,1,246,1,250,
+ 1,248,1,250,1,247,16,245,1,247,1,250,1,248,3,249,1,188,1,173,1,172,1,188,1,156,3,0,4,0,1,73,
+ 1,248,3,249,1,250,1,247,1,245,2,243,14,245,1,247,1,249,1,250,1,246,1,243,9,245,1,248,4,249,1,247,
+ 9,245,1,243,1,246,1,250,1,248,1,250,1,247,9,245,1,247,1,250,1,246,10,245,1,246,1,250,1,248,2,249,
+ 1,247,9,245,1,247,1,250,1,248,1,203,1,173,1,172,3,188,1,189,1,203,1,248,1,250,1,247,19,245,1,247,
+ 1,250,1,248,1,250,1,246,8,245,1,246,5,249,8,245,1,246,1,250,2,249,1,248,1,250,1,247,1,246,11,245,
+ 2,246,1,248,1,250,1,248,2,249,1,248,1,203,1,173,1,188,1,172,1,188,1,124,3,0,4,0,1,73,1,232,
+ 2,249,2,248,1,250,1,248,2,246,2,243,11,245,1,243,1,246,2,250,1,246,1,243,9,245,1,247,1,249,2,248,
+ 1,249,1,248,9,245,1,243,1,246,1,250,1,248,1,250,1,247,9,245,1,247,1,250,1,247,11,245,1,247,1,250,
+ 1,248,1,249,1,247,9,245,1,246,1,250,1,248,1,219,1,173,1,188,1,156,2,124,1,109,1,123,1,248,1,250,
+ 1,247,19,245,1,247,1,250,1,248,1,250,1,247,9,245,3,249,1,248,1,250,1,247,6,245,1,247,1,250,1,248,
+ 3,249,1,248,1,249,1,250,1,248,1,247,7,246,2,247,1,249,1,250,1,249,1,248,1,249,2,248,1,203,1,173,
+ 1,188,2,172,1,188,1,61,3,0,4,0,1,217,1,248,3,249,2,248,1,249,1,250,1,249,1,247,1,246,1,245,
+ 1,243,9,245,1,243,1,246,2,250,1,246,1,243,9,245,1,247,4,250,1,247,10,245,1,246,1,250,1,248,1,249,
+ 1,247,9,245,1,247,1,249,1,250,1,246,11,245,1,247,2,249,1,248,9,245,1,246,1,250,1,248,1,219,1,173,
+ 1,188,1,108,3,0,1,40,1,248,1,249,1,247,19,245,1,247,1,250,1,248,1,250,1,247,9,245,1,247,5,249,
+ 1,246,3,245,1,246,1,247,1,250,1,248,2,249,2,248,2,249,1,248,1,249,9,250,2,249,4,248,1,233,1,188,
+ 1,173,1,188,2,172,1,188,1,140,4,0,3,0,1,57,5,249,1,250,1,249,2,248,1,249,2,250,1,248,1,246,
+ 9,245,1,243,1,246,2,250,1,247,11,245,1,246,2,247,1,246,11,245,1,246,1,250,1,248,1,249,1,248,9,245,
+ 1,247,1,250,1,249,1,248,11,245,1,246,3,249,9,245,1,246,1,250,1,248,1,219,1,173,1,188,1,124,3,0,
+ 1,40,1,232,1,249,1,247,19,245,1,247,1,250,1,248,1,250,1,247,7,245,2,246,6,249,1,250,3,247,1,250,
+ 1,249,1,248,1,249,1,248,1,249,1,203,1,219,1,249,13,248,2,249,1,233,1,219,1,203,2,173,1,188,3,172,
+ 1,188,1,60,4,0,3,0,1,121,1,248,1,249,1,250,1,247,1,245,1,247,1,248,1,250,1,249,3,248,1,250,
+ 1,247,10,245,1,246,1,250,1,249,1,247,26,245,1,247,1,250,1,248,2,249,9,245,1,247,1,250,1,248,1,250,
+ 1,246,11,245,1,247,1,250,1,249,1,246,8,245,1,246,1,250,1,248,1,233,1,173,1,188,1,140,3,0,1,25,
+ 1,217,1,249,1,248,18,245,1,246,1,248,4,249,6,247,1,248,2,250,3,249,1,248,2,249,1,248,1,249,1,250,
+ 1,249,4,248,1,233,1,187,2,173,1,188,1,203,1,219,6,233,2,219,3,203,2,188,1,172,2,173,1,172,1,188,
+ 3,172,1,188,1,92,5,0,3,0,1,169,1,248,1,249,1,250,1,246,1,243,2,245,1,246,1,247,1,249,3,250,
+ 1,247,10,245,1,246,1,250,1,248,1,250,1,246,25,245,5,249,1,246,8,245,1,246,1,250,1,248,2,249,10,245,
+ 1,246,1,249,1,248,1,250,1,246,8,245,1,246,1,249,1,248,1,233,1,172,1,188,1,156,4,0,1,200,1,248,
+ 1,250,1,246,5,245,5,246,5,247,1,248,1,249,1,250,5,249,4,250,3,249,5,248,1,233,1,249,4,248,2,249,
+ 2,233,1,203,1,188,1,173,2,188,4,173,3,172,9,173,6,172,2,188,1,92,6,0,3,0,1,169,1,248,1,249,
+ 1,247,6,245,4,246,11,245,1,246,1,250,1,248,1,250,1,247,24,245,1,246,1,250,1,248,1,249,1,248,1,250,
+ 1,246,8,245,1,246,1,250,2,248,1,250,1,247,8,245,1,246,1,248,1,249,1,248,1,250,1,246,9,245,2,249,
+ 1,233,1,172,1,188,1,172,4,0,1,185,1,248,1,249,1,248,4,247,1,248,1,249,8,250,2,249,11,248,2,249,
+ 3,233,2,219,1,203,1,173,1,188,3,203,4,188,2,173,1,172,1,188,2,172,5,188,11,172,6,188,1,141,1,44,
+ 7,0,3,0,1,185,1,248,1,250,1,247,21,245,1,247,1,250,1,248,2,249,1,246,22,245,1,246,4,249,1,248,
+ 1,250,1,246,8,245,1,246,1,250,1,248,3,249,7,245,1,246,3,249,1,248,1,250,1,246,7,245,1,246,1,247,
+ 3,249,1,188,2,172,1,28,3,0,1,169,1,248,2,249,2,250,3,249,9,248,2,249,2,233,1,235,5,219,3,203,
+ 3,188,1,172,4,173,1,172,6,173,7,172,2,188,1,92,1,45,1,124,1,172,11,188,1,172,1,156,1,157,1,125,
+ 1,92,1,44,9,0,3,0,1,153,1,248,1,250,1,246,21,245,1,248,4,249,1,247,22,245,1,247,4,249,1,248,
+ 1,250,1,246,8,245,1,246,1,250,2,249,1,248,1,250,1,247,5,245,1,247,1,250,5,249,2,247,3,246,3,247,
+ 1,249,1,250,3,249,1,188,1,173,1,188,1,44,3,0,1,136,6,248,1,249,3,233,3,219,3,203,3,188,1,172,
+ 11,173,9,172,12,188,1,156,1,61,3,0,1,29,1,60,1,92,4,108,1,92,1,76,1,60,2,44,1,29,14,0,
+ 3,0,1,137,1,248,1,250,1,246,20,245,1,246,1,250,1,248,2,249,1,248,1,250,1,247,20,245,1,247,1,250,
+ 1,248,3,249,1,248,1,250,1,246,8,245,1,246,1,249,1,248,3,249,1,250,1,247,2,246,2,247,1,250,3,249,
+ 1,248,3,249,6,250,2,249,4,248,1,188,1,173,1,188,1,45,3,0,1,24,2,121,1,155,1,203,4,188,1,172,
+ 9,173,12,172,11,188,1,108,1,125,1,188,2,172,1,156,2,140,1,125,1,108,1,61,32,0,3,0,1,121,1,248,
+ 1,250,1,246,20,245,1,247,5,249,1,248,1,250,1,247,1,246,16,245,1,246,1,247,1,250,1,248,1,249,1,248,
+ 1,233,1,203,1,248,1,249,1,247,6,246,2,247,7,249,4,250,1,249,1,248,1,249,1,248,1,249,1,233,9,248,
+ 2,249,2,233,1,219,1,203,2,172,1,188,1,61,6,0,1,77,1,189,2,173,11,172,13,188,3,172,1,157,1,140,
+ 1,124,2,108,1,76,1,60,1,29,2,0,1,45,1,29,1,28,38,0,3,0,1,105,1,248,1,250,1,247,19,245,
+ 1,247,1,250,1,248,3,249,1,248,1,249,1,248,1,249,1,250,1,247,1,246,12,245,1,246,1,247,1,250,1,249,
+ 1,248,1,249,1,248,1,249,1,188,1,203,1,248,2,249,8,250,2,249,2,248,1,249,9,248,1,233,1,203,1,172,
+ 1,219,3,233,2,219,3,203,3,188,3,173,2,172,1,188,1,77,6,0,1,76,1,188,2,172,11,188,2,172,2,156,
+ 1,140,1,124,1,108,1,92,1,76,1,60,1,45,1,61,1,44,1,45,1,28,1,29,51,0,3,0,1,73,1,248,
+ 1,249,1,250,1,246,17,245,1,247,1,250,1,248,1,249,1,248,1,219,1,188,1,249,1,248,3,249,1,250,1,249,
+ 1,247,3,246,3,245,3,246,2,247,2,250,3,249,1,248,1,233,1,188,1,173,1,188,1,248,1,249,10,248,1,249,
+ 1,233,1,219,1,203,4,233,3,219,1,203,1,188,1,172,1,173,1,172,11,173,6,172,1,188,1,93,6,0,1,45,
+ 1,172,2,188,2,172,1,156,1,140,1,124,1,125,1,108,1,93,1,76,1,60,1,44,1,45,1,29,65,0,3,0,
+ 1,57,1,248,2,249,1,248,1,246,14,245,1,246,1,247,1,250,1,248,3,249,1,188,1,173,1,188,1,233,2,248,
+ 1,249,1,248,1,249,3,250,2,249,1,248,2,249,3,250,1,249,4,248,1,249,1,219,1,188,1,173,1,172,1,188,
+ 1,233,1,249,4,233,1,235,2,219,3,203,2,188,3,173,1,188,7,173,1,172,1,188,2,172,3,188,6,172,8,188,
+ 1,92,7,0,1,28,1,61,1,44,1,28,1,29,76,0,3,0,1,41,1,233,3,249,1,250,1,247,1,246,10,245,
+ 1,246,1,247,1,249,1,250,1,248,2,249,1,248,1,203,1,173,1,188,2,173,1,219,1,233,6,248,3,249,7,248,
+ 1,249,1,233,1,219,1,188,1,173,1,172,1,188,2,172,1,188,1,172,1,59,1,172,1,188,8,173,5,172,1,188,
+ 8,172,3,188,1,108,1,156,1,204,5,188,2,172,1,156,2,140,1,108,1,77,1,44,89,0,4,0,1,153,1,248,
+ 2,249,1,248,2,250,4,247,1,246,4,247,1,248,2,250,3,249,1,248,1,249,1,203,1,173,1,188,1,172,1,188,
+ 1,172,1,125,1,188,1,203,1,219,1,233,6,249,3,233,3,219,1,203,1,188,1,172,2,173,1,188,3,172,1,188,
+ 1,172,1,45,1,0,1,156,1,188,8,172,5,188,1,156,7,188,2,172,1,140,1,61,1,0,1,44,3,92,1,76,
+ 1,60,1,45,1,29,1,28,95,0,4,0,1,25,1,185,2,248,4,249,7,250,2,249,4,248,1,249,1,217,1,188,
+ 1,173,1,188,2,172,1,188,1,156,1,0,1,92,1,189,1,173,1,172,6,188,2,172,6,173,1,172,1,188,3,172,
+ 2,188,1,156,1,45,2,0,1,156,1,204,8,188,2,172,1,156,1,140,1,93,1,29,1,76,1,124,1,108,1,93,
+ 1,76,2,61,1,44,1,28,107,0,6,0,1,105,1,233,1,249,11,248,2,249,2,233,1,203,1,188,2,173,1,188,
+ 3,172,1,188,1,61,2,0,1,76,1,172,2,188,4,173,10,172,4,188,1,172,1,92,4,0,1,77,3,124,2,108,
+ 1,92,1,77,1,60,1,45,1,29,1,28,120,0,7,0,1,125,1,204,1,203,2,219,1,235,3,219,3,203,3,188,
+ 1,172,3,173,2,188,2,172,2,188,1,77,4,0,1,28,1,108,1,156,14,188,1,172,1,156,1,124,1,76,1,29,
+ 137,0,7,0,1,44,1,173,1,189,11,173,7,172,2,188,1,172,1,76,8,0,1,60,1,109,1,124,4,156,1,140,
+ 1,124,1,108,1,92,2,77,1,60,1,44,141,0,8,0,1,60,1,156,3,188,8,172,7,188,1,172,1,108,1,29,
+ 165,0,9,0,1,28,1,92,1,156,9,188,1,172,2,156,1,140,1,124,1,93,1,60,1,28,167,0,12,0,1,44,
+ 1,60,4,76,1,60,2,44,1,29,174,0,196,0,196,0,
+};
diff --git a/games/subway/src/assets.h b/games/subway/src/assets.h
new file mode 100644
index 00000000..e80bc840
--- /dev/null
+++ b/games/subway/src/assets.h
@@ -0,0 +1,28 @@
+/* Subway Surfers: the fonts and the logo (assets.c, made by tools/assets.py). */
+#ifndef SS_ASSETS_H
+#define SS_ASSETS_H
+#include <stdint.h>
+
+typedef struct {
+ uint8_t w, h;
+ int8_t x, y; /* the top-left pixel from the pen (y from the baseline) */
+ uint8_t advance;
+ uint16_t offset; /* into data: 4-bit coverage, two pixels a byte, row by row */
+} Glyph;
+
+typedef struct {
+ uint8_t first, count, ascent, descent;
+ const Glyph *glyphs;
+ const uint8_t *data;
+ const Glyph *outline[2]; /* the letters grown by 1 and 2 pixels (and 1 lower): their outline */
+ const uint8_t *outline_data[2];
+} Font;
+
+extern const Font font_big, font_mid, font_small;
+
+/* the logo: each row is runs of (count, byte), the byte's high 4 bits its alpha, the low ones its colour */
+extern const uint16_t logo_w, logo_h;
+extern const uint16_t logo_pal[16];
+extern const uint16_t logo_rows[];
+extern const uint8_t logo_runs[];
+#endif
diff --git a/games/subway/src/draw.c b/games/subway/src/draw.c
new file mode 100644
index 00000000..e4d91942
--- /dev/null
+++ b/games/subway/src/draw.c
@@ -0,0 +1,228 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os")
+#endif
+/* Flat drawing over a band (draw.h). */
+#include "draw.h"
+
+static int imax(int a, int b) { return a > b ? a : b; }
+static int imin(int a, int b) { return a < b ? a : b; }
+static uint16_t *row(int y) { return r_col + (y - r_y0) * SCREEN_W; }
+
+void d_fill(int x, int y, int w, int h, uint16_t c) {
+ int x0 = imax(x, 0), x1 = imin(x + w, SCREEN_W), y0 = imax(y, r_y0), y1 = imin(y + h, r_y1);
+ for (int j = y0; j < y1; j++) {
+ uint16_t *p = row(j);
+ for (int i = x0; i < x1; i++) p[i] = c;
+ }
+}
+
+void d_fill_a(int x, int y, int w, int h, uint16_t c, int a) {
+ if (a >= 255) {
+ d_fill(x, y, w, h, c);
+ return;
+ }
+ int x0 = imax(x, 0), x1 = imin(x + w, SCREEN_W), y0 = imax(y, r_y0), y1 = imin(y + h, r_y1), t = a >> 3;
+ for (int j = y0; j < y1; j++) {
+ uint16_t *p = row(j);
+ for (int i = x0; i < x1; i++) p[i] = r_mix565(p[i], c, t);
+ }
+}
+
+void d_vgrad(int x, int y, int w, int h, uint32_t top, uint32_t bottom) {
+ int y0 = imax(y, r_y0), y1 = imin(y + h, r_y1);
+ for (int j = y0; j < y1; j++) d_fill(x, j, w, 1, r_565(r_mix888(top, bottom, h > 1 ? (j - y) * 256 / (h - 1) : 0)));
+}
+
+/* coverage of a pixel by a round box, in 1/32: from the distance to the nearest rounded corner */
+static int rr_cover(int i, int j, int x, int y, int w, int h, int r) {
+ float px = (float)i + 0.5f, py = (float)j + 0.5f, cx = px, cy = py;
+ if (px < x + r) cx = (float)(x + r);
+ else if (px > x + w - r) cx = (float)(x + w - r);
+ if (py < y + r) cy = (float)(y + r);
+ else if (py > y + h - r) cy = (float)(y + h - r);
+ float dx = px - cx, dy = py - cy, d2 = dx * dx + dy * dy;
+ if (d2 <= (r - 1) * (r - 1)) return 32;
+ if (d2 >= (r + 1) * (r + 1)) return 0;
+ float e = (float)r - __builtin_sqrtf(d2) + 0.5f;
+ return e >= 1 ? 32 : e <= 0 ? 0 : (int)(e * 32);
+}
+
+void d_rrect(int x, int y, int w, int h, int r, uint16_t c, int a) {
+ if (r * 2 > w) r = w / 2;
+ if (r * 2 > h) r = h / 2;
+ int y0 = imax(y, r_y0), y1 = imin(y + h, r_y1);
+ for (int j = y0; j < y1; j++) {
+ uint16_t *p = row(j);
+ bool edge = j < y + r || j >= y + h - r;
+ int x0 = imax(x, 0), x1 = imin(x + w, SCREEN_W);
+ for (int i = x0; i < x1; i++) {
+ int k = 32;
+ if (edge && (i < x + r || i >= x + w - r)) k = rr_cover(i, j, x, y, w, h, r);
+ if (!k) continue;
+ k = k * a >> 8;
+ p[i] = k >= 32 ? c : r_mix565(p[i], c, k);
+ }
+ }
+}
+
+void d_panel(int x, int y, int w, int h, int r, int t, uint32_t border, uint32_t top, uint32_t bottom) {
+ d_rrect(x, y, w, h, r, r_565(border), 255);
+ int iy = imax(y + t, r_y0), iy1 = imin(y + h - t, r_y1), ih = h - 2 * t;
+ for (int j = iy; j < iy1; j++) {
+ uint16_t c = r_565(r_mix888(top, bottom, ih > 1 ? (j - y - t) * 256 / (ih - 1) : 0));
+ uint16_t *p = row(j);
+ int ri = imax(r - t, 1);
+ bool edge = j < y + t + ri || j >= y + h - t - ri;
+ for (int i = imax(x + t, 0), i1 = imin(x + w - t, SCREEN_W); i < i1; i++) {
+ int k = 32;
+ if (edge && (i < x + t + ri || i >= x + w - t - ri)) k = rr_cover(i, j, x + t, y + t, w - 2 * t, h - 2 * t, ri);
+ if (k) p[i] = k >= 32 ? c : r_mix565(p[i], c, k);
+ }
+ }
+}
+
+void d_disc(float cx, float cy, float r, uint16_t c, int a) {
+ int y0 = imax((int)(cy - r - 1), r_y0), y1 = imin((int)(cy + r + 2), r_y1);
+ for (int j = y0; j < y1; j++) {
+ float dy = (float)j + 0.5f - cy;
+ if (dy * dy >= (r + 1) * (r + 1)) continue;
+ uint16_t *p = row(j);
+ int x0 = imax((int)(cx - r - 1), 0), x1 = imin((int)(cx + r + 2), SCREEN_W);
+ for (int i = x0; i < x1; i++) {
+ float dx = (float)i + 0.5f - cx, d2 = dx * dx + dy * dy;
+ if (d2 >= (r + 0.5f) * (r + 0.5f)) continue;
+ float e = r + 0.5f - __builtin_sqrtf(d2);
+ int k = e >= 1 ? 32 : (int)(e * 32);
+ k = k * a >> 8;
+ p[i] = k >= 32 ? c : r_mix565(p[i], c, k);
+ }
+ }
+}
+
+void d_ring(float cx, float cy, float r, float t, uint16_t c, int a) {
+ int y0 = imax((int)(cy - r - 1), r_y0), y1 = imin((int)(cy + r + 2), r_y1);
+ for (int j = y0; j < y1; j++) {
+ float dy = (float)j + 0.5f - cy;
+ uint16_t *p = row(j);
+ for (int i = imax((int)(cx - r - 1), 0), i1 = imin((int)(cx + r + 2), SCREEN_W); i < i1; i++) {
+ float dx = (float)i + 0.5f - cx, d = __builtin_sqrtf(dx * dx + dy * dy);
+ float e = t / 2 + 0.5f - (d > r - t / 2 ? d - (r - t / 2) : (r - t / 2) - d);
+ if (e <= 0) continue;
+ int k = e >= 1 ? 32 : (int)(e * 32);
+ k = k * a >> 8;
+ p[i] = k >= 32 ? c : r_mix565(p[i], c, k);
+ }
+ }
+}
+
+void d_poly(const float *xy, int n, uint16_t c, int a) {
+ float ymin = 1e9f, ymax = -1e9f;
+ for (int i = 0; i < n; i++) {
+ if (xy[2 * i + 1] < ymin) ymin = xy[2 * i + 1];
+ if (xy[2 * i + 1] > ymax) ymax = xy[2 * i + 1];
+ }
+ int y0 = imax((int)(ymin + 0.5f), r_y0), y1 = imin((int)(ymax + 0.5f), r_y1), t = a >> 3;
+ for (int j = y0; j < y1; j++) {
+ float yc = (float)j + 0.5f, xl = 1e9f, xr = -1e9f;
+ for (int i = 0, k = n - 1; i < n; k = i++) {
+ float ya = xy[2 * k + 1], yb = xy[2 * i + 1];
+ if ((ya <= yc) == (yb <= yc)) continue;
+ float x = xy[2 * k] + (yc - ya) * (xy[2 * i] - xy[2 * k]) / (yb - ya);
+ if (x < xl) xl = x;
+ if (x > xr) xr = x;
+ }
+ if (xl > xr) continue;
+ int x0 = imax((int)(xl + 0.5f), 0), x1 = imin((int)(xr + 0.5f), SCREEN_W);
+ uint16_t *p = row(j);
+ for (int i = x0; i < x1; i++) p[i] = t >= 31 ? c : r_mix565(p[i], c, t);
+ }
+}
+
+void d_line(float x0, float y0, float x1, float y1, float t, uint16_t c, int a) {
+ float dx = x1 - x0, dy = y1 - y0, l = __builtin_sqrtf(dx * dx + dy * dy);
+ if (l < 0.01f) return;
+ float nx = -dy / l * t / 2, ny = dx / l * t / 2;
+ float q[8] = {x0 + nx, y0 + ny, x1 + nx, y1 + ny, x1 - nx, y1 - ny, x0 - nx, y0 - ny};
+ d_poly(q, 4, c, a);
+}
+
+void d_dim(int a) { d_fill_a(0, r_y0, SCREEN_W, BAND_H, 0, a); }
+
+/* ---------------------------------------------------------------- text */
+static const Glyph *glyph_of(const Font *f, char ch) {
+ unsigned c = (unsigned char)ch;
+ if (c < f->first || c >= (unsigned)f->first + f->count) c = '?';
+ return &f->glyphs[c - f->first];
+}
+
+static void glyph(const uint8_t *data, const Glyph *g, int x, int baseline, uint16_t c, int a) {
+ int top = baseline + g->y, left = x + g->x;
+ if (top >= r_y1 || top + g->h <= r_y0) return;
+ const uint8_t *d = data + g->offset;
+ for (int j = 0; j < g->h; j++) {
+ int y = top + j;
+ if (y < r_y0 || y >= r_y1) continue;
+ uint16_t *p = row(y);
+ for (int i = 0; i < g->w; i++) {
+ int k = j * g->w + i, v = d[k >> 1] >> ((k & 1) * 4) & 15, xx = left + i;
+ if (!v || xx < 0 || xx >= SCREEN_W) continue;
+ int t = (v * 2 + (v >> 3)) * a >> 8; /* 0..15 to 0..32 */
+ p[xx] = t >= 32 ? c : r_mix565(p[xx], c, t);
+ }
+ }
+}
+
+int d_text(const Font *f, int x, int baseline, const char *s, uint16_t c, int a) {
+ for (; *s; s++) {
+ const Glyph *g = glyph_of(f, *s);
+ if (g->w) glyph(f->data, g, x, baseline, c, a);
+ x += g->advance;
+ }
+ return x;
+}
+
+/* the text's outline (and shadow): the letters grown by t pixels, from the font's tables */
+static void outline(const Font *f, int t, int x, int baseline, const char *s, uint16_t c) {
+ const Glyph *table = f->outline[t - 1];
+ for (; *s; s++) {
+ unsigned ch = (unsigned char)*s;
+ if (ch < f->first || ch >= (unsigned)f->first + f->count) ch = '?';
+ const Glyph *g = &table[ch - f->first];
+ if (g->w) glyph(f->outline_data[t - 1], g, x, baseline, c, 255);
+ x += glyph_of(f, *s)->advance;
+ }
+}
+
+int d_text_width(const Font *f, const char *s) {
+ int w = 0;
+ for (; *s; s++) w += glyph_of(f, *s)->advance;
+ return w;
+}
+
+void d_label(const Font *f, int x, int baseline, const char *s, uint16_t fill, uint16_t line, int t, int align) {
+ int w = d_text_width(f, s);
+ if (align == 0) x -= w / 2;
+ else if (align > 0) x -= w;
+ if (baseline - f->ascent - t >= r_y1 || baseline + f->descent + t + 2 < r_y0) return;
+ if (t > 0) outline(f, t > 2 ? 2 : t, x, baseline, s, line);
+ d_text(f, x, baseline, s, fill, 255);
+}
+
+void d_logo(int x, int y) {
+ int y0 = imax(y, r_y0), y1 = imin(y + logo_h, r_y1);
+ for (int j = y0; j < y1; j++) {
+ const uint8_t *r = logo_runs + logo_rows[j - y], *e = logo_runs + logo_rows[j - y + 1];
+ uint16_t *p = row(j);
+ int i = x;
+ for (; r < e; r += 2) {
+ int n = r[0], v = r[1], a = v >> 4;
+ if (a) {
+ uint16_t c = logo_pal[v & 15];
+ int t = a * 2 + (a >> 3);
+ for (int k = 0; k < n; k++)
+ if ((unsigned)(i + k) < SCREEN_W) p[i + k] = t >= 32 ? c : r_mix565(p[i + k], c, t);
+ }
+ i += n;
+ }
+ }
+}
diff --git a/games/subway/src/draw.h b/games/subway/src/draw.h
new file mode 100644
index 00000000..a0528fe4
--- /dev/null
+++ b/games/subway/src/draw.h
@@ -0,0 +1,30 @@
+/* Subway Surfers: flat drawing over the band being drawn (r3d.h): boxes, round boxes, discs,
+ * polygons, text with an outline, the logo. Everything clips itself to the band's rows. */
+#ifndef SS_DRAW_H
+#define SS_DRAW_H
+#include <stdint.h>
+#include "assets.h"
+#include "r3d.h"
+
+#define C(rgb) r_565(rgb)
+void d_fill(int x, int y, int w, int h, uint16_t c);
+void d_fill_a(int x, int y, int w, int h, uint16_t c, int a256);
+void d_vgrad(int x, int y, int w, int h, uint32_t top, uint32_t bottom);
+void d_rrect(int x, int y, int w, int h, int r, uint16_t c, int a256);
+/* a round box with a border t pixels wide, filled with a gradient */
+void d_panel(int x, int y, int w, int h, int r, int t, uint32_t border, uint32_t top, uint32_t bottom);
+void d_disc(float cx, float cy, float r, uint16_t c, int a256);
+void d_ring(float cx, float cy, float r, float t, uint16_t c, int a256);
+/* a convex polygon, its corners as x, y pairs (in any order around it) */
+void d_poly(const float *xy, int n, uint16_t c, int a256);
+void d_line(float x0, float y0, float x1, float y1, float t, uint16_t c, int a256);
+void d_dim(int a256); /* darkens the whole band */
+
+/* text: its pen starts at x, on the baseline; returns the x after it */
+int d_text(const Font *f, int x, int baseline, const char *s, uint16_t c, int a256);
+int d_text_width(const Font *f, const char *s);
+/* white-ish text with a dark outline t pixels thick, the game's lettering; align -1 left, 0 centre,
+ * 1 right of x */
+void d_label(const Font *f, int x, int baseline, const char *s, uint16_t fill, uint16_t outline, int t, int align);
+void d_logo(int x, int y);
+#endif
diff --git a/games/subway/src/game.c b/games/subway/src/game.c
new file mode 100644
index 00000000..2ce5f70f
--- /dev/null
+++ b/games/subway/src/game.c
@@ -0,0 +1,495 @@
+/* The run (game.h): the runner's moves, what it runs into, coins and power-ups, the score, and the
+ * missions and prices kept between runs. */
+#include <string.h>
+#include "game.h"
+#include "plat.h"
+#include "save.h"
+
+#define GRAVITY 40.0f
+#define JUMP_V 11.7f /* 1.7 m up */
+#define SUPER_V 19.0f /* 4.5 m up: onto the trains */
+#define ROLL_T 0.6f
+#define STAND_H 1.75f
+#define ROLL_H 0.85f
+#define FLY_Y 8.0f
+#define PW 0.32f /* the runner's half width */
+
+Runner pl;
+Run run;
+Progress pg;
+
+const char *const char_names[NCHARS] = {"Jake", "Tricky", "Fresh", "Spike"};
+const uint32_t char_price[NCHARS] = {0, 6000, 12000, 20000};
+const char *const board_names[NBOARDS] = {"Hoverboard", "Bouncer", "Daredevil"};
+const char *const board_power[NBOARDS] = {"The classic", "Super jump", "Speed up"};
+const uint32_t board_price[NBOARDS] = {0, 7500, 15000};
+
+float power_time(int pw) {
+ static const uint8_t t[2][6] = {{9, 12, 15, 18, 21, 25}, {10, 14, 18, 22, 26, 30}};
+ int l = pg.upg[pw] > 5 ? 5 : pg.upg[pw];
+ return (float)t[pw != PW_JETPACK][l];
+}
+
+int upgrade_cost(int level) {
+ static const uint16_t c[5] = {500, 1000, 3000, 10000, 60000};
+ return level < 5 ? (int)c[level] : 0;
+}
+
+int multiplier(void) {
+ int m = 1 + pg.mset;
+ if (m > 30) m = 30;
+ return m + (run.boosted ? 5 : 0);
+}
+
+static void toast(const char *s) {
+ int i = 0;
+ for (; s[i] && i < (int)sizeof run.toast - 1; i++) run.toast[i] = s[i];
+ run.toast[i] = 0;
+ run.toast_t = 2.2f;
+}
+
+/* ---------------------------------------------------------------- missions */
+enum {
+ M_COINS, M_COINS_RUN, M_JUMPS, M_JUMPS_RUN, M_ROLLS, M_ROLLS_RUN, M_SCORE_RUN, M_POWERUPS, M_POWERUPS_RUN,
+ M_BOARDS, M_STUMBLES, M_LANES_RUN, M_DIST_RUN, M_ROOF_RUN, M_JETPACKS, M_MAGNETS, M_MYSTERY, M_RUNS, M_KINDS
+};
+static const char *const mission_fmt[M_KINDS] = {
+ "Collect # coins", "Collect # coins in one run", "Jump # times", "Jump # times in one run", "Roll # times",
+ "Roll # times in one run", "Score # points in one run", "Pick up # power-ups", "Pick up # power-ups in one run",
+ "Use # hoverboards", "Stumble # times", "Change lanes # times in one run", "Run # m in one run",
+ "Run # m on top of trains in one run", "Pick up # jetpacks", "Pick up # coin magnets", "Open # mystery boxes",
+ "Play # games",
+};
+/* what each mission counts: a total kept between runs, or -1 for the run's own */
+static const int8_t mission_count[M_KINDS] = {
+ CNT_COINS, -1, CNT_JUMPS, -1, CNT_ROLLS, -1, -1, CNT_POWERUPS, -1, CNT_BOARDS, CNT_STUMBLES, -1, -1, -1,
+ CNT_JETPACKS, CNT_MAGNETS, CNT_MYSTERY, CNT_RUNS,
+};
+static const uint32_t first_sets[8][3][2] = {
+ {{M_COINS, 100}, {M_JUMPS, 10}, {M_ROLLS, 10}},
+ {{M_SCORE_RUN, 5000}, {M_POWERUPS_RUN, 2}, {M_LANES_RUN, 30}},
+ {{M_COINS_RUN, 150}, {M_BOARDS, 1}, {M_STUMBLES, 3}},
+ {{M_DIST_RUN, 1000}, {M_JUMPS_RUN, 25}, {M_MAGNETS, 3}},
+ {{M_SCORE_RUN, 15000}, {M_ROLLS_RUN, 15}, {M_ROOF_RUN, 150}},
+ {{M_COINS_RUN, 400}, {M_JETPACKS, 3}, {M_MYSTERY, 1}},
+ {{M_RUNS, 10}, {M_POWERUPS, 10}, {M_LANES_RUN, 80}},
+ {{M_SCORE_RUN, 30000}, {M_COINS, 2500}, {M_ROOF_RUN, 400}},
+};
+
+void mission_get(int set, int i, Mission *m) {
+ if (set < 8) {
+ m->kind = (uint8_t)first_sets[set][i][0], m->target = first_sets[set][i][1];
+ return;
+ }
+ /* later sets: three different kinds in turn, each harder than the last time */
+ static const uint8_t cycle[12] = {M_SCORE_RUN, M_COINS_RUN, M_JUMPS_RUN, M_ROLLS_RUN, M_DIST_RUN, M_POWERUPS_RUN,
+ M_ROOF_RUN, M_COINS, M_LANES_RUN, M_BOARDS, M_MAGNETS, M_JETPACKS};
+ uint32_t s = (uint32_t)(set - 8);
+ int k = cycle[(s * 3 + (uint32_t)i) % 12];
+ uint32_t n = s / 4;
+ uint32_t t;
+ switch (k) {
+ case M_SCORE_RUN: t = 40000 + 15000 * n; break;
+ case M_COINS_RUN: t = 450 + 80 * n; break;
+ case M_JUMPS_RUN: t = 30 + 6 * n; break;
+ case M_ROLLS_RUN: t = 20 + 5 * n; break;
+ case M_DIST_RUN: t = 1500 + 300 * n; break;
+ case M_POWERUPS_RUN: t = 3 + n / 2; break;
+ case M_ROOF_RUN: t = 400 + 100 * n; break;
+ case M_COINS: t = 3000 + 1000 * n; break;
+ case M_LANES_RUN: t = 100 + 20 * n; break;
+ case M_BOARDS: t = 2 + n; break;
+ case M_MAGNETS: t = 3 + n; break;
+ default: t = 3 + n; break;
+ }
+ m->kind = (uint8_t)k, m->target = t;
+}
+
+void mission_text(const Mission *m, char *out, int n) {
+ char num[12];
+ int k = 0;
+ uint32_t v = m->target;
+ do num[k++] = (char)('0' + v % 10), v /= 10;
+ while (v);
+ int o = 0;
+ for (const char *s = mission_fmt[m->kind]; *s && o < n - 1; s++) {
+ if (*s != '#') {
+ out[o++] = *s;
+ continue;
+ }
+ for (int i = k - 1; i >= 0 && o < n - 1; i--) {
+ out[o++] = num[i];
+ /* thousands with a comma */
+ if (i && i % 3 == 0 && o < n - 1) out[o++] = ',';
+ }
+ }
+ out[o] = 0;
+}
+
+/* the run's own count of what a mission counts (not yet in the totals) */
+static uint32_t run_count(int cnt) {
+ switch (cnt) {
+ case CNT_COINS: return run.coins;
+ case CNT_JUMPS: return (uint32_t)run.jumps;
+ case CNT_ROLLS: return (uint32_t)run.rolls;
+ case CNT_POWERUPS: return (uint32_t)run.powerups;
+ case CNT_BOARDS: return (uint32_t)run.boards_used;
+ case CNT_STUMBLES: return (uint32_t)run.stumbles;
+ case CNT_JETPACKS: return (uint32_t)run.jetpacks;
+ case CNT_MAGNETS: return (uint32_t)run.magnets;
+ case CNT_MYSTERY: return (uint32_t)run.mystery;
+ default: return 0;
+ }
+}
+
+static bool in_run; /* the run's counts are not in the totals yet */
+
+uint32_t mission_progress(int i) {
+ Mission m;
+ mission_get(pg.mset, i, &m);
+ int cnt = mission_count[m.kind];
+ if (cnt >= 0) {
+ uint32_t now = pg.total[cnt] + (in_run ? run_count(cnt) : 0);
+ return now > pg.mbase[i] ? now - pg.mbase[i] : 0;
+ }
+ if (!in_run) return 0;
+ switch (m.kind) {
+ case M_COINS_RUN: return run.coins;
+ case M_JUMPS_RUN: return (uint32_t)run.jumps;
+ case M_ROLLS_RUN: return (uint32_t)run.rolls;
+ case M_SCORE_RUN: return run.score;
+ case M_POWERUPS_RUN: return (uint32_t)run.powerups;
+ case M_LANES_RUN: return (uint32_t)run.lanes;
+ case M_DIST_RUN: return (uint32_t)run.dist;
+ case M_ROOF_RUN: return (uint32_t)run.roof;
+ default: return 0;
+ }
+}
+
+static void new_set(void) {
+ for (int i = 0; i < 3; i++) {
+ Mission m;
+ mission_get(pg.mset, i, &m);
+ int cnt = mission_count[m.kind];
+ pg.mbase[i] = cnt >= 0 ? pg.total[cnt] + (in_run ? run_count(cnt) : 0) : 0;
+ }
+}
+
+void missions_check(void) {
+ for (int i = 0; i < 3; i++) {
+ if (pg.mdone & 1 << i) continue;
+ Mission m;
+ mission_get(pg.mset, i, &m);
+ if (mission_progress(i) >= m.target) {
+ pg.mdone |= (uint8_t)(1 << i);
+ toast("Mission complete!");
+ }
+ }
+ if (pg.mdone == 7) {
+ if (pg.mset < 250) pg.mset++;
+ pg.mdone = 0;
+ new_set();
+ char s[24] = "Multiplier x";
+ int m = 1 + pg.mset > 30 ? 30 : 1 + pg.mset, k = 12;
+ if (m >= 10) s[k++] = (char)('0' + m / 10);
+ s[k++] = (char)('0' + m % 10);
+ s[k] = 0;
+ toast(s);
+ }
+}
+
+/* ---------------------------------------------------------------- the run */
+void run_start(void) {
+ memset(&run, 0, sizeof run);
+ memset(&pl, 0, sizeof pl);
+ pl.lane = pl.from_lane = 1;
+ pl.speed = 13;
+ pl.chase = 3.2f; /* the Inspector and his dog, right behind from the start */
+ in_run = true;
+ run.multiplier = multiplier();
+}
+
+int run_save_cost(void) { return 1 << (run.saves > 6 ? 6 : run.saves); }
+
+void run_revive(void) {
+ int cost = run_save_cost();
+ if (pg.keys < (uint32_t)cost) return;
+ pg.keys -= (uint32_t)cost;
+ run.saves++;
+ pl.dead = false;
+ pl.state = ST_RUN;
+ pl.crash_t = 0;
+ pl.safe = 2.5f;
+ pl.chase = 0;
+ pl.stumble = 0;
+ pl.roll = 0;
+ pl.x = LANE_X(pl.lane);
+ world_clear(pl.z - 6, pl.z + 40);
+ pl.y = world_ground(pl.x, pl.z, 100);
+ pl.vy = 0;
+ save_write();
+}
+
+bool run_over(void) { return pl.dead && pl.crash_t > 1.2f; }
+
+void run_bank(void) {
+ if (!in_run) return;
+ pg.coins += run.coins;
+ pg.keys += run.keys;
+ if (run.score > pg.best) pg.best = run.score;
+ pg.runs++;
+ for (int c = 0; c < CNT_COUNT; c++)
+ if (c != CNT_RUNS && c != CNT_DIST) pg.total[c] += run_count(c);
+ pg.total[CNT_RUNS]++;
+ pg.total[CNT_DIST] += (uint32_t)run.dist;
+ missions_check();
+ in_run = false;
+ /* (missions done in this run are kept, the next run's count from here) */
+ save_write();
+}
+
+static void crash(void) {
+ if (pl.hover > 0) {
+ /* the board breaks instead */
+ pl.hover = 0;
+ pl.safe = 1.6f;
+ toast("Hoverboard lost!");
+ return;
+ }
+ pl.dead = true;
+ pl.state = ST_CRASH;
+ pl.crash_t = 0;
+ pl.chase = 1;
+}
+
+static void stumble(void) {
+ run.stumbles++;
+ pl.stumble = 0.45f;
+ if (pl.chase > 0 && pl.hover <= 0) {
+ /* stumbling twice: the Inspector catches up */
+ pl.dead = true;
+ pl.state = ST_CRASH;
+ pl.crash_t = 0;
+ return;
+ }
+ pl.chase = 4.0f;
+}
+
+static void collect(Item *it) {
+ switch (it->kind) {
+ case I_COIN:
+ run.coins++;
+ break;
+ case I_KEY:
+ run.keys++;
+ toast("+1 key");
+ break;
+ case I_MYSTERY: {
+ run.mystery++;
+ run.powerups++;
+ uint32_t r = plat_random() % 100;
+ if (r < 50) {
+ uint32_t c = 100 + plat_random() % 5 * 100;
+ run.coins += c;
+ toast(c >= 400 ? "Mystery Box: lots of coins!" : "Mystery Box: coins!");
+ } else if (r < 65) run.keys++, toast("Mystery Box: a key!");
+ else if (r < 80) pg.boards++, toast("Mystery Box: a hoverboard!");
+ else if (r < 90) pg.headstarts++, toast("Mystery Box: a headstart!");
+ else if (r < 98) pg.boosters++, toast("Mystery Box: a score booster!");
+ else run.coins += 5000, toast("Mystery Box: JACKPOT!");
+ break;
+ }
+ default: {
+ int pw = it->kind == I_JETPACK ? PW_JETPACK : it->kind == I_SNEAKERS ? PW_SNEAKERS : it->kind == I_MAGNET ? PW_MAGNET : PW_DOUBLE;
+ pl.power[pw] = power_time(pw);
+ run.powerups++;
+ if (pw == PW_JETPACK) {
+ run.jetpacks++;
+ pl.fly = FLY_Y;
+ pl.roll = 0;
+ world_sky_coins(pl.z + 12, pl.z + 12 + pl.speed * pl.power[pw]);
+ }
+ if (pw == PW_MAGNET) run.magnets++;
+ }
+ }
+}
+
+/* what the runner runs into at its place */
+static void collide(float prev_x) {
+ float h = pl.roll > 0 ? ROLL_H : STAND_H;
+ for (int i = 0; i < nobs; i++) {
+ Obstacle *o = &obs[i];
+ if (o->z1 < pl.z - 0.25f || o->z0 > pl.z + 0.35f) continue;
+ float lx = LANE_X(o->lane), hw = o->type <= O_RAMP ? TRAIN_W : 1.05f;
+ if (pl.x < lx - hw - PW || pl.x > lx + hw + PW) continue;
+ if (pl.stumble > 0 && o->lane != pl.lane) continue; /* (bouncing back off it) */
+ float bottom = 0, topy;
+ switch (o->type) {
+ case O_TRAIN:
+ case O_MOVING: topy = TRAIN_H; break;
+ case O_RAMP: topy = TRAIN_H * (pl.z - o->z0) / RAMP_LEN; break;
+ case O_HURDLE: topy = 1.15f; break;
+ case O_HIGHBAR: bottom = 1.35f, topy = 2.35f; break;
+ default: topy = 2.6f; break;
+ }
+ if (pl.y >= topy - 0.08f || pl.y + h <= bottom) continue;
+ if ((o->type == O_TRAIN || o->type == O_MOVING) && pl.y >= topy - 0.6f) {
+ /* nearly up there: onto the roof (or over it, on the way up) */
+ if (pl.vy <= 0) pl.y = pl.ground = topy, pl.vy = 0, pl.state = ST_RUN;
+ continue;
+ }
+ if (pl.safe > 0) continue;
+ bool from_side = prev_x < lx - hw - PW + 0.15f || prev_x > lx + hw + PW - 0.15f;
+ if (o->type == O_RAMP) {
+ if (from_side && pl.y < topy - 0.7f) stumble(), pl.lane = pl.from_lane;
+ continue;
+ }
+ if (from_side) {
+ stumble();
+ pl.lane = pl.from_lane;
+ return;
+ }
+ crash();
+ return;
+ }
+}
+
+void run_step(uint32_t keys, uint32_t pressed) {
+ (void)keys;
+ if (run.toast_t > 0) run.toast_t -= DT;
+ if (pl.dead) {
+ pl.crash_t += DT;
+ if (pl.y > pl.ground) pl.y -= 4 * DT;
+ return;
+ }
+ run.start_t += DT;
+ pl.t += DT;
+ /* faster and faster: from 13 m/s towards 26 */
+ pl.speed = 13 + 13 * pl.t / (pl.t + 100);
+ float speed = pl.speed;
+ if (pl.hover > 0 && pg.board == 2) speed *= 1.12f;
+ if (pl.headstart > 0) speed = speed * 3 > 50 ? speed * 3 : 50;
+
+ /* the first seconds: a headstart (1) or a score booster (3) */
+ if (run.start_t < 5) {
+ if (pressed & K_ONE && pg.headstarts && pl.headstart <= 0) {
+ pg.headstarts--;
+ pl.headstart = 4.5f;
+ pl.fly = FLY_Y;
+ world_clear(pl.z, pl.z + 260);
+ world_sky_coins(pl.z + 10, pl.z + 240);
+ run.powerups++;
+ }
+ if (pressed & K_THREE && pg.boosters && !run.boosted) {
+ pg.boosters--;
+ run.boosted = true;
+ run.multiplier = multiplier();
+ toast("Score booster: +5");
+ }
+ }
+ /* the hoverboard */
+ if (pressed & K_OK && pl.hover <= 0 && pg.boards && pl.fly <= 0) {
+ pg.boards--;
+ pl.hover = 30;
+ run.boards_used++;
+ }
+
+ /* across */
+ float prev_x = pl.x;
+ if (pressed & K_LEFT && pl.lane > 0) pl.from_lane = pl.lane, pl.lane--, run.lanes++;
+ if (pressed & K_RIGHT && pl.lane < 2) pl.from_lane = pl.lane, pl.lane++, run.lanes++;
+ float tx = LANE_X(pl.lane), dx = tx - pl.x, step = 17 * DT;
+ pl.x += dx > step ? step : dx < -step ? -step : dx;
+ pl.lean += ((tx - pl.x) * 0.22f - pl.lean) * 0.3f;
+
+ /* up and down */
+ bool super = pl.power[PW_SNEAKERS] > 0 || (pl.hover > 0 && pg.board == 1);
+ if (pl.fly > 0) {
+ float target = pl.fly;
+ pl.y += (target - pl.y) * 0.08f;
+ pl.vy = 0;
+ pl.state = ST_AIR;
+ } else {
+ pl.ground = world_ground(pl.x, pl.z, pl.y);
+ bool on = pl.y <= pl.ground + 0.02f && pl.vy <= 0;
+ if (on) {
+ pl.y = pl.ground, pl.vy = 0;
+ if (pl.state == ST_AIR) pl.state = ST_RUN;
+ if (pressed & K_UP) {
+ pl.vy = super ? SUPER_V : JUMP_V;
+ pl.state = ST_AIR;
+ pl.roll = 0;
+ run.jumps++;
+ } else if (pressed & K_DOWN) {
+ pl.roll = ROLL_T;
+ run.rolls++;
+ }
+ } else {
+ pl.vy -= GRAVITY * DT;
+ pl.y += pl.vy * DT;
+ pl.state = ST_AIR;
+ if (pressed & K_DOWN) {
+ pl.vy = -26;
+ pl.roll = ROLL_T;
+ run.rolls++;
+ }
+ if (pl.y <= pl.ground) pl.y = pl.ground, pl.vy = 0, pl.state = ST_RUN;
+ }
+ }
+ if (pl.roll > 0) pl.roll -= DT;
+ if (pressed & K_UP && pl.roll > 0 && pl.state == ST_RUN) pl.roll = 0;
+
+ /* along */
+ pl.z += speed * DT;
+ run.dist += speed * DT;
+ pl.phase += DT * (8 + speed * 0.22f);
+ pl.on_roof = pl.fly <= 0 && pl.ground > TRAIN_H - 0.1f && pl.y <= pl.ground + 0.05f;
+ if (pl.on_roof) run.roof += speed * DT;
+
+ /* timers */
+ for (int i = 0; i < PW_COUNT; i++)
+ if (pl.power[i] > 0) pl.power[i] -= DT;
+ if (pl.hover > 0) pl.hover -= DT;
+ if (pl.safe > 0) pl.safe -= DT;
+ if (pl.stumble > 0) pl.stumble -= DT;
+ if (pl.chase > 0) pl.chase -= DT;
+ if (pl.headstart > 0) {
+ pl.headstart -= DT;
+ if (pl.headstart <= 0) pl.fly = 0, pl.safe = 1.2f, world_clear(pl.z - 2, pl.z + 45);
+ } else if (pl.fly > 0 && pl.power[PW_JETPACK] <= 0) {
+ /* the jetpack is out: down, somewhere safe */
+ pl.fly = 0;
+ pl.safe = 1.2f;
+ world_clear(pl.z - 2, pl.z + 45);
+ }
+
+ world_update(pl.z, pl.speed);
+ if (pl.fly <= 0) collide(prev_x);
+
+ /* coins and power-ups */
+ float mid = pl.y + (pl.roll > 0 ? 0.45f : 0.9f);
+ bool magnet = pl.power[PW_MAGNET] > 0;
+ for (int i = 0; i < nitems; i++) {
+ Item *it = &items[i];
+ float dz = it->z - pl.z;
+ if (dz > 16 || dz < -2) continue;
+ if (magnet && it->kind == I_COIN && dz < 14 && dz > -1) it->flying = 1;
+ if (it->flying) {
+ /* drawn in by the magnet */
+ float k = 0.25f;
+ it->x += (pl.x - it->x) * k, it->y += (mid - it->y) * k, it->z += (pl.z + 0.3f - it->z) * k + speed * DT;
+ }
+ float ddx = it->x - pl.x, ddy = it->y - mid, ddz = it->z - pl.z;
+ if (ddx < 0.95f && ddx > -0.95f && ddz < 1.0f && ddz > -0.8f && ddy < 1.25f && ddy > -1.25f) {
+ collect(it);
+ items[i] = items[--nitems];
+ i--;
+ }
+ }
+
+ /* the score: points for the way run, times the multiplier, twice with the 2x */
+ float mul = (float)run.multiplier * (pl.power[PW_DOUBLE] > 0 ? 2 : 1);
+ run.fscore += speed * DT * 5 * mul;
+ run.score = (uint32_t)run.fscore;
+ missions_check();
+}
diff --git a/games/subway/src/game.h b/games/subway/src/game.h
new file mode 100644
index 00000000..08e65a4f
--- /dev/null
+++ b/games/subway/src/game.h
@@ -0,0 +1,146 @@
+/* Subway Surfers: the run, the world and what is kept between runs.
+ *
+ * Units are metres and seconds. x goes right across the three tracks (lanes 0, 1 and 2 at x = -LANE,
+ * 0 and LANE), y up, z along the tracks, the way the runner goes. */
+#ifndef SS_GAME_H
+#define SS_GAME_H
+#include <stdbool.h>
+#include <stdint.h>
+#include "r3d.h"
+
+#define LANE 2.6f
+#define LANE_X(l) (((l) - 1) * LANE)
+#define TRAIN_W 1.18f /* half its width */
+#define TRAIN_H 3.5f /* its roof */
+#define CAR_LEN 11.0f
+#define CAR_GAP 0.6f
+#define RAMP_LEN 7.0f
+#define DT (1.0f / 60)
+
+/* ---------------------------------------------------------------- the world ahead */
+enum {
+ O_TRAIN, /* standing on the tracks: a crash from the front, a stumble from the side, a roof to run on */
+ O_MOVING, /* a train coming the other way */
+ O_RAMP, /* up to a train's roof */
+ O_HURDLE, /* low: jump it */
+ O_HIGHBAR, /* a board up high: roll under it */
+ O_BLOCK, /* a big barrier: go round it, or over with Super Sneakers or the jetpack */
+};
+typedef struct {
+ uint8_t type, lane, cars, look;
+ float z0, z1; /* from its near end to its far end */
+ float v; /* towards the runner (a moving train) */
+} Obstacle;
+
+/* coins, and the things to pick up */
+enum { I_COIN, I_JETPACK, I_SNEAKERS, I_MAGNET, I_DOUBLE, I_MYSTERY, I_KEY };
+typedef struct {
+ float x, y, z;
+ uint8_t kind, flying; /* flying: drawn towards the runner by the magnet */
+} Item;
+
+#define MAXOBS 72
+#define MAXITEMS 220
+extern Obstacle obs[MAXOBS];
+extern int nobs;
+extern Item items[MAXITEMS];
+extern int nitems;
+
+void world_reset(uint32_t seed);
+void world_title(void); /* the title screen's trains */
+void world_update(float pz, float speed); /* makes the world ahead, forgets what is behind */
+float world_ground(float x, float z, float y); /* the height to stand on at (x, z), at most a little above y */
+void world_clear(float z0, float z1); /* no obstacles from z0 to z1 (a safe landing) */
+void world_sky_coins(float z0, float z1); /* coins high up, for the jetpack */
+uint32_t world_hash(uint32_t a);
+extern uint32_t world_seed; /* the scenery of this run */
+/* the scenery at z: a tunnel? */
+bool world_tunnel(float z);
+
+/* ---------------------------------------------------------------- the runner */
+enum { ST_RUN, ST_AIR, ST_STUMBLE, ST_CRASH };
+enum { PW_JETPACK, PW_SNEAKERS, PW_MAGNET, PW_DOUBLE, PW_COUNT };
+typedef struct {
+ float x, y, z, vy;
+ int lane, from_lane; /* where it is going, and where it came from (a stumble goes back there) */
+ int state;
+ float roll; /* time left rolling */
+ float speed, t; /* forward speed; time running */
+ float phase; /* of the running legs */
+ float stumble; /* time left stumbling */
+ float chase; /* time left with the Inspector right behind */
+ float ground; /* the height under the runner */
+ float power[PW_COUNT]; /* time left */
+ float hover; /* hoverboard time left */
+ float safe; /* after a broken board: nothing can hurt for this long */
+ float fly; /* the jetpack's or the headstart's height, 0 on foot */
+ float headstart; /* time left of a headstart */
+ float crash_t; /* since the crash */
+ float lean; /* sideways, while changing lanes */
+ bool on_roof, dead;
+} Runner;
+extern Runner pl;
+
+/* ---------------------------------------------------------------- the run */
+typedef struct {
+ uint32_t score, coins, keys;
+ float dist, fscore;
+ int multiplier; /* the missions' multiplier (plus a score booster's 5) */
+ int jumps, rolls, lanes, powerups, boards_used, stumbles, mystery, jetpacks, magnets;
+ float roof; /* metres run on top of trains */
+ int saves; /* times saved with keys this run */
+ bool boosted; /* a score booster used */
+ float start_t; /* the time since the run started (headstart and booster offers) */
+ float toast_t; /* a message on top: its time left */
+ char toast[40];
+} Run;
+extern Run run;
+
+void run_start(void);
+void run_step(uint32_t keys, uint32_t pressed);
+bool run_over(void); /* caught or crashed, and not saved */
+void run_revive(void); /* saved with keys */
+int run_save_cost(void); /* keys to be saved now */
+void run_bank(void); /* the coins and the progress go to the save (the run's end, or Home) */
+
+/* ---------------------------------------------------------------- what is kept */
+#define NCHARS 4
+#define NBOARDS 3
+#define NUPG 4
+typedef struct {
+ uint32_t coins, keys, best, runs;
+ uint16_t boards, headstarts, boosters, mystery; /* how many of each item */
+ uint8_t upg[NUPG]; /* jetpack, sneakers, magnet, 2x: levels 0 to 5 */
+ uint8_t chars, ownboards; /* bits: unlocked */
+ uint8_t character, board;
+ uint8_t mset, mdone; /* the mission set (the multiplier is 1 + mset) and its missions done */
+ uint8_t help_seen, pad;
+ uint32_t mbase[3]; /* the totals when each mission started */
+ uint32_t total[16]; /* totals of everything the missions count */
+} Progress;
+extern Progress pg;
+
+/* the missions' counts (Progress.total and the run's own) */
+enum {
+ CNT_COINS, CNT_JUMPS, CNT_ROLLS, CNT_POWERUPS, CNT_BOARDS, CNT_STUMBLES, CNT_JETPACKS, CNT_MAGNETS,
+ CNT_MYSTERY, CNT_RUNS, CNT_DIST, CNT_COUNT
+};
+float power_time(int pw); /* how long a power-up lasts, with its upgrades */
+int upgrade_cost(int level); /* to go up from this level, or 0 at the top */
+extern const char *const char_names[NCHARS];
+extern const uint32_t char_price[NCHARS];
+extern const char *const board_names[NBOARDS];
+extern const char *const board_power[NBOARDS];
+extern const uint32_t board_price[NBOARDS];
+
+/* missions */
+typedef struct {
+ uint8_t kind; /* M_* */
+ uint32_t target;
+} Mission;
+void mission_get(int set, int i, Mission *m);
+void mission_text(const Mission *m, char *out, int n);
+uint32_t mission_progress(int i); /* how far along mission i of the current set is */
+void missions_check(void); /* marks the missions done, and moves to the next set */
+int multiplier(void);
+#endif
diff --git a/games/subway/src/icon.png b/games/subway/src/icon.png
new file mode 100644
index 00000000..e63f8dff
Binary files /dev/null and b/games/subway/src/icon.png differ
diff --git a/games/subway/src/icons.c b/games/subway/src/icons.c
new file mode 100644
index 00000000..5593ab1b
--- /dev/null
+++ b/games/subway/src/icons.c
@@ -0,0 +1,148 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os")
+#endif
+/* Little pictures (icons.h). Each is drawn on a 32-unit square scaled to s pixels. */
+#include "draw.h"
+#include "icons.h"
+
+static float ox, oy, k; /* the picture's top-left and its scale */
+#define X(v) (ox + (v) * k)
+#define Y(v) (oy + (v) * k)
+
+static void disc(float x, float y, float r, uint32_t c) { d_disc(X(x), Y(y), r * k, C(c), 255); }
+static void poly(const float *p, int n, uint32_t c) {
+ float q[16];
+ for (int i = 0; i < n; i++) q[2 * i] = X(p[2 * i]), q[2 * i + 1] = Y(p[2 * i + 1]);
+ d_poly(q, n, C(c), 255);
+}
+static void rect(float x0, float y0, float x1, float y1, uint32_t c) {
+ float p[8] = {x0, y0, x1, y0, x1, y1, x0, y1};
+ poly(p, 4, c);
+}
+static void rrect(float x0, float y0, float x1, float y1, float r, uint32_t c) {
+ d_rrect((int)X(x0), (int)Y(y0), (int)((x1 - x0) * k + 0.5f), (int)((y1 - y0) * k + 0.5f), (int)(r * k + 0.5f), C(c), 255);
+}
+static void line(float x0, float y0, float x1, float y1, float t, uint32_t c) { d_line(X(x0), Y(y0), X(x1), Y(y1), t * k, C(c), 255); }
+
+static void star(float cx, float cy, float r, uint32_t c) {
+ /* five points: a triangle each, and the middle */
+ static const float u[10][2] = {{0, -1}, {0.225f, -0.309f}, {0.951f, -0.309f}, {0.363f, 0.118f}, {0.588f, 0.809f},
+ {0, 0.382f}, {-0.588f, 0.809f}, {-0.363f, 0.118f}, {-0.951f, -0.309f}, {-0.225f, -0.309f}};
+ float mid[10];
+ for (int i = 0; i < 5; i++) {
+ const float *a = u[(2 * i + 9) % 10], *b = u[2 * i], *c2 = u[2 * i + 1];
+ float t[6] = {cx + a[0] * r, cy + a[1] * r, cx + b[0] * r, cy + b[1] * r, cx + c2[0] * r, cy + c2[1] * r};
+ poly(t, 3, c);
+ mid[2 * i] = cx + u[2 * i + 1][0] * r, mid[2 * i + 1] = cy + u[2 * i + 1][1] * r;
+ }
+ poly(mid, 5, c);
+}
+
+void icon(int which, float x, float y, float s) {
+ k = s / 32, ox = x - s / 2, oy = y - s / 2;
+ switch (which) {
+ case ICON_COIN:
+ disc(16, 16, 14, 0xC98A00);
+ disc(16, 15, 13, 0xFFC21F);
+ disc(16, 15, 9, 0xE8A400);
+ disc(16, 14.5f, 8, 0xFFD84D);
+ line(13, 9, 11, 14, 2, 0xFFF4C0);
+ break;
+ case ICON_KEY:
+ d_ring(X(11), Y(11), 7 * k, 4.5f * k, C(0x1F6FB8), 255);
+ d_ring(X(11), Y(10.5f), 6.5f * k, 3.5f * k, C(0x3FA9F5), 255);
+ line(15, 15, 27, 27, 5, 0x1F6FB8);
+ line(15, 14.5f, 27, 26.5f, 3.4f, 0x3FA9F5);
+ line(22, 22, 25, 19, 3.2f, 0x3FA9F5);
+ line(25, 25, 28, 22, 3.2f, 0x3FA9F5);
+ break;
+ case ICON_BOARD: {
+ float b[16] = {6, 26, 2, 22, 22, 4, 28, 3, 30, 6, 28, 12, 10, 28, 7, 28};
+ poly(b, 8, 0x173E73);
+ float t[16] = {6, 24, 3, 21, 22, 3, 27, 2, 29, 5, 27, 10, 10, 26, 7, 26};
+ poly(t, 8, 0x2E7BE0);
+ line(7, 22, 26, 5, 2.5f, 0xF2C230);
+ break;
+ }
+ case ICON_JETPACK:
+ rrect(5, 6, 15, 24, 4, 0xB9C0C8);
+ rrect(17, 6, 27, 24, 4, 0xB9C0C8);
+ rect(5, 6, 15, 10, 0xD8302A);
+ rect(17, 6, 27, 10, 0xD8302A);
+ rect(12, 12, 20, 18, 0x3A3A40);
+ {
+ float f1[6] = {6, 24, 14, 24, 10, 31}, f2[6] = {18, 24, 26, 24, 22, 31};
+ poly(f1, 3, 0xFFA020);
+ poly(f2, 3, 0xFFA020);
+ }
+ break;
+ case ICON_SNEAKERS: {
+ float sole[8] = {3, 24, 30, 24, 30, 28, 3, 28};
+ poly(sole, 4, 0xF4F4F4);
+ float up[12] = {4, 24, 5, 12, 13, 10, 17, 17, 29, 19, 30, 24};
+ poly(up, 6, 0x3BD16F);
+ line(8, 16, 14, 16, 1.6f, 0xF4F4F4);
+ line(9, 19, 16, 19, 1.6f, 0xF4F4F4);
+ float wing[6] = {4, 12, 0, 6, 9, 11};
+ poly(wing, 3, 0xF2C230);
+ break;
+ }
+ case ICON_MAGNET:
+ /* the bend of the U, in short pieces */
+ for (int i = 0; i < 8; i++) {
+ float s0, c0, s1, c1;
+ r_sincos(3.14159f * (float)i / 8, &s0, &c0);
+ r_sincos(3.14159f * (float)(i + 1) / 8, &s1, &c1);
+ line(16 + 6.5f * c0, 15 + 6.5f * s0, 16 + 6.5f * c1, 15 + 6.5f * s1, 7.5f, 0xE0302A);
+ }
+ rect(6, 4, 13, 16, 0xE0302A);
+ rect(19, 4, 26, 16, 0xE0302A);
+ rect(6, 2, 13, 7, 0xE8ECF0);
+ rect(19, 2, 26, 7, 0xE8ECF0);
+ break;
+ case ICON_DOUBLE:
+ star(16, 17, 15, 0x7A2BBF);
+ star(16, 16, 14, 0xA855F7);
+ d_label(&font_small, (int)X(16), (int)Y(20), "2x", C(0xFFE040), C(0x4A1580), 1, 0);
+ break;
+ case ICON_MYSTERY:
+ rrect(4, 6, 28, 30, 4, 0x5A2BB0);
+ rrect(5, 6, 27, 28, 4, 0x7B3FE4);
+ rect(14, 6, 18, 28, 0xF2C230);
+ rect(5, 13, 27, 16, 0xF2C230);
+ d_label(&font_mid, (int)X(16), (int)Y(26), "?", C(0xFFFFFF), C(0x3A1580), 1, 0);
+ break;
+ case ICON_HEADSTART: {
+ float body[12] = {16, 2, 22, 10, 22, 22, 10, 22, 10, 10, 16, 2};
+ poly(body, 6, 0xE8ECF0);
+ disc(16, 13, 3, 0x3FA9F5);
+ float fl[6] = {10, 16, 4, 26, 10, 22}, fr[6] = {22, 16, 28, 26, 22, 22};
+ poly(fl, 3, 0xD8302A);
+ poly(fr, 3, 0xD8302A);
+ float fire[6] = {11, 22, 21, 22, 16, 31};
+ poly(fire, 3, 0xFFA020);
+ break;
+ }
+ case ICON_BOOSTER:
+ star(16, 16, 14, 0xF5A300);
+ star(16, 15, 12, 0xFFD23F);
+ d_label(&font_small, (int)X(16), (int)Y(20), "+5", C(0xFFFFFF), C(0xA05A00), 1, 0);
+ break;
+ case ICON_CHECK:
+ disc(16, 16, 14, 0x2E9E3E);
+ disc(16, 16, 12, 0x3BD16F);
+ line(9, 16, 14, 21, 3.5f, 0xFFFFFF);
+ line(14, 21, 23, 10, 3.5f, 0xFFFFFF);
+ break;
+ case ICON_LOCK:
+ d_ring(X(16), Y(12), 7 * k, 3.5f * k, C(0x9AA3AD), 255);
+ rrect(7, 13, 25, 29, 3, 0xF2C230);
+ disc(16, 20, 2.5f, 0x7A5A00);
+ rect(15, 20, 17, 25, 0x7A5A00);
+ break;
+ case ICON_STAR:
+ star(16, 17, 15, 0xA05A00);
+ star(16, 16, 14, 0xFFD23F);
+ break;
+ }
+}
diff --git a/games/subway/src/icons.h b/games/subway/src/icons.h
new file mode 100644
index 00000000..59a6e586
--- /dev/null
+++ b/games/subway/src/icons.h
@@ -0,0 +1,10 @@
+/* Subway Surfers: little pictures for the screens over the game, drawn from discs and polygons (draw.h),
+ * centred at (x, y), s pixels tall. */
+#ifndef SS_ICONS_H
+#define SS_ICONS_H
+enum {
+ ICON_COIN, ICON_KEY, ICON_BOARD, ICON_JETPACK, ICON_SNEAKERS, ICON_MAGNET, ICON_DOUBLE, ICON_MYSTERY,
+ ICON_HEADSTART, ICON_BOOSTER, ICON_CHECK, ICON_LOCK, ICON_STAR, ICON_COUNT
+};
+void icon(int which, float x, float y, float s);
+#endif
diff --git a/games/subway/src/main.c b/games/subway/src/main.c
new file mode 100644
index 00000000..f3049e66
--- /dev/null
+++ b/games/subway/src/main.c
@@ -0,0 +1,51 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os")
+#endif
+/* Subway Surfers for the NumWorks calculator.
+ *
+ * Inspired by Subway Surfers by SYBO and Kiloo, not affiliated with them.
+ * Made by Mason Chen as part of NumPlay. */
+#include "app.h"
+#include "plat.h"
+#include "r3d.h"
+
+#ifndef HOST
+const char eadk_app_name[] __attribute__((section(".rodata.eadk_app_name"))) = "Subway Surfers";
+const uint32_t eadk_api_level __attribute__((section(".rodata.eadk_api_level"))) = 0;
+
+uint32_t perf_frames __attribute__((used)); /* read by tools/emu.py */
+uint32_t perf_max __attribute__((used));
+uint32_t perf_slow __attribute__((used));
+
+int main(void) {
+ uint16_t band[SCREEN_W * BAND_H]; /* (here: on the stack, out of the RAM apps get) */
+ r_set_band_memory(band);
+ plat_begin();
+ app_init();
+ uint32_t prev = 0;
+ /* the game's 60 steps a second, drawn when caught up (at most 4 steps a drawing: slower models skip) */
+ uint32_t next = plat_millis() * 3; /* in thirds of a millisecond: 50 a step */
+ while (app_running) {
+ int n = 0;
+ uint32_t now = plat_millis() * 3, keys = plat_keys();
+ while ((int32_t)(now - next) >= 0 && n < 4 && app_running) {
+ app_step(keys, n ? 0 : keys & ~prev);
+ next += 50;
+ n++;
+ }
+ if (n) prev = keys;
+ if (!app_running) break;
+ if ((int32_t)(now - next) > 400) next = now; /* far behind: do not rush */
+ if (n) {
+ uint32_t t0 = plat_millis();
+ app_draw();
+ uint32_t dt = plat_millis() - t0;
+ if (dt > perf_max) perf_max = dt;
+ if (dt > 33) perf_slow++;
+ perf_frames++;
+ } else
+ plat_sleep(1);
+ }
+ return plat_end();
+}
+#endif
diff --git a/games/subway/src/plat.h b/games/subway/src/plat.h
new file mode 100644
index 00000000..bfd7b8b6
--- /dev/null
+++ b/games/subway/src/plat.h
@@ -0,0 +1,41 @@
+/* Subway Surfers: the platform (the calculator, or a computer for tests).
+ *
+ * plat_eadk.c: the calculator's EADK display, keyboard, time and files.
+ * plat_host.c: a frame buffer that tests save as images, scripted keys and
+ * simulated time (tests/play.c). */
+#ifndef SS_PLAT_H
+#define SS_PLAT_H
+#include <stdbool.h>
+#include <stddef.h>
+#include <stdint.h>
+
+#define SCREEN_W 320
+#define SCREEN_H 240
+
+/* keys held now, as bits */
+enum {
+ K_LEFT = 1 << 0, K_RIGHT = 1 << 1, K_UP = 1 << 2, K_DOWN = 1 << 3,
+ K_OK = 1 << 4, /* OK, EXE, 5: the hoverboard; confirm */
+ K_BACK = 1 << 5, /* Back, backspace: pause; back */
+ K_ONE = 1 << 6, /* 1: a headstart, at the start of a run */
+ K_THREE = 1 << 7, /* 3: a score booster (2 is Down) */
+ K_HOME = 1 << 8, /* Home, On/Off: save and quit */
+ K_ANY = 1 << 9
+};
+uint32_t plat_keys(void);
+uint32_t plat_millis(void);
+void plat_sleep(uint32_t ms);
+void plat_push(int x, int y, int w, int h, const uint16_t *px);
+bool plat_save(const char *name, const void *data, uint32_t len);
+const uint8_t *plat_load(const char *name, uint32_t *len); /* NULL if absent */
+/* a file of len bytes to write in place (the calculator's storage is RAM): plat_reserve gives its
+ * bytes, plat_reserved says they are written; NULL if there is no room */
+uint8_t *plat_reserve(const char *name, uint32_t len);
+void plat_reserved(const char *name, uint32_t len);
+bool plat_remove(const char *name);
+uint32_t plat_random(void);
+void plat_begin(void);
+int plat_end(void);
+/* an N0110 or N0115 (216 MHz, the N0120 has 550) */
+bool plat_slow(void);
+#endif
diff --git a/games/subway/src/plat_eadk.c b/games/subway/src/plat_eadk.c
new file mode 100644
index 00000000..9f2f6117
--- /dev/null
+++ b/games/subway/src/plat_eadk.c
@@ -0,0 +1,41 @@
+/* The calculator: EADK display, keyboard, time and files. */
+#include <eadk.h>
+#include "../../common/epsilon_app.h"
+#include "../../common/epsilon_files.h"
+#include "plat.h"
+
+#define KEY(k) ((uint64_t)1 << (k))
+
+uint32_t plat_keys(void) {
+ uint64_t k = eadk_keyboard_scan();
+ uint32_t r = 0;
+ if (k & (KEY(eadk_key_left) | KEY(eadk_key_four))) r |= K_LEFT;
+ if (k & (KEY(eadk_key_right) | KEY(eadk_key_six))) r |= K_RIGHT;
+ if (k & (KEY(eadk_key_up) | KEY(eadk_key_eight))) r |= K_UP;
+ if (k & (KEY(eadk_key_down) | KEY(eadk_key_two))) r |= K_DOWN;
+ if (k & (KEY(eadk_key_ok) | KEY(eadk_key_exe) | KEY(eadk_key_five))) r |= K_OK;
+ if (k & (KEY(eadk_key_back) | KEY(eadk_key_backspace))) r |= K_BACK;
+ if (k & KEY(eadk_key_one)) r |= K_ONE;
+ if (k & KEY(eadk_key_three)) r |= K_THREE;
+ if (k & (KEY(eadk_key_home) | KEY(eadk_key_on_off))) r |= K_HOME;
+ if (k) r |= K_ANY;
+ return r;
+}
+
+uint32_t plat_millis(void) { return (uint32_t)eadk_timing_millis(); }
+void plat_sleep(uint32_t ms) { eadk_timing_msleep(ms); }
+void plat_push(int x, int y, int w, int h, const uint16_t *px) {
+ eadk_display_push_rect((eadk_rect_t){(uint16_t)x, (uint16_t)y, (uint16_t)w, (uint16_t)h}, px);
+}
+bool plat_save(const char *name, const void *data, uint32_t len) { return ef_write(name, data, len); }
+const uint8_t *plat_load(const char *name, uint32_t *len) { return ef_read(name, len); }
+uint8_t *plat_reserve(const char *name, uint32_t len) {
+ uint32_t n;
+ return ef_write(name, NULL, len) ? (uint8_t *)(uintptr_t)ef_read(name, &n) : NULL; /* (the storage is RAM) */
+}
+void plat_reserved(const char *name, uint32_t len) { (void)name, (void)len; }
+bool plat_remove(const char *name) { return ef_remove(name); }
+uint32_t plat_random(void) { return eadk_random(); }
+void plat_begin(void) { np_app_begin(); }
+int plat_end(void) { return np_app_end(); }
+bool plat_slow(void) { return epsilon_slow_model(); }
diff --git a/games/subway/src/plat_host.c b/games/subway/src/plat_host.c
new file mode 100644
index 00000000..f7f6cffd
--- /dev/null
+++ b/games/subway/src/plat_host.c
@@ -0,0 +1,78 @@
+/* A computer: the screen goes to a frame buffer that tests save as images,
+ * keys come from a script, time is simulated. */
+#include <stdio.h>
+#include <stdlib.h>
+#include "plat.h"
+
+uint16_t host_fb[SCREEN_W * SCREEN_H];
+uint32_t host_time; /* ms */
+uint32_t host_keys;
+uint32_t host_seed = 12345;
+
+uint32_t plat_keys(void) { return host_keys; }
+uint32_t plat_millis(void) { return host_time; }
+void plat_sleep(uint32_t ms) { host_time += ms; }
+void plat_push(int x, int y, int w, int h, const uint16_t *px) {
+ for (int r = 0; r < h; r++)
+ for (int c = 0; c < w; c++)
+ if ((unsigned)(x + c) < SCREEN_W && (unsigned)(y + r) < SCREEN_H) host_fb[(y + r) * SCREEN_W + x + c] = px[r * w + c];
+}
+
+static char save_dir[256] = "build/host-saves";
+void host_save_dir(const char *d) { snprintf(save_dir, sizeof save_dir, "%s", d); }
+bool plat_save(const char *name, const void *data, uint32_t len) {
+ char p[512];
+ snprintf(p, sizeof p, "%s/%s", save_dir, name);
+ FILE *f = fopen(p, "wb");
+ if (!f) return false;
+ bool ok = fwrite(data, 1, len, f) == len;
+ fclose(f);
+ return ok;
+}
+/* (each file read gets its own buffer: callers may hold two at once) */
+static uint8_t loaded[4][1 << 16];
+static int next_load;
+const uint8_t *plat_load(const char *name, uint32_t *len) {
+ char p[512];
+ snprintf(p, sizeof p, "%s/%s", save_dir, name);
+ FILE *f = fopen(p, "rb");
+ if (!f) return NULL;
+ uint8_t *b = loaded[next_load++ & 3];
+ *len = (uint32_t)fread(b, 1, sizeof loaded[0], f);
+ fclose(f);
+ return b;
+}
+static uint8_t reserved[1 << 16];
+bool host_storage_full; /* tests: no room for any file */
+uint8_t *plat_reserve(const char *name, uint32_t len) {
+ (void)name;
+ return len <= sizeof reserved && !host_storage_full ? reserved : NULL;
+}
+void plat_reserved(const char *name, uint32_t len) { plat_save(name, reserved, len); }
+bool plat_remove(const char *name) {
+ char p[512];
+ snprintf(p, sizeof p, "%s/%s", save_dir, name);
+ return remove(p) == 0;
+}
+uint32_t plat_random(void) {
+ host_seed ^= host_seed << 13;
+ host_seed ^= host_seed >> 17;
+ host_seed ^= host_seed << 5;
+ return host_seed;
+}
+void plat_begin(void) {}
+int plat_end(void) { return 0; }
+bool plat_slow(void) { return false; }
+
+/* writes the screen as a PPM image */
+void host_shot(const char *path) {
+ FILE *f = fopen(path, "wb");
+ if (!f) return;
+ fprintf(f, "P6\n%d %d\n255\n", SCREEN_W, SCREEN_H);
+ for (int i = 0; i < SCREEN_W * SCREEN_H; i++) {
+ uint16_t c = host_fb[i];
+ uint8_t rgb[3] = {(uint8_t)((c >> 11) * 255 / 31), (uint8_t)(((c >> 5) & 63) * 255 / 63), (uint8_t)((c & 31) * 255 / 31)};
+ fwrite(rgb, 1, 3, f);
+ }
+ fclose(f);
+}
diff --git a/games/subway/src/r3d.c b/games/subway/src/r3d.c
new file mode 100644
index 00000000..d4614bd4
--- /dev/null
+++ b/games/subway/src/r3d.c
@@ -0,0 +1,268 @@
+/* The 3D renderer (r3d.h): polygons in a list, drawn band by band with a depth buffer. */
+#include "r3d.h"
+
+#define NEAR 0.35f
+#define FAR 190.0f
+#define ZK 22000.0f /* depths are ZK / z: 62857 at the near plane, larger is nearer */
+#define MAXP 1500
+#define MAXV 5200
+#define MAXN 10 /* corners of a polygon cut at the near plane */
+
+typedef struct {
+ float a, b, c; /* its depth at (sx, sy): a sx + b sy + c */
+ uint16_t v0, color;
+ uint8_t n, alpha;
+ int16_t y0, y1; /* the rows it covers */
+} Poly;
+
+uint16_t *r_col;
+int r_y0, r_y1;
+static uint16_t zbuf[SCREEN_W * BAND_H] __attribute__((aligned(8)));
+Camera cam;
+float r_haze0 = 60, r_haze1 = 150;
+uint32_t r_haze_rgb = 0xD8F0FF;
+
+static Poly polys[MAXP];
+static uint16_t order[MAXP]; /* the see-through ones go last */
+static float vx[MAXV], vy[MAXV];
+static int npolys, nverts, nalpha;
+
+void r_set_band_memory(uint16_t *band) { r_col = band; }
+
+void r_camera(float x, float y, float z, float pitch, float f, float cx, float cy) {
+ cam.x = x, cam.y = y, cam.z = z, cam.pitch = pitch, cam.f = f, cam.cx = cx, cam.cy = cy;
+ r_sincos(pitch, &cam.sp, &cam.cp);
+}
+
+bool r_project(V3 p, float *sx, float *sy) {
+ V3 v = r_view(p);
+ if (v.z < NEAR) return false;
+ float k = cam.f / v.z;
+ *sx = cam.cx + v.x * k, *sy = cam.cy - v.y * k;
+ return true;
+}
+
+void r_sincos(float a, float *s, float *c) {
+ a -= (float)(int)(a / 6.2831853f) * 6.2831853f;
+ if (a > 3.14159265f) a -= 6.2831853f;
+ if (a < -3.14159265f) a += 6.2831853f;
+ float a2 = a * a;
+ *s = a * (1 - a2 / 6 * (1 - a2 / 20 * (1 - a2 / 42 * (1 - a2 / 72 * (1 - a2 / 110)))));
+ *c = 1 - a2 / 2 * (1 - a2 / 12 * (1 - a2 / 30 * (1 - a2 / 56 * (1 - a2 / 90))));
+}
+
+void r_begin(void) { npolys = nverts = nalpha = 0; }
+int r_count(void) { return npolys; }
+
+uint32_t r_mix888(uint32_t a, uint32_t b, int t) {
+ uint32_t rb = (a & 0xFF00FF) * (uint32_t)(256 - t) + (b & 0xFF00FF) * (uint32_t)t;
+ uint32_t g = (a & 0x00FF00) * (uint32_t)(256 - t) + (b & 0x00FF00) * (uint32_t)t;
+ return ((rb >> 8) & 0xFF00FF) | ((g >> 8) & 0x00FF00);
+}
+
+/* a bright cartoon light: tops full, the left a little darker, the right more, fronts in between */
+uint32_t r_shade(uint32_t rgb, V3 n) {
+ float s = 0.74f + 0.26f * n.y + 0.08f * -n.x - 0.13f * n.z;
+ if (s > 1) s = 1;
+ if (s < 0.3f) s = 0.3f;
+ int k = (int)(s * 256);
+ uint32_t r = ((rgb >> 16) & 255) * (uint32_t)k >> 8, g = ((rgb >> 8) & 255) * (uint32_t)k >> 8, b = (rgb & 255) * (uint32_t)k >> 8;
+ return r << 16 | g << 8 | b;
+}
+
+void r_poly(const V3 *w, int n, uint32_t rgb, int flags, int alpha) {
+ if (npolys >= MAXP || nverts + MAXN > MAXV || n < 3 || n > MAXN - 2) return;
+ V3 a[MAXN], b[MAXN];
+ int behind = 0, far = 0;
+ for (int i = 0; i < n; i++) {
+ a[i] = r_view(w[i]);
+ behind += a[i].z < NEAR;
+ far += a[i].z > FAR;
+ }
+ if (behind == n || far == n) return;
+ /* cut at the near plane */
+ const V3 *p = a;
+ if (behind) {
+ int m = 0;
+ for (int i = 0, j = n - 1; i < n; j = i++) {
+ bool in_i = a[i].z >= NEAR, in_j = a[j].z >= NEAR;
+ if (in_i != in_j) {
+ float t = (NEAR - a[j].z) / (a[i].z - a[j].z);
+ b[m++] = (V3){a[j].x + t * (a[i].x - a[j].x), a[j].y + t * (a[i].y - a[j].y), NEAR};
+ }
+ if (in_i) b[m++] = a[i];
+ }
+ if (m < 3) return;
+ p = b, n = m;
+ }
+ /* the plane, by Newell's method (good for any convex polygon); depth = ZK (n . (xs, ys, 1)) / d */
+ V3 nm = {0, 0, 0};
+ for (int i = 0, j = n - 1; i < n; j = i++) {
+ nm.x += (p[j].y - p[i].y) * (p[j].z + p[i].z);
+ nm.y += (p[j].z - p[i].z) * (p[j].x + p[i].x);
+ nm.z += (p[j].x - p[i].x) * (p[j].y + p[i].y);
+ }
+ float d = nm.x * p[0].x + nm.y * p[0].y + nm.z * p[0].z;
+ if (d > -1e-6f && d < 1e-6f) return; /* seen edge-on */
+ float *px = vx + nverts, *py = vy + nverts;
+ float x0 = 1e9f, x1 = -1e9f, y0 = 1e9f, y1 = -1e9f, zsum = 0;
+ for (int i = 0; i < n; i++) {
+ float k = cam.f / p[i].z;
+ px[i] = cam.cx + p[i].x * k, py[i] = cam.cy - p[i].y * k;
+ if (px[i] < x0) x0 = px[i];
+ if (px[i] > x1) x1 = px[i];
+ if (py[i] < y0) y0 = py[i];
+ if (py[i] > y1) y1 = py[i];
+ zsum += p[i].z;
+ }
+ if (x1 < 0 || x0 >= SCREEN_W || y1 < 0 || y0 >= SCREEN_H) return;
+ float area = 0;
+ for (int i = 0, j = n - 1; i < n; j = i++) area += px[j] * py[i] - px[i] * py[j];
+ if (area < 0.01f && !(flags & P_TWOSIDED && area < -0.01f)) return;
+ Poly *q = &polys[npolys];
+ float s = ZK / d, f = cam.f;
+ q->a = s * nm.x / f;
+ q->b = -s * nm.y / f;
+ q->c = s * (nm.z - nm.x * cam.cx / f + nm.y * cam.cy / f);
+ if (flags & P_DECAL) q->c += 3;
+ if (flags & P_DECAL2) q->c += 6;
+ if (flags & P_DECAL3) q->c += 9;
+ if (!(flags & P_NOHAZE)) {
+ float zm = zsum / (float)n;
+ if (zm > r_haze0) {
+ float h = (zm - r_haze0) / (r_haze1 - r_haze0);
+ rgb = r_mix888(rgb, r_haze_rgb, h >= 1 ? 240 : (int)(h * 240));
+ }
+ }
+ q->color = r_565(rgb);
+ q->alpha = flags & P_ALPHA ? (uint8_t)(alpha > 255 ? 255 : alpha < 0 ? 0 : alpha) : 255;
+ q->v0 = (uint16_t)nverts, q->n = (uint8_t)n;
+ q->y0 = (int16_t)(y0 < 0 ? 0 : (int)(y0 + 0.5f));
+ q->y1 = (int16_t)(y1 >= SCREEN_H ? SCREEN_H : (int)(y1 + 0.5f));
+ if (q->y0 >= q->y1) return;
+ nverts += n;
+ if (flags & P_ALPHA) nalpha++;
+ order[npolys] = (uint16_t)npolys;
+ npolys++;
+}
+
+static V3 add3(V3 a, V3 b, V3 c, V3 d) { return (V3){a.x + b.x + c.x + d.x, a.y + b.y + c.y + d.y, a.z + b.z + c.z + d.z}; }
+static V3 neg(V3 a) { return (V3){-a.x, -a.y, -a.z}; }
+static V3 unit(V3 a) {
+ float l = a.x * a.x + a.y * a.y + a.z * a.z;
+ if (l <= 0) return a;
+ float r = 1.0f / __builtin_sqrtf(l);
+ return (V3){a.x * r, a.y * r, a.z * r};
+}
+
+void r_box(V3 c, V3 ax, V3 ay, V3 az, const uint32_t *rgb6, int skip) {
+ V3 nx = neg(ax), ny = neg(ay), nz = neg(az);
+ /* each face seen from outside, clockwise: its four corners as signs along x, y, z */
+ static const int8_t faces[6][4][3] = {
+ {{-1, 1, 1}, {1, 1, 1}, {1, 1, -1}, {-1, 1, -1}}, /* top */
+ {{1, -1, 1}, {-1, -1, 1}, {-1, -1, -1}, {1, -1, -1}}, /* bottom */
+ {{-1, 1, 1}, {-1, 1, -1}, {-1, -1, -1}, {-1, -1, 1}}, /* -x */
+ {{1, 1, -1}, {1, 1, 1}, {1, -1, 1}, {1, -1, -1}}, /* +x */
+ {{-1, 1, -1}, {1, 1, -1}, {1, -1, -1}, {-1, -1, -1}}, /* front, -z */
+ {{1, 1, 1}, {-1, 1, 1}, {-1, -1, 1}, {1, -1, 1}}, /* back, +z */
+ };
+ const V3 normals[6] = {ay, ny, nx, ax, nz, az};
+ for (int f = 0; f < 6; f++) {
+ if (skip & 1 << f) continue;
+ /* only the faces turned towards the camera */
+ V3 nf = normals[f], fc = (V3){c.x + nf.x, c.y + nf.y, c.z + nf.z};
+ if ((fc.x - cam.x) * nf.x + (fc.y - cam.y) * nf.y + (fc.z - cam.z) * nf.z >= 0) continue;
+ V3 v[4];
+ for (int k = 0; k < 4; k++) {
+ const int8_t *s = faces[f][k];
+ V3 x = s[0] > 0 ? ax : nx, y = s[1] > 0 ? ay : ny, z = s[2] > 0 ? az : nz;
+ v[k] = add3(c, x, y, z);
+ }
+ r_poly(v, 4, r_shade(rgb6[f], unit(nf)), 0, 0);
+ }
+}
+
+void r_cube(float x0, float y0, float z0, float x1, float y1, float z1, uint32_t rgb, int skip) {
+ float hx = (x1 - x0) / 2, hy = (y1 - y0) / 2, hz = (z1 - z0) / 2;
+ uint32_t c[6] = {rgb, rgb, rgb, rgb, rgb, rgb};
+ r_box((V3){x0 + hx, y0 + hy, z0 + hz}, (V3){hx, 0, 0}, (V3){0, hy, 0}, (V3){0, 0, hz}, c, skip);
+}
+
+/* ---------------------------------------------------------------- drawing a band */
+static void raster(const Poly *q) {
+ int ya = q->y0 > r_y0 ? q->y0 : r_y0, yb = q->y1 < r_y1 ? q->y1 : r_y1;
+ if (ya >= yb) return;
+ const float *px = vx + q->v0, *py = vy + q->v0;
+ int n = q->n;
+ /* the edges crossing the band: where they start and their slope */
+ float ey0[MAXN], ey1[MAXN], ex[MAXN], es[MAXN];
+ int ne = 0;
+ for (int i = 0, j = n - 1; i < n; j = i++) {
+ float a = py[j], b = py[i];
+ if (a == b) continue;
+ float xa = px[j], xb = px[i];
+ if (a > b) {
+ float t = a; a = b, b = t;
+ t = xa; xa = xb, xb = t;
+ }
+ if (b <= ya || a >= yb) continue;
+ ey0[ne] = a, ey1[ne] = b, es[ne] = (xb - xa) / (b - a), ex[ne] = xa - a * es[ne];
+ ne++;
+ }
+ if (ne < 2) return;
+ uint16_t col = q->color;
+ int alpha = q->alpha >> 3;
+ int32_t da = (int32_t)(q->a * 65536.0f);
+ for (int y = ya; y < yb; y++) {
+ float yc = (float)y + 0.5f, xl = 1e9f, xr = -1e9f;
+ for (int e = 0; e < ne; e++) {
+ if (yc < ey0[e] || yc >= ey1[e]) continue;
+ float x = ex[e] + yc * es[e];
+ if (x < xl) xl = x;
+ if (x > xr) xr = x;
+ }
+ if (xl > xr) continue;
+ int x0 = xl <= -1 ? 0 : (int)(xl + 0.5f), x1 = xr >= SCREEN_W ? SCREEN_W : (int)(xr + 0.5f);
+ if (x0 < 0) x0 = 0;
+ if (x0 >= x1) continue;
+ float zf = q->a * ((float)x0 + 0.5f) + q->b * yc + q->c;
+ if (zf < 0) zf = 0;
+ if (zf > 65535) zf = 65535;
+ uint32_t z = (uint32_t)(zf * 65536.0f);
+ uint16_t *zb = zbuf + (y - r_y0) * SCREEN_W, *cb = r_col + (y - r_y0) * SCREEN_W;
+ if (alpha >= 31) {
+ for (int x = x0; x < x1; x++, z += (uint32_t)da) {
+ uint16_t zz = (uint16_t)(z >> 16);
+ if (zz > zb[x]) zb[x] = zz, cb[x] = col;
+ }
+ } else {
+ for (int x = x0; x < x1; x++, z += (uint32_t)da)
+ if ((uint16_t)(z >> 16) > zb[x]) cb[x] = r_mix565(cb[x], col, alpha);
+ }
+ }
+}
+
+void r_render(r_band_fn bg, r_band_fn overlay) {
+ /* the see-through polygons after the others, in the order they came */
+ if (nalpha) {
+ int k = 0;
+ for (int i = 0; i < npolys; i++)
+ if (polys[i].alpha == 255) order[k++] = (uint16_t)i;
+ for (int i = 0; i < npolys; i++)
+ if (polys[i].alpha != 255) order[k++] = (uint16_t)i;
+ }
+ for (int band = 0; band < NBANDS; band++) {
+ r_y0 = band * BAND_H, r_y1 = r_y0 + BAND_H;
+ /* (cleared a word at a time: the C library's is a byte at a time) */
+ for (uint32_t *p = (uint32_t *)(void *)zbuf, *e = p + sizeof zbuf / 4; p < e; p += 4) p[0] = p[1] = p[2] = p[3] = 0;
+ if (bg) bg();
+ else
+ for (int i = 0; i < SCREEN_W * BAND_H; i++) r_col[i] = 0;
+ for (int i = 0; i < npolys; i++) {
+ const Poly *q = &polys[order[i]];
+ if (q->y1 > r_y0 && q->y0 < r_y1) raster(q);
+ }
+ if (overlay) overlay();
+ plat_push(0, r_y0, SCREEN_W, BAND_H, r_col);
+ }
+}
diff --git a/games/subway/src/r3d.h b/games/subway/src/r3d.h
new file mode 100644
index 00000000..d60cc00f
--- /dev/null
+++ b/games/subway/src/r3d.h
@@ -0,0 +1,85 @@
+/* Subway Surfers: the 3D renderer.
+ *
+ * The world is convex polygons with flat colours: each frame they are moved
+ * in front of the camera, cut at the near plane, projected and kept in a
+ * list; then the screen is drawn in bands of BAND_H rows, each one its
+ * background (sky and the ground, scene.c), the polygons that cross it with
+ * a depth buffer, the see-through ones (shadows) after them, and what is
+ * drawn flat over the picture (ui.c). The whole screen never has to fit in
+ * RAM: a band and its depths do. */
+#ifndef SS_R3D_H
+#define SS_R3D_H
+#include <stdbool.h>
+#include <stdint.h>
+#include "plat.h"
+
+#define BAND_H 30
+#define NBANDS (SCREEN_H / BAND_H)
+
+typedef struct {
+ float x, y, z;
+} V3;
+
+/* the band being drawn: its colours (SCREEN_W x BAND_H) and rows [r_y0, r_y1) */
+extern uint16_t *r_col;
+extern int r_y0, r_y1;
+void r_set_band_memory(uint16_t *band);
+
+/* the camera: where it is, how far it looks down (radians), its focal length and the
+ * screen point straight ahead */
+typedef struct {
+ float x, y, z, pitch, f, cx, cy;
+ float sp, cp; /* sine and cosine of pitch */
+} Camera;
+extern Camera cam;
+void r_camera(float x, float y, float z, float pitch, float f, float cx, float cy);
+/* camera space (x right, y up, z ahead) of a world point */
+static inline V3 r_view(V3 p) {
+ float dy = p.y - cam.y, dz = p.z - cam.z;
+ return (V3){p.x - cam.x, dy * cam.cp + dz * cam.sp, -dy * cam.sp + dz * cam.cp};
+}
+/* the screen point of a world point; false behind the camera */
+bool r_project(V3 p, float *sx, float *sy);
+
+/* distance haze: from HAZE0 to HAZE1 metres ahead colours go to the horizon's */
+extern float r_haze0, r_haze1;
+extern uint32_t r_haze_rgb;
+
+/* polygons: their corners in order (clockwise on the screen when seen from the front: the back is not
+ * drawn unless P_TWOSIDED), a colour already lit (r_shade) */
+enum {
+ P_TWOSIDED = 1,
+ P_DECAL = 2, /* lies on another polygon: drawn over it */
+ P_DECAL2 = 16, /* lies on a decal */
+ P_DECAL3 = 32, /* lies on that */
+ P_ALPHA = 4, /* see-through (alpha 0..255): drawn last, no depth written */
+ P_NOHAZE = 8
+};
+void r_begin(void);
+void r_poly(const V3 *v, int n, uint32_t rgb, int flags, int alpha);
+/* a box: centre, its three half-axes (x, y and z sides), a colour each for the top, sides, front and
+ * back, and flags for the faces to leave out (1 top, 2 bottom, 4 -x, 8 +x, 16 front -z, 32 back +z) */
+void r_box(V3 c, V3 ax, V3 ay, V3 az, const uint32_t *rgb6, int skip);
+/* an axis-aligned box from (x0,y0,z0) to (x1,y1,z1), one colour lit by face */
+void r_cube(float x0, float y0, float z0, float x1, float y1, float z1, uint32_t rgb, int skip);
+int r_count(void); /* polygons this frame */
+
+/* sine and cosine (short series: no C library) */
+void r_sincos(float a, float *s, float *c);
+/* lighting: the colour of a face whose normal is n */
+uint32_t r_shade(uint32_t rgb, V3 n);
+uint32_t r_mix888(uint32_t a, uint32_t b, int t256);
+static inline uint16_t r_565(uint32_t c) {
+ return (uint16_t)(((c >> 8) & 0xF800) | ((c >> 5) & 0x07E0) | ((c >> 3) & 0x1F));
+}
+__attribute__((always_inline)) static inline uint16_t r_mix565(uint16_t a, uint16_t b, int t32) { /* t32 = 0 (a) .. 32 (b) */
+ uint32_t x = (a | (uint32_t)a << 16) & 0x07E0F81F, y = (b | (uint32_t)b << 16) & 0x07E0F81F;
+ x = (x + ((y - x) * (uint32_t)t32 >> 5)) & 0x07E0F81F;
+ return (uint16_t)(x | x >> 16);
+}
+
+/* draws the frame: bg fills each band's colours (sky, ground), the polygons go over it, then
+ * overlay draws flat things over the band (both may be NULL) */
+typedef void (*r_band_fn)(void);
+void r_render(r_band_fn bg, r_band_fn overlay);
+#endif
diff --git a/games/subway/src/save.c b/games/subway/src/save.c
new file mode 100644
index 00000000..9e47a89a
--- /dev/null
+++ b/games/subway/src/save.c
@@ -0,0 +1,119 @@
+/* What is kept (save.h): coins, keys, the best score, items, upgrades, characters, boards and missions, in
+ * subway.sav, and a copy of it in a Python script, subway_saves.py: installing apps from the NumWorks website
+ * keeps only Python scripts, so the progress comes back from it when the file itself is gone. The copy is a
+ * comment line "#>subway.sav:base64" (the way NumPlay and its big games keep theirs). */
+#include <string.h>
+#include "game.h"
+#include "plat.h"
+#include "save.h"
+
+#define SAVE_NAME "subway.sav"
+#define COPY_NAME "subway_saves.py"
+#define MAGIC 0x31425553u /* "SUB1" */
+
+typedef struct {
+ uint32_t magic, size;
+ Progress p;
+} SaveFile;
+
+static const char copy_head[] =
+ "# Subway Surfers keeps a copy of your coins and progress\n"
+ "# here, so that reinstalling it doesn't erase them. If you\n"
+ "# delete this file, the game writes it again.\n";
+static const char b64[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
+
+static void copy_write(const uint8_t *d, uint32_t len) {
+ uint32_t nl = sizeof SAVE_NAME - 1, total = 1 + (sizeof copy_head - 1) + 2 + nl + 1 + (len + 2) / 3 * 4 + 1 + 1;
+ plat_remove(COPY_NAME);
+ uint8_t *o = plat_reserve(COPY_NAME, total), *p = o;
+ if (!o) return;
+ *p++ = 0; /* (the script's status byte: not imported) */
+ memcpy(p, copy_head, sizeof copy_head - 1), p += sizeof copy_head - 1;
+ *p++ = '#', *p++ = '>';
+ memcpy(p, SAVE_NAME, nl), p += nl;
+ *p++ = ':';
+ for (uint32_t i = 0; i < len; i += 3, p += 4) {
+ /* (written out: GCC 15.2 for the calculator got a loop over the four wrong, see NumPlay's
+ * launcher/src/storage.c) */
+ uint32_t left = len - i, v = (uint32_t)d[i] << 16 | (left > 1 ? d[i + 1] << 8 : 0) | (left > 2 ? d[i + 2] : 0);
+ p[0] = (uint8_t)b64[v >> 18 & 63];
+ p[1] = (uint8_t)b64[v >> 12 & 63];
+ p[2] = left > 1 ? (uint8_t)b64[v >> 6 & 63] : '=';
+ p[3] = left > 2 ? (uint8_t)b64[v & 63] : '=';
+ }
+ *p++ = '\n';
+ *p++ = 0;
+ plat_reserved(COPY_NAME, (uint32_t)(p - o));
+}
+
+static int b64_value(uint8_t c) {
+ for (int i = 0; i < 64; i++)
+ if ((uint8_t)b64[i] == c) return i;
+ return -1;
+}
+
+/* the save from its copy, into f; false if there is none (or it is damaged) */
+static bool copy_read(SaveFile *f) {
+ uint32_t n, nl = sizeof SAVE_NAME - 1;
+ const uint8_t *c = plat_load(COPY_NAME, &n);
+ if (!c) return false;
+ for (uint32_t i = 0; i + nl + 3 <= n; i++) {
+ if (c[i] != '#' || c[i + 1] != '>' || memcmp(c + i + 2, SAVE_NAME, nl) || c[i + 2 + nl] != ':') continue;
+ const uint8_t *l = c + i + 3 + nl;
+ uint32_t m = 0;
+ while (l + m < c + n && l[m] != '\n' && l[m]) m++;
+ if (!m || m % 4) return false;
+ uint32_t size = m / 4 * 3 - (l[m - 1] == '=') - (l[m - 2] == '=');
+ if (size != sizeof *f) return false;
+ uint8_t *out = (uint8_t *)f;
+ uint32_t o = 0;
+ for (uint32_t k = 0; k < m; k += 4) {
+ int v0 = b64_value(l[k]), v1 = b64_value(l[k + 1]);
+ int v2 = l[k + 2] == '=' ? 0 : b64_value(l[k + 2]), v3 = l[k + 3] == '=' ? 0 : b64_value(l[k + 3]);
+ if (v0 < 0 || v1 < 0 || v2 < 0 || v3 < 0) return false;
+ uint32_t w = (uint32_t)(v0 << 18 | v1 << 12 | v2 << 6 | v3);
+ if (o < size) out[o++] = (uint8_t)(w >> 16);
+ if (o < size) out[o++] = (uint8_t)(w >> 8);
+ if (o < size) out[o++] = (uint8_t)w;
+ }
+ return true;
+ }
+ return false;
+}
+
+static void fresh(void) {
+ memset(&pg, 0, sizeof pg);
+ pg.chars = 1, pg.ownboards = 1;
+ pg.boards = 3; /* a few to start with, as the game gives */
+}
+
+static bool valid(const SaveFile *f) {
+ return f->magic == MAGIC && f->size == sizeof(Progress) && f->p.character < NCHARS && f->p.board < NBOARDS &&
+ (f->p.chars & 1 << f->p.character) && (f->p.ownboards & 1 << f->p.board);
+}
+
+void save_load(void) {
+ SaveFile f;
+ uint32_t len;
+ const uint8_t *d = plat_load(SAVE_NAME, &len);
+ bool ok = false;
+ if (d && len == sizeof f) {
+ memcpy(&f, d, sizeof f);
+ ok = valid(&f);
+ }
+ if (!ok && copy_read(&f) && valid(&f)) {
+ ok = true;
+ plat_save(SAVE_NAME, &f, sizeof f); /* back where it belongs */
+ }
+ if (ok) pg = f.p;
+ else fresh();
+}
+
+bool save_write(void) {
+ SaveFile f;
+ memset(&f, 0, sizeof f);
+ f.magic = MAGIC, f.size = sizeof(Progress), f.p = pg;
+ bool ok = plat_save(SAVE_NAME, &f, sizeof f);
+ copy_write((const uint8_t *)&f, sizeof f);
+ return ok;
+}
diff --git a/games/subway/src/save.h b/games/subway/src/save.h
new file mode 100644
index 00000000..419efd4d
--- /dev/null
+++ b/games/subway/src/save.h
@@ -0,0 +1,7 @@
+/* Subway Surfers: what is kept (subway.sav), and its copy in a Python script. */
+#ifndef SS_SAVE_H
+#define SS_SAVE_H
+#include <stdbool.h>
+void save_load(void); /* the progress, or a new one; brought back from the copy if the file is gone */
+bool save_write(void);
+#endif
diff --git a/games/subway/src/scene.c b/games/subway/src/scene.c
new file mode 100644
index 00000000..b5d30c56
--- /dev/null
+++ b/games/subway/src/scene.c
@@ -0,0 +1,591 @@
+/* The scenery and what stands on the tracks (scene.h).
+ *
+ * The ground is not polygons: it is flat, so each row of the screen below the horizon is one distance
+ * ahead, and across the row the ground goes by evenly. Its colours across the yard (gravel, the rails,
+ * the sleepers) are kept in tables, sharp ones near and blurred ones far (each half as wide as the one
+ * before), and a row only reads its table at a steady step: no flicker on the far rails. The sleepers come
+ * one row in so many: rows that see part of one get a table with them mixed in. */
+#include <string.h>
+#include "actors.h"
+#include "scene.h"
+
+#define GROUND_W 384 /* entries of the sharpest table: 12 m at 32 a metre */
+#define GROUND_X0 (-6.0f)
+#define LEVELS 7
+#define SLEEPER 0.7f /* from one sleeper to the next */
+#define SLEEPER_W 0.26f
+#define WALL_X 5.8f
+#define BLOCK 24.0f
+
+enum { G_NONE, G_SLEEPER, G_MIX, G_KINDS };
+static uint16_t ground[2][G_KINDS][GROUND_W * 2]; /* outside and in tunnels; levels one after the other */
+static const int level_at[LEVELS] = {0, 384, 576, 672, 720, 744, 756};
+static uint16_t sky[SCREEN_H];
+static int horizon; /* the first row of ground */
+
+/* each row of ground: its table, where it starts and its step (16.16), its haze */
+typedef struct {
+ const uint16_t *lut;
+ int32_t u, du;
+ uint16_t n;
+ uint8_t haze;
+} GroundRow;
+static GroundRow rows[SCREEN_H];
+
+/* ---------------------------------------------------------------- the ground's colours */
+static uint32_t ground_at(float x, int kind) {
+ uint32_t edge = 0x9C8B78, bed = 0x86735F, ballast = 0x7A6957, wood = 0x5E4433, rail = 0xC9CFD6, rail_side = 0x6E7378;
+ uint32_t c = x < -4.2f || x > 4.2f ? edge : bed;
+ for (int l = 0; l < 3; l++) {
+ float d = x - LANE_X(l);
+ if (d < 0) d = -d;
+ if (d < 1.3f) c = ballast;
+ if (d < 1.12f && kind == G_SLEEPER) c = wood;
+ if (d >= 0.70f && d < 0.86f) c = d < 0.73f || d >= 0.83f ? rail_side : rail;
+ else if (d >= 0.86f && d < 0.92f && kind != G_SLEEPER) c = 0x4F4338; /* the rail's shadow */
+ }
+ /* a little grain */
+ uint32_t h = world_hash((uint32_t)((x + 8) * 32)) & 15;
+ if (c == bed || c == ballast || c == edge) c = r_mix888(c, h & 1 ? 0xFFFFFF : 0, (int)(h >> 1) * 3);
+ return c;
+}
+
+static void ground_tables(void) {
+ uint32_t acc[GROUND_W];
+ for (int env = 0; env < 2; env++)
+ for (int kind = 0; kind < G_KINDS; kind++) {
+ for (int i = 0; i < GROUND_W; i++) {
+ float x = GROUND_X0 + ((float)i + 0.5f) / 32;
+ uint32_t c = kind == G_MIX ? r_mix888(ground_at(x, G_NONE), ground_at(x, G_SLEEPER), 95) : ground_at(x, kind);
+ if (env) c = r_mix888(r_mix888(c, 0, 150), 0x182434, 40);
+ acc[i] = c;
+ }
+ for (int l = 0; l < LEVELS; l++) {
+ int n = GROUND_W >> l;
+ for (int i = 0; i < n; i++) ground[env][kind][level_at[l] + i] = r_565(acc[i]);
+ /* the next level: each two averaged */
+ for (int i = 0; i < n / 2; i++) {
+ uint32_t a = acc[2 * i], b = acc[2 * i + 1];
+ acc[i] = ((((a >> 16) & 255) + ((b >> 16) & 255)) / 2) << 16 | ((((a >> 8) & 255) + ((b >> 8) & 255)) / 2) << 8 |
+ (((a & 255) + (b & 255)) / 2);
+ }
+ }
+ }
+}
+
+void scene_init(void) { ground_tables(); }
+
+float scene_light(float z) { return world_tunnel(z) ? 0.5f : 1.0f; }
+uint32_t scene_lit(uint32_t rgb, float z) { return world_tunnel(z) ? r_mix888(r_mix888(rgb, 0, 120), 0x10203A, 30) : rgb; }
+
+/* ---------------------------------------------------------------- the camera, the sky, the ground's rows */
+/* the part of [a, b] on sleepers */
+static float on_sleepers(float a, float b) {
+ float n = 0, s = (float)(int)(a / SLEEPER) * SLEEPER;
+ if (a < 0) s -= SLEEPER;
+ for (; s < b; s += SLEEPER) {
+ float lo = s > a ? s : a, hi = s + SLEEPER_W < b ? s + SLEEPER_W : b;
+ if (hi > lo) n += hi - lo;
+ }
+ return n / (b - a);
+}
+
+void scene_camera(float x, float y, float z, float pitch) {
+ r_camera(x, y, z, pitch, 250, 160, 112);
+ /* the horizon: the row looking level */
+ float kh = cam.sp / cam.cp;
+ horizon = (int)(cam.cy - kh * cam.f) + 1;
+ if (horizon < 0) horizon = 0;
+ for (int y = 0; y < SCREEN_H; y++) {
+ int t = horizon > 0 ? y * 256 / (horizon + 8) : 256;
+ sky[y] = r_565(r_mix888(0x3C9FE8, 0xCFEFFF, t > 256 ? 256 : t));
+ }
+ for (int y = horizon; y < SCREEN_H; y++) {
+ GroundRow *g = &rows[y];
+ float k = (cam.cy - ((float)y + 0.5f)) / cam.f, den = k * cam.cp - cam.sp;
+ if (den > -1e-4f) {
+ g->lut = NULL;
+ continue;
+ }
+ float zc = -cam.y / den; /* the distance ahead, from the camera */
+ float wz = cam.z + zc * (k * cam.sp + cam.cp);
+ float k2 = (cam.cy - ((float)y + 1.5f)) / cam.f, den2 = k2 * cam.cp - cam.sp;
+ float wz2 = den2 < -1e-4f ? cam.z + -cam.y / den2 * (k2 * cam.sp + cam.cp) : wz + 100;
+ float dz = wz2 - wz;
+ if (zc > 400) {
+ g->lut = NULL;
+ continue;
+ }
+ int kind;
+ if (dz < 0.1f) {
+ float s = wz - (float)(int)(wz / SLEEPER) * SLEEPER;
+ kind = s < SLEEPER_W ? G_SLEEPER : G_NONE;
+ } else if (dz >= SLEEPER) kind = G_MIX;
+ else {
+ float c = on_sleepers(wz, wz + dz);
+ kind = c < 0.25f ? G_NONE : c > 0.75f ? G_SLEEPER : G_MIX;
+ }
+ float step = zc / cam.f * 32; /* entries of the sharpest table a pixel */
+ int l = 0;
+ while (step > 1.4f && l < LEVELS - 1) step *= 0.5f, l++;
+ float scale = (float)(32 >> l);
+ g->lut = ground[world_tunnel(wz)][kind] + level_at[l];
+ g->n = (uint16_t)(GROUND_W >> l);
+ g->u = (int32_t)(((cam.x + (0.5f - cam.cx) * zc / cam.f) - GROUND_X0) * scale * 65536);
+ g->du = (int32_t)(zc / cam.f * scale * 65536);
+ float h = (zc - r_haze0) / (r_haze1 - r_haze0);
+ g->haze = (uint8_t)(h <= 0 ? 0 : h >= 1 ? 240 : (int)(h * 240));
+ }
+}
+
+/* clouds: a few, far away, made of discs */
+static void clouds(uint16_t *row, int y) {
+ static const int8_t puff[5][3] = {{0, 0, 14}, {-16, 5, 10}, {16, 4, 11}, {-28, 9, 7}, {28, 9, 7}};
+ for (int c = 0; c < 4; c++) {
+ float cx = (float)((c * 97 + 30) % 340) - 10 - cam.x * 2, cy = (float)(horizon - 46 + (c * 37) % 30);
+ for (int p = 0; p < 5; p++) {
+ float px = cx + puff[p][0], py = cy + puff[p][1], r = puff[p][2];
+ float dy = (float)y + 0.5f - py;
+ if (dy * dy >= r * r) continue;
+ float w = __builtin_sqrtf(r * r - dy * dy);
+ int x0 = (int)(px - w), x1 = (int)(px + w);
+ if (x0 < 0) x0 = 0;
+ if (x1 > SCREEN_W) x1 = SCREEN_W;
+ for (int x = x0; x < x1; x++) row[x] = r_mix565(row[x], 0xFFFF, 26);
+ }
+ }
+}
+
+void scene_background(void) {
+ static uint16_t hazed[GROUND_W];
+ uint16_t haze = r_565(r_haze_rgb);
+ for (int y = r_y0; y < r_y1; y++) {
+ uint16_t *p = r_col + (y - r_y0) * SCREEN_W;
+ if (y < horizon || !rows[y].lut) {
+ uint16_t c = y < horizon ? sky[y] : haze;
+ for (int x = 0; x < SCREEN_W; x++) p[x] = c;
+ if (y < horizon) clouds(p, y);
+ continue;
+ }
+ const GroundRow *g = &rows[y];
+ const uint16_t *lut = g->lut;
+ uint32_t n = g->n;
+ if (g->haze) {
+ int t = (g->haze + 4) >> 3;
+ for (uint32_t i = 0; i < n; i++) hazed[i] = r_mix565(lut[i], haze, t);
+ lut = hazed;
+ }
+ uint16_t left = lut[0], right = lut[n - 1];
+ int32_t u = g->u, du = g->du;
+ /* the pixels left of the table's first entry, those on it, those right of its last */
+ int x = 0, xa = 0, xb = SCREEN_W;
+ if (u < 0) xa = (int)((-(int64_t)u + du - 1) / du);
+ int64_t end = ((int64_t)n << 16) - u;
+ if (end <= 0) xb = 0;
+ else if ((int64_t)du * SCREEN_W > end) xb = (int)((end + du - 1) / du);
+ if (xa > SCREEN_W) xa = SCREEN_W;
+ if (xb < xa) xb = xa;
+ for (; x < xa; x++) p[x] = left;
+ u += du * xa;
+ for (; x < xb; x++, u += du) p[x] = lut[(uint32_t)u >> 16];
+ for (; x < SCREEN_W; x++) p[x] = right;
+ }
+}
+
+/* ---------------------------------------------------------------- polygons */
+static uint32_t lit; /* 256: full light (outside), less in tunnels */
+static uint32_t L(uint32_t c) { return lit >= 256 ? c : r_mix888(r_mix888(c, 0, (int)(256 - lit)), 0x10203A, 24); }
+
+static void quad(V3 a, V3 b, V3 c, V3 d, uint32_t rgb, int flags) {
+ V3 v[4] = {a, b, c, d};
+ r_poly(v, 4, rgb, flags, 0);
+}
+/* a wall at x facing +x (dir 1) or -x (dir -1), from (z0, y0) to (z1, y1) */
+static void side(float x, int dir, float z0, float z1, float y0, float y1, uint32_t rgb, int flags) {
+ V3 n = {(float)dir, 0, 0};
+ uint32_t c = flags & P_NOHAZE ? rgb : r_shade(rgb, n);
+ if (dir > 0) quad((V3){x, y1, z0}, (V3){x, y1, z1}, (V3){x, y0, z1}, (V3){x, y0, z0}, c, flags);
+ else quad((V3){x, y1, z1}, (V3){x, y1, z0}, (V3){x, y0, z0}, (V3){x, y0, z1}, c, flags);
+}
+/* facing the camera (-z), from (x0, y0) to (x1, y1) */
+static void front(float z, float x0, float x1, float y0, float y1, uint32_t rgb, int flags) {
+ uint32_t c = flags & P_NOHAZE ? rgb : r_shade(rgb, (V3){0, 0, -1});
+ quad((V3){x0, y1, z}, (V3){x1, y1, z}, (V3){x1, y0, z}, (V3){x0, y0, z}, c, flags);
+}
+static void ceiling(float y, float x0, float x1, float z0, float z1, uint32_t rgb) {
+ quad((V3){x1, y, z1}, (V3){x0, y, z1}, (V3){x0, y, z0}, (V3){x1, y, z0}, rgb, 0);
+}
+static void cube(float x0, float y0, float z0, float x1, float y1, float z1, uint32_t rgb, int skip) {
+ r_cube(x0, y0, z0, x1, y1, z1, L(rgb), skip);
+}
+
+/* ---------------------------------------------------------------- graffiti */
+static const uint32_t spray[8] = {0xFF4FA3, 0xFFD23F, 0x3FD0FF, 0x6BE04A, 0xFF8A2B, 0x9B5CFF, 0xFF3B3B, 0xF4F4F4};
+
+/* a 2D polygon (u along the wall, v up) put on the wall at x facing dir; mirrored on the right so that
+ * it reads the same way round */
+static void on_wall(float x, int dir, float z0, float w, const float *uv, int n, uint32_t rgb, int flags) {
+ V3 v[8];
+ for (int i = 0; i < n; i++) {
+ float u = uv[2 * i];
+ v[i] = (V3){x, uv[2 * i + 1], dir > 0 ? z0 + u : z0 + w - u};
+ }
+ if (dir < 0)
+ for (int i = 0; i < n / 2; i++) {
+ V3 t = v[i];
+ v[i] = v[n - 1 - i], v[n - 1 - i] = t;
+ }
+ r_poly(v, n, L(r_shade(rgb, (V3){(float)dir, 0, 0})), flags, 0);
+}
+
+/* letters for the tags, on a grid 3 wide and 5 tall: their strokes as boxes (x0, y0, x1, y1) */
+typedef struct {
+ char c;
+ uint8_t n;
+ uint8_t bar[5][4];
+} Letter;
+static const Letter letters[] = {
+ {'S', 5, {{0, 4, 3, 5}, {0, 2, 1, 5}, {0, 2, 3, 3}, {2, 0, 3, 3}, {0, 0, 3, 1}}},
+ {'U', 3, {{0, 0, 1, 5}, {2, 0, 3, 5}, {0, 0, 3, 1}}},
+ {'B', 5, {{0, 0, 1, 5}, {0, 4, 2, 5}, {0, 2, 3, 3}, {0, 0, 3, 1}, {2, 0, 3, 5}}},
+ {'W', 3, {{0, 0, 1, 5}, {2, 0, 3, 5}, {1, 0, 2, 3}}},
+ {'A', 4, {{0, 0, 1, 5}, {2, 0, 3, 5}, {0, 4, 3, 5}, {0, 2, 3, 3}}},
+ {'Y', 3, {{0, 2, 1, 5}, {2, 2, 3, 5}, {0, 2, 3, 3}}},
+ {'R', 5, {{0, 0, 1, 5}, {0, 4, 3, 5}, {2, 2, 3, 5}, {0, 2, 3, 3}, {2, 0, 3, 2}}},
+ {'F', 3, {{0, 0, 1, 5}, {0, 4, 3, 5}, {0, 2, 2, 3}}},
+ {'E', 4, {{0, 0, 1, 5}, {0, 4, 3, 5}, {0, 2, 2, 3}, {0, 0, 3, 1}}},
+ {'J', 3, {{2, 0, 3, 5}, {0, 0, 3, 1}, {0, 0, 1, 2}}},
+ {'K', 4, {{0, 0, 1, 5}, {0, 2, 2, 3}, {2, 3, 3, 5}, {2, 0, 3, 2}}},
+ {'O', 4, {{0, 0, 1, 5}, {2, 0, 3, 5}, {0, 4, 3, 5}, {0, 0, 3, 1}}},
+ {'N', 3, {{0, 0, 1, 5}, {2, 0, 3, 5}, {0, 4, 3, 5}}},
+ {'C', 3, {{0, 0, 1, 5}, {0, 4, 3, 5}, {0, 0, 3, 1}}},
+ {'L', 2, {{0, 0, 1, 5}, {0, 0, 3, 1}}},
+ {'T', 2, {{0, 4, 3, 5}, {1, 0, 2, 5}}},
+ {'H', 3, {{0, 0, 1, 5}, {2, 0, 3, 5}, {0, 2, 3, 3}}},
+ {'I', 1, {{1, 0, 2, 5}}},
+ {'D', 4, {{0, 0, 1, 5}, {0, 4, 2, 5}, {0, 0, 2, 1}, {2, 1, 3, 4}}},
+ {'P', 4, {{0, 0, 1, 5}, {0, 4, 3, 5}, {2, 2, 3, 5}, {0, 2, 3, 3}}},
+ {'G', 5, {{0, 0, 1, 5}, {0, 4, 3, 5}, {0, 0, 3, 1}, {2, 0, 3, 3}, {2, 2, 3, 3}}},
+ {'!', 2, {{1, 2, 2, 5}, {1, 0, 2, 1}}},
+};
+static const char *const words[] = {"SURF", "SUBWAY", "JAKE", "YO!", "RUN", "COOL", "WOW", "FRESH", "TRICKY", "SPIKE",
+ "HEY", "RAD", "GO!", "FUN", "TAG", "HOP", "BOLT", "YEAH", "PARK", "DASH"};
+
+static const Letter *letter(char c) {
+ for (unsigned i = 0; i < sizeof letters / sizeof letters[0]; i++)
+ if (letters[i].c == c) return &letters[i];
+ return NULL;
+}
+
+/* a piece of graffiti, w metres wide and h tall, from its number: a word in bubble-bright letters leaning
+ * forward, with a shadow, on a cloud of another colour */
+static void graffiti(float x, int dir, float z0, float w, float h, uint32_t seed, float dist) {
+ uint32_t s = world_hash(seed);
+ const char *word = words[s % (sizeof words / sizeof words[0])];
+ int n = 0;
+ while (word[n]) n++;
+ uint32_t cloud = (s >> 5) & 1 ? 0x1D1D2B : 0xF8F8F8, shadow = (s >> 5) & 1 ? 0x0A0A12 : 0x30304A;
+ uint32_t fill = spray[(s >> 8) % 7], second = spray[((s >> 8) % 7 + 1 + (s >> 12) % 5) % 7];
+ /* the letters' size: the word fills the width, at most the height */
+ float cell = w / ((float)n * 4.2f + 1), lh = cell * 5;
+ if (lh > h * 0.7f) lh = h * 0.7f, cell = lh / 5;
+ float ww = cell * ((float)n * 4.2f - 1.2f), u0 = (w - ww) / 2, v0 = (h - lh) / 2 + 0.25f, lean = 0.22f;
+ /* the cloud behind: a rounded box */
+ float cu0 = u0 - cell * 1.1f, cu1 = u0 + ww + cell * 1.1f + lean * lh, cv0 = v0 - cell * 1.2f, cv1 = v0 + lh + cell * 1.1f, r = cell * 1.2f;
+ float c[16] = {cu0 + r, cv1, cu1 - r, cv1, cu1, cv1 - r, cu1, cv0 + r, cu1 - r, cv0, cu0 + r, cv0, cu0, cv0 + r, cu0, cv1 - r};
+ on_wall(x, dir, z0, w, c, 8, cloud, P_DECAL);
+ if (dist > 85) return;
+ for (int i = 0; i < n; i++) {
+ const Letter *L = letter(word[i]);
+ if (!L) continue;
+ float lu = u0 + (float)i * cell * 4.2f;
+ uint32_t col = i & 1 ? second : fill;
+ for (int b = 0; b < L->n; b++) {
+ float x0 = lu + L->bar[b][0] * cell, x1 = lu + L->bar[b][2] * cell;
+ float y0 = v0 + L->bar[b][1] * cell, y1 = v0 + L->bar[b][3] * cell;
+ /* leaning: the higher, the further along */
+ float q[8] = {x0 + lean * (y1 - v0), y1, x1 + lean * (y1 - v0), y1, x1 + lean * (y0 - v0), y0, x0 + lean * (y0 - v0), y0};
+ if (dist < 50) {
+ float d = cell * 0.35f;
+ float sh[8] = {q[0] + d, q[1] - d, q[2] + d, q[3] - d, q[4] + d, q[5] - d, q[6] + d, q[7] - d};
+ on_wall(x, dir, z0, w, sh, 4, shadow, P_DECAL2);
+ }
+ on_wall(x, dir, z0, w, q, 4, col, P_DECAL3);
+ }
+ }
+}
+
+/* ---------------------------------------------------------------- the yard */
+static const uint32_t house[8] = {0xC4553A, 0xE8C9A0, 0x5E8FC4, 0xF2E6C8, 0x3FA6A0, 0xE8893A, 0xE89AB0, 0xA8ADB3};
+
+static void building(int dir, float z0, float z1, float near_x, float depth, float h, uint32_t col, float dist) {
+ float x0 = dir > 0 ? -near_x - depth : near_x, x1 = dir > 0 ? -near_x : near_x + depth;
+ cube(x0, 0, z0, x1, h, z1, col, 2);
+ if (dist > 110) return;
+ /* windows, floor by floor, on the side facing the tracks and the end facing the camera */
+ uint32_t glass = L(0x2C4A6E);
+ float wx = dir > 0 ? x1 : x0;
+ for (float y = 3.6f; y + 1.6f < h - 0.8f; y += 3.2f) {
+ side(wx, dir, z0 + 0.8f, z1 - 0.8f, y, y + 1.5f, glass, P_DECAL);
+ if (dist < 70) front(z0, x0 + 0.8f, x1 - 0.8f, y, y + 1.5f, glass, P_DECAL);
+ }
+}
+
+static void open_block(int b, float z0, float dist) {
+ uint32_t h = world_hash((uint32_t)b * 7919u + 3 + world_seed);
+ bool before_tunnel = world_tunnel(z0 + BLOCK + 1);
+ for (int dir = -1; dir <= 1; dir += 2) {
+ uint32_t hs = world_hash(h + (uint32_t)(dir + 1));
+ float wx = dir > 0 ? -WALL_X : WALL_X; /* the wall's face towards the tracks: the left one faces +x */
+ float wh = 3.4f + (float)(hs % 3) * 0.4f;
+ static const uint32_t walls[6] = {0xB9B1A3, 0xA9A39A, 0xA65A42, 0xC9BFA8, 0x8E9AA3, 0xB46B4E};
+ uint32_t wc = walls[(hs >> 4) % 6];
+ float outer = dir > 0 ? wx - 0.5f : wx + 0.5f;
+ cube(dir > 0 ? outer : wx, 0, z0, dir > 0 ? wx : outer, wh, z0 + BLOCK, wc, 2 | (dir > 0 ? 4 : 8));
+ /* pillars */
+ for (int k = 0; k < 2; k++) {
+ float pz = z0 + (float)k * 12;
+ float px0 = dir > 0 ? wx - 0.2f : wx - 0.25f, px1 = dir > 0 ? wx + 0.25f : wx + 0.2f;
+ cube(px0, 0, pz, px1, wh + 0.3f, pz + 0.7f, 0x8E877D, 2);
+ }
+ if (dist < 110) {
+ for (int k = 0; k < 2; k++) {
+ uint32_t g = world_hash(hs + (uint32_t)k * 31);
+ if (g % 4 == 0) continue;
+ float gw = 7 + (float)(g >> 8 & 3), gz = z0 + 1.2f + (float)k * 12;
+ graffiti(wx + (dir > 0 ? 0.01f : -0.01f), dir, gz, gw > 9.8f ? 9.8f : gw, wh - 0.4f, g, dist + (float)k * 12);
+ }
+ }
+ /* the buildings behind (not right before a tunnel: its face is there) */
+ for (int k = 0; k < 2 && !before_tunnel; k++) {
+ uint32_t g = world_hash(hs * 3 + (uint32_t)k);
+ float bh = 9 + (float)(g % 16), depth = 8 + (float)(g >> 4 & 7);
+ float bz = z0 + (float)k * 12 + 0.6f;
+ building(dir, bz, bz + 10.8f, 7.5f + (float)(g >> 8 & 3), depth, bh, house[(g >> 12) & 7], dist);
+ if ((g >> 16) % 3 == 0 && dist < 80) {
+ /* a water tank on the roof */
+ float cx = dir > 0 ? -12 : 12;
+ cube(cx - 1.2f, bh, bz + 3, cx + 1.2f, bh + 2.2f, bz + 5.4f, 0x8A5A3C, 2);
+ }
+ }
+ }
+ /* a gantry with signals over the tracks, now and then */
+ if (h % 4 == 0 && !before_tunnel) {
+ float gz = z0 + 6;
+ cube(-5.2f, 0, gz, -4.8f, 7.6f, gz + 0.4f, 0x6B7A86, 2);
+ cube(4.8f, 0, gz, 5.2f, 7.6f, gz + 0.4f, 0x6B7A86, 2);
+ cube(-5.4f, 7.0f, gz - 0.1f, 5.4f, 7.6f, gz + 0.5f, 0x7D8B96, 0);
+ for (int l = 0; l < 3; l++) {
+ float lx = LANE_X(l);
+ cube(lx - 0.3f, 5.9f, gz - 0.2f, lx + 0.3f, 7.0f, gz + 0.2f, 0x2A2D33, 2);
+ uint32_t lamp = (h >> (4 + l)) & 1 ? 0xFF3B30 : 0x3CFF6A;
+ front(gz - 0.21f, lx - 0.15f, lx + 0.15f, 6.5f, 6.8f, L(lamp), P_DECAL | P_NOHAZE);
+ }
+ }
+}
+
+static void tunnel_block(float z0, float dist) {
+ bool first = !world_tunnel(z0 - 1);
+ uint32_t wall = 0x5A5F66, dark = 0x3A3E44;
+ side(-WALL_X, 1, z0, z0 + BLOCK, 0, 7.2f, scene_lit(wall, z0), 0);
+ side(WALL_X, -1, z0, z0 + BLOCK, 0, 7.2f, scene_lit(wall, z0), 0);
+ ceiling(7.2f, -WALL_X, WALL_X, z0, z0 + BLOCK, scene_lit(dark, z0));
+ if (dist < 120)
+ for (int k = 0; k < 3; k++) {
+ float lz = z0 + 4 + (float)k * 8;
+ side(-WALL_X + 0.01f, 1, lz, lz + 1.2f, 4.6f, 5.0f, 0xFFF2B0, P_DECAL | P_NOHAZE);
+ side(WALL_X - 0.01f, -1, lz, lz + 1.2f, 4.6f, 5.0f, 0xFFF2B0, P_DECAL | P_NOHAZE);
+ side(-WALL_X + 0.01f, 1, lz - 2, lz - 1.6f, 0, 7.2f, scene_lit(dark, z0), P_DECAL);
+ side(WALL_X - 0.01f, -1, lz - 2, lz - 1.6f, 0, 7.2f, scene_lit(dark, z0), P_DECAL);
+ }
+ if (first) {
+ /* the way in: a big face of brick round the opening, with a frame */
+ uint32_t brick = 0x9A5A44, trim = 0x6E6A64, top = 0x7E4636;
+ front(z0, -60, -WALL_X, 0, 24, brick, 0);
+ front(z0, WALL_X, 60, 0, 24, brick, 0);
+ front(z0, -WALL_X, WALL_X, 7.2f, 24, brick, 0);
+ /* a band of darker brick on top, and a frame round the opening */
+ front(z0, -60, 60, 21, 24, top, P_DECAL);
+ front(z0, -WALL_X - 0.9f, -WALL_X, 0, 8.1f, trim, P_DECAL);
+ front(z0, WALL_X, WALL_X + 0.9f, 0, 8.1f, trim, P_DECAL);
+ front(z0, -WALL_X - 0.9f, WALL_X + 0.9f, 7.2f, 8.1f, trim, P_DECAL);
+ /* the subway's sign over it */
+ front(z0, -3.0f, 3.0f, 10.0f, 12.4f, 0x1A1A22, P_DECAL);
+ front(z0, -2.8f, 2.8f, 10.2f, 12.2f, 0x2E5FA8, P_DECAL2);
+ for (int i = 0; i < 3; i++) front(z0, -2.2f + 1.6f * (float)i, -1.2f + 1.6f * (float)i, 10.7f, 11.7f, 0xF4F4F4, P_DECAL3);
+ if (dist < 100)
+ for (int i = 0; i < 6; i++) {
+ /* lamps along the top */
+ float x = -15 + 6 * (float)i;
+ front(z0, x - 0.4f, x + 0.4f, 18, 18.8f, 0xFFF2B0, P_DECAL | P_NOHAZE);
+ }
+ }
+}
+
+/* ---------------------------------------------------------------- trains, barriers, coins */
+static const uint32_t livery[8] = {0x9EC3DD, 0xD8433A, 0xF2C230, 0x4FAE5B, 0x2FB5B5, 0xE4E7EA, 0xF07F2D, 0x6D7BD8};
+static const uint32_t stripe[8] = {0xF07F2D, 0xF4F4F4, 0x2E5FA8, 0xF2C230, 0xF4F4F4, 0xD8433A, 0x2E2E36, 0xF2C230};
+
+static void car(float lx, float z0, float z1, int look, bool head, bool moving, float dist) {
+ uint32_t body = livery[look & 7], band = stripe[look & 7];
+ float x0 = lx - TRAIN_W, x1 = lx + TRAIN_W;
+ cube(x0, 0.5f, z0, x1, 3.3f, z1, body, 2);
+ cube(x0 + 0.1f, 3.3f, z0 + 0.25f, x1 - 0.1f, TRAIN_H, z1 - 0.25f, r_mix888(body, 0xBFC4C9, 150), 2);
+ cube(lx - 0.85f, 0.18f, z0 + 0.6f, lx + 0.85f, 0.5f, z1 - 0.6f, 0x2B2B30, 1 | 2);
+ cube(lx - 1.0f, 0.0f, z0 + 0.8f, lx + 1.0f, 0.55f, z0 + 3.0f, 0x232327, 1 | 2);
+ cube(lx - 1.0f, 0.0f, z1 - 3.0f, lx + 1.0f, 0.55f, z1 - 0.8f, 0x232327, 1 | 2);
+ if (dist > 120) return;
+ uint32_t glass = L(0x2B4260), door = L(r_mix888(body, 0, 60)), b = L(band);
+ for (int s = -1; s <= 1; s += 2) {
+ float x = s < 0 ? x0 - 0.005f : x1 + 0.005f;
+ int dir = s;
+ side(x, dir, z0 + 0.2f, z1 - 0.2f, 1.25f, 1.55f, b, P_DECAL);
+ float len = z1 - z0;
+ /* two doors, windows between */
+ for (int d = 0; d < 2; d++) {
+ float dz = z0 + len * (d ? 0.68f : 0.22f);
+ side(x, dir, dz, dz + 1.3f, 0.6f, 3.0f, door, P_DECAL);
+ side(x, dir, dz + 0.2f, dz + 1.1f, 1.9f, 2.8f, glass, P_DECAL2);
+ }
+ if (dist < 80)
+ for (int w = 0; w < 4; w++) {
+ float wz = z0 + len * (0.05f + 0.115f * (float)w) + (w >= 2 ? len * 0.36f : 0);
+ side(x, dir, wz, wz + len * 0.09f, 1.95f, 2.8f, glass, P_DECAL);
+ }
+ if (dist < 70 && (look >> 1) % 3 == 0) graffiti(x, dir, z0 + len * 0.33f, len * 0.3f, 1.25f, (uint32_t)look * 13 + (uint32_t)(z0 * 3), dist);
+ }
+ if (head) {
+ /* the cab's face */
+ uint32_t face = (look & 3) == 2 ? 0x2E5FA8 : 0xF2C230;
+ front(z0 - 0.005f, x0 + 0.05f, x1 - 0.05f, 0.6f, 3.25f, L(face), P_DECAL);
+ front(z0 - 0.01f, x0 + 0.25f, lx - 0.08f, 1.9f, 2.9f, glass, P_DECAL2);
+ front(z0 - 0.01f, lx + 0.08f, x1 - 0.25f, 1.9f, 2.9f, glass, P_DECAL2);
+ uint32_t lamp = moving ? 0xFFFFE0 : 0xD8D2B0;
+ front(z0 - 0.01f, x0 + 0.25f, x0 + 0.65f, 0.95f, 1.3f, moving ? lamp : L(lamp), P_DECAL2 | (moving ? P_NOHAZE : 0));
+ front(z0 - 0.01f, x1 - 0.65f, x1 - 0.25f, 0.95f, 1.3f, moving ? lamp : L(lamp), P_DECAL2 | (moving ? P_NOHAZE : 0));
+ front(z0 - 0.01f, lx - 0.7f, lx + 0.7f, 3.0f, 3.2f, L(0x1E1E24), P_DECAL2);
+ if (moving) {
+ /* the headlights' glow */
+ V3 g[4] = {{x0 - 0.6f, 2.0f, z0 - 0.3f}, {x1 + 0.6f, 2.0f, z0 - 0.3f}, {x1 + 0.6f, 0.2f, z0 - 0.3f}, {x0 - 0.6f, 0.2f, z0 - 0.3f}};
+ r_poly(g, 4, 0xFFF6C0, P_ALPHA | P_NOHAZE, 70);
+ }
+ }
+}
+
+static void ramp(float lx, float z0, float z1) {
+ uint32_t steel = L(0x8D969E), dark = L(0x4A5058), yellow = L(0xF2C230);
+ float x0 = lx - 1.05f, x1 = lx + 1.05f, h = TRAIN_H;
+ V3 slope = {0, (z1 - z0), -h}; /* its normal, up and towards the camera */
+ float l = __builtin_sqrtf(slope.y * slope.y + slope.z * slope.z);
+ slope.y /= l, slope.z /= l;
+ quad((V3){x0, h, z1}, (V3){x1, h, z1}, (V3){x1, 0, z0}, (V3){x0, 0, z0}, r_shade(steel, slope), 0);
+ /* yellow edges and ribs */
+ quad((V3){x0, h, z1}, (V3){x0 + 0.18f, h, z1}, (V3){x0 + 0.18f, 0, z0}, (V3){x0, 0, z0}, r_shade(yellow, slope), P_DECAL);
+ quad((V3){x1 - 0.18f, h, z1}, (V3){x1, h, z1}, (V3){x1, 0, z0}, (V3){x1 - 0.18f, 0, z0}, r_shade(yellow, slope), P_DECAL);
+ for (int i = 1; i < 6; i++) {
+ float t = (float)i / 6, t2 = t + 0.025f;
+ float za = z0 + (z1 - z0) * t, zb = z0 + (z1 - z0) * t2;
+ quad((V3){x0 + 0.18f, h * t2, zb}, (V3){x1 - 0.18f, h * t2, zb}, (V3){x1 - 0.18f, h * t, za}, (V3){x0 + 0.18f, h * t, za},
+ r_shade(dark, slope), P_DECAL);
+ }
+ /* the sides: triangles */
+ V3 a[3] = {{x0, 0, z0}, {x0, h, z1}, {x0, 0, z1}};
+ V3 b[3] = {{x1, 0, z1}, {x1, h, z1}, {x1, 0, z0}};
+ r_poly(a, 3, r_shade(dark, (V3){-1, 0, 0}), 0, 0);
+ r_poly(b, 3, r_shade(dark, (V3){1, 0, 0}), 0, 0);
+}
+
+/* red and white stripes across a board facing the camera */
+static void striped(float z, float x0, float x1, float y0, float y1) {
+ front(z, x0, x1, y0, y1, L(0xF4F4F4), 0);
+ float w = (x1 - x0) / 5;
+ for (int i = 0; i < 5; i += 2) front(z - 0.005f, x0 + w * (float)i, x0 + w * (float)(i + 1), y0, y1, L(0xE23B2E), P_DECAL);
+}
+
+static void barrier(const Obstacle *o) {
+ float lx = LANE_X(o->lane), z = o->z0;
+ if (o->type == O_HURDLE) {
+ cube(lx - 1.0f, 0, z + 0.05f, lx - 0.86f, 1.15f, z + 0.2f, 0xDADDE0, 2);
+ cube(lx + 0.86f, 0, z + 0.05f, lx + 1.0f, 1.15f, z + 0.2f, 0xDADDE0, 2);
+ cube(lx - 1.1f, 0.62f, z, lx + 1.1f, 1.15f, z + 0.12f, 0xF4F4F4, 2);
+ striped(z - 0.003f, lx - 1.1f, lx + 1.1f, 0.62f, 1.15f);
+ /* feet */
+ cube(lx - 1.05f, 0, z - 0.25f, lx - 0.8f, 0.08f, z + 0.5f, 0x8A8F95, 2);
+ cube(lx + 0.8f, 0, z - 0.25f, lx + 1.05f, 0.08f, z + 0.5f, 0x8A8F95, 2);
+ } else if (o->type == O_HIGHBAR) {
+ cube(lx - 1.12f, 0, z + 0.05f, lx - 0.96f, 2.45f, z + 0.22f, 0xDADDE0, 2);
+ cube(lx + 0.96f, 0, z + 0.05f, lx + 1.12f, 2.45f, z + 0.22f, 0xDADDE0, 2);
+ cube(lx - 1.12f, 1.4f, z, lx + 1.12f, 2.35f, z + 0.12f, 0xF4F4F4, 2);
+ striped(z - 0.003f, lx - 1.12f, lx + 1.12f, 1.4f, 1.75f);
+ /* a sign: an arrow down */
+ front(z - 0.003f, lx - 0.5f, lx + 0.5f, 1.8f, 2.3f, L(0x2E5FA8), P_DECAL);
+ V3 arrow[3] = {{lx - 0.3f, 2.2f, z - 0.006f}, {lx + 0.3f, 2.2f, z - 0.006f}, {lx, 1.86f, z - 0.006f}};
+ r_poly(arrow, 3, L(0xF4F4F4), P_DECAL2, 0);
+ } else {
+ /* the big one: yellow and black, lamps on top */
+ cube(lx - 1.15f, 0, z, lx + 1.15f, 2.6f, z + 0.45f, 0xF2C230, 2);
+ for (int i = 0; i < 4; i++) {
+ float x = lx - 1.15f + 0.575f * (float)i;
+ V3 chev[4] = {{x + 0.1f, 2.4f, z - 0.004f}, {x + 0.4f, 2.4f, z - 0.004f}, {x + 0.4f, 0.3f, z - 0.004f}, {x + 0.1f, 0.3f, z - 0.004f}};
+ r_poly(chev, 4, L(r_shade(0x232327, (V3){0, 0, -1})), P_DECAL, 0);
+ }
+ cube(lx - 0.9f, 2.6f, z + 0.1f, lx - 0.5f, 2.95f, z + 0.35f, 0xFF3B30, 2);
+ cube(lx + 0.5f, 2.6f, z + 0.1f, lx + 0.9f, 2.95f, z + 0.35f, 0xFF3B30, 2);
+ }
+}
+
+/* a coin: a gold disc turning about its upright axis */
+static void coin(const Item *it, float t) {
+ float s, c, r = 0.38f;
+ r_sincos(t * 5 + it->z * 0.6f, &s, &c);
+ static const float k[8][2] = {{0, 1}, {0.707f, 0.707f}, {1, 0}, {0.707f, -0.707f}, {0, -1}, {-0.707f, -0.707f}, {-1, 0}, {-0.707f, 0.707f}};
+ V3 v[8], w[8];
+ float lgt = scene_light(it->z);
+ uint32_t gold = 0xFFC21F, face = 0xFFE26A;
+ if (lgt < 1) gold = scene_lit(gold, it->z), face = scene_lit(face, it->z);
+ for (int i = 0; i < 8; i++) {
+ float u = k[i][0] * r, y = k[i][1] * r;
+ v[i] = (V3){it->x + c * u, it->y + y, it->z + s * u};
+ w[i] = (V3){it->x + c * u * 0.62f, it->y + y * 0.62f, it->z + s * u * 0.62f};
+ }
+ r_poly(v, 8, r_shade(gold, (V3){0, 0.3f, -0.95f}), P_TWOSIDED, 0);
+ r_poly(w, 8, face, P_TWOSIDED | P_DECAL, 0);
+}
+
+void scene_draw(float t) {
+ float zfar = cam.z + 175;
+ int b0 = (int)(cam.z / BLOCK) - (cam.z < 0), b1 = (int)(zfar / BLOCK);
+ for (int b = b1; b >= b0; b--) {
+ float z0 = (float)b * BLOCK, dist = z0 - cam.z;
+ if (world_tunnel(z0 + 1)) {
+ lit = 256;
+ tunnel_block(z0, dist);
+ } else {
+ lit = 256;
+ open_block(b, z0, dist);
+ }
+ }
+ for (int i = 0; i < nobs; i++) {
+ const Obstacle *o = &obs[i];
+ if (o->z0 > zfar || o->z1 < cam.z) continue;
+ lit = world_tunnel(o->z0) ? 128 : 256;
+ float dist = o->z0 - cam.z;
+ if (o->type == O_TRAIN || o->type == O_MOVING) {
+ float z = o->z0;
+ for (int c = 0; c < o->cars; c++, z += CAR_LEN + CAR_GAP) {
+ if (z > zfar) break;
+ car(LANE_X(o->lane), z, z + CAR_LEN, o->look, c == 0, o->type == O_MOVING, z - cam.z);
+ if (c + 1 < o->cars) cube(LANE_X(o->lane) - 0.4f, 1.0f, z + CAR_LEN, LANE_X(o->lane) + 0.4f, 2.8f, z + CAR_LEN + CAR_GAP, 0x2B2B30, 1 | 2);
+ }
+ } else if (o->type == O_RAMP) ramp(LANE_X(o->lane), o->z0, o->z1);
+ else barrier(o);
+ (void)dist;
+ }
+ for (int i = 0; i < nitems; i++) {
+ const Item *it = &items[i];
+ if (it->z > cam.z + 120 || it->z < cam.z + 1) continue;
+ if (it->kind == I_COIN) coin(it, t);
+ else actors_pickup(it, t);
+ }
+ lit = 256;
+}
diff --git a/games/subway/src/scene.h b/games/subway/src/scene.h
new file mode 100644
index 00000000..6efea7e1
--- /dev/null
+++ b/games/subway/src/scene.h
@@ -0,0 +1,15 @@
+/* Subway Surfers: the scenery and what stands on the tracks, as polygons (r3d.h), and the sky and the
+ * ground behind them, drawn row by row. */
+#ifndef SS_SCENE_H
+#define SS_SCENE_H
+#include "game.h"
+
+void scene_init(void);
+/* the camera behind and above the runner (or for the title screen), looking down by pitch (radians) */
+void scene_camera(float x, float y, float z, float pitch);
+void scene_draw(float t); /* the world in front of the camera; t: the time, for spinning coins */
+void scene_background(void); /* r3d band callback: the sky and the ground */
+/* how lit things are at z: 1 outside, darker in a tunnel */
+float scene_light(float z);
+uint32_t scene_lit(uint32_t rgb, float z);
+#endif
diff --git a/games/subway/src/world.c b/games/subway/src/world.c
new file mode 100644
index 00000000..e9f79a0a
--- /dev/null
+++ b/games/subway/src/world.c
@@ -0,0 +1,321 @@
+/* The world ahead (game.h): trains, ramps, barriers, coins and power-ups, laid out a stretch at a time from a
+ * set of patterns the way the game does it - trains to weave round or climb, rows of barriers to jump or roll
+ * under, coins showing the way - harder as the run gets faster, always with a way through. */
+#include <string.h>
+#include "game.h"
+
+Obstacle obs[MAXOBS];
+int nobs;
+Item items[MAXITEMS];
+int nitems;
+
+static uint32_t rng;
+uint32_t world_seed; /* the scenery of this run */
+static Obstacle *add(int type, int lane, float z0, float z1);
+static float train_len(int cars);
+static float gen_z; /* the world is made up to here */
+static float kept[3]; /* each track is kept clear up to here for a train coming down it */
+static int patterns; /* made so far this run */
+static float next_power, next_key;
+
+uint32_t world_hash(uint32_t a) {
+ a ^= a >> 16;
+ a *= 0x7FEB352Du;
+ a ^= a >> 15;
+ a *= 0x846CA68Bu;
+ a ^= a >> 16;
+ return a;
+}
+static uint32_t rnd(void) {
+ rng ^= rng << 13;
+ rng ^= rng >> 17;
+ rng ^= rng << 5;
+ return rng;
+}
+static int rn(int n) { return (int)(rnd() % (uint32_t)n); }
+static float rf(void) { return (float)(rnd() & 0xFFFF) / 65536.0f; }
+
+void world_reset(uint32_t seed) {
+ rng = seed ? seed : 0x9E3779B9u;
+ world_seed = world_hash(rng) & 0xFFFFF;
+ nobs = nitems = patterns = 0;
+ gen_z = 0;
+ kept[0] = kept[1] = kept[2] = 0;
+ next_power = 140 + (float)rn(80);
+ next_key = 900 + (float)rn(600);
+}
+
+/* the title screen's yard: a train standing on each side of the runner */
+void world_title(void) {
+ Obstacle *o = add(O_TRAIN, 0, 2.5f, 2.5f + train_len(2));
+ if (o) o->cars = 2, o->look = 1;
+ o = add(O_TRAIN, 2, 4.5f, 4.5f + train_len(1));
+ if (o) o->cars = 1, o->look = 0;
+}
+
+/* ---------------------------------------------------------------- the scenery's plan */
+bool world_tunnel(float z) {
+ if (z < 240) return false;
+ int b = (int)(z / 24), g = b / 10, k = b % 10;
+ return world_hash((uint32_t)g * 2654435761u + 17 + world_seed) % 100 < 45 && k >= 3 && k <= 6;
+}
+
+/* ---------------------------------------------------------------- placing things */
+static float train_len(int cars) { return (float)cars * CAR_LEN + (float)(cars - 1) * CAR_GAP; }
+
+static Obstacle *add(int type, int lane, float z0, float z1) {
+ if (nobs >= MAXOBS || z0 < kept[lane]) return NULL;
+ Obstacle *o = &obs[nobs++];
+ memset(o, 0, sizeof *o);
+ o->type = (uint8_t)type, o->lane = (uint8_t)lane, o->z0 = z0, o->z1 = z1;
+ o->look = (uint8_t)rn(8);
+ return o;
+}
+static float train(int lane, float z, int cars) {
+ Obstacle *o = add(O_TRAIN, lane, z, z + train_len(cars));
+ if (o) o->cars = (uint8_t)cars;
+ return z + train_len(cars);
+}
+static float ramp_train(int lane, float z, int cars) {
+ add(O_RAMP, lane, z, z + RAMP_LEN);
+ return train(lane, z + RAMP_LEN, cars);
+}
+/* a train coming the other way, met by the runner about at z */
+static void moving(int lane, float z, int cars, float speed) {
+ float v = 11 + rf() * 4;
+ float lead = 110 * v / (speed + v); /* it starts moving 110 m before the runner reaches it */
+ Obstacle *o = add(O_MOVING, lane, z + lead, z + lead + train_len(cars));
+ if (o) o->cars = (uint8_t)cars, o->v = v, kept[lane] = o->z1 + 2;
+}
+static void barrier(int type, int lane, float z) { add(type, lane, z, z + (type == O_BLOCK ? 0.5f : 0.3f)); }
+
+static void item(int kind, float x, float y, float z) {
+ if (nitems >= MAXITEMS) return;
+ Item *it = &items[nitems++];
+ it->x = x, it->y = y, it->z = z, it->kind = (uint8_t)kind, it->flying = 0;
+}
+static void coins(int lane, float z0, float z1, float y) {
+ for (float z = z0; z <= z1; z += 1.6f) item(I_COIN, LANE_X(lane), y, z);
+}
+/* coins over a jump made at z */
+static void coin_arc(int lane, float z, float base) {
+ for (int i = -3; i <= 3; i++) {
+ float t = (float)i / 3.5f;
+ item(I_COIN, LANE_X(lane), base + 0.9f + 1.3f * (1 - t * t), z + (float)i * 1.3f);
+ }
+}
+/* coins up a ramp and along the roof */
+static void coin_ramp(int lane, float z, float roof_end) {
+ for (float d = 0.8f; d < RAMP_LEN; d += 1.6f) item(I_COIN, LANE_X(lane), 0.9f + TRAIN_H * d / RAMP_LEN, z + d);
+ coins(lane, z + RAMP_LEN + 0.8f, roof_end - 1, TRAIN_H + 0.9f);
+}
+
+static bool lane_blocked(int lane, float z0, float z1) {
+ for (int i = 0; i < nobs; i++) {
+ const Obstacle *o = &obs[i];
+ if (o->lane == lane && o->type != O_MOVING && o->z0 < z1 && o->z1 > z0) return true;
+ }
+ return false;
+}
+
+static void shuffle3(int *l) {
+ for (int i = 2; i > 0; i--) {
+ int j = rn(i + 1), t = l[i];
+ l[i] = l[j], l[j] = t;
+ }
+}
+
+/* ---------------------------------------------------------------- the patterns */
+static float pattern(float z, float speed) {
+ float d = (speed - 13) / 13; /* how hard, 0 to 1 */
+ if (d < 0) d = 0;
+ if (d > 1) d = 1;
+ int l[3] = {0, 1, 2};
+ shuffle3(l);
+ int k = rn(100);
+ /* (easier ones while the run is young) */
+ if (patterns < 3) k = k % 40;
+ float end = z;
+ if (k < 14) {
+ /* two trains side by side; coins down the free track */
+ int cars = 1 + rn(2);
+ end = train(l[0], z, cars);
+ train(l[1], z + (float)rn(3) * 3, cars);
+ coins(l[2], z, end, 0.9f);
+ } else if (k < 24) {
+ /* a row of low barriers: jump */
+ for (int i = 0; i < 3; i++) {
+ barrier(O_HURDLE, i, z);
+ if (i == l[0]) coin_arc(i, z, 0);
+ }
+ end = z + 4;
+ } else if (k < 34) {
+ /* a row of high barriers: roll */
+ for (int i = 0; i < 3; i++) barrier(O_HIGHBAR, i, z);
+ coins(l[0], z - 6, z + 6, 0.6f);
+ end = z + 6;
+ } else if (k < 46) {
+ /* a ramp up to a train, others beside it: the roof is the way */
+ int cars = 2 + rn(2);
+ end = ramp_train(l[0], z, cars);
+ coin_ramp(l[0], z, end);
+ if (rn(3)) train(l[1], z + RAMP_LEN + (float)rn(4), cars - 1);
+ else {
+ barrier(O_BLOCK, l[1], z + 10);
+ barrier(O_HURDLE, l[1], z + 24);
+ }
+ if (rn(2)) barrier(rn(2) ? O_HURDLE : O_HIGHBAR, l[2], z + 6 + (float)rn(10));
+ else coins(l[2], z + 4, z + 20, 0.9f);
+ } else if (k < 56) {
+ /* one of each barrier */
+ barrier(O_HURDLE, l[0], z);
+ barrier(O_HIGHBAR, l[1], z);
+ barrier(O_BLOCK, l[2], z);
+ coin_arc(l[0], z, 0);
+ end = z + 4;
+ } else if (k < 66) {
+ /* a train coming: get off its track */
+ int cars = 1 + rn(2);
+ moving(l[0], z, cars, speed);
+ end = train(l[1], z - 10, 1 + rn(2));
+ coins(l[2], z - 12, z + 8, 0.9f);
+ if (d > 0.3f && rn(2)) barrier(O_HURDLE, l[2], z + 2);
+ if (end < z + 10) end = z + 10;
+ } else if (k < 76) {
+ /* a corridor between two long trains, with barriers in it */
+ int cars = 2 + rn(2);
+ float len = train_len(cars);
+ train(0, z, cars);
+ train(2, z, cars);
+ int n = 1 + (int)(d * 2.5f);
+ for (int i = 0; i < n; i++) {
+ float bz = z + 8 + (float)i * (len - 12) / (float)(n > 1 ? n - 1 : 1) * (n > 1);
+ int t = rn(2) ? O_HURDLE : O_HIGHBAR;
+ barrier(t, 1, bz);
+ if (t == O_HURDLE) coin_arc(1, bz, 0);
+ }
+ end = z + len;
+ } else if (k < 86) {
+ /* across the roofs: a ramp, then trains one after the other */
+ int n = 2 + rn(2);
+ float zz = ramp_train(l[0], z, 1 + rn(2));
+ coin_ramp(l[0], z, zz);
+ for (int i = 1; i < n; i++) {
+ float gap = 3 + rf() * 3;
+ int cars = 1 + rn(2);
+ coin_arc(l[0], zz + gap / 2, TRAIN_H);
+ zz = train(l[0], zz + gap, cars);
+ coins(l[0], zz - train_len(cars) + 1.5f, zz - 1, TRAIN_H + 0.9f);
+ }
+ train(l[1], z + RAMP_LEN + 2, 2);
+ if (rn(2)) train(l[2], z + RAMP_LEN + 6, 2);
+ else barrier(O_BLOCK, l[2], z + 12);
+ end = zz;
+ } else if (k < 94) {
+ /* weave: big barriers in two tracks, then two others */
+ float gap = 13 - 4 * d;
+ int free = l[0];
+ for (int i = 0; i < 3; i++) {
+ for (int t = 0; t < 3; t++)
+ if (t != free) barrier(O_BLOCK, t, z + (float)i * gap);
+ coins(free, z + (float)i * gap - 3, z + (float)i * gap + 2, 0.9f);
+ int nf = free + (rn(2) ? 1 : -1);
+ free = nf < 0 ? 1 : nf > 2 ? 1 : nf;
+ }
+ end = z + 2 * gap + 2;
+ } else {
+ /* a long train, the others free: just coins */
+ int cars = 3;
+ end = train(l[0], z, cars);
+ coins(l[1], z + 2, z + 26, 0.9f);
+ barrier(rn(2) ? O_HURDLE : O_HIGHBAR, l[2], z + 10);
+ }
+ patterns++;
+ return end;
+}
+
+/* a power-up (or a key, or a mystery box) where the track is free */
+static void place_power(float z) {
+ int lanes[3] = {0, 1, 2};
+ shuffle3(lanes);
+ for (int i = 0; i < 3; i++) {
+ int ln = lanes[i];
+ if (lane_blocked(ln, z - 3, z + 3)) continue;
+ int k = rn(100);
+ int kind = k < 30 ? I_MAGNET : k < 48 ? I_JETPACK : k < 70 ? I_SNEAKERS : k < 92 ? I_DOUBLE : I_MYSTERY;
+ item(kind, LANE_X(ln), 1.1f, z);
+ return;
+ }
+}
+
+void world_update(float pz, float speed) {
+ /* the trains coming this way move once they are near */
+ for (int i = 0; i < nobs; i++) {
+ Obstacle *o = &obs[i];
+ if (o->type == O_MOVING && o->z0 - pz < 115) o->z0 -= o->v * DT, o->z1 -= o->v * DT;
+ }
+ /* forget what is behind */
+ int k = 0;
+ for (int i = 0; i < nobs; i++)
+ if (obs[i].z1 > pz - 12) obs[k++] = obs[i];
+ nobs = k;
+ k = 0;
+ for (int i = 0; i < nitems; i++)
+ if (items[i].z > pz - 8) items[k++] = items[i];
+ nitems = k;
+ /* make more ahead */
+ if (gen_z < pz + 40) gen_z = pz + 40;
+ while (gen_z < pz + 190 && nobs < MAXOBS - 12 && nitems < MAXITEMS - 40) {
+ if (gen_z < 70) {
+ coins(1, 30, 66, 0.9f); /* the start: coins straight ahead, nothing in the way */
+ gen_z = 80;
+ continue;
+ }
+ float end = pattern(gen_z, speed);
+ if (end >= next_power) {
+ place_power(end + 4);
+ next_power = end + 220 + (float)rn(200);
+ }
+ if (end >= next_key) {
+ int ln = rn(3);
+ if (!lane_blocked(ln, end, end + 8)) item(I_KEY, LANE_X(ln), 1.1f, end + 4);
+ next_key = end + 1200 + (float)rn(1200);
+ }
+ float d = (speed - 13) / 13;
+ gen_z = end + 9 + speed * 0.45f + (1 - (d > 1 ? 1 : d)) * 6 + rf() * 6;
+ }
+}
+
+float world_ground(float x, float z, float y) {
+ float g = 0;
+ for (int i = 0; i < nobs; i++) {
+ const Obstacle *o = &obs[i];
+ if (z < o->z0 || z > o->z1) continue;
+ float lx = LANE_X(o->lane), h = -1;
+ if (x < lx - TRAIN_W - 0.2f || x > lx + TRAIN_W + 0.2f) continue;
+ if (o->type == O_TRAIN || o->type == O_MOVING) h = TRAIN_H;
+ else if (o->type == O_RAMP) h = TRAIN_H * (z - o->z0) / RAMP_LEN;
+ if (h > g && h <= y + 0.7f) g = h;
+ }
+ return g;
+}
+
+void world_clear(float z0, float z1) {
+ int k = 0;
+ for (int i = 0; i < nobs; i++)
+ if (obs[i].z1 < z0 || obs[i].z0 > z1) obs[k++] = obs[i];
+ nobs = k;
+ k = 0;
+ for (int i = 0; i < nitems; i++)
+ if (items[i].z < z0 || items[i].z > z1 || items[i].y < 2.5f || items[i].y > 6) items[k++] = items[i];
+ nitems = k;
+ if (gen_z < z1) gen_z = z1;
+}
+
+void world_sky_coins(float z0, float z1) {
+ int lane = rn(3);
+ for (float z = z0; z < z1 && nitems < MAXITEMS - 2; z += 1.6f) {
+ item(I_COIN, LANE_X(lane), 8.6f, z);
+ if (rn(14) == 0) lane = lane == 1 ? rn(2) * 2 : 1;
+ }
+}
diff --git a/games/subway/tests/play.c b/games/subway/tests/play.c
new file mode 100644
index 00000000..4dd41658
--- /dev/null
+++ b/games/subway/tests/play.c
@@ -0,0 +1,219 @@
+/* Plays Subway Surfers on a computer, with scripted keys, and saves frames.
+ *
+ * play [--frames N] [--keys "10-40:right,50:ok,..."] [--shots 30,60|all] [--out DIR] [--saves DIR]
+ * [--seed N] [--bot FROM] [--coins N] [--keys-owned N] [--draw-every N] [--power FRAME:KIND] [--god] [--stats]
+ *
+ * Keys: left right up down ok back one three home. "a-b:key" holds the key from frame a to b, "a:key" for one
+ * frame (frames are the game's steps, 60 a second). --bot plays the run from frame FROM on: it reads the
+ * tracks ahead and changes lanes, jumps and rolls (it is no expert: it stumbles and crashes now and then).
+ * Screenshots are DIR/shot_<frame>.ppm. */
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/stat.h>
+#include "../src/app.h"
+#include "../src/game.h"
+#include "../src/r3d.h"
+#include "../src/save.h"
+
+extern uint32_t host_keys, host_time, host_seed;
+extern uint16_t host_fb[SCREEN_W * SCREEN_H];
+void host_shot(const char *path);
+void host_save_dir(const char *d);
+
+typedef struct { int a, b; uint32_t k; } Hold;
+static int power_at[8], power_kind[8], npower;
+static Hold holds[4096];
+static int nholds;
+
+static uint32_t key_of(const char *s) {
+ static const struct { const char *n; uint32_t k; } names[] = {
+ {"left", K_LEFT}, {"right", K_RIGHT}, {"up", K_UP}, {"down", K_DOWN}, {"ok", K_OK}, {"back", K_BACK},
+ {"one", K_ONE}, {"three", K_THREE}, {"home", K_HOME},
+ };
+ for (unsigned i = 0; i < sizeof names / sizeof names[0]; i++)
+ if (!strcmp(s, names[i].n)) return names[i].k;
+ fprintf(stderr, "play: unknown key %s\n", s);
+ exit(2);
+}
+
+static void parse_keys(const char *spec) {
+ char buf[65536];
+ snprintf(buf, sizeof buf, "%s", spec);
+ for (char *t = strtok(buf, ","); t && nholds < 4096; t = strtok(NULL, ",")) {
+ char *colon = strchr(t, ':');
+ if (!colon) continue;
+ *colon = 0;
+ int a = atoi(t), b = a + 1;
+ char *dash = strchr(t, '-');
+ if (dash) b = atoi(dash + 1) + 1;
+ holds[nholds++] = (Hold){a, b, key_of(colon + 1)};
+ }
+}
+
+/* ---------------------------------------------------------------- the bot */
+/* a ramp up to this train? */
+static bool ramped(const Obstacle *t) {
+ for (int i = 0; i < nobs; i++)
+ if (obs[i].type == O_RAMP && obs[i].lane == t->lane && obs[i].z1 > t->z0 - 0.5f && obs[i].z1 < t->z0 + 0.5f) return true;
+ return false;
+}
+
+static bool blocked(int lane, float z0, float z1, float y) {
+ for (int i = 0; i < nobs; i++) {
+ const Obstacle *o = &obs[i];
+ if (o->type == O_TRAIN && ramped(o) && o->z0 > z0 + 1) continue;
+ /* (a train coming this way: where it will be by then) */
+ float ahead = o->type == O_MOVING ? o->v * (z1 - z0) / pl.speed : 0;
+ if (o->lane != lane || o->z1 < z0 || o->z0 - ahead > z1) continue;
+ if (o->type == O_RAMP || o->type == O_HURDLE || o->type == O_HIGHBAR) continue;
+ if ((o->type == O_TRAIN || o->type == O_MOVING) && y >= TRAIN_H - 0.1f) continue;
+ return true;
+ }
+ return false;
+}
+
+static uint32_t bot(void) {
+ static int wait;
+ if (wait > 0) {
+ wait--;
+ return 0;
+ }
+ if (pl.dead) return 0;
+ float look = pl.speed * 0.75f, z = pl.z;
+ /* the nearest thing in this lane */
+ const Obstacle *near = NULL;
+ for (int i = 0; i < nobs; i++) {
+ const Obstacle *o = &obs[i];
+ float ahead = o->type == O_MOVING ? o->v * look / pl.speed : 0;
+ if (o->lane != pl.lane || o->z1 < z || o->z0 - ahead > z + look) continue;
+ if (o->type == O_RAMP) continue;
+ if ((o->type == O_TRAIN || o->type == O_MOVING) && pl.y >= TRAIN_H - 0.1f) continue;
+ if (!near || o->z0 < near->z0) near = o;
+ }
+ if (!near) return 0;
+ /* on a roof, the next train along: jump the gap */
+ if (pl.on_roof && near->type == O_TRAIN && near->z0 - z < pl.speed * 0.3f) {
+ wait = 10;
+ return K_UP;
+ }
+ float d = near->z0 - z - (near->type == O_MOVING ? near->v * (near->z0 - z) / (pl.speed + near->v) : 0);
+ if (near->type == O_HURDLE && d < pl.speed * 0.25f && pl.state != ST_AIR) {
+ wait = 8;
+ return K_UP;
+ }
+ if (near->type == O_HIGHBAR && d < pl.speed * 0.22f && pl.roll <= 0) {
+ wait = 8;
+ return K_DOWN;
+ }
+ if (near->type == O_HURDLE || near->type == O_HIGHBAR) return 0;
+ /* a train or a big barrier: another lane */
+ int best = -1;
+ for (int k = 0; k < 3; k++) {
+ int l = pl.lane + (k == 0 ? -1 : k == 1 ? 1 : 0);
+ if (k == 2 || l < 0 || l > 2) continue;
+ if (!blocked(l, z - 1, z + look, pl.y)) {
+ best = l;
+ break;
+ }
+ }
+ if (best < 0) {
+ /* two lanes over? */
+ int l = pl.lane == 0 ? 2 : pl.lane == 2 ? 0 : -1;
+ if (l >= 0 && !blocked(1, z - 1, z + 3, pl.y) && !blocked(l, z - 1, z + look, pl.y)) best = pl.lane == 0 ? 1 : 1;
+ }
+ wait = 6;
+ if (best < 0) {
+ if (d < pl.speed * 0.3f && pl.state != ST_AIR) return K_UP;
+ return 0;
+ }
+ return best < pl.lane ? K_LEFT : K_RIGHT;
+}
+
+int main(int argc, char **argv) {
+ int frames = 600, draw_every = 1, bot_from = -1;
+ const char *out = "build/shots", *shots = "", *saves = "build/host-saves";
+ long coins = -1, keys_owned = -1;
+ bool stats = false, god = false; /* god: nothing hurts (long runs for tests) */
+ for (int i = 1; i < argc; i++) {
+ const char *a = argv[i], *v = i + 1 < argc ? argv[i + 1] : "";
+ if (!strcmp(a, "--frames")) frames = atoi(v), i++;
+ else if (!strcmp(a, "--keys")) parse_keys(v), i++;
+ else if (!strcmp(a, "--shots")) shots = v, i++;
+ else if (!strcmp(a, "--out")) out = v, i++;
+ else if (!strcmp(a, "--saves")) saves = v, i++;
+ else if (!strcmp(a, "--seed")) host_seed = (uint32_t)strtoul(v, NULL, 0), i++;
+ else if (!strcmp(a, "--bot")) bot_from = atoi(v), i++;
+ else if (!strcmp(a, "--coins")) coins = atol(v), i++;
+ else if (!strcmp(a, "--keys-owned")) keys_owned = atol(v), i++;
+ else if (!strcmp(a, "--draw-every")) draw_every = atoi(v), i++;
+ else if (!strcmp(a, "--stats")) stats = true;
+ else if (!strcmp(a, "--god")) god = true;
+ else if (!strcmp(a, "--power") && npower < 8) {
+ /* FRAME:KIND, KIND a power-up (0 jetpack, 1 sneakers, 2 magnet, 3 2x) */
+ power_at[npower] = atoi(v), power_kind[npower] = atoi(strchr(v, ':') ? strchr(v, ':') + 1 : "0"), npower++, i++;
+ }
+ else {
+ fprintf(stderr, "play: unknown option %s\n", a);
+ return 2;
+ }
+ }
+ mkdir("build", 0755);
+ mkdir(out, 0755);
+ mkdir(saves, 0755);
+ host_save_dir(saves);
+ static uint16_t band[SCREEN_W * BAND_H];
+ r_set_band_memory(band);
+ app_init();
+ if (coins >= 0) pg.coins = (uint32_t)coins;
+ if (keys_owned >= 0) pg.keys = (uint32_t)keys_owned;
+ bool all = !strcmp(shots, "all");
+ uint32_t prev = 0;
+ int max_polys = 0, f = 0;
+ extern uint32_t perf_polys;
+ for (f = 0; f < frames && app_running; f++) {
+ uint32_t k = 0;
+ for (int i = 0; i < nholds; i++)
+ if (f >= holds[i].a && f < holds[i].b) k |= holds[i].k;
+ if (bot_from >= 0 && f >= bot_from) k |= bot();
+ host_keys = k;
+ for (int i = 0; i < npower; i++)
+ if (f == power_at[i]) {
+ pl.power[power_kind[i]] = power_time(power_kind[i]);
+ if (power_kind[i] == PW_JETPACK) pl.fly = 8, world_sky_coins(pl.z + 12, pl.z + 12 + pl.speed * 9);
+ }
+ if (god && pl.safe < 0.1f) pl.safe = 0.1f;
+ bool was_dead = pl.dead;
+ app_step(k, k & ~prev);
+ prev = k;
+ if (stats && pl.dead && !was_dead) {
+ /* what the runner ran into */
+ printf("dead at frame %d: z %.1f x %.2f y %.2f lane %d from %d state %d roll %.2f chase %.2f\n", f, pl.z, pl.x, pl.y,
+ pl.lane, pl.from_lane, pl.state, pl.roll, pl.chase);
+ for (int i = 0; i < nobs; i++)
+ if (obs[i].z1 > pl.z - 3 && obs[i].z0 < pl.z + 6)
+ printf(" obstacle type %d lane %d z %.1f..%.1f v %.1f\n", obs[i].type, obs[i].lane, obs[i].z0, obs[i].z1, obs[i].v);
+ }
+ host_time += (f % 3 == 2) ? 17 : 16;
+ char name[64];
+ snprintf(name, sizeof name, ",%d,", f);
+ char list[8192];
+ snprintf(list, sizeof list, ",%s,", shots);
+ bool shot = all || strstr(list, name);
+ if (shot || f % draw_every == 0) {
+ app_draw();
+ if ((int)perf_polys > max_polys) max_polys = (int)perf_polys;
+ }
+ if (shot) {
+ char p[512];
+ snprintf(p, sizeof p, "%s/shot_%05d.ppm", out, f);
+ host_shot(p);
+ }
+ }
+ if (stats)
+ printf("frames %d running %d dead %d dist %.0f score %u coins %u multiplier %d polys %d total_coins %u "
+ "best %u runs %u mset %u jumps %d rolls %d stumbles %d\n",
+ f, app_running, pl.dead, run.dist, run.score, run.coins, run.multiplier, max_polys, pg.coins, pg.best,
+ pg.runs, pg.mset, run.jumps, run.rolls, run.stumbles);
+ return 0;
+}
diff --git a/games/subway/tools/assets.py b/games/subway/tools/assets.py
new file mode 100644
index 00000000..0320197c
--- /dev/null
+++ b/games/subway/tools/assets.py
@@ -0,0 +1,256 @@
+#!/usr/bin/env python3
+"""Makes src/assets.c: Subway Surfers' fonts and logo, from Lilita One.
+
+Lilita One (Juan Montoreano, SIL Open Font License 1.1) is the round, heavy
+lettering the game's own buttons and numbers look like. Its glyphs are
+rendered 4x supersampled with the baseline on a pixel boundary and kept as
+4-bit coverage, two pixels a byte (the launcher's fonts do the same). Each
+letter also comes grown by 1 and by 2 pixels all round and 1 more below: the
+game's lettering is white with a dark outline and a shadow, drawn in two.
+
+The logo, "SUBWAY SURFERS" on two lines, is drawn from the same font: filled
+with the game's yellow, a thick navy outline and a shadow under it, tilted a
+little. It is kept as one byte a pixel, its alpha (4 bits) and its colour
+(4 bits, from a palette of 16), in runs: a count, then the byte, row by row.
+
+The output is committed; run it again only to change sizes or colours.
+Usage: assets.py src/assets.c
+"""
+import hashlib
+import sys
+import urllib.request
+from pathlib import Path
+
+import numpy as np
+from PIL import Image, ImageDraw, ImageFilter, ImageFont
+
+ROOT = Path(__file__).resolve().parent
+CACHE = ROOT / ".fonts"
+UP = 4
+SOURCE = ("LilitaOne.ttf", "https://raw.githubusercontent.com/google/fonts/main/ofl/lilitaone/LilitaOne-Regular.ttf",
+ "f5b641c45c69d772ee4eda687bc9fda411d5cad6b0b45371491da4580cbc8d59")
+
+# name, cap height in pixels, extra letter spacing (1/4 px)
+FONTS = [
+ ("font_big", 19, 2),
+ ("font_mid", 12, 1),
+ ("font_small", 8, 2),
+]
+FIRST, LAST = 32, 126
+
+
+def font_file():
+ name, url, digest = SOURCE
+ p = CACHE / name
+ if not p.exists():
+ CACHE.mkdir(exist_ok=True)
+ data = urllib.request.urlopen(url).read()
+ if hashlib.sha256(data).hexdigest() != digest:
+ raise SystemExit("unexpected font data")
+ p.write_bytes(data)
+ return str(p)
+
+
+def load(cap, up=UP):
+ for size in range(6, 400):
+ f = ImageFont.truetype(font_file(), size * up)
+ bb = f.getbbox("H", anchor="ls")
+ if -bb[1] >= cap * up - up // 2:
+ return f
+ raise SystemExit("size")
+
+
+def glyph(f, ch, spacing, outline=0):
+ """A letter's 4-bit coverage, its offset from the pen and its advance. With outline, the letter grown
+ by that many pixels all round and one more below (its outline and shadow, drawn under it)."""
+ adv = (f.getlength(ch) + spacing) / UP
+ bb = f.getbbox(ch, anchor="ls")
+ if bb[2] <= bb[0] or bb[3] <= bb[1]:
+ return None, round(adv)
+ pad = (2 + outline + 1) * UP
+ x0 = pad - bb[0]
+ y0 = pad - bb[1]
+ x0 += (-x0) % UP
+ y0 += (-y0) % UP
+ w = x0 + bb[2] + pad
+ h = y0 + bb[3] + pad
+ w += (-w) % UP
+ h += (-h) % UP
+ im = Image.new("L", (w, h), 0)
+ ImageDraw.Draw(im).text((x0, y0), ch, font=f, fill=255, anchor="ls")
+ a = np.asarray(im).astype(np.float32) / 255
+ if outline:
+ r = outline * UP
+ g = np.zeros_like(a)
+ for dy in range(-r, r + 1):
+ for dx in range(-r, r + 1):
+ if dx * dx + dy * dy <= r * r + r:
+ g = np.maximum(g, np.roll(np.roll(a, dy, 0), dx, 1))
+ a = np.maximum(g, np.roll(g, UP, 0))
+ a = a.reshape(h // UP, UP, w // UP, UP).mean(axis=(1, 3))
+ q = np.clip(np.round(a * 15), 0, 15).astype(np.uint8)
+ ys, xs = np.nonzero(q)
+ if not len(ys):
+ return None, round(adv)
+ q = q[ys.min():ys.max() + 1, xs.min():xs.max() + 1]
+ ox = xs.min() - x0 // UP
+ oy = ys.min() - y0 // UP # top relative to the baseline
+ return (q, ox, oy), round(adv)
+
+
+def table(lines, name, f, spacing, outline):
+ data = bytearray()
+ glyphs = []
+ asc = desc = 0
+ for c in range(FIRST, LAST + 1):
+ g, adv = glyph(f, chr(c), spacing * UP / 4, outline)
+ if g is None:
+ glyphs.append((0, 0, 0, 0, adv, len(data)))
+ continue
+ q, ox, oy = g
+ h, w = q.shape
+ asc = max(asc, -oy)
+ desc = max(desc, h + oy)
+ flat = q.flatten().tolist()
+ if len(flat) % 2:
+ flat.append(0)
+ off = len(data)
+ for i in range(0, len(flat), 2):
+ data.append(flat[i] | flat[i + 1] << 4)
+ glyphs.append((w, h, ox, oy, adv, off))
+ lines.append(f"static const uint8_t {name}_data[{len(data)}] = {{")
+ for i in range(0, len(data), 24):
+ lines.append(" " + ",".join(str(b) for b in data[i:i + 24]) + ",")
+ lines.append("};")
+ lines.append(f"static const Glyph {name}_glyphs[{len(glyphs)}] = {{")
+ for w, h, ox, oy, adv, off in glyphs:
+ lines.append(f" {{{w}, {h}, {ox}, {oy}, {adv}, {off}}},")
+ lines.append("};")
+ return asc, desc, len(data) + 7 * len(glyphs)
+
+
+def fonts(lines):
+ total = 0
+ for name, cap, spacing in FONTS:
+ f = load(cap)
+ asc, desc, n = table(lines, name, f, spacing, 0)
+ total += n
+ for t in (1, 2):
+ total += table(lines, f"{name}_o{t}", f, spacing, t)[2]
+ lines.append(f"const Font {name} = {{{FIRST}, {LAST - FIRST + 1}, {asc}, {desc}, {name}_glyphs, {name}_data,")
+ lines.append(f" {{{name}_o1_glyphs, {name}_o2_glyphs}}, {{{name}_o1_data, {name}_o2_data}}}};")
+ lines.append("")
+ print(f"{name}: cap {cap}px, ascent {asc}, descent {desc}")
+ return total
+
+
+# ---------------------------------------------------------------- the logo
+NAVY = (22, 34, 92)
+SHADOW = (10, 16, 48)
+
+
+def word(text, cap, top, bottom, outline):
+ """A word drawn big (4x), filled with a gradient from top to bottom, its outline around it."""
+ up = 4
+ f = load(cap, up)
+ bb = f.getbbox(text, anchor="ls")
+ pad = (outline + 4) * up
+ w, h = bb[2] - bb[0] + 2 * pad, bb[3] - bb[1] + 2 * pad
+ mask = Image.new("L", (w, h), 0)
+ ImageDraw.Draw(mask).text((pad - bb[0], pad - bb[1]), text, font=f, fill=255, anchor="ls")
+ fill = np.asarray(mask).astype(np.float32) / 255
+ ring = np.asarray(mask.filter(ImageFilter.MaxFilter(2 * outline * up + 1))).astype(np.float32) / 255
+ ys = np.linspace(0, 1, h)[:, None]
+ top, bottom = np.array(top, np.float32), np.array(bottom, np.float32)
+ grad = top[None, None, :] * (1 - ys[..., None]) + bottom[None, None, :] * ys[..., None]
+ # a light band near the top of the letters, as on the game's lettering
+ shine = np.clip(1 - np.abs(ys - 0.33) * 9, 0, 1)[..., None] * 0.35
+ grad = grad * (1 - shine) + 255 * shine
+ rgb = np.zeros((h, w, 3), np.float32) + np.array(NAVY, np.float32)
+ rgb = rgb * (1 - fill[..., None]) + grad * fill[..., None]
+ img = np.dstack([rgb, ring * 255]).astype(np.uint8)
+ return Image.fromarray(img, "RGBA")
+
+
+def logo(lines):
+ up = 4
+ a = word("SUBWAY", 30, (255, 255, 255), (150, 220, 255), 3)
+ b = word("SURFERS", 34, (255, 238, 60), (255, 150, 20), 3)
+ w = max(a.width, b.width)
+ gap = -6 * up
+ canvas = Image.new("RGBA", (w + 24 * up, a.height + b.height + gap + 24 * up), (0, 0, 0, 0))
+ canvas.alpha_composite(a, ((canvas.width - a.width) // 2, 8 * up))
+ canvas.alpha_composite(b, ((canvas.width - b.width) // 2, 8 * up + a.height + gap))
+ # the shadow, down and to the right
+ alpha = canvas.getchannel("A")
+ shadow = Image.new("RGBA", canvas.size, SHADOW + (0,))
+ shadow.putalpha(alpha.point(lambda v: v * 0.7))
+ out = Image.new("RGBA", canvas.size, (0, 0, 0, 0))
+ out.alpha_composite(shadow, (3 * up, 4 * up))
+ out.alpha_composite(canvas)
+ out = out.rotate(5, resample=Image.BICUBIC, expand=True)
+ out = out.resize((out.width // up, out.height // up), Image.LANCZOS)
+ box = out.getbbox()
+ out = out.crop(box)
+ px = np.asarray(out).astype(np.int32)
+ # 15 colours for the opaque parts (pngquant would do as well; this keeps it to Pillow)
+ opaque = px[..., 3] > 0
+ rgb = Image.fromarray(px[..., :3].astype(np.uint8), "RGB")
+ pal_img = rgb.quantize(colors=15, method=Image.MEDIANCUT, dither=Image.NONE)
+ pal = pal_img.getpalette()[:45]
+ idx = np.asarray(pal_img).astype(np.int32)
+ alpha4 = np.clip(np.round(px[..., 3] / 255 * 15), 0, 15).astype(np.int32)
+ alpha4[~opaque] = 0
+ vals = (alpha4 << 4) | np.where(alpha4 > 0, idx, 0)
+ h, w = vals.shape
+ data = bytearray()
+ rows = []
+ for y in range(h):
+ rows.append(len(data))
+ row = vals[y].tolist()
+ x = 0
+ while x < w:
+ v = row[x]
+ n = 1
+ while x + n < w and row[x + n] == v and n < 255:
+ n += 1
+ data += bytes([n, v])
+ x += n
+ rows.append(len(data))
+ colours = []
+ for i in range(15):
+ r, g, bl = pal[3 * i:3 * i + 3]
+ colours.append(((r & 0xF8) << 8) | ((g & 0xFC) << 3) | (bl >> 3))
+ lines.append(f"#define LOGO_W {w}")
+ lines.append(f"#define LOGO_H {h}")
+ lines.append(f"const uint16_t logo_w = {w}, logo_h = {h};")
+ lines.append("const uint16_t logo_pal[16] = {" + ", ".join(f"0x{c:04X}" for c in colours + [0]) + "};")
+ lines.append(f"const uint16_t logo_rows[{len(rows)}] = {{")
+ for i in range(0, len(rows), 16):
+ lines.append(" " + ",".join(str(r) for r in rows[i:i + 16]) + ",")
+ lines.append("};")
+ lines.append(f"const uint8_t logo_runs[{len(data)}] = {{")
+ for i in range(0, len(data), 32):
+ lines.append(" " + ",".join(str(v) for v in data[i:i + 32]) + ",")
+ lines.append("};")
+ print(f"logo: {w}x{h}, {len(data)} bytes of runs")
+ preview = Image.fromarray(np.dstack([px[..., :3], px[..., 3]]).astype(np.uint8), "RGBA")
+ return preview, len(data) + 2 * len(rows)
+
+
+def main(out):
+ lines = ["/* Generated by tools/assets.py from Lilita One by Juan Montoreano (SIL Open Font License 1.1). */",
+ '#include "assets.h"', ""]
+ total = fonts(lines)
+ preview, n = logo(lines)
+ total += n
+ Path(out).write_text("\n".join(lines) + "\n")
+ if len(sys.argv) > 2:
+ bg = Image.new("RGBA", preview.size, (90, 180, 240, 255))
+ bg.alpha_composite(preview)
+ bg.save(sys.argv[2])
+ print(f"total {total} bytes")
+
+
+if __name__ == "__main__":
+ main(sys.argv[1])
diff --git a/games/subway/tools/icon.py b/games/subway/tools/icon.py
new file mode 100644
index 00000000..7043ed6e
--- /dev/null
+++ b/games/subway/tools/icon.py
@@ -0,0 +1,50 @@
+#!/usr/bin/env python3
+"""Draws src/icon.png, the calculator's 55x56 icon: a subway train coming head-on down its track under a
+blue sky, the way the game's trains look. Drawn 8x larger, then scaled down.
+
+Usage: icon.py src/icon.png"""
+import sys
+
+from PIL import Image, ImageDraw
+
+S = 8
+W, H = 55 * S, 56 * S
+
+
+def main(out):
+ im = Image.new("RGBA", (W, H), (0, 0, 0, 0))
+ d = ImageDraw.Draw(im)
+ # the rounded square: sky above, gravel below
+ mask = Image.new("L", (W, H), 0)
+ ImageDraw.Draw(mask).rounded_rectangle((0, 0, W - 1, H - 1), radius=12 * S, fill=255)
+ bg = Image.new("RGBA", (W, H))
+ bd = ImageDraw.Draw(bg)
+ for y in range(H):
+ t = y / H
+ if t < 0.62:
+ c = (int(60 + 140 * t), int(159 + 90 * t), int(232 + 20 * t))
+ else:
+ c = (134, 115, 95)
+ bd.line((0, y, W, y), fill=c + (255,))
+ # rails going away from the eye
+ for x0, x1 in ((14, 22), (41, 33)):
+ bd.polygon([(x0 * S - S, H), (x0 * S + S, H), (x1 * S + S // 2, int(0.62 * H)), (x1 * S - S // 2, int(0.62 * H))],
+ fill=(201, 207, 214, 255))
+ im.paste(bg, (0, 0), mask)
+ # the train's face: yellow, a dark roof edge, two windows, two lamps
+ x0, x1, y0, y1 = 9 * S, 46 * S, 8 * S, 50 * S
+ d.rounded_rectangle((x0, y0, x1, y1), radius=6 * S, fill=(11, 42, 85, 255))
+ d.rounded_rectangle((x0 + S, y0 + S, x1 - S, y1 - S), radius=5 * S, fill=(242, 194, 48, 255))
+ d.rectangle((x0 + S, y0 + 30 * S, x1 - S, y0 + 33 * S), fill=(46, 95, 168, 255))
+ for wx0, wx1 in ((13, 26), (29, 42)):
+ d.rounded_rectangle((wx0 * S, 14 * S, wx1 * S, 27 * S), radius=2 * S, fill=(43, 66, 96, 255))
+ d.polygon([(wx0 * S + 2 * S, 15 * S), (wx0 * S + 6 * S, 15 * S), (wx0 * S + 2 * S, 22 * S)], fill=(120, 170, 220, 255))
+ for lx in (15, 40):
+ d.ellipse((lx * S - 3 * S, 41 * S - 3 * S, lx * S + 3 * S, 41 * S + 3 * S), fill=(255, 250, 220, 255))
+ d.rectangle((23 * S, 10 * S, 32 * S, 12 * S), fill=(30, 30, 36, 255))
+ small = im.resize((55, 56), Image.LANCZOS)
+ small.save(out)
+
+
+if __name__ == "__main__":
+ main(sys.argv[1])