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.

Temple Run: the endless run from the temple, on its own

Mason3636ad6d903cf2d
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6f236cda..60c539dd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -95,6 +95,7 @@ jobs:
make -C games/polytrack host test
make -C games/paperclips host test
make -C games/badtime host test
+ make -C games/templerun host test
diff --git a/Makefile b/Makefile
index 75495277..1ba6b317 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ PY ?= python3
CARGO ?= cargo
B = build/data
# Conventional games honor a configurable output directory; special layouts are kept local.
-GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune finalearth2 flappybird flappydunk fnaf fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz snake sokoban solitaire sonic stickmanhook subway sudoku suika tombofthemask towerblock turborush twoplayer undertale uno uttt
+GAMES_REDIRECT = angrybirds badtime balatro blockblast breakout buckshot celeste championisland chess connectfour cookieclicker coreball dinorun donkeykong doodlejump doom dune finalearth2 flappybird flappydunk fnaf fnf g2048 hillclimb hollowknight invaders isaac jetpackjoyride leveldevil minesweeper monkeymart numblocks numpowder numvisuals pacman paperclips polytrack portal pvz snake sokoban solitaire sonic stickmanhook subway sudoku suika templerun tombofthemask towerblock turborush twoplayer undertale uno uttt
GAMES_OUT = dinorun
GAME_REDIRECT_ARG = $(if $(filter $(1),$(GAMES_OUT)),OUT=../../$(B)/games/$(1),BUILD_DIR=../../$(B)/games/$(1))
# the RAM the oldest calculator software that runs apps gives them (23.2: 148928 bytes; 25.2 gives 153676).
@@ -29,7 +29,7 @@ RAM_LIMIT = 148928
# custom builds of Epsilon 25.2's source give apps less: 133652 bytes; every game fits there too, in NumPlay and on
# its own (their big buffers are on the stack, 32 KB apart from that RAM, or in the RAM the software has left)
CUSTOM_RAM = 133652
-BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator
+BIG_APPS = Celeste HollowKnight Undertale ChampionIsland FinalEarth2 NumPowder NumBlocks NumDrive SubwaySurfers FiveNightsAtFreddys Doom BindingOfIsaac HillClimbRacing PlantsVsZombies SonicTheHedgehog CookieClicker LevelDevil JetpackJoyride StickmanHook DonkeyKong Dune MonkeyMart TombOfTheMask UNO FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator TempleRun
# the calculator's space for installed apps: from the end of its software (64 KiB aligned) to 64 KiB before the
# end of its 4 MiB slot of flash, 0x903F0000. The software's size sets the start: 0x90200000 is the latest a
# NumPlay counts on (1.94 MB, APP_SPACE); Epsilon 26.4 on an N0120 ends at 0x90180000 (2.44 MB, the
@@ -47,7 +47,7 @@ XL_APP_SPACE = 6291456
# the spaces the customizer website offers (kit.json "spaces"; tools/kit.py links a NumPlay at each)
SPACES = std:$(APP_START):$(APP_END) e26:$(APP_START_26):$(APP_END) xl:$(APP_START):$(XL_END) xl26:$(APP_START_26):$(XL_END)
# big games that must install on their own without Enlarged Extra Apps: make check holds them to APP_SPACE
-APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator
+APP_SPACE_APPS = HillClimbRacing FridayNightFunkin TurboRush AngryBirds PolyTrack UniversalPaperclips BadTimeSimulator TempleRun
# Upsilon, the N0110 and N0115's custom software, gives .nwa apps less RAM: NumPlay-Upsilon.nwa has
# the games that fit it (NumPlay draws their text there: see launcher/src/compat.c)
UPSILON_RAM = 107674
@@ -329,6 +329,7 @@ APP_angrybirds = $(B)/games/angrybirds/angrybirds.nwa:AngryBirds.nwa
APP_polytrack = $(B)/games/polytrack/polytrack.nwa:PolyTrack.nwa
APP_paperclips = $(B)/games/paperclips/paperclips.nwa:UniversalPaperclips.nwa
APP_badtime = $(B)/games/badtime/badtime.nwa:BadTimeSimulator.nwa
+APP_templerun = $(B)/games/templerun/templerun.nwa:TempleRun.nwa
# the big games' modules are made from these (the kit)
$(foreach g,$(XL_GAMES),$(eval MOD_$(g) = $$(word 1,$$(subst :, ,$$(APP_$(g))))))
@@ -369,6 +370,7 @@ apps: | $(B)
$(MAKE) -C games/polytrack build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/polytrack
$(MAKE) -C games/paperclips build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/paperclips
$(MAKE) -C games/badtime build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/badtime
+ $(MAKE) -C games/templerun build NWLINK="$(NWLINK)" BUILD_DIR=../../$(B)/games/templerun
cd games/tetris/tetris && NWLINK="$(NWLINK)" $(CARGO) build --release --quiet
cp $(word 1,$(subst :, ,$(APP_numdash))) $(B)/apps/$(word 2,$(subst :, ,$(APP_numdash)))
cp $(word 1,$(subst :, ,$(APP_crossyroad))) $(B)/apps/$(word 2,$(subst :, ,$(APP_crossyroad)))
@@ -407,6 +409,7 @@ apps: | $(B)
cp $(word 1,$(subst :, ,$(APP_polytrack))) $(B)/apps/$(word 2,$(subst :, ,$(APP_polytrack)))
cp $(word 1,$(subst :, ,$(APP_paperclips))) $(B)/apps/$(word 2,$(subst :, ,$(APP_paperclips)))
cp $(word 1,$(subst :, ,$(APP_badtime))) $(B)/apps/$(word 2,$(subst :, ,$(APP_badtime)))
+ cp $(word 1,$(subst :, ,$(APP_templerun))) $(B)/apps/$(word 2,$(subst :, ,$(APP_templerun)))
arm-none-eabi-strip --strip-unneeded $(B)/apps/Tetris.nwa
STD_APPS = $(foreach g,$(STD_GAMES),$(B)/apps/$(NWA_$(g)))
@@ -486,5 +489,6 @@ clean:
-$(MAKE) -C games/polytrack clean
-$(MAKE) -C games/paperclips clean
-$(MAKE) -C games/badtime clean
+ -$(MAKE) -C games/templerun clean
-cd games/tetris/tetris && $(CARGO) clean
-$(foreach g,$(STD_GAMES),$(MAKE) -C games/$(g) clean;)
diff --git a/README.md b/README.md
index d18d9568..3aaa0a55 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
<p align="center">
<b>29 free games for your NumWorks calculator, in one app.</b><br>
- Plus 28 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.
+ Plus 29 big games that install on their own. For the N0110, N0115 and N0120, in English, French and Chinese.
</p>
<p align="center">
@@ -141,10 +141,11 @@ These are too big to fit next to NumPlay, so each one is its own app. Install it
</tr>
<tr>
<td align="center"><a href="games/badtime/README.md"><img src="docs/media/thumb_badtime.png" width="200" alt="Bad Time Simulator"><br><b>Bad Time Simulator</b></a><br><sub>The Sans fight: all 24 attacks, KR and the blue heart</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/BadTimeSimulator.nwa">Download</a></td>
+ <td align="center"><a href="games/templerun/README.md"><img src="docs/media/thumb_templerun.png" width="200" alt="Temple Run"><br><b>Temple Run</b></a><br><sub>Run from the temple: turn, jump, slide and lean</sub><br><a href="https://github.com/Mason363/NumPlay/releases/latest/download/TempleRun.nwa">Download</a></td>
<td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-64"><b>Super Mario 64</b></a><br><sub>In a repository of its own: NumWorks-Super-Mario-64</sub></td>
- <td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-Bros"><b>Super Mario Bros.</b></a><br><sub>All 32 stages, in a repository of its own: NumWorks-Super-Mario-Bros</sub></td>
</tr>
<tr>
+ <td align="center"><a href="https://github.com/Mason363/NumWorks-Super-Mario-Bros"><b>Super Mario Bros.</b></a><br><sub>All 32 stages, in a repository of its own: NumWorks-Super-Mario-Bros</sub></td>
<td align="center"><a href="#roadmap"><b>More on the way</b></a><br><sub>Minecraft 1.18.2 and more: see the roadmap</sub></td>
</tr>
</table>
@@ -292,6 +293,7 @@ Read **[Make your own NumWorks game](docs/make-a-game.md)** to go from there, an
- [x] [NumPlay Studio](https://mason363.github.io/NumPlay/customize/), the website where you pick the games in your NumPlay, with Enlarged Extra Apps to fit several big games
- [x] Universal Paperclips
- [x] Bad Time Simulator: the Sans fight
+- [x] Temple Run
- [ ] Full Minecraft 1.18.2 as a standalone app
- [ ] Among Us, against bots
- [ ] Cat Ninja
@@ -303,7 +305,6 @@ Read **[Make your own NumWorks game](docs/make-a-game.md)** to go from there, an
- [ ] Hades
- [ ] Super Smash Bros
- [ ] Rocket League
-- [ ] Temple Run
- [ ] Deltarune: Chapter 1, and each later chapter as an app of its own
- [ ] Hollow Knight: more of Hallownest after Greenpath
- [ ] Hill Climb Racing: the stages and vehicles added after version 1.10.2
@@ -372,6 +373,7 @@ NumPlay is a fan project, made out of love for these games and for the NumWorks
- **[PolyTrack](https://www.kodub.com/apps/polytrack)** by Kodub inspired NumPlay's PolyTrack, which drives the game's 17 tracks with its own physics numbers, models, colours and logo, read from its web build. Its 3D engine grew out of **Boris-TH**'s PolyGT 3D. Not affiliated with Kodub.
- **[Universal Paperclips](https://www.decisionproblem.com/paperclips/)** by Frank Lantz (Everybody House Games), with combat programming by Bennett Foddy, inspired NumPlay's Universal Paperclips, which plays the whole game with its rules, numbers, projects and messages, read from its web build. Not affiliated with them.
- **[Bad Time Simulator](https://github.com/jcw87/c2-sans-fight)** by jcw87, Undertale's Sans fight remade, inspired NumPlay's Bad Time Simulator, which plays its 24 attack scripts with its sprites (Undertale's, by Toby Fox), words and numbers, read from its project, and the **Pixel Operator** font. Not affiliated with jcw87 or Toby Fox.
+- **Temple Run** by Imangi Studios inspired NumPlay's Temple Run, which follows the game's rules and numbers (its path and pacing, speeds, coins, power-ups, upgrades and objectives), read from its Android package (version 1.0.8), with plain models made for it and the **Lilita One** font (SIL Open Font License, [license](LICENSES/OFL-1.1-LilitaOne.txt)). Not affiliated with Imangi Studios.
- **[Level Devil](https://store.steampowered.com/app/3242750/)** by Unept: NumPlay's Level Devil is written in C with no code from the game, but its 80 rooms (their tiles, traps and timing) are the game's own, taken from its web build by games/leveldevil/tools/fetch.py, and its runner is drawn from the game's sprites.
- **Pong** by Atari (1972) inspired NumPlay's 2 Players, with air hockey, tanks in a maze in the spirit of Tank Trouble and the light cycles of Tron. All four are written in C for NumPlay and drawn from shapes, with no code or art from them.
@@ -400,7 +402,7 @@ NumPlay is a fan project, made out of love for these games and for the NumWorks
NumPlay is licensed under the [GNU General Public License v3.0](LICENSE). Copyright (c) 2026 Mason Chen. Code and fonts from others keep their own licenses: the `UNLICENSE` files in the games' folders and the [LICENSES](LICENSES) folder. The names, artwork and music of the games NumPlay is inspired by belong to their makers and are not covered by it.
-<sub>Unofficial fan games, not affiliated with NumWorks, RobTop Games (Geometry Dash), Hipster Whale (Crossy Road), the makers of Drive Mad, LocalThunk or Playstack (Balatro), Mike Klubnika or Critical Reflex (Buckshot Roulette), Hungry Studio (Block Blast!), Aladdin X (Suika Game), Voodoo (Flappy Dunk), Lima Sky (Doodle Jump), Mojang or Microsoft (Minecraft), Maddy Makes Games (Celeste), Team Cherry (Hollow Knight), Toby Fox (Undertale), jcw87 (Bad Time Simulator), id Software (Doom), Edmund McMillen, Florian Himsl or Nicalis (The Binding of Isaac), PopCap Games or Electronic Arts (Plants vs. Zombies), Scott Cawthon (Five Nights at Freddy's), SEGA (Sonic the Hedgehog, Master System, Game Gear), SYBO or Kiloo (Subway Surfers), Fingersoft (Hill Climb Racing), Unept (Level Devil), Halfbrick (Jetpack Joyride), Madbox (Stickman Hook), Nintendo (Donkey Kong, Game Boy, NES), Team Lava (Dune!), Inlogic Software (Dune Rider), TinyDobbins (Monkey Mart), Playgendary (Tomb of the Mask), Mattel (UNO), the Funkin' Crew (Friday Night Funkin'), W Production (Turbo Rush), Rovio Entertainment (Angry Birds), Kodub (PolyTrack), Frank Lantz or Everybody House Games (Universal Paperclips), Atari (Pong), Disney (Tron), Orteil or DashNet (Cookie Clicker), Taito or Midway (Space Invaders), Thinking Rabbit or Falcon (Sokoban), Florian van Strien (The Final Earth 2), The Powder Toy's developers (The Powder Toy), MateoConLechuga (Portal Returns), Valve (Portal), .GEARS (Flappy Bird), Bandai Namco (Pac-Man), Hasbro (Connect Four), Google (Snake, Solitaire, Block Breaker, Chrome Dino, Doodle Champion Island Games), STUDIO4°C or Microsoft (Minesweeper), ducalex (Retro-Go). Tetris is a trademark of The Tetris Company, Chrome of Google LLC, Minecraft of Mojang Synergies AB, Pac-Man of Bandai Namco, Connect Four of Hasbro, DOOM of ZeniMax Media, Sonic the Hedgehog, Master System and Game Gear of SEGA, Space Invaders of Taito, UNO of Mattel, Angry Birds of Rovio Entertainment, and Donkey Kong, Game Boy, Game Boy Color and NES of Nintendo.</sub>
+<sub>Unofficial fan games, not affiliated with NumWorks, RobTop Games (Geometry Dash), Hipster Whale (Crossy Road), the makers of Drive Mad, LocalThunk or Playstack (Balatro), Mike Klubnika or Critical Reflex (Buckshot Roulette), Hungry Studio (Block Blast!), Aladdin X (Suika Game), Voodoo (Flappy Dunk), Lima Sky (Doodle Jump), Mojang or Microsoft (Minecraft), Maddy Makes Games (Celeste), Team Cherry (Hollow Knight), Toby Fox (Undertale), jcw87 (Bad Time Simulator), Imangi Studios (Temple Run), id Software (Doom), Edmund McMillen, Florian Himsl or Nicalis (The Binding of Isaac), PopCap Games or Electronic Arts (Plants vs. Zombies), Scott Cawthon (Five Nights at Freddy's), SEGA (Sonic the Hedgehog, Master System, Game Gear), SYBO or Kiloo (Subway Surfers), Fingersoft (Hill Climb Racing), Unept (Level Devil), Halfbrick (Jetpack Joyride), Madbox (Stickman Hook), Nintendo (Donkey Kong, Game Boy, NES), Team Lava (Dune!), Inlogic Software (Dune Rider), TinyDobbins (Monkey Mart), Playgendary (Tomb of the Mask), Mattel (UNO), the Funkin' Crew (Friday Night Funkin'), W Production (Turbo Rush), Rovio Entertainment (Angry Birds), Kodub (PolyTrack), Frank Lantz or Everybody House Games (Universal Paperclips), Atari (Pong), Disney (Tron), Orteil or DashNet (Cookie Clicker), Taito or Midway (Space Invaders), Thinking Rabbit or Falcon (Sokoban), Florian van Strien (The Final Earth 2), The Powder Toy's developers (The Powder Toy), MateoConLechuga (Portal Returns), Valve (Portal), .GEARS (Flappy Bird), Bandai Namco (Pac-Man), Hasbro (Connect Four), Google (Snake, Solitaire, Block Breaker, Chrome Dino, Doodle Champion Island Games), STUDIO4°C or Microsoft (Minesweeper), ducalex (Retro-Go). Tetris is a trademark of The Tetris Company, Chrome of Google LLC, Minecraft of Mojang Synergies AB, Pac-Man of Bandai Namco, Connect Four of Hasbro, DOOM of ZeniMax Media, Sonic the Hedgehog, Master System and Game Gear of SEGA, Space Invaders of Taito, UNO of Mattel, Angry Birds of Rovio Entertainment, and Donkey Kong, Game Boy, Game Boy Color and NES of Nintendo.</sub>
## Gallery
@@ -500,4 +502,7 @@ NumPlay is licensed under the [GNU General Public License v3.0](LICENSE). Copyri
<td align="center"><img src="docs/media/gallery/paperclips.gif" alt="Universal Paperclips: the first clips, a strategy tournament, the HypnoDrones, a battle against the drifters and the last clips"><br><a href="games/paperclips/README.md"><b>Universal Paperclips</b></a></td>
<td align="center"><img src="docs/media/gallery/badtime.gif" alt="Bad Time Simulator: Sans slams the blue heart into bones, then Gaster Blasters fire across the box"><br><a href="games/badtime/README.md"><b>Bad Time Simulator</b></a></td>
</tr>
+ <tr>
+ <td align="center"><img src="docs/media/gallery/templerun.gif" alt="Temple Run: from the title into a run, turning at two corners and jumping a root"><br><a href="games/templerun/README.md"><b>Temple Run</b></a></td>
+ </tr>
</table>
diff --git a/_config.yml b/_config.yml
index 49e0feb6..7f156ef0 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,5 +1,5 @@
title: NumPlay
-description: "29 games for the NumWorks calculator in one app: NumDash, Crossy Road, NumBlocks, NumDrive, Balatro, Buckshot Roulette, Block Blast, Suika Game, Portal Returns, Tetris, Chrome Dino, Chess, Space Invaders, Sudoku and more. And Doom, Sonic, Plants vs. Zombies, Cookie Clicker and more on their own. Free and open source, with a kit to make your own NumWorks games in C."
+description: "29 games for the NumWorks calculator in one app: NumDash, Crossy Road, NumBlocks, NumDrive, Balatro, Buckshot Roulette, Block Blast, Suika Game, Portal Returns, Tetris, Chrome Dino, Chess, Space Invaders, Sudoku and more. And Doom, Sonic, Temple Run, Plants vs. Zombies, Cookie Clicker and more on their own. Free and open source, with a kit to make your own NumWorks games in C."
url: https://mason363.github.io
baseurl: /NumPlay
theme: jekyll-theme-cayman
diff --git a/docs/media/gallery/templerun.gif b/docs/media/gallery/templerun.gif
new file mode 100644
index 00000000..f636316d
Binary files /dev/null and b/docs/media/gallery/templerun.gif differ
diff --git a/docs/media/thumb_templerun.png b/docs/media/thumb_templerun.png
new file mode 100644
index 00000000..69e9ea6d
Binary files /dev/null and b/docs/media/thumb_templerun.png differ
diff --git a/docs/play.md b/docs/play.md
index cf52f6e7..a39ac7af 100644
--- a/docs/play.md
+++ b/docs/play.md
@@ -679,6 +679,24 @@ Sans attacks and you dodge. Keep your heart away from everything in the box: whi
<br clear="right">
+## Temple Run
+
+<img src="../games/templerun/docs/shot.png" width="320" align="right" alt="Temple Run: running along the temple path">
+
+| Key | What it does |
+| --- | --- |
+| **Left / Right** | Turn at a corner |
+| **Up** or **8** | Jump |
+| **Down** or **2** | Slide |
+| **4 / 6** (or **shift** with the arrows) | Lean, held |
+| **OK** | Wings (in a run), choose, buy |
+| **1 / 3** | Head start, mega head start (at the start) |
+| **Back** | Pause (with How to play and Quit game) |
+
+Temple Run comes as its own app, `TempleRun.nwa`. Run from the temple and don't stop: turn at every corner, jump gaps, roots, fallen trees and fire, slide under branches and lean along narrow paths. Trip once and your pursuers catch up; trip again soon and they get you. Coins buy upgrades for the four power-ups in the store, and each objective done raises your score multiplier.
+
+<br clear="right">
+
## Portal Returns
<img src="media/portal.gif" width="320" align="right" alt="Portal Returns: falling through a portal and flying across a test chamber">
diff --git a/games/games.json b/games/games.json
index 65f808d5..1000a77d 100644
--- a/games/games.json
+++ b/games/games.json
@@ -1256,5 +1256,26 @@
"repo": "https://github.com/Mason363/NumPlay/tree/main/games/badtime",
"default": false,
"xl": true
+ },
+ {
+ "id": "templerun",
+ "rank": 29,
+ "title": "Temple Run",
+ "tagline": "Run from the temple, turn, jump, slide",
+ "credit": "Based on Temple Run by Imangi Studios",
+ "top": "0x6FA6D2",
+ "bottom": "0x2B4A30",
+ "accent": "0xFFD21E",
+ "colors": 16,
+ "records": [
+ "templerun.sav",
+ "templerun_saves.py"
+ ],
+ "shots": [
+ "docs/shot.png"
+ ],
+ "repo": "https://github.com/Mason363/NumPlay/tree/main/games/templerun",
+ "default": false,
+ "xl": true
}
]
diff --git a/games/templerun/.gitignore b/games/templerun/.gitignore
new file mode 100644
index 00000000..180ed083
--- /dev/null
+++ b/games/templerun/.gitignore
@@ -0,0 +1,3 @@
+output/
+build/
+tools/__pycache__/
diff --git a/games/templerun/Makefile b/games/templerun/Makefile
new file mode 100644
index 00000000..e5365081
--- /dev/null
+++ b/games/templerun/Makefile
@@ -0,0 +1,67 @@
+# Temple Run on the NumWorks calculator.
+# make output/templerun.nwa
+# make check link it like the calculator does (output/templerun.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 models src/data.c and src/data.h again: the mesh table (tools/models.py: Python)
+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) -DEPSILON_XL=1
+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 models
+build: $(BUILD_DIR)/templerun.nwa
+
+# apps get 133652 bytes of RAM on custom builds of Epsilon 25.2 (148928 or more on official ones)
+check: $(BUILD_DIR)/templerun.nwa
+ $(Q) $(NWLINK) nwa-bin --ram-length 133652 $< $(BUILD_DIR)/templerun.bin
+ @echo "BIN $(BUILD_DIR)/templerun.bin: $$(wc -c < $(BUILD_DIR)/templerun.bin) bytes"
+
+$(BUILD_DIR)/templerun.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
+
+models:
+ python3 tools/models.py src
+
+clean:
+ $(Q) rm -rf $(BUILD_DIR) build
diff --git a/games/templerun/README.md b/games/templerun/README.md
new file mode 100644
index 00000000..9912432b
--- /dev/null
+++ b/games/templerun/README.md
@@ -0,0 +1,84 @@
+> **Temple Run is a [NumPlay](../../README.md) game that comes on its own.** It is too big to sit next to NumPlay. Get `TempleRun.nwa` from the [latest release](https://github.com/Mason363/NumPlay/releases/latest).
+
+<p align="center">
+ <img src="src/icon.png" width="84" alt="Temple Run icon">
+</p>
+
+<h1 align="center">Temple Run</h1>
+
+<p align="center">
+ <b>Run from the temple, turn at the corners, jump and slide, on the NumWorks calculator.</b><br>
+ The endless run in 3D, with the original game's rules and numbers: its path, its speed, its coins, power-ups, store and objectives.
+</p>
+
+<p align="center">
+ <a href="https://github.com/Mason363/NumPlay/releases/latest/download/TempleRun.nwa"><b>Download TempleRun.nwa</b></a>
+ &nbsp;·&nbsp; <a href="#controls">Controls</a>
+</p>
+
+<p align="center">
+ <img src="../../docs/media/gallery/templerun.gif" width="640" alt="From the title into a run: turning at two corners and jumping a root, the pursuers behind">
+</p>
+
+## Highlights
+
+* **The path, laid as the game lays it:** straight runs, corners and junctions, gaps, roots to jump, fallen trees, fire, branches to slide under and narrow paths to lean along, in the temple, on the plank bridges and along the cliffs, with steps between them. What comes, and how often, follows the game's own pacing as you go farther.
+* **The game's numbers:** a start at 100 and a top speed of 210, the speed-up easing off as you near it, jumps as high as your speed allows, slides of up to 0.75 seconds, a turn taken within 10 of the corner.
+* **Stumbles:** trip on a root or a step and they catch up. Trip again within 10 seconds, or in the first 3 seconds of a run, and they get you.
+* **Coins:** yellow, then red and blue ones farther on. Every 100 coins in a run is 500 points.
+* **Power-ups:** the **Coin magnet**, **Invisibility**, the **Coin bonus** and the **Boost**, each with five upgrades in the store, as in the game.
+* **Wings, head starts:** wings save one run (OK during a run), a head start runs you to 950 m and a mega head start to 2,350 m (1 or 3 at the start).
+* **Objectives:** 40 of the game's objectives. Each one done adds 1 to your score multiplier.
+* **Smooth:** about 60 frames a second, even on the N0110.
+* **Saved:** your coins, best score, upgrades, wings, head starts and objectives. Home or On/Off saves and quits from anywhere, and keeps the coins of a run. The save is also copied into `templerun_saves.py`, so installing the app again doesn't erase it.
+
+<table>
+ <tr>
+ <td align="center" width="50%"><img src="docs/title.png" width="100%" alt="The title: the runner at the temple's door"></td>
+ <td align="center" width="50%"><img src="docs/shot.png" width="100%" alt="Running along the temple path, jungle trees on both sides"></td>
+ </tr>
+ <tr>
+ <td align="center"><img src="docs/magnet.png" width="100%" alt="The coin magnet pulling in a line of coins"></td>
+ <td align="center"><img src="docs/fire.png" width="100%" alt="Fire across a plank bridge, about to be jumped"></td>
+ </tr>
+ <tr>
+ <td align="center"><img src="docs/bridge.png" width="100%" alt="Running down the steps onto a plank bridge"></td>
+ <td align="center"><img src="docs/store.png" width="100%" alt="The store: the five upgrades, wings and head starts"></td>
+ </tr>
+</table>
+
+## Controls
+
+| Key | Action |
+| --- | --- |
+| Left, Right | Turn at a corner (press a little before it) |
+| Up or 8 | Jump |
+| Down or 2 | Slide |
+| 4, 6 (or shift with Left, Right) | Lean, held: for coins and narrow paths |
+| OK, EXE or 5 | Wings (in a run); choose, buy |
+| 1, 3 | A head start, a mega head start (at the start of a run) |
+| Back or ⌫ | Pause (Resume, How to play, Quit game, which asks first); back in the menus |
+| Home or On/Off | Save and quit |
+
+## Good to know
+
+* **One app at a time:** Temple Run is too big to sit next to NumPlay or the other big games. Installing it from the NumWorks website swaps them out, and installing them again swaps it out. Your saves in each one are kept.
+* **Plain models for now:** the runner, the pursuers and the path are simple block models in the game's colours.
+* **Left out:** the other characters and wallpapers, the permanent wings, the tutorial run, the online leaderboards, ads and purchases.
+* **No music or sound:** the calculator has no speaker.
+
+## Credits
+
+Temple Run is a game by Imangi Studios. This port is not affiliated with or endorsed by them.
+
+* The rules and numbers (the path and its pacing, speeds, jumps, slides, stumbles, turns, coins, power-ups, upgrades and their prices, objectives) are Imangi's, read from the game's Android package (version 1.0.8).
+* The models are plain stand-ins made for this port (`tools/models.py`).
+* The lettering is **Lilita One** by Juan Montoreano (SIL Open Font License 1.1, [license](../../LICENSES/OFL-1.1-LilitaOne.txt)).
+
+Made by Mason Chen as part of NumPlay.
+
+Build: `make` (needs `arm-none-eabi-gcc` and Node.js for nwlink); `make test` plays it on a computer. `make models` makes `src/data.c` again: every model is a mesh in one table there, by number, so the art can be made again without touching the game.
+
+## License
+
+The port's code is licensed under the GNU General Public License v3.0: see the `LICENSE` file at the root of the repository. Temple Run's rules and numbers are Imangi Studios', and the font keeps its own terms (see Credits).
diff --git a/games/templerun/docs/bridge.png b/games/templerun/docs/bridge.png
new file mode 100644
index 00000000..eba409f9
Binary files /dev/null and b/games/templerun/docs/bridge.png differ
diff --git a/games/templerun/docs/fire.png b/games/templerun/docs/fire.png
new file mode 100644
index 00000000..73dcb0bd
Binary files /dev/null and b/games/templerun/docs/fire.png differ
diff --git a/games/templerun/docs/magnet.png b/games/templerun/docs/magnet.png
new file mode 100644
index 00000000..739d3b7c
Binary files /dev/null and b/games/templerun/docs/magnet.png differ
diff --git a/games/templerun/docs/shot.png b/games/templerun/docs/shot.png
new file mode 100644
index 00000000..6a87dfe5
Binary files /dev/null and b/games/templerun/docs/shot.png differ
diff --git a/games/templerun/docs/store.png b/games/templerun/docs/store.png
new file mode 100644
index 00000000..db409458
Binary files /dev/null and b/games/templerun/docs/store.png differ
diff --git a/games/templerun/docs/title.png b/games/templerun/docs/title.png
new file mode 100644
index 00000000..5c1008b6
Binary files /dev/null and b/games/templerun/docs/title.png differ
diff --git a/games/templerun/src/app.c b/games/templerun/src/app.c
new file mode 100644
index 00000000..fcbac581
--- /dev/null
+++ b/games/templerun/src/app.c
@@ -0,0 +1,435 @@
+#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): how to play, the title, the run, pause, the results, the store,
+ * the objectives. */
+#include <string.h>
+#include "app.h"
+#include "draw.h"
+#include "game.h"
+#include "plat.h"
+#include "save.h"
+#include "scene.h"
+
+enum { S_HELP, S_TITLE, S_RUN, S_PAUSE, S_QUIT, S_RESULTS, S_STORE, S_OBJECTIVES };
+bool app_running = true;
+static int state, help_back; /* the screen; where How to play goes back to */
+static int sel, top; /* the button or line in focus, the first line shown */
+static float state_t;
+static bool new_best;
+static int awarded[4], nawarded, awarded_all;
+static char note[40];
+static float note_t;
+
+#define GOLD 0xFFE7A0
+#define INK 0x2E1C0C
+#define DIM 0xC9B48A
+
+static void fmt(char *out, uint32_t v) {
+ char t[16];
+ int n = 0;
+ do {
+ if (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 go(int s) {
+ state = s, state_t = 0, sel = 0, top = 0;
+}
+
+static void title_world(void) {
+ game_new_run();
+ scene_reset();
+}
+
+void app_init(void) {
+ save_load();
+ scene_init();
+ title_world();
+ if (!pg.help) {
+ go(S_HELP);
+ help_back = S_TITLE;
+ } else
+ go(S_TITLE);
+}
+
+static void start_run(void) {
+ game_new_run();
+ scene_reset();
+ go(S_RUN);
+}
+
+/* the run is over (or quit): its coins kept, the best, the objectives */
+static void end_run(void) {
+ pg.coins += run.coins;
+ new_best = run.score > pg.best;
+ if (new_best) pg.best = run.score;
+ if ((uint32_t)run.dist > pg.best_dist) pg.best_dist = (uint32_t)run.dist;
+ pg.runs++;
+ pg.life_coins += run.coins;
+ pg.life_dist += (uint32_t)run.dist;
+ nawarded = game_award(awarded, 4);
+ awarded_all = nawarded;
+ save_write();
+}
+
+static void say(const char *s) {
+ strcpy(note, s);
+ note_t = 2;
+}
+
+/* the store's lines: the five upgrades, then the three things to use */
+#define NSTORE (UP_COUNT + USE_COUNT)
+static const char *const store_name[NSTORE] = {"Coin magnet", "Invisibility", "Coin bonus", "Coin value", "Boost",
+ "Wings", "Head start", "Mega head start"};
+static const char *const store_what[NSTORE] = {
+ "Pulls in the coins near you", "Run through anything", "Coins all at once", "Red and blue coins sooner",
+ "A burst of speed", "OK in a run: saved once in 30 s", "1 at the start: run to 950 m", "3 at the start: run to 2,350 m"};
+
+static uint32_t store_price(int i) { return i < UP_COUNT ? game_up_price(i) : game_use_price(i - UP_COUNT); }
+
+static void store_buy(void) {
+ uint32_t p = store_price(sel);
+ if (!p) {
+ say("All done");
+ return;
+ }
+ if (pg.coins < p) {
+ say("Not enough coins");
+ return;
+ }
+ pg.coins -= p;
+ if (sel < UP_COUNT) pg.up[sel]++;
+ else if (pg.use[sel - UP_COUNT] < 999) pg.use[sel - UP_COUNT]++;
+ /* (the upgrade objectives are met as soon as they are bought) */
+ int got[2];
+ game_award(got, 2);
+ save_write();
+ say("Bought");
+}
+
+void app_step(uint32_t keys, uint32_t pressed) {
+ state_t += 1.0f / 60;
+ if (note_t > 0) note_t -= 1.0f / 60;
+ if (pressed & K_HOME) {
+ if (state == S_RUN || state == S_PAUSE || state == S_QUIT) end_run(); /* (the results not shown yet) */
+ else
+ save_write();
+ app_running = false;
+ return;
+ }
+ uint32_t left = K_LEFT | K_LEAN_L, right = K_RIGHT | K_LEAN_R;
+ switch (state) {
+ case S_HELP:
+ if (pressed & (K_OK | K_BACK)) {
+ if (!pg.help) pg.help = 1, save_write();
+ go(help_back);
+ if (help_back == S_PAUSE) sel = 1;
+ }
+ break;
+ case S_TITLE:
+ if (pressed & K_UP) sel = (sel + 3) % 4;
+ if (pressed & K_DOWN) sel = (sel + 1) % 4;
+ if (pressed & K_OK) {
+ if (sel == 0) start_run();
+ else if (sel == 1) go(S_STORE);
+ else if (sel == 2) go(S_OBJECTIVES);
+ else help_back = S_TITLE, go(S_HELP), sel = 3;
+ }
+ break;
+ case S_RUN: {
+ if (pressed & K_BACK) {
+ go(S_PAUSE);
+ break;
+ }
+ uint32_t in = 0;
+ bool shift = keys & K_SHIFT;
+ if (!shift) {
+ if (pressed & K_LEFT) in |= IN_LEFT;
+ if (pressed & K_RIGHT) in |= IN_RIGHT;
+ }
+ if ((keys & K_LEAN_L) || (shift && (keys & K_LEFT))) in |= IN_LEAN_L;
+ else if ((keys & K_LEAN_R) || (shift && (keys & K_RIGHT))) in |= IN_LEAN_R;
+ if (pressed & K_UP) in |= IN_JUMP;
+ if (pressed & K_DOWN) in |= IN_SLIDE;
+ if (pressed & K_OK) in |= IN_WINGS;
+ if (pressed & K_ONE) in |= IN_HEADSTART;
+ if (pressed & K_THREE) in |= IN_MEGA;
+ uint16_t before = (uint16_t)(pg.use[0] + pg.use[1] + pg.use[2]);
+ game_step(in);
+ scene_follow();
+ if (pg.use[0] + pg.use[1] + pg.use[2] != before) save_write();
+ if (game_over()) {
+ end_run();
+ go(S_RESULTS);
+ }
+ break;
+ }
+ case S_PAUSE:
+ if (pressed & K_UP) sel = (sel + 2) % 3;
+ if (pressed & K_DOWN) sel = (sel + 1) % 3;
+ if (pressed & K_BACK) go(S_RUN);
+ else if (pressed & K_OK) {
+ if (sel == 0) go(S_RUN);
+ else if (sel == 1) help_back = S_PAUSE, go(S_HELP);
+ else go(S_QUIT);
+ }
+ break;
+ case S_QUIT:
+ if (pressed & (left | right)) sel ^= 1;
+ if (pressed & K_BACK) go(S_PAUSE), sel = 2;
+ else if (pressed & K_OK) {
+ if (sel == 1) {
+ end_run();
+ go(S_RESULTS);
+ } else
+ go(S_PAUSE), sel = 2;
+ }
+ break;
+ case S_RESULTS:
+ if (state_t < 0.5f) break;
+ if (pressed & K_OK) start_run();
+ else if (pressed & K_BACK) title_world(), go(S_TITLE);
+ break;
+ case S_STORE:
+ if (pressed & K_UP) sel = (sel + NSTORE - 1) % NSTORE;
+ if (pressed & K_DOWN) sel = (sel + 1) % NSTORE;
+ if (pressed & K_OK) store_buy();
+ if (pressed & K_BACK) go(S_TITLE), sel = 1;
+ break;
+ case S_OBJECTIVES:
+ if (pressed & K_UP) top = top > 0 ? top - 1 : 0;
+ if (pressed & K_DOWN) top = top < NOBJ - 8 ? top + 1 : NOBJ - 8;
+ if (pressed & (K_BACK | K_OK)) go(S_TITLE), sel = 2;
+ break;
+ }
+}
+
+/* ---------------------------------------------------------------- drawing */
+static void label(const Font *f, int x, int y, const char *s, uint32_t c, int align) {
+ d_label(f, x, y, s, C(c), C(INK), f == &font_big ? 2 : 1, align);
+}
+
+/* the key line at the bottom: plain words */
+static void keys_line(const char *s) {
+ d_fill_a(0, 222, SCREEN_W, 18, C(0x1A1008), 190);
+ d_text(&font_small, (SCREEN_W - d_text_width(&font_small, s)) / 2, 235, s, C(0xF2E2BC), 255);
+}
+
+static void button(int x, int y, int w, int h, const char *s, bool focus) {
+ d_panel(x, y, w, h, 6, focus ? 3 : 1, focus ? 0xFFD040 : 0x6A4A28, focus ? 0x8A5A26 : 0x5A3A1A, focus ? 0x6A4018 : 0x3E2810);
+ label(&font_mid, x + w / 2, y + h / 2 + 6, s, focus ? 0xFFFFFF : DIM, 0);
+}
+
+static void panel(int x, int y, int w, int h) {
+ d_panel(x, y, w, h, 8, 2, 0xB08848, 0x4A3018, 0x2E1C0C);
+}
+
+static void coin_icon(int x, int y) {
+ d_disc((float)x, (float)y, 5, C(0xC89A10), 255);
+ d_disc((float)x, (float)y, 3.2f, C(0xFFD21E), 255);
+}
+
+static void hud(void) {
+ char b[40];
+ fmt(b, run.score);
+ label(&font_mid, 8, 20, b, 0xFFFFFF, -1);
+ coin_icon(13, 32);
+ fmt(b, run.coins);
+ label(&font_small, 22, 37, b, GOLD, -1);
+ fmt(b, (uint32_t)run.dist);
+ cat(b, " m");
+ label(&font_small, SCREEN_W - 8, 18, b, 0xFFFFFF, 1);
+ /* the coin meter: every 100 coins, 500 points */
+ if (r_y0 < 150 && r_y1 > 50) {
+ int h = 80, f = (int)(run.bonus_coins * (uint32_t)h / 100);
+ d_fill_a(8, 52, 6, h, C(0x1A1008), 110);
+ d_fill(9, 52 + h - f, 4, f, C(0xFFC020));
+ }
+ int kind;
+ float left = game_power_left(&kind);
+ if (kind) {
+ static const char *const nm[5] = {"", "", "Invisible", "Coin magnet", "Boost"};
+ static const uint32_t col[5] = {0, 0, 0x9FE8FF, 0xE04040, 0x56E070};
+ label(&font_small, SCREEN_W / 2, 18, nm[kind], 0xFFFFFF, 0);
+ d_fill_a(SCREEN_W / 2 - 40, 22, 80, 5, C(0x1A1008), 170);
+ d_fill(SCREEN_W / 2 - 40, 22, (int)(80 * left), 5, C(col[kind]));
+ }
+ if (pl.wings > 0) {
+ fmt(b, (uint32_t)pl.wings + 1);
+ char w[24] = "Wings ";
+ cat(w, b);
+ label(&font_small, SCREEN_W - 8, 34, w, 0xFFFFFF, 1);
+ }
+ const char *hint = NULL;
+ static char hb[48];
+ int hs = game_headstart_ok();
+ if (hs == 3) hint = "1 head start - 3 mega head start";
+ else if (hs == 1) hint = "1 head start";
+ else if (hs == 2) hint = "3 mega head start";
+ else if (state_t < 4.5f && pg.runs < 5) hint = "Left Right turn - Up jump - Down slide - 4 6 lean";
+ else if (game_wings_ok() && state_t < 9) {
+ strcpy(hb, "OK wings (");
+ fmt(hb + strlen(hb), pg.use[USE_WINGS]);
+ cat(hb, ")");
+ hint = hb;
+ }
+ if (hint) keys_line(hint);
+}
+
+static void help_overlay(void) {
+ d_dim(150);
+ panel(14, 8, 292, 212);
+ label(&font_mid, 160, 30, "How to play", GOLD, 0);
+ static const char *const lines[] = {
+ "Run from the temple: they are right behind you.",
+ "Left / Right turn at a corner",
+ "Up jump roots, trees, fire and gaps",
+ "Down slide under branches",
+ "4 / 6 (or shift + arrows) lean for coins",
+ " and along narrow paths",
+ "OK wings: saved once (buy them in the store)",
+ "Trip once and they catch up; trip again soon",
+ "and they get you. Every 100 coins: 500 points.",
+ "Back pauses. Home saves and quits."};
+ for (int i = 0; i < 10; i++) d_text(&font_small, 26, 52 + i * 16, lines[i], C(i == 0 ? GOLD : 0xF2E2BC), 255);
+ keys_line("OK continue");
+}
+
+static void title_overlay(void) {
+ label(&font_big, 90, 44, "TEMPLE RUN", 0xFFD04A, 0);
+ char b[40] = "Best ";
+ fmt(b + 5, pg.best);
+ label(&font_small, 90, 62, b, 0xFFFFFF, 0);
+ static const char *const items[4] = {"Run", "Store", "Objectives", "How to play"};
+ for (int i = 0; i < 4; i++) button(30, 80 + i * 32, 120, 26, items[i], sel == i);
+ coin_icon(SCREEN_W - 60, 14);
+ fmt(b, pg.coins);
+ label(&font_small, SCREEN_W - 50, 19, b, GOLD, -1);
+ keys_line("Up Down choose - OK select - Home quit");
+}
+
+static void pause_overlay(void) {
+ d_dim(130);
+ panel(80, 40, 160, 150);
+ label(&font_mid, 160, 64, "Paused", GOLD, 0);
+ static const char *const items[3] = {"Resume", "How to play", "Quit game"};
+ for (int i = 0; i < 3; i++) button(96, 78 + i * 34, 128, 28, items[i], sel == i);
+ keys_line("Up Down choose - OK select - Back resume");
+}
+
+static void quit_overlay(void) {
+ d_dim(150);
+ panel(50, 64, 220, 110);
+ label(&font_mid, 160, 90, "Quit this run?", GOLD, 0);
+ d_text(&font_small, 160 - d_text_width(&font_small, "Your coins are kept.") / 2, 110, "Your coins are kept.", C(0xF2E2BC), 255);
+ button(70, 128, 80, 28, "No", sel == 0);
+ button(170, 128, 80, 28, "Yes", sel == 1);
+ keys_line("Left Right choose - OK select");
+}
+
+static void results_overlay(void) {
+ d_dim(140);
+ panel(30, 10, 260, 206);
+ char b[48];
+ label(&font_mid, 160, 34, new_best ? "New best!" : "Game over", GOLD, 0);
+ fmt(b, run.score);
+ label(&font_big, 160, 66, b, 0xFFFFFF, 0);
+ struct {
+ const char *k;
+ uint32_t v;
+ } rows[3] = {{"Coins", run.coins}, {"Distance", (uint32_t)run.dist}, {"Best", pg.best}};
+ for (int i = 0; i < 3; i++) {
+ d_text(&font_small, 60, 92 + i * 16, rows[i].k, C(DIM), 255);
+ fmt(b, rows[i].v);
+ if (i == 1) cat(b, " m");
+ d_text(&font_small, 260 - d_text_width(&font_small, b), 92 + i * 16, b, C(0xFFFFFF), 255);
+ }
+ if (nawarded) {
+ label(&font_small, 160, 152, "Objectives done", GOLD, 0);
+ for (int i = 0; i < nawarded && i < 3; i++) {
+ const char *t = game_obj_text(awarded[i]);
+ d_text(&font_small, 160 - d_text_width(&font_small, t) / 2, 168 + i * 13, t, C(0xF2E2BC), 255);
+ }
+ }
+ strcpy(b, "Score multiplier ");
+ fmt(b + strlen(b), pg.multiplier);
+ cat(b, "x");
+ d_text(&font_small, 160 - d_text_width(&font_small, b) / 2, nawarded ? 210 : 160, b, C(0xFFFFFF), 255);
+ keys_line("OK run again - Back menu");
+}
+
+static void store_overlay(void) {
+ d_dim(170);
+ label(&font_mid, 12, 22, "Store", GOLD, -1);
+ char b[40];
+ coin_icon(SCREEN_W - 70, 16);
+ fmt(b, pg.coins);
+ label(&font_small, SCREEN_W - 60, 21, b, GOLD, -1);
+ for (int i = 0; i < NSTORE; i++) {
+ int y = 32 + i * 21;
+ bool f = sel == i;
+ d_panel(8, y, 304, 19, 4, f ? 2 : 1, f ? 0xFFD040 : 0x5A3E22, f ? 0x6A4420 : 0x3A2612, f ? 0x523214 : 0x2A1A0A);
+ d_text(&font_small, 16, y + 14, store_name[i], C(f ? 0xFFFFFF : 0xE8D6AE), 255);
+ if (i < UP_COUNT)
+ for (int k = 0; k < UP_MAX; k++) d_fill(150 + k * 12, y + 6, 9, 7, C(k < pg.up[i] ? 0x56E070 : 0x5A4630));
+ else {
+ fmt(b, pg.use[i - UP_COUNT]);
+ char o[16] = "own ";
+ cat(o, b);
+ d_text(&font_small, 150, y + 14, o, C(0xE8D6AE), 255);
+ }
+ uint32_t p = store_price(i);
+ if (p) fmt(b, p);
+ else strcpy(b, "max");
+ d_text(&font_small, 302 - d_text_width(&font_small, b), y + 14, b, C(p <= pg.coins ? GOLD : 0xB09070), 255);
+ }
+ const char *w = note_t > 0 ? note : store_what[sel];
+ d_text(&font_small, 160 - d_text_width(&font_small, w) / 2, 214, w, C(note_t > 0 ? 0xFFD040 : 0xF2E2BC), 255);
+ keys_line("Up Down choose - OK buy - Back menu");
+}
+
+static void objectives_overlay(void) {
+ d_dim(170);
+ label(&font_mid, 12, 22, "Objectives", GOLD, -1);
+ char b[32] = "Multiplier ";
+ fmt(b + strlen(b), pg.multiplier);
+ cat(b, "x");
+ label(&font_small, SCREEN_W - 10, 20, b, 0xFFFFFF, 1);
+ for (int i = 0; i < 8; i++) {
+ int k = top + i, y = 32 + i * 23;
+ bool done = game_obj_done(k);
+ d_panel(8, y, 304, 21, 4, 1, 0x5A3E22, done ? 0x3A4A1E : 0x3A2612, done ? 0x2A3814 : 0x2A1A0A);
+ if (done) d_disc(22, (float)y + 10.5f, 5, C(0x7AE060), 255);
+ else d_ring(22, (float)y + 10.5f, 5, 1.2f, C(0x9A8060), 255);
+ d_text(&font_small, 36, y + 15, game_obj_text(k), C(done ? 0xD8F0C0 : 0xF2E2BC), 255);
+ }
+ keys_line("Up Down scroll - Back menu");
+}
+
+static void overlay(void) {
+ switch (state) {
+ case S_HELP: help_overlay(); break;
+ case S_TITLE: title_overlay(); break;
+ case S_RUN: hud(); break;
+ case S_PAUSE: pause_overlay(); break;
+ case S_QUIT: quit_overlay(); break;
+ case S_RESULTS: results_overlay(); break;
+ case S_STORE: store_overlay(); break;
+ case S_OBJECTIVES: objectives_overlay(); break;
+ }
+}
+
+void app_draw(void) {
+ bool title = state == S_TITLE || state == S_STORE || state == S_OBJECTIVES || (state == S_HELP && help_back == S_TITLE);
+ scene_draw(overlay, title);
+}
diff --git a/games/templerun/src/app.h b/games/templerun/src/app.h
new file mode 100644
index 00000000..0feb8a1d
--- /dev/null
+++ b/games/templerun/src/app.h
@@ -0,0 +1,12 @@
+/* Temple Run: 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/templerun/src/assets.c b/games/templerun/src/assets.c
new file mode 100644
index 00000000..c5c9d643
--- /dev/null
+++ b/games/templerun/src/assets.c
@@ -0,0 +1,4202 @@
+/* Made 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}};
+
diff --git a/games/templerun/src/assets.h b/games/templerun/src/assets.h
new file mode 100644
index 00000000..9f70fa1f
--- /dev/null
+++ b/games/templerun/src/assets.h
@@ -0,0 +1,23 @@
+/* Temple Run: the fonts (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;
+
+#endif
diff --git a/games/templerun/src/data.c b/games/templerun/src/data.c
new file mode 100644
index 00000000..4224692e
--- /dev/null
+++ b/games/templerun/src/data.c
@@ -0,0 +1,384 @@
+/* Made by tools/models.py: Temple Run's stand-in models (boxes and wedges), as a mesh table. */
+#include "data.h"
+
+const Texture *const r_tex[1] = {0};
+
+static const MVert v_runner_run0[] = {{-5,1,-2}, {-5,1,2}, {-5,18,2}, {-5,18,-2}, {-1,1,-2}, {-1,18,-2}, {-1,18,2}, {-1,1,2}, {-5,1,3}, {-5,5,3}, {-5,5,-2}, {0,1,-2}, {0,5,-2}, {0,5,3}, {0,1,3}, {1,1,-2}, {1,1,2}, {1,18,2}, {1,18,-2}, {5,1,-2}, {5,18,-2}, {5,18,2}, {5,1,2}, {5,5,-2}, {5,5,3}, {5,1,3}, {-6,18,-3}, {-6,17,3}, {-6,20,4}, {-6,21,-3}, {6,18,-3}, {6,21,-3}, {6,20,4}, {6,17,3}, {-6,31,6}, {-6,32,-1}, {6,32,-1}, {6,31,6}, {-3,32,-1}, {-3,31,6}, {-3,37,7}, {-3,38,0}, {3,32,-1}, {3,38,0}, {3,37,7}, {3,31,6}, {-3,36,0}, {-3,35,6}, {-3,38,7}, {-3,39,0}, {3,36,0}, {3,39,0}, {3,38,7}, {3,35,6}, {-9,19,-2}, {-9,18,2}, {-9,31,4}, {-9,31,1}, {-6,19,-2}, {-6,31,1}, {-6,31,4}, {-6,18,2}, {-9,17,-2}, {-9,16,1}, {-6,17,-2}, {-6,16,1}, {6,19,-2}, {6,18,2}, {6,31,4}, {6,31,1}, {9,19,-2}, {9,31,1}, {9,31,4}, {9,18,2}, {6,17,-2}, {6,16,1}, {9,17,-2}, {9,16,1}};
+static const uint16_t i_runner_run0[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,11,14,13,12,19,23,24,25,11,12,23,19,14,25,24,13,11,19,25,14,12,13,24,23,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,29,28,34,35,31,36,37,32,28,32,37,34,29,31,32,28,35,34,37,36,38,39,40,41,42,43,44,45,38,41,43,42,39,45,44,40,38,42,45,39,41,40,44,43,46,47,48,49,50,51,52,53,47,53,52,48,46,50,53,47,49,48,52,51,54,55,56,57,58,59,60,61,54,57,59,58,55,61,60,56,54,58,61,55,57,56,60,59,62,63,55,54,64,58,61,65,62,54,58,64,63,65,61,55,62,64,65,63,54,55,61,58,66,67,68,69,70,71,72,73,66,69,71,70,67,73,72,68,66,70,73,67,69,68,72,71,74,75,67,66,76,70,73,77,74,66,70,76,75,77,73,67,74,76,77,75,66,67,73,70};
+static const MFace f_runner_run0[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,0,-127,0,0,0x6F5B42}, {12,4,0,0,127,0,0,0x6F5B42}, {16,4,0,-127,0,0,0,0x6F5B42}, {20,4,0,127,0,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,0,-127,0,0,0x3A2E24}, {36,4,0,0,127,0,0,0x3A2E24}, {40,4,0,-127,0,0,0,0x3A2E24}, {44,4,0,127,0,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,0,-127,0,0,0x6F5B42}, {60,4,0,0,127,0,0,0x6F5B42}, {64,4,0,-127,0,0,0,0x6F5B42}, {68,4,0,127,0,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,0,-127,0,0,0x3A2E24}, {84,4,0,0,127,0,0,0x3A2E24}, {88,4,0,-127,0,0,0,0x3A2E24}, {92,4,0,127,0,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-23,125,0,0,0x2E2620}, {108,4,0,-125,-23,0,0,0x2E2620}, {112,4,0,125,23,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-23,125,0,0,0x5B7F99}, {128,4,0,-125,-23,0,0,0x5B7F99}, {132,4,0,125,23,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,23,-125,0,0,0xD8A476}, {148,4,0,-23,125,0,0,0x3B2A1C}, {152,4,0,-125,-23,0,0,0xD8A476}, {156,4,0,125,23,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-23,125,0,0,0x3B2A1C}, {172,4,0,-125,-23,0,0,0x3B2A1C}, {176,4,0,125,23,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,23,-125,0,0,0x5B7F99}, {192,4,0,-23,125,0,0,0x5B7F99}, {196,4,0,-125,-23,0,0,0x5B7F99}, {200,4,0,125,23,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,23,-125,0,0,0xD8A476}, {216,4,0,-23,125,0,0,0xD8A476}, {220,4,0,-125,-23,0,0,0xD8A476}, {224,4,0,125,23,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,23,-125,0,0,0x5B7F99}, {240,4,0,-23,125,0,0,0x5B7F99}, {244,4,0,-125,-23,0,0,0x5B7F99}, {248,4,0,125,23,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,23,-125,0,0,0xD8A476}, {264,4,0,-23,125,0,0,0xD8A476}, {268,4,0,-125,-23,0,0,0xD8A476}, {272,4,0,125,23,0,0,0xD8A476}};
+static const MVert v_runner_run1[] = {{-5,5,-12}, {-5,2,-9}, {-5,16,2}, {-5,19,-2}, {-1,5,-12}, {-1,19,-2}, {-1,16,2}, {-1,2,-9}, {-5,1,-8}, {-5,4,-6}, {-5,8,-10}, {0,5,-12}, {0,8,-10}, {0,4,-6}, {0,1,-8}, {1,2,9}, {1,5,12}, {1,19,2}, {1,16,-2}, {5,2,9}, {5,16,-2}, {5,19,2}, {5,5,12}, {0,2,8}, {0,6,13}, {0,8,11}, {0,5,6}, {5,2,8}, {5,5,6}, {5,8,11}, {5,6,13}, {-6,17,-3}, {-6,16,3}, {-6,19,4}, {-6,20,-3}, {6,17,-3}, {6,20,-3}, {6,19,4}, {6,16,3}, {-6,30,6}, {-6,31,-1}, {6,31,-1}, {6,30,6}, {-3,31,-1}, {-3,30,6}, {-3,36,7}, {-3,37,0}, {3,31,-1}, {3,37,0}, {3,36,7}, {3,30,6}, {-3,35,0}, {-3,34,6}, {-3,37,7}, {-3,38,0}, {3,35,0}, {3,38,0}, {3,37,7}, {3,34,6}, {-9,18,7}, {-9,20,10}, {-9,31,3}, {-9,29,0}, {-6,18,7}, {-6,29,0}, {-6,31,3}, {-6,20,10}, {-9,17,8}, {-9,18,11}, {-6,17,8}, {-6,18,11}, {6,23,-8}, {6,21,-6}, {6,28,4}, {6,31,2}, {9,23,-8}, {9,31,2}, {9,28,4}, {9,21,-6}, {6,22,-10}, {6,20,-8}, {9,22,-10}, {9,20,-8}};
+static const uint16_t i_runner_run1[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,23,24,25,26,27,28,29,30,23,26,28,27,24,30,29,25,23,27,30,24,26,25,29,28,31,32,33,34,35,36,37,38,32,38,37,33,31,35,38,32,34,33,37,36,34,33,39,40,36,41,42,37,33,37,42,39,34,36,37,33,40,39,42,41,43,44,45,46,47,48,49,50,43,46,48,47,44,50,49,45,43,47,50,44,46,45,49,48,51,52,53,54,55,56,57,58,52,58,57,53,51,55,58,52,54,53,57,56,59,60,61,62,63,64,65,66,59,62,64,63,60,66,65,61,59,63,66,60,62,61,65,64,67,68,60,59,69,63,66,70,67,59,63,69,68,70,66,60,67,69,70,68,59,60,66,63,71,72,73,74,75,76,77,78,71,74,76,75,72,78,77,73,71,75,78,72,74,73,77,76,79,80,72,71,81,75,78,82,79,71,75,81,80,82,78,72,79,81,82,80,71,72,78,75};
+static const MFace f_runner_run1[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,77,-101,0,0,0x6F5B42}, {12,4,0,-77,101,0,0,0x6F5B42}, {16,4,0,-101,-77,0,0,0x6F5B42}, {20,4,0,101,77,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,77,-101,0,0,0x3A2E24}, {36,4,0,-77,101,0,0,0x3A2E24}, {40,4,0,-101,-77,0,0,0x3A2E24}, {44,4,0,101,77,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,-77,-101,0,0,0x6F5B42}, {60,4,0,77,101,0,0,0x6F5B42}, {64,4,0,-101,77,0,0,0x6F5B42}, {68,4,0,101,-77,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,-77,-101,0,0,0x3A2E24}, {84,4,0,77,101,0,0,0x3A2E24}, {88,4,0,-101,77,0,0,0x3A2E24}, {92,4,0,101,-77,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-23,125,0,0,0x2E2620}, {108,4,0,-125,-23,0,0,0x2E2620}, {112,4,0,125,23,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-23,125,0,0,0x5B7F99}, {128,4,0,-125,-23,0,0,0x5B7F99}, {132,4,0,125,23,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,23,-125,0,0,0xD8A476}, {148,4,0,-23,125,0,0,0x3B2A1C}, {152,4,0,-125,-23,0,0,0xD8A476}, {156,4,0,125,23,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-23,125,0,0,0x3B2A1C}, {172,4,0,-125,-23,0,0,0x3B2A1C}, {176,4,0,125,23,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,-69,-107,0,0,0x5B7F99}, {192,4,0,69,107,0,0,0x5B7F99}, {196,4,0,-107,69,0,0,0x5B7F99}, {200,4,0,107,-69,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,-69,-107,0,0,0xD8A476}, {216,4,0,69,107,0,0,0xD8A476}, {220,4,0,-107,69,0,0,0xD8A476}, {224,4,0,107,-69,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,102,-76,0,0,0x5B7F99}, {240,4,0,-102,76,0,0,0x5B7F99}, {244,4,0,-76,-102,0,0,0x5B7F99}, {248,4,0,76,102,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,102,-76,0,0,0xD8A476}, {264,4,0,-102,76,0,0,0xD8A476}, {268,4,0,-76,-102,0,0,0xD8A476}, {272,4,0,76,102,0,0,0xD8A476}};
+static const MVert v_runner_run2[] = {{-5,1,-2}, {-5,1,2}, {-5,18,2}, {-5,18,-2}, {-1,1,-2}, {-1,18,-2}, {-1,18,2}, {-1,1,2}, {-5,1,3}, {-5,5,3}, {-5,5,-2}, {0,1,-2}, {0,5,-2}, {0,5,3}, {0,1,3}, {1,1,-2}, {1,1,2}, {1,18,2}, {1,18,-2}, {5,1,-2}, {5,18,-2}, {5,18,2}, {5,1,2}, {5,5,-2}, {5,5,3}, {5,1,3}, {-6,18,-3}, {-6,17,3}, {-6,20,4}, {-6,21,-3}, {6,18,-3}, {6,21,-3}, {6,20,4}, {6,17,3}, {-6,31,6}, {-6,32,-1}, {6,32,-1}, {6,31,6}, {-3,32,-1}, {-3,31,6}, {-3,37,7}, {-3,38,0}, {3,32,-1}, {3,38,0}, {3,37,7}, {3,31,6}, {-3,36,0}, {-3,35,6}, {-3,38,7}, {-3,39,0}, {3,36,0}, {3,39,0}, {3,38,7}, {3,35,6}, {-9,19,-2}, {-9,18,2}, {-9,31,4}, {-9,31,1}, {-6,19,-2}, {-6,31,1}, {-6,31,4}, {-6,18,2}, {-9,17,-2}, {-9,16,1}, {-6,17,-2}, {-6,16,1}, {6,19,-2}, {6,18,2}, {6,31,4}, {6,31,1}, {9,19,-2}, {9,31,1}, {9,31,4}, {9,18,2}, {6,17,-2}, {6,16,1}, {9,17,-2}, {9,16,1}};
+static const uint16_t i_runner_run2[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,11,14,13,12,19,23,24,25,11,12,23,19,14,25,24,13,11,19,25,14,12,13,24,23,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,29,28,34,35,31,36,37,32,28,32,37,34,29,31,32,28,35,34,37,36,38,39,40,41,42,43,44,45,38,41,43,42,39,45,44,40,38,42,45,39,41,40,44,43,46,47,48,49,50,51,52,53,47,53,52,48,46,50,53,47,49,48,52,51,54,55,56,57,58,59,60,61,54,57,59,58,55,61,60,56,54,58,61,55,57,56,60,59,62,63,55,54,64,58,61,65,62,54,58,64,63,65,61,55,62,64,65,63,54,55,61,58,66,67,68,69,70,71,72,73,66,69,71,70,67,73,72,68,66,70,73,67,69,68,72,71,74,75,67,66,76,70,73,77,74,66,70,76,75,77,73,67,74,76,77,75,66,67,73,70};
+static const MFace f_runner_run2[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,0,-127,0,0,0x6F5B42}, {12,4,0,0,127,0,0,0x6F5B42}, {16,4,0,-127,0,0,0,0x6F5B42}, {20,4,0,127,0,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,0,-127,0,0,0x3A2E24}, {36,4,0,0,127,0,0,0x3A2E24}, {40,4,0,-127,0,0,0,0x3A2E24}, {44,4,0,127,0,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,0,-127,0,0,0x6F5B42}, {60,4,0,0,127,0,0,0x6F5B42}, {64,4,0,-127,0,0,0,0x6F5B42}, {68,4,0,127,0,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,0,-127,0,0,0x3A2E24}, {84,4,0,0,127,0,0,0x3A2E24}, {88,4,0,-127,0,0,0,0x3A2E24}, {92,4,0,127,0,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-23,125,0,0,0x2E2620}, {108,4,0,-125,-23,0,0,0x2E2620}, {112,4,0,125,23,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-23,125,0,0,0x5B7F99}, {128,4,0,-125,-23,0,0,0x5B7F99}, {132,4,0,125,23,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,23,-125,0,0,0xD8A476}, {148,4,0,-23,125,0,0,0x3B2A1C}, {152,4,0,-125,-23,0,0,0xD8A476}, {156,4,0,125,23,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-23,125,0,0,0x3B2A1C}, {172,4,0,-125,-23,0,0,0x3B2A1C}, {176,4,0,125,23,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,23,-125,0,0,0x5B7F99}, {192,4,0,-23,125,0,0,0x5B7F99}, {196,4,0,-125,-23,0,0,0x5B7F99}, {200,4,0,125,23,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,23,-125,0,0,0xD8A476}, {216,4,0,-23,125,0,0,0xD8A476}, {220,4,0,-125,-23,0,0,0xD8A476}, {224,4,0,125,23,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,23,-125,0,0,0x5B7F99}, {240,4,0,-23,125,0,0,0x5B7F99}, {244,4,0,-125,-23,0,0,0x5B7F99}, {248,4,0,125,23,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,23,-125,0,0,0xD8A476}, {264,4,0,-23,125,0,0,0xD8A476}, {268,4,0,-125,-23,0,0,0xD8A476}, {272,4,0,125,23,0,0,0xD8A476}};
+static const MVert v_runner_run3[] = {{-5,2,9}, {-5,5,12}, {-5,19,2}, {-5,16,-2}, {-1,2,9}, {-1,16,-2}, {-1,19,2}, {-1,5,12}, {-5,2,8}, {-5,6,13}, {-5,8,11}, {-5,5,6}, {0,2,8}, {0,5,6}, {0,8,11}, {0,6,13}, {1,5,-12}, {1,2,-9}, {1,16,2}, {1,19,-2}, {5,5,-12}, {5,19,-2}, {5,16,2}, {5,2,-9}, {0,5,-12}, {0,1,-8}, {0,4,-6}, {0,8,-10}, {5,8,-10}, {5,4,-6}, {5,1,-8}, {-6,17,-3}, {-6,16,3}, {-6,19,4}, {-6,20,-3}, {6,17,-3}, {6,20,-3}, {6,19,4}, {6,16,3}, {-6,30,6}, {-6,31,-1}, {6,31,-1}, {6,30,6}, {-3,31,-1}, {-3,30,6}, {-3,36,7}, {-3,37,0}, {3,31,-1}, {3,37,0}, {3,36,7}, {3,30,6}, {-3,35,0}, {-3,34,6}, {-3,37,7}, {-3,38,0}, {3,35,0}, {3,38,0}, {3,37,7}, {3,34,6}, {-9,23,-8}, {-9,21,-6}, {-9,28,4}, {-9,31,2}, {-6,23,-8}, {-6,31,2}, {-6,28,4}, {-6,21,-6}, {-9,22,-10}, {-9,20,-8}, {-6,22,-10}, {-6,20,-8}, {6,18,7}, {6,20,10}, {6,31,3}, {6,29,0}, {9,18,7}, {9,29,0}, {9,31,3}, {9,20,10}, {6,17,8}, {6,18,11}, {9,17,8}, {9,18,11}};
+static const uint16_t i_runner_run3[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21,24,25,26,27,20,28,29,30,24,27,28,20,25,30,29,26,24,20,30,25,27,26,29,28,31,32,33,34,35,36,37,38,32,38,37,33,31,35,38,32,34,33,37,36,34,33,39,40,36,41,42,37,33,37,42,39,34,36,37,33,40,39,42,41,43,44,45,46,47,48,49,50,43,46,48,47,44,50,49,45,43,47,50,44,46,45,49,48,51,52,53,54,55,56,57,58,52,58,57,53,51,55,58,52,54,53,57,56,59,60,61,62,63,64,65,66,59,62,64,63,60,66,65,61,59,63,66,60,62,61,65,64,67,68,60,59,69,63,66,70,67,59,63,69,68,70,66,60,67,69,70,68,59,60,66,63,71,72,73,74,75,76,77,78,71,74,76,75,72,78,77,73,71,75,78,72,74,73,77,76,79,80,72,71,81,75,78,82,79,71,75,81,80,82,78,72,79,81,82,80,71,72,78,75};
+static const MFace f_runner_run3[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,-77,-101,0,0,0x6F5B42}, {12,4,0,77,101,0,0,0x6F5B42}, {16,4,0,-101,77,0,0,0x6F5B42}, {20,4,0,101,-77,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,-77,-101,0,0,0x3A2E24}, {36,4,0,77,101,0,0,0x3A2E24}, {40,4,0,-101,77,0,0,0x3A2E24}, {44,4,0,101,-77,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,77,-101,0,0,0x6F5B42}, {60,4,0,-77,101,0,0,0x6F5B42}, {64,4,0,-101,-77,0,0,0x6F5B42}, {68,4,0,101,77,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,77,-101,0,0,0x3A2E24}, {84,4,0,-77,101,0,0,0x3A2E24}, {88,4,0,-101,-77,0,0,0x3A2E24}, {92,4,0,101,77,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-23,125,0,0,0x2E2620}, {108,4,0,-125,-23,0,0,0x2E2620}, {112,4,0,125,23,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-23,125,0,0,0x5B7F99}, {128,4,0,-125,-23,0,0,0x5B7F99}, {132,4,0,125,23,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,23,-125,0,0,0xD8A476}, {148,4,0,-23,125,0,0,0x3B2A1C}, {152,4,0,-125,-23,0,0,0xD8A476}, {156,4,0,125,23,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-23,125,0,0,0x3B2A1C}, {172,4,0,-125,-23,0,0,0x3B2A1C}, {176,4,0,125,23,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,102,-76,0,0,0x5B7F99}, {192,4,0,-102,76,0,0,0x5B7F99}, {196,4,0,-76,-102,0,0,0x5B7F99}, {200,4,0,76,102,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,102,-76,0,0,0xD8A476}, {216,4,0,-102,76,0,0,0xD8A476}, {220,4,0,-76,-102,0,0,0xD8A476}, {224,4,0,76,102,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,-69,-107,0,0,0x5B7F99}, {240,4,0,69,107,0,0,0x5B7F99}, {244,4,0,-107,69,0,0,0x5B7F99}, {248,4,0,107,-69,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,-69,-107,0,0,0xD8A476}, {264,4,0,69,107,0,0,0xD8A476}, {268,4,0,-107,69,0,0,0xD8A476}, {272,4,0,107,-69,0,0,0xD8A476}};
+static const MVert v_runner_jump[] = {{-5,8,-15}, {-5,5,-12}, {-5,15,1}, {-5,19,-1}, {-1,8,-15}, {-1,19,-1}, {-1,15,1}, {-1,5,-12}, {-5,4,-11}, {-5,6,-9}, {-5,11,-12}, {0,8,-15}, {0,11,-12}, {0,6,-9}, {0,4,-11}, {1,2,-9}, {1,1,-5}, {1,16,2}, {1,18,-2}, {5,2,-9}, {5,18,-2}, {5,16,2}, {5,1,-5}, {0,2,-9}, {0,0,-4}, {0,3,-2}, {0,6,-8}, {5,6,-8}, {5,3,-2}, {5,0,-4}, {-6,17,-3}, {-6,16,3}, {-6,19,4}, {-6,20,-3}, {6,17,-3}, {6,20,-3}, {6,19,4}, {6,16,3}, {-6,30,5}, {-6,31,-2}, {6,31,-2}, {6,30,5}, {-3,31,-2}, {-3,30,5}, {-3,37,5}, {-3,37,-1}, {3,31,-2}, {3,37,-1}, {3,37,5}, {3,30,5}, {-3,35,-2}, {-3,35,5}, {-3,38,-2}, {3,35,-2}, {3,38,-2}, {3,35,5}, {-9,36,11}, {-9,38,9}, {-9,30,0}, {-9,27,2}, {-6,36,11}, {-6,27,2}, {-6,30,0}, {-6,38,9}, {-9,37,12}, {-9,39,10}, {-6,37,12}, {-6,39,10}, {6,36,11}, {6,38,9}, {6,30,0}, {6,27,2}, {9,36,11}, {9,27,2}, {9,30,0}, {9,38,9}, {6,37,12}, {6,39,10}, {9,37,12}, {9,39,10}};
+static const uint16_t i_runner_jump[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,23,24,25,26,19,27,28,29,23,26,27,19,24,29,28,25,23,19,29,24,26,25,28,27,30,31,32,33,34,35,36,37,31,37,36,32,30,34,37,31,33,32,36,35,33,32,38,39,35,40,41,36,32,36,41,38,33,35,36,32,39,38,41,40,42,43,44,45,46,47,48,49,42,45,47,46,43,49,48,44,42,46,49,43,45,44,48,47,50,51,44,52,53,54,48,55,51,55,48,44,50,53,55,51,52,44,48,54,56,57,58,59,60,61,62,63,56,59,61,60,57,63,62,58,56,60,63,57,59,58,62,61,64,65,57,56,66,60,63,67,64,56,60,66,65,67,63,57,64,66,67,65,56,57,63,60,68,69,70,71,72,73,74,75,68,71,73,72,69,75,74,70,68,72,75,69,71,70,74,73,76,77,69,68,78,72,75,79,76,68,72,78,77,79,75,69,76,78,79,77,68,69,75,72};
+static const MFace f_runner_jump[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,99,-79,0,0,0x6F5B42}, {12,4,0,-99,79,0,0,0x6F5B42}, {16,4,0,-79,-99,0,0,0x6F5B42}, {20,4,0,79,99,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,99,-79,0,0,0x3A2E24}, {36,4,0,-99,79,0,0,0x3A2E24}, {40,4,0,-79,-99,0,0,0x3A2E24}, {44,4,0,79,99,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,49,-117,0,0,0x6F5B42}, {60,4,0,-49,117,0,0,0x6F5B42}, {64,4,0,-117,-49,0,0,0x6F5B42}, {68,4,0,117,49,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,49,-117,0,0,0x3A2E24}, {84,4,0,-49,117,0,0,0x3A2E24}, {88,4,0,-117,-49,0,0,0x3A2E24}, {92,4,0,117,49,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-13,126,0,0,0x2E2620}, {108,4,0,-126,-13,0,0,0x2E2620}, {112,4,0,126,13,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-13,126,0,0,0x5B7F99}, {128,4,0,-126,-13,0,0,0x5B7F99}, {132,4,0,126,13,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,13,-126,0,0,0xD8A476}, {148,4,0,-13,126,0,0,0x3B2A1C}, {152,4,0,-126,-13,0,0,0xD8A476}, {156,4,0,126,13,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-13,126,0,0,0x3B2A1C}, {172,4,0,-126,-13,0,0,0x3B2A1C}, {176,4,0,126,13,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,-95,85,0,0,0x5B7F99}, {192,4,0,95,-85,0,0,0x5B7F99}, {196,4,0,85,95,0,0,0x5B7F99}, {200,4,0,-85,-95,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,-95,85,0,0,0xD8A476}, {216,4,0,95,-85,0,0,0xD8A476}, {220,4,0,85,95,0,0,0xD8A476}, {224,4,0,-85,-95,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,-95,85,0,0,0x5B7F99}, {240,4,0,95,-85,0,0,0x5B7F99}, {244,4,0,85,95,0,0,0x5B7F99}, {248,4,0,-85,-95,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,-95,85,0,0,0xD8A476}, {264,4,0,95,-85,0,0,0xD8A476}, {268,4,0,85,95,0,0,0xD8A476}, {272,4,0,-85,-95,0,0,0xD8A476}};
+static const MVert v_runner_slide[] = {{-5,1,0}, {-5,1,18}, {-5,5,18}, {-5,5,0}, {5,1,0}, {5,5,0}, {5,5,18}, {5,1,18}, {-5,0,18}, {-5,0,22}, {-5,6,22}, {-5,6,18}, {5,0,18}, {5,6,18}, {5,6,22}, {5,0,22}, {-6,4,-4}, {-6,-2,0}, {-6,5,11}, {-6,11,8}, {6,4,-4}, {6,11,8}, {6,5,11}, {6,-2,0}, {-3,11,8}, {-3,5,11}, {-3,8,17}, {-3,14,14}, {3,11,8}, {3,14,14}, {3,8,17}, {3,5,11}, {-9,3,-2}, {-9,0,-1}, {-9,6,9}, {-9,9,8}, {-6,3,-2}, {-6,9,8}, {-6,6,9}, {-6,0,-1}, {6,3,-2}, {6,0,-1}, {6,6,9}, {6,9,8}, {9,3,-2}, {9,9,8}, {9,6,9}, {9,0,-1}};
+static const uint16_t i_runner_slide[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21,24,25,26,27,28,29,30,31,24,27,29,28,25,31,30,26,24,28,31,25,27,26,30,29,32,33,34,35,36,37,38,39,32,35,37,36,33,39,38,34,32,36,39,33,35,34,38,37,40,41,42,43,44,45,46,47,40,43,45,44,41,47,46,42,40,44,47,41,43,42,46,45};
+static const MFace f_runner_slide[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,0,-127,0,0,0x6F5B42}, {12,4,0,0,127,0,0,0x6F5B42}, {16,4,0,-127,0,0,0,0x6F5B42}, {20,4,0,127,0,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,0,-127,0,0,0x3A2E24}, {36,4,0,0,127,0,0,0x3A2E24}, {40,4,0,-127,0,0,0,0x3A2E24}, {44,4,0,127,0,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x5B7F99}, {52,4,127,0,0,0,0,0x5B7F99}, {56,4,0,110,-63,0,0,0x5B7F99}, {60,4,0,-110,63,0,0,0x5B7F99}, {64,4,0,-63,-110,0,0,0x5B7F99}, {68,4,0,63,110,0,0,0x5B7F99}, {72,4,-127,0,0,0,0,0xD8A476}, {76,4,127,0,0,0,0,0xD8A476}, {80,4,0,110,-63,0,0,0xD8A476}, {84,4,0,-110,63,0,0,0x3B2A1C}, {88,4,0,-63,-110,0,0,0xD8A476}, {92,4,0,63,110,0,0,0xD8A476}, {96,4,-127,0,0,0,0,0x5B7F99}, {100,4,127,0,0,0,0,0x5B7F99}, {104,4,0,110,-63,0,0,0x5B7F99}, {108,4,0,-110,63,0,0,0x5B7F99}, {112,4,0,-63,-110,0,0,0x5B7F99}, {116,4,0,63,110,0,0,0x5B7F99}, {120,4,-127,0,0,0,0,0x5B7F99}, {124,4,127,0,0,0,0,0x5B7F99}, {128,4,0,110,-63,0,0,0x5B7F99}, {132,4,0,-110,63,0,0,0x5B7F99}, {136,4,0,-63,-110,0,0,0x5B7F99}, {140,4,0,63,110,0,0,0x5B7F99}};
+static const MVert v_runner_stumble[] = {{-5,3,-10}, {-5,1,-6}, {-5,16,2}, {-5,18,-2}, {-1,3,-10}, {-1,18,-2}, {-1,16,2}, {-1,1,-6}, {-5,0,-5}, {-5,4,-4}, {-5,6,-9}, {0,3,-10}, {0,6,-9}, {0,4,-4}, {0,0,-5}, {1,0,3}, {1,1,7}, {1,18,2}, {1,17,-2}, {5,0,3}, {5,17,-2}, {5,18,2}, {5,1,7}, {0,0,3}, {0,2,8}, {0,5,7}, {0,3,2}, {5,3,2}, {5,5,7}, {5,2,8}, {-6,19,-3}, {-6,15,2}, {-6,17,4}, {-6,21,-1}, {6,19,-3}, {6,21,-1}, {6,17,4}, {6,15,2}, {-6,26,11}, {-6,30,5}, {6,30,5}, {6,26,11}, {-3,30,5}, {-3,26,11}, {-3,31,15}, {-3,35,10}, {3,30,5}, {3,35,10}, {3,31,15}, {3,26,11}, {-3,34,8}, {-3,30,13}, {-3,32,15}, {-3,36,9}, {3,34,8}, {3,36,9}, {3,32,15}, {3,30,13}, {-9,17,14}, {-9,19,16}, {-9,28,8}, {-9,26,6}, {-6,17,14}, {-6,26,6}, {-6,28,8}, {-6,19,16}, {-9,16,15}, {-9,18,18}, {-6,16,15}, {-6,18,18}, {6,15,9}, {6,16,12}, {6,28,9}, {6,27,6}, {9,15,9}, {9,27,6}, {9,28,9}, {9,16,12}, {6,13,9}, {6,14,12}, {9,13,9}, {9,14,12}};
+static const uint16_t i_runner_stumble[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,23,24,25,26,19,27,28,29,23,26,27,19,24,29,28,25,23,19,29,24,26,25,28,27,30,31,32,33,34,35,36,37,31,37,36,32,30,34,37,31,33,32,36,35,33,32,38,39,35,40,41,36,32,36,41,38,33,35,36,32,39,38,41,40,42,43,44,45,46,47,48,49,42,45,47,46,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,57,56,52,50,54,57,51,53,52,56,55,58,59,60,61,62,63,64,65,58,61,63,62,59,65,64,60,58,62,65,59,61,60,64,63,66,67,59,58,68,62,65,69,66,58,62,68,67,69,65,59,66,68,69,67,58,59,65,62,70,71,72,73,74,75,76,77,70,73,75,74,71,77,76,72,70,74,77,71,73,72,76,75,78,79,71,70,80,74,77,81,78,70,74,80,79,81,77,71,78,80,81,79,70,71,77,74};
+static const MFace f_runner_stumble[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,61,-111,0,0,0x6F5B42}, {12,4,0,-61,111,0,0,0x6F5B42}, {16,4,0,-111,-61,0,0,0x6F5B42}, {20,4,0,111,61,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,61,-111,0,0,0x3A2E24}, {36,4,0,-61,111,0,0,0x3A2E24}, {40,4,0,-111,-61,0,0,0x3A2E24}, {44,4,0,111,61,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,-38,-121,0,0,0x6F5B42}, {60,4,0,38,121,0,0,0x6F5B42}, {64,4,0,-121,38,0,0,0x6F5B42}, {68,4,0,121,-38,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,-38,-121,0,0,0x3A2E24}, {84,4,0,38,121,0,0,0x3A2E24}, {88,4,0,-121,38,0,0,0x3A2E24}, {92,4,0,121,-38,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,-77,101,0,0,0x2E2620}, {108,4,0,-101,-77,0,0,0x2E2620}, {112,4,0,101,77,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,-77,101,0,0,0x5B7F99}, {128,4,0,-101,-77,0,0,0x5B7F99}, {132,4,0,101,77,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,77,-101,0,0,0xD8A476}, {148,4,0,-77,101,0,0,0x3B2A1C}, {152,4,0,-101,-77,0,0,0xD8A476}, {156,4,0,101,77,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,-77,101,0,0,0x3B2A1C}, {172,4,0,-101,-77,0,0,0x3B2A1C}, {176,4,0,101,77,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,-87,-93,0,0,0x5B7F99}, {192,4,0,87,93,0,0,0x5B7F99}, {196,4,0,-93,87,0,0,0x5B7F99}, {200,4,0,93,-87,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,-87,-93,0,0,0xD8A476}, {216,4,0,87,93,0,0,0xD8A476}, {220,4,0,-93,87,0,0,0xD8A476}, {224,4,0,93,-87,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,-31,-123,0,0,0x5B7F99}, {240,4,0,31,123,0,0,0x5B7F99}, {244,4,0,-123,31,0,0,0x5B7F99}, {248,4,0,123,-31,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,-31,-123,0,0,0xD8A476}, {264,4,0,31,123,0,0,0xD8A476}, {268,4,0,-123,31,0,0,0xD8A476}, {272,4,0,123,-31,0,0,0xD8A476}};
+static const MVert v_runner_fall[] = {{-5,1,-6}, {-5,0,-1}, {-5,17,2}, {-5,18,-2}, {-1,1,-6}, {-1,18,-2}, {-1,17,2}, {-1,0,-1}, {-5,0,0}, {-5,3,1}, {-5,4,-5}, {0,1,-6}, {0,4,-5}, {0,3,1}, {0,0,0}, {1,0,1}, {1,1,6}, {1,18,2}, {1,17,-2}, {5,0,1}, {5,17,-2}, {5,18,2}, {5,1,6}, {0,0,1}, {0,1,7}, {0,5,6}, {0,3,0}, {5,3,0}, {5,5,6}, {5,1,7}, {-6,16,-3}, {-6,17,3}, {-6,20,3}, {-6,19,-4}, {6,16,-3}, {6,19,-4}, {6,20,3}, {6,17,3}, {-6,31,2}, {-6,30,-5}, {6,30,-5}, {6,31,2}, {-3,30,-5}, {-3,31,2}, {-3,37,1}, {-3,37,-5}, {3,30,-5}, {3,37,-5}, {3,37,1}, {3,31,2}, {-3,35,-5}, {-3,35,1}, {-3,38,1}, {-3,37,-6}, {3,35,-5}, {3,37,-6}, {3,38,1}, {3,35,1}, {-9,40,2}, {-9,41,-1}, {-9,29,-3}, {-9,28,0}, {-6,40,2}, {-6,28,0}, {-6,29,-3}, {-6,41,-1}, {-9,42,2}, {-9,43,-1}, {-6,42,2}, {-6,43,-1}, {6,40,2}, {6,41,-1}, {6,29,-3}, {6,28,0}, {9,40,2}, {9,28,0}, {9,29,-3}, {9,41,-1}, {6,42,2}, {6,43,-1}, {9,42,2}, {9,43,-1}};
+static const uint16_t i_runner_fall[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,0,8,9,10,11,12,13,14,0,10,12,11,8,14,13,9,0,11,14,8,10,9,13,12,15,16,17,18,19,20,21,22,15,18,20,19,16,22,21,17,15,19,22,16,18,17,21,20,23,24,25,26,19,27,28,29,23,26,27,19,24,29,28,25,23,19,29,24,26,25,28,27,30,31,32,33,34,35,36,37,31,37,36,32,30,34,37,31,33,32,36,35,33,32,38,39,35,40,41,36,32,36,41,38,33,35,36,32,39,38,41,40,42,43,44,45,46,47,48,49,42,45,47,46,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,57,56,52,50,54,57,51,53,52,56,55,58,59,60,61,62,63,64,65,58,61,63,62,59,65,64,60,58,62,65,59,61,60,64,63,66,67,59,58,68,62,65,69,66,58,62,68,67,69,65,59,66,68,69,67,58,59,65,62,70,71,72,73,74,75,76,77,70,73,75,74,71,77,76,72,70,74,77,71,73,72,76,75,78,79,71,70,80,74,77,81,78,70,74,80,79,81,77,71,78,80,81,79,70,71,77,74};
+static const MFace f_runner_fall[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,25,-124,0,0,0x6F5B42}, {12,4,0,-25,124,0,0,0x6F5B42}, {16,4,0,-124,-25,0,0,0x6F5B42}, {20,4,0,124,25,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x3A2E24}, {28,4,127,0,0,0,0,0x3A2E24}, {32,4,0,25,-124,0,0,0x3A2E24}, {36,4,0,-25,124,0,0,0x3A2E24}, {40,4,0,-124,-25,0,0,0x3A2E24}, {44,4,0,124,25,0,0,0x3A2E24}, {48,4,-127,0,0,0,0,0x6F5B42}, {52,4,127,0,0,0,0,0x6F5B42}, {56,4,0,-25,-124,0,0,0x6F5B42}, {60,4,0,25,124,0,0,0x6F5B42}, {64,4,0,-124,25,0,0,0x6F5B42}, {68,4,0,124,-25,0,0,0x6F5B42}, {72,4,-127,0,0,0,0,0x3A2E24}, {76,4,127,0,0,0,0,0x3A2E24}, {80,4,0,-25,-124,0,0,0x3A2E24}, {84,4,0,25,124,0,0,0x3A2E24}, {88,4,0,-124,25,0,0,0x3A2E24}, {92,4,0,124,-25,0,0,0x3A2E24}, {96,4,-127,0,0,0,0,0x2E2620}, {100,4,127,0,0,0,0,0x2E2620}, {104,4,0,13,126,0,0,0x2E2620}, {108,4,0,-126,13,0,0,0x2E2620}, {112,4,0,126,-13,0,0,0x2E2620}, {116,4,-127,0,0,0,0,0x5B7F99}, {120,4,127,0,0,0,0,0x5B7F99}, {124,4,0,13,126,0,0,0x5B7F99}, {128,4,0,-126,13,0,0,0x5B7F99}, {132,4,0,126,-13,0,0,0x5B7F99}, {136,4,-127,0,0,0,0,0xD8A476}, {140,4,127,0,0,0,0,0xD8A476}, {144,4,0,-13,-126,0,0,0xD8A476}, {148,4,0,13,126,0,0,0x3B2A1C}, {152,4,0,-126,13,0,0,0xD8A476}, {156,4,0,126,-13,0,0,0xD8A476}, {160,4,-127,0,0,0,0,0x3B2A1C}, {164,4,127,0,0,0,0,0x3B2A1C}, {168,4,0,13,126,0,0,0x3B2A1C}, {172,4,0,-126,13,0,0,0x3B2A1C}, {176,4,0,126,-13,0,0,0x3B2A1C}, {180,4,-127,0,0,0,0,0x5B7F99}, {184,4,127,0,0,0,0,0x5B7F99}, {188,4,0,-18,126,0,0,0x5B7F99}, {192,4,0,18,-126,0,0,0x5B7F99}, {196,4,0,126,18,0,0,0x5B7F99}, {200,4,0,-126,-18,0,0,0x5B7F99}, {204,4,-127,0,0,0,0,0xD8A476}, {208,4,127,0,0,0,0,0xD8A476}, {212,4,0,-18,126,0,0,0xD8A476}, {216,4,0,18,-126,0,0,0xD8A476}, {220,4,0,126,18,0,0,0xD8A476}, {224,4,0,-126,-18,0,0,0xD8A476}, {228,4,-127,0,0,0,0,0x5B7F99}, {232,4,127,0,0,0,0,0x5B7F99}, {236,4,0,-18,126,0,0,0x5B7F99}, {240,4,0,18,-126,0,0,0x5B7F99}, {244,4,0,126,18,0,0,0x5B7F99}, {248,4,0,-126,-18,0,0,0x5B7F99}, {252,4,-127,0,0,0,0,0xD8A476}, {256,4,127,0,0,0,0,0xD8A476}, {260,4,0,-18,126,0,0,0xD8A476}, {264,4,0,18,-126,0,0,0xD8A476}, {268,4,0,126,18,0,0,0xD8A476}, {272,4,0,-126,-18,0,0,0xD8A476}};
+static const MVert v_runner_down[] = {{-5,6,-4}, {-5,1,-3}, {-5,2,14}, {-5,7,13}, {5,6,-4}, {5,7,13}, {5,2,14}, {5,1,-3}, {-6,8,13}, {-6,1,14}, {-6,2,27}, {-6,9,26}, {6,8,13}, {6,9,26}, {6,2,27}, {6,1,14}, {-3,9,27}, {-3,2,27}, {-3,3,34}, {-3,9,33}, {3,9,27}, {3,9,33}, {3,3,34}, {3,2,27}};
+static const uint16_t i_runner_down[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21};
+static const MFace f_runner_down[] = {{0,4,-127,0,0,0,0,0x6F5B42}, {4,4,127,0,0,0,0,0x6F5B42}, {8,4,0,127,-9,0,0,0x6F5B42}, {12,4,0,-127,9,0,0,0x6F5B42}, {16,4,0,-9,-127,0,0,0x6F5B42}, {20,4,0,9,127,0,0,0x6F5B42}, {24,4,-127,0,0,0,0,0x5B7F99}, {28,4,127,0,0,0,0,0x5B7F99}, {32,4,0,127,-9,0,0,0x5B7F99}, {36,4,0,-127,9,0,0,0x5B7F99}, {40,4,0,-9,-127,0,0,0x5B7F99}, {44,4,0,9,127,0,0,0x5B7F99}, {48,4,-127,0,0,0,0,0xD8A476}, {52,4,127,0,0,0,0,0xD8A476}, {56,4,0,127,-9,0,0,0xD8A476}, {60,4,0,-127,9,0,0,0x3B2A1C}, {64,4,0,-9,-127,0,0,0xD8A476}, {68,4,0,9,127,0,0,0xD8A476}};
+static const MVert v_pursuer_run0[] = {{-8,16,-4}, {-8,8,4}, {-8,20,15}, {-8,27,7}, {8,16,-4}, {8,27,7}, {8,20,15}, {8,8,4}, {-5,25,7}, {-5,19,14}, {-5,25,20}, {-5,31,13}, {5,25,7}, {5,31,13}, {5,25,20}, {5,19,14}, {-4,20,15}, {-4,19,16}, {-4,22,20}, {-4,23,19}, {4,20,15}, {4,23,19}, {4,22,20}, {4,19,16}, {-3,20,18}, {-3,20,19}, {-3,21,19}, {-1,20,18}, {-1,21,19}, {-1,20,19}, {1,20,18}, {1,20,19}, {1,21,19}, {3,20,18}, {3,21,19}, {3,20,19}, {-6,0,-2}, {-6,0,2}, {-6,13,2}, {-6,13,-2}, {-2,0,-2}, {-2,13,-2}, {-2,13,2}, {-2,0,2}, {2,0,-2}, {2,0,2}, {2,13,2}, {2,13,-2}, {6,0,-2}, {6,13,-2}, {6,13,2}, {6,0,2}, {-12,3,2}, {-12,2,6}, {-12,23,12}, {-12,24,8}, {-8,3,2}, {-8,24,8}, {-8,23,12}, {-8,2,6}, {8,3,2}, {8,2,6}, {8,23,12}, {8,24,8}, {12,3,2}, {12,24,8}, {12,23,12}, {12,2,6}};
+static const uint16_t i_pursuer_run0[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,19,18,22,21,24,25,26,26,27,28,28,29,24,26,28,27,25,29,28,26,26,26,28,28,30,31,32,32,33,34,34,35,30,32,34,33,31,35,34,32,32,32,34,34,36,37,38,39,40,41,42,43,36,39,41,40,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,49,50,51,44,47,49,48,45,51,50,46,44,48,51,45,47,46,50,49,52,53,54,55,56,57,58,59,52,55,57,56,53,59,58,54,52,56,59,53,55,54,58,57,60,61,62,63,64,65,66,67,60,63,65,64,61,67,66,62,60,64,67,61,63,62,66,65};
+static const MFace f_pursuer_run0[] = {{0,4,-127,0,0,0,0,0x3E3631}, {4,4,127,0,0,0,0,0x3E3631}, {8,4,0,87,-93,0,0,0x3E3631}, {12,4,0,-87,93,0,0,0x2F2925}, {16,4,0,-93,-87,0,0,0x3E3631}, {20,4,0,93,87,0,0,0x3E3631}, {24,4,-127,0,0,0,0,0x3E3631}, {28,4,127,0,0,0,0,0x3E3631}, {32,4,0,87,-93,0,0,0x3E3631}, {36,4,0,-87,93,0,0,0x3E3631}, {40,4,0,-93,-87,0,0,0x3E3631}, {44,4,0,93,87,0,0,0x3E3631}, {48,4,-127,0,0,0,0,0x8C7262}, {52,4,127,0,0,0,0,0x8C7262}, {56,4,0,87,-93,0,0,0x8C7262}, {60,4,0,-87,93,0,0,0x8C7262}, {64,4,0,93,87,0,0,0x8C7262}, {68,4,-127,0,0,0,0,0xF0482A}, {72,4,127,0,0,0,0,0xF0482A}, {76,4,0,87,-93,0,0,0xF0482A}, {80,4,0,-87,93,0,0,0xF0482A}, {84,4,0,93,87,0,0,0xF0482A}, {88,4,-127,0,0,0,0,0xF0482A}, {92,4,127,0,0,0,0,0xF0482A}, {96,4,0,87,-93,0,0,0xF0482A}, {100,4,0,-87,93,0,0,0xF0482A}, {104,4,0,93,87,0,0,0xF0482A}, {108,4,-127,0,0,0,0,0x2F2925}, {112,4,127,0,0,0,0,0x2F2925}, {116,4,0,0,-127,0,0,0x2F2925}, {120,4,0,0,127,0,0,0x2F2925}, {124,4,0,-127,0,0,0,0x2F2925}, {128,4,0,127,0,0,0,0x2F2925}, {132,4,-127,0,0,0,0,0x2F2925}, {136,4,127,0,0,0,0,0x2F2925}, {140,4,0,0,-127,0,0,0x2F2925}, {144,4,0,0,127,0,0,0x2F2925}, {148,4,0,-127,0,0,0,0x2F2925}, {152,4,0,127,0,0,0,0x2F2925}, {156,4,-127,0,0,0,0,0x3E3631}, {160,4,127,0,0,0,0,0x3E3631}, {164,4,0,31,-123,0,0,0x3E3631}, {168,4,0,-31,123,0,0,0x3E3631}, {172,4,0,-123,-31,0,0,0x3E3631}, {176,4,0,123,31,0,0,0x3E3631}, {180,4,-127,0,0,0,0,0x3E3631}, {184,4,127,0,0,0,0,0x3E3631}, {188,4,0,31,-123,0,0,0x3E3631}, {192,4,0,-31,123,0,0,0x3E3631}, {196,4,0,-123,-31,0,0,0x3E3631}, {200,4,0,123,31,0,0,0x3E3631}};
+static const MVert v_pursuer_run1[] = {{-8,15,-5}, {-8,7,3}, {-8,19,14}, {-8,26,6}, {8,15,-5}, {8,26,6}, {8,19,14}, {8,7,3}, {-5,24,7}, {-5,18,14}, {-5,24,19}, {-5,30,12}, {5,24,7}, {5,30,12}, {5,24,19}, {5,18,14}, {-4,19,14}, {-4,18,16}, {-4,21,19}, {-4,23,18}, {4,19,14}, {4,23,18}, {4,21,19}, {4,18,16}, {-3,20,17}, {-3,19,18}, {-3,20,19}, {-3,21,18}, {-1,20,17}, {-1,21,18}, {-1,20,19}, {-1,19,18}, {1,20,17}, {1,19,18}, {1,20,19}, {1,21,18}, {3,20,17}, {3,21,18}, {3,20,19}, {3,19,18}, {-6,5,-10}, {-6,2,-7}, {-6,11,3}, {-6,15,-1}, {-2,5,-10}, {-2,15,-1}, {-2,11,3}, {-2,2,-7}, {2,2,7}, {2,5,10}, {2,15,1}, {2,11,-3}, {6,2,7}, {6,11,-3}, {6,15,1}, {6,5,10}, {-12,4,20}, {-12,6,23}, {-12,23,10}, {-12,21,7}, {-8,4,20}, {-8,21,7}, {-8,23,10}, {-8,6,23}, {8,15,-11}, {8,11,-9}, {8,20,10}, {8,24,9}, {12,15,-11}, {12,24,9}, {12,20,10}, {12,11,-9}};
+static const uint16_t i_pursuer_run1[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,19,18,22,21,24,25,26,27,28,29,30,31,24,27,29,28,25,31,30,26,27,26,30,29,32,33,34,35,36,37,38,39,32,35,37,36,33,39,38,34,35,34,38,37,40,41,42,43,44,45,46,47,40,43,45,44,41,47,46,42,40,44,47,41,43,42,46,45,48,49,50,51,52,53,54,55,48,51,53,52,49,55,54,50,48,52,55,49,51,50,54,53,56,57,58,59,60,61,62,63,56,59,61,60,57,63,62,58,56,60,63,57,59,58,62,61,64,65,66,67,68,69,70,71,64,67,69,68,65,71,70,66,64,68,71,65,67,66,70,69};
+static const MFace f_pursuer_run1[] = {{0,4,-127,0,0,0,0,0x3E3631}, {4,4,127,0,0,0,0,0x3E3631}, {8,4,0,87,-93,0,0,0x3E3631}, {12,4,0,-87,93,0,0,0x2F2925}, {16,4,0,-93,-87,0,0,0x3E3631}, {20,4,0,93,87,0,0,0x3E3631}, {24,4,-127,0,0,0,0,0x3E3631}, {28,4,127,0,0,0,0,0x3E3631}, {32,4,0,87,-93,0,0,0x3E3631}, {36,4,0,-87,93,0,0,0x3E3631}, {40,4,0,-93,-87,0,0,0x3E3631}, {44,4,0,93,87,0,0,0x3E3631}, {48,4,-127,0,0,0,0,0x8C7262}, {52,4,127,0,0,0,0,0x8C7262}, {56,4,0,87,-93,0,0,0x8C7262}, {60,4,0,-87,93,0,0,0x8C7262}, {64,4,0,93,87,0,0,0x8C7262}, {68,4,-127,0,0,0,0,0xF0482A}, {72,4,127,0,0,0,0,0xF0482A}, {76,4,0,87,-93,0,0,0xF0482A}, {80,4,0,-87,93,0,0,0xF0482A}, {84,4,0,93,87,0,0,0xF0482A}, {88,4,-127,0,0,0,0,0xF0482A}, {92,4,127,0,0,0,0,0xF0482A}, {96,4,0,87,-93,0,0,0xF0482A}, {100,4,0,-87,93,0,0,0xF0482A}, {104,4,0,93,87,0,0,0xF0482A}, {108,4,-127,0,0,0,0,0x2F2925}, {112,4,127,0,0,0,0,0x2F2925}, {116,4,0,91,-88,0,0,0x2F2925}, {120,4,0,-91,88,0,0,0x2F2925}, {124,4,0,-88,-91,0,0,0x2F2925}, {128,4,0,88,91,0,0,0x2F2925}, {132,4,-127,0,0,0,0,0x2F2925}, {136,4,127,0,0,0,0,0x2F2925}, {140,4,0,-91,-88,0,0,0x2F2925}, {144,4,0,91,88,0,0,0x2F2925}, {148,4,0,-88,91,0,0,0x2F2925}, {152,4,0,88,-91,0,0,0x2F2925}, {156,4,-127,0,0,0,0,0x3E3631}, {160,4,127,0,0,0,0,0x3E3631}, {164,4,0,-77,-101,0,0,0x3E3631}, {168,4,0,77,101,0,0,0x3E3631}, {172,4,0,-101,77,0,0,0x3E3631}, {176,4,0,101,-77,0,0,0x3E3631}, {180,4,-127,0,0,0,0,0x3E3631}, {184,4,127,0,0,0,0,0x3E3631}, {188,4,0,116,-52,0,0,0x3E3631}, {192,4,0,-116,52,0,0,0x3E3631}, {196,4,0,-52,-116,0,0,0x3E3631}, {200,4,0,52,116,0,0,0x3E3631}};
+static const MVert v_pursuer_run2[] = {{-8,16,-4}, {-8,8,4}, {-8,20,15}, {-8,27,7}, {8,16,-4}, {8,27,7}, {8,20,15}, {8,8,4}, {-5,25,7}, {-5,19,14}, {-5,25,20}, {-5,31,13}, {5,25,7}, {5,31,13}, {5,25,20}, {5,19,14}, {-4,20,15}, {-4,19,16}, {-4,22,20}, {-4,23,19}, {4,20,15}, {4,23,19}, {4,22,20}, {4,19,16}, {-3,20,18}, {-3,20,19}, {-3,21,19}, {-1,20,18}, {-1,21,19}, {-1,20,19}, {1,20,18}, {1,20,19}, {1,21,19}, {3,20,18}, {3,21,19}, {3,20,19}, {-6,0,-2}, {-6,0,2}, {-6,13,2}, {-6,13,-2}, {-2,0,-2}, {-2,13,-2}, {-2,13,2}, {-2,0,2}, {2,0,-2}, {2,0,2}, {2,13,2}, {2,13,-2}, {6,0,-2}, {6,13,-2}, {6,13,2}, {6,0,2}, {-12,3,2}, {-12,2,6}, {-12,23,12}, {-12,24,8}, {-8,3,2}, {-8,24,8}, {-8,23,12}, {-8,2,6}, {8,3,2}, {8,2,6}, {8,23,12}, {8,24,8}, {12,3,2}, {12,24,8}, {12,23,12}, {12,2,6}};
+static const uint16_t i_pursuer_run2[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,19,18,22,21,24,25,26,26,27,28,28,29,24,26,28,27,25,29,28,26,26,26,28,28,30,31,32,32,33,34,34,35,30,32,34,33,31,35,34,32,32,32,34,34,36,37,38,39,40,41,42,43,36,39,41,40,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,49,50,51,44,47,49,48,45,51,50,46,44,48,51,45,47,46,50,49,52,53,54,55,56,57,58,59,52,55,57,56,53,59,58,54,52,56,59,53,55,54,58,57,60,61,62,63,64,65,66,67,60,63,65,64,61,67,66,62,60,64,67,61,63,62,66,65};
+static const MFace f_pursuer_run2[] = {{0,4,-127,0,0,0,0,0x3E3631}, {4,4,127,0,0,0,0,0x3E3631}, {8,4,0,87,-93,0,0,0x3E3631}, {12,4,0,-87,93,0,0,0x2F2925}, {16,4,0,-93,-87,0,0,0x3E3631}, {20,4,0,93,87,0,0,0x3E3631}, {24,4,-127,0,0,0,0,0x3E3631}, {28,4,127,0,0,0,0,0x3E3631}, {32,4,0,87,-93,0,0,0x3E3631}, {36,4,0,-87,93,0,0,0x3E3631}, {40,4,0,-93,-87,0,0,0x3E3631}, {44,4,0,93,87,0,0,0x3E3631}, {48,4,-127,0,0,0,0,0x8C7262}, {52,4,127,0,0,0,0,0x8C7262}, {56,4,0,87,-93,0,0,0x8C7262}, {60,4,0,-87,93,0,0,0x8C7262}, {64,4,0,93,87,0,0,0x8C7262}, {68,4,-127,0,0,0,0,0xF0482A}, {72,4,127,0,0,0,0,0xF0482A}, {76,4,0,87,-93,0,0,0xF0482A}, {80,4,0,-87,93,0,0,0xF0482A}, {84,4,0,93,87,0,0,0xF0482A}, {88,4,-127,0,0,0,0,0xF0482A}, {92,4,127,0,0,0,0,0xF0482A}, {96,4,0,87,-93,0,0,0xF0482A}, {100,4,0,-87,93,0,0,0xF0482A}, {104,4,0,93,87,0,0,0xF0482A}, {108,4,-127,0,0,0,0,0x2F2925}, {112,4,127,0,0,0,0,0x2F2925}, {116,4,0,0,-127,0,0,0x2F2925}, {120,4,0,0,127,0,0,0x2F2925}, {124,4,0,-127,0,0,0,0x2F2925}, {128,4,0,127,0,0,0,0x2F2925}, {132,4,-127,0,0,0,0,0x2F2925}, {136,4,127,0,0,0,0,0x2F2925}, {140,4,0,0,-127,0,0,0x2F2925}, {144,4,0,0,127,0,0,0x2F2925}, {148,4,0,-127,0,0,0,0x2F2925}, {152,4,0,127,0,0,0,0x2F2925}, {156,4,-127,0,0,0,0,0x3E3631}, {160,4,127,0,0,0,0,0x3E3631}, {164,4,0,31,-123,0,0,0x3E3631}, {168,4,0,-31,123,0,0,0x3E3631}, {172,4,0,-123,-31,0,0,0x3E3631}, {176,4,0,123,31,0,0,0x3E3631}, {180,4,-127,0,0,0,0,0x3E3631}, {184,4,127,0,0,0,0,0x3E3631}, {188,4,0,31,-123,0,0,0x3E3631}, {192,4,0,-31,123,0,0,0x3E3631}, {196,4,0,-123,-31,0,0,0x3E3631}, {200,4,0,123,31,0,0,0x3E3631}};
+static const MVert v_pursuer_run3[] = {{-8,15,-5}, {-8,7,3}, {-8,19,14}, {-8,26,6}, {8,15,-5}, {8,26,6}, {8,19,14}, {8,7,3}, {-5,24,7}, {-5,18,14}, {-5,24,19}, {-5,30,12}, {5,24,7}, {5,30,12}, {5,24,19}, {5,18,14}, {-4,19,14}, {-4,18,16}, {-4,21,19}, {-4,23,18}, {4,19,14}, {4,23,18}, {4,21,19}, {4,18,16}, {-3,20,17}, {-3,19,18}, {-3,20,19}, {-3,21,18}, {-1,20,17}, {-1,21,18}, {-1,20,19}, {-1,19,18}, {1,20,17}, {1,19,18}, {1,20,19}, {1,21,18}, {3,20,17}, {3,21,18}, {3,20,19}, {3,19,18}, {-6,2,7}, {-6,5,10}, {-6,15,1}, {-6,11,-3}, {-2,2,7}, {-2,11,-3}, {-2,15,1}, {-2,5,10}, {2,5,-10}, {2,2,-7}, {2,11,3}, {2,15,-1}, {6,5,-10}, {6,15,-1}, {6,11,3}, {6,2,-7}, {-12,15,-11}, {-12,11,-9}, {-12,20,10}, {-12,24,9}, {-8,15,-11}, {-8,24,9}, {-8,20,10}, {-8,11,-9}, {8,4,20}, {8,6,23}, {8,23,10}, {8,21,7}, {12,4,20}, {12,21,7}, {12,23,10}, {12,6,23}};
+static const uint16_t i_pursuer_run3[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,19,18,22,21,24,25,26,27,28,29,30,31,24,27,29,28,25,31,30,26,27,26,30,29,32,33,34,35,36,37,38,39,32,35,37,36,33,39,38,34,35,34,38,37,40,41,42,43,44,45,46,47,40,43,45,44,41,47,46,42,40,44,47,41,43,42,46,45,48,49,50,51,52,53,54,55,48,51,53,52,49,55,54,50,48,52,55,49,51,50,54,53,56,57,58,59,60,61,62,63,56,59,61,60,57,63,62,58,56,60,63,57,59,58,62,61,64,65,66,67,68,69,70,71,64,67,69,68,65,71,70,66,64,68,71,65,67,66,70,69};
+static const MFace f_pursuer_run3[] = {{0,4,-127,0,0,0,0,0x3E3631}, {4,4,127,0,0,0,0,0x3E3631}, {8,4,0,87,-93,0,0,0x3E3631}, {12,4,0,-87,93,0,0,0x2F2925}, {16,4,0,-93,-87,0,0,0x3E3631}, {20,4,0,93,87,0,0,0x3E3631}, {24,4,-127,0,0,0,0,0x3E3631}, {28,4,127,0,0,0,0,0x3E3631}, {32,4,0,87,-93,0,0,0x3E3631}, {36,4,0,-87,93,0,0,0x3E3631}, {40,4,0,-93,-87,0,0,0x3E3631}, {44,4,0,93,87,0,0,0x3E3631}, {48,4,-127,0,0,0,0,0x8C7262}, {52,4,127,0,0,0,0,0x8C7262}, {56,4,0,87,-93,0,0,0x8C7262}, {60,4,0,-87,93,0,0,0x8C7262}, {64,4,0,93,87,0,0,0x8C7262}, {68,4,-127,0,0,0,0,0xF0482A}, {72,4,127,0,0,0,0,0xF0482A}, {76,4,0,87,-93,0,0,0xF0482A}, {80,4,0,-87,93,0,0,0xF0482A}, {84,4,0,93,87,0,0,0xF0482A}, {88,4,-127,0,0,0,0,0xF0482A}, {92,4,127,0,0,0,0,0xF0482A}, {96,4,0,87,-93,0,0,0xF0482A}, {100,4,0,-87,93,0,0,0xF0482A}, {104,4,0,93,87,0,0,0xF0482A}, {108,4,-127,0,0,0,0,0x2F2925}, {112,4,127,0,0,0,0,0x2F2925}, {116,4,0,-91,-88,0,0,0x2F2925}, {120,4,0,91,88,0,0,0x2F2925}, {124,4,0,-88,91,0,0,0x2F2925}, {128,4,0,88,-91,0,0,0x2F2925}, {132,4,-127,0,0,0,0,0x2F2925}, {136,4,127,0,0,0,0,0x2F2925}, {140,4,0,91,-88,0,0,0x2F2925}, {144,4,0,-91,88,0,0,0x2F2925}, {148,4,0,-88,-91,0,0,0x2F2925}, {152,4,0,88,91,0,0,0x2F2925}, {156,4,-127,0,0,0,0,0x3E3631}, {160,4,127,0,0,0,0,0x3E3631}, {164,4,0,116,-52,0,0,0x3E3631}, {168,4,0,-116,52,0,0,0x3E3631}, {172,4,0,-52,-116,0,0,0x3E3631}, {176,4,0,52,116,0,0,0x3E3631}, {180,4,-127,0,0,0,0,0x3E3631}, {184,4,127,0,0,0,0,0x3E3631}, {188,4,0,-77,-101,0,0,0x3E3631}, {192,4,0,77,101,0,0,0x3E3631}, {196,4,0,-101,77,0,0,0x3E3631}, {200,4,0,101,-77,0,0,0x3E3631}};
+static const MVert v_temple_straight[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-40,0,80}, {40,0,80}, {-40,0,120}, {40,0,120}, {-40,-168,-120}, {-40,-168,120}, {40,-168,120}, {40,-168,-120}, {-40,6,-34}, {-40,6,120}, {-40,0,-34}, {-120,0,120}, {-120,6,120}, {-120,6,-34}, {-120,0,-34}, {34,6,40}, {34,6,120}, {34,0,120}, {34,0,40}, {-120,6,40}, {-120,0,40}};
+static const uint16_t i_temple_straight[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,12,20,21,22,23,24,19,22,21,12,12,21,24,20,23,22,19,18,25,26,27,28,21,22,29,30,26,22,21,27,27,21,30,28,29,22,26,25};
+static const MFace f_temple_straight[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,-127,0,0,0,0,0x76684F}, {28,4,127,0,0,0,0,0x76684F}, {32,4,127,0,0,0,0,0x8B7B60}, {36,4,-127,0,0,0,0,0x8B7B60}, {40,4,0,0,127,0,0,0x8B7B60}, {44,4,0,-127,0,0,0,0x8B7B60}, {48,4,0,127,0,0,0,0x8B7B60}, {52,4,127,0,0,0,0,0x8B7B60}, {56,4,-127,0,0,0,0,0x8B7B60}, {60,4,0,0,127,0,0,0x8B7B60}, {64,4,0,-127,0,0,0,0x8B7B60}, {68,4,0,127,0,0,0,0x8B7B60}};
+static const MVert v_temple_straight_far[] = {{-40,0,120}, {40,0,120}, {40,0,-120}, {-40,0,-120}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_temple_straight_far[] = {0,1,2,3,0,3,4,5,2,1,6,7};
+static const MFace f_temple_straight_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,-127,0,0,0,0,0x76684F}, {8,4,127,0,0,0,0,0x76684F}};
+static const MVert v_temple_hole[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-40,0,-34}, {-40,6,-40}, {-40,6,-34}, {-120,0,-34}, {-120,6,-34}, {-120,6,-40}, {-120,0,-40}, {34,0,40}, {34,0,-40}, {34,6,-40}, {34,6,40}, {-120,0,40}, {-120,6,40}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-168,40}, {-40,-168,120}, {40,-168,120}, {40,-168,40}, {-40,6,120}, {40,0,-34}, {40,6,-34}, {40,6,120}, {34,0,120}, {34,6,120}, {40,6,40}};
+static const uint16_t i_temple_hole[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,0,9,10,11,12,13,14,0,14,13,9,8,11,14,0,10,9,13,12,15,16,17,18,19,20,13,14,16,14,13,17,15,19,14,16,18,17,13,20,21,22,23,24,21,24,25,26,23,22,27,28,8,21,29,10,30,31,32,22,21,22,32,29,8,30,22,21,10,29,32,31,15,33,34,18,23,35,32,22,33,22,32,34,15,23,22,33,18,34,32,35,5,6,1,0,28,25,24,23};
+static const MFace f_temple_hole[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,-127,0,0,0,0,0x76684F}, {8,4,127,0,0,0,0,0x76684F}, {12,4,127,0,0,0,0,0x8B7B60}, {16,4,-127,0,0,0,0,0x8B7B60}, {20,4,0,0,-127,0,0,0x8B7B60}, {24,4,0,-127,0,0,0,0x8B7B60}, {28,4,0,127,0,0,0,0x8B7B60}, {32,4,127,0,0,0,0,0x8B7B60}, {36,4,-127,0,0,0,0,0x8B7B60}, {40,4,0,0,-127,0,0,0x8B7B60}, {44,4,0,-127,0,0,0,0x8B7B60}, {48,4,0,127,0,0,0,0x8B7B60}, {52,4,0,127,0,0,0,0xA8977A}, {56,4,-127,0,0,0,0,0x76684F}, {60,4,127,0,0,0,0,0x76684F}, {64,4,-127,0,0,0,0,0x8B7B60}, {68,4,127,0,0,0,0,0x8B7B60}, {72,4,0,0,127,0,0,0x8B7B60}, {76,4,0,-127,0,0,0,0x8B7B60}, {80,4,0,127,0,0,0,0x8B7B60}, {84,4,-127,0,0,0,0,0x8B7B60}, {88,4,127,0,0,0,0,0x8B7B60}, {92,4,0,0,127,0,0,0x8B7B60}, {96,4,0,-127,0,0,0,0x8B7B60}, {100,4,0,127,0,0,0,0x8B7B60}, {104,4,0,0,127,0,0,0x76684F}, {108,4,0,0,-127,0,0,0x76684F}};
+static const MVert v_temple_hole_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_temple_hole_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_temple_hole_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0xA8977A}, {8,4,-127,0,0,0,0,0x76684F}, {12,4,127,0,0,0,0,0x76684F}};
+static const MVert v_temple_hole_long[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-68}, {40,-168,-68}, {40,-168,-120}, {-40,0,-34}, {-40,6,-68}, {-40,6,-34}, {-120,0,-34}, {-120,6,-34}, {-120,6,-68}, {-120,0,-68}, {34,0,40}, {34,0,-68}, {34,6,-68}, {34,6,40}, {-120,0,40}, {-120,6,40}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-168,68}, {-40,-168,120}, {40,-168,120}, {40,-168,68}, {-40,6,120}, {68,0,-34}, {68,6,-34}, {68,6,120}, {68,0,120}, {34,0,120}, {34,6,120}, {68,0,40}, {68,6,40}};
+static const uint16_t i_temple_hole_long[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,0,9,10,11,12,13,14,0,14,13,9,8,11,14,0,10,9,13,12,15,16,17,18,19,20,13,14,16,14,13,17,15,19,14,16,18,17,13,20,21,22,23,24,21,24,25,26,23,22,27,28,8,21,29,10,30,31,32,33,21,33,32,29,8,30,33,21,10,29,32,31,15,34,35,18,36,37,32,33,34,33,32,35,15,36,33,34,18,35,32,37,5,6,1,0,28,25,24,23};
+static const MFace f_temple_hole_long[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,-127,0,0,0,0,0x76684F}, {8,4,127,0,0,0,0,0x76684F}, {12,4,127,0,0,0,0,0x8B7B60}, {16,4,-127,0,0,0,0,0x8B7B60}, {20,4,0,0,-127,0,0,0x8B7B60}, {24,4,0,-127,0,0,0,0x8B7B60}, {28,4,0,127,0,0,0,0x8B7B60}, {32,4,127,0,0,0,0,0x8B7B60}, {36,4,-127,0,0,0,0,0x8B7B60}, {40,4,0,0,-127,0,0,0x8B7B60}, {44,4,0,-127,0,0,0,0x8B7B60}, {48,4,0,127,0,0,0,0x8B7B60}, {52,4,0,127,0,0,0,0xA8977A}, {56,4,-127,0,0,0,0,0x76684F}, {60,4,127,0,0,0,0,0x76684F}, {64,4,-127,0,0,0,0,0x8B7B60}, {68,4,127,0,0,0,0,0x8B7B60}, {72,4,0,0,127,0,0,0x8B7B60}, {76,4,0,-127,0,0,0,0x8B7B60}, {80,4,0,127,0,0,0,0x8B7B60}, {84,4,-127,0,0,0,0,0x8B7B60}, {88,4,127,0,0,0,0,0x8B7B60}, {92,4,0,0,127,0,0,0x8B7B60}, {96,4,0,-127,0,0,0,0x8B7B60}, {100,4,0,127,0,0,0,0x8B7B60}, {104,4,0,0,127,0,0,0x76684F}, {108,4,0,0,-127,0,0,0x76684F}};
+static const MVert v_temple_hole_long_far[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_temple_hole_long_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_temple_hole_long_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0xA8977A}, {8,4,-127,0,0,0,0,0x76684F}, {12,4,127,0,0,0,0,0x76684F}};
+static const MVert v_temple_narrow_l[] = {{-40,0,-80}, {-8,0,-80}, {-8,0,-120}, {-40,0,-120}, {-40,0,-40}, {-8,0,-40}, {-40,0,0}, {-8,0,0}, {-40,0,40}, {-8,0,40}, {-40,0,80}, {-8,0,80}, {-40,0,120}, {-8,0,120}, {-40,-168,-120}, {-40,-168,120}, {-8,-168,120}, {-8,-168,-120}, {-40,6,-34}, {-40,6,120}, {-40,0,-34}, {-120,0,120}, {-120,6,120}, {-120,6,-34}, {-120,0,-34}, {-40,0,-104}, {40,0,-104}, {40,0,-120}, {40,0,120}, {40,0,104}, {-40,0,104}, {-8,0,-104}, {-8,-168,-104}, {40,-168,-104}, {-8,0,104}, {40,-168,104}, {-8,-168,104}};
+static const uint16_t i_temple_narrow_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,12,20,21,22,23,24,19,22,21,12,12,21,24,20,23,22,19,18,25,26,27,3,12,28,29,30,26,31,32,33,34,29,35,36};
+static const MFace f_temple_narrow_l[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,-127,0,0,0,0,0x76684F}, {28,4,127,0,0,0,0,0x76684F}, {32,4,127,0,0,0,0,0x8B7B60}, {36,4,-127,0,0,0,0,0x8B7B60}, {40,4,0,0,127,0,0,0x8B7B60}, {44,4,0,-127,0,0,0,0x8B7B60}, {48,4,0,127,0,0,0,0x8B7B60}, {52,4,0,127,0,0,0,0xA8977A}, {56,4,0,127,0,0,0,0xA8977A}, {60,4,0,0,127,0,0,0x76684F}, {64,4,0,0,-127,0,0,0x76684F}};
+static const MVert v_temple_narrow_l_far[] = {{-40,0,120}, {-8,0,120}, {-8,0,-120}, {-40,0,-120}};
+static const uint16_t i_temple_narrow_l_far[] = {0,1,2,3};
+static const MFace f_temple_narrow_l_far[] = {{0,4,0,127,0,0,0,0xA8977A}};
+static const MVert v_temple_narrow_r[] = {{8,0,-80}, {40,0,-80}, {40,0,-120}, {8,0,-120}, {8,0,-40}, {40,0,-40}, {8,0,0}, {40,0,0}, {8,0,40}, {40,0,40}, {8,0,80}, {40,0,80}, {8,0,120}, {40,0,120}, {8,-168,-120}, {8,-168,120}, {40,-168,120}, {40,-168,-120}, {34,6,40}, {34,6,120}, {34,0,120}, {34,0,40}, {-120,0,120}, {-120,6,120}, {-120,6,40}, {-120,0,40}, {-40,0,-104}, {40,0,-104}, {-40,0,-120}, {-40,0,120}, {40,0,104}, {-40,0,104}, {-40,-168,-104}, {8,-168,-104}, {8,0,-104}, {8,-168,104}, {-40,-168,104}, {8,0,104}};
+static const uint16_t i_temple_narrow_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,20,21,22,23,24,25,19,23,22,20,20,22,25,21,24,23,19,18,26,27,2,28,29,13,30,31,32,33,34,26,35,36,31,37};
+static const MFace f_temple_narrow_r[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,-127,0,0,0,0,0x76684F}, {28,4,127,0,0,0,0,0x76684F}, {32,4,127,0,0,0,0,0x8B7B60}, {36,4,-127,0,0,0,0,0x8B7B60}, {40,4,0,0,127,0,0,0x8B7B60}, {44,4,0,-127,0,0,0,0x8B7B60}, {48,4,0,127,0,0,0,0x8B7B60}, {52,4,0,127,0,0,0,0xA8977A}, {56,4,0,127,0,0,0,0xA8977A}, {60,4,0,0,127,0,0,0x76684F}, {64,4,0,0,-127,0,0,0x76684F}};
+static const MVert v_temple_narrow_r_far[] = {{8,0,120}, {40,0,120}, {40,0,-120}, {8,0,-120}};
+static const uint16_t i_temple_narrow_r_far[] = {0,1,2,3};
+static const MFace f_temple_narrow_r_far[] = {{0,4,0,127,0,0,0,0xA8977A}};
+static const MVert v_temple_corner_l[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-120,0,0}, {-120,0,-40}, {-120,0,40}, {40,-168,40}, {40,-168,-120}, {-120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {-120,-168,-40}, {34,0,40}, {34,6,40}, {-120,6,40}, {-40,0,-34}, {-40,6,-40}, {-40,6,-34}, {-120,0,-34}, {-120,6,-34}, {-120,6,-40}};
+static const uint16_t i_temple_corner_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,6,4,11,12,8,6,10,2,9,13,14,9,12,15,13,4,3,16,17,11,4,17,18,19,19,20,20,12,21,21,12,19,12,21,20,19,12,12,19,20,20,21,21,12,12,21,21,19,20,20,19,12,19,20,21,12,19,19,12,21,21,20,20,22,4,23,24,25,26,27,11,4,11,27,23,22,25,11,4,24,23,27,26,11,25,26,27,4,23,24,22,25,22,24,26,11,4,22,25,27,26,24,23};
+static const MFace f_temple_corner_l[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,127,0,0,0,0,0x76684F}, {28,4,0,0,127,0,0,0x76684F}, {32,4,-127,0,0,0,0,0x76684F}, {36,4,0,0,-127,0,0,0x76684F}, {40,4,0,0,0,0,0,0x8B7B60}, {44,4,0,0,0,0,0,0x8B7B60}, {48,4,0,0,-127,0,0,0x8B7B60}, {52,4,0,0,0,0,0,0x8B7B60}, {56,4,0,0,0,0,0,0x8B7B60}, {60,4,0,0,0,0,0,0x8B7B60}, {64,4,0,0,0,0,0,0x8B7B60}, {68,4,0,0,127,0,0,0x8B7B60}, {72,4,0,0,0,0,0,0x8B7B60}, {76,4,0,0,0,0,0,0x8B7B60}, {80,4,127,0,0,0,0,0x8B7B60}, {84,4,-127,0,0,0,0,0x8B7B60}, {88,4,0,0,-127,0,0,0x8B7B60}, {92,4,0,-127,0,0,0,0x8B7B60}, {96,4,0,127,0,0,0,0x8B7B60}, {100,4,-127,0,0,0,0,0x8B7B60}, {104,4,127,0,0,0,0,0x8B7B60}, {108,4,0,0,127,0,0,0x8B7B60}, {112,4,0,-127,0,0,0,0x8B7B60}, {116,4,0,127,0,0,0,0x8B7B60}};
+static const MVert v_temple_corner_l_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {-40,0,-40}, {-120,0,-40}};
+static const uint16_t i_temple_corner_l_far[] = {0,1,2,3,4,0,5,6};
+static const MFace f_temple_corner_l_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0xA8977A}};
+static const MVert v_temple_corner_r[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {120,0,0}, {120,0,-40}, {120,0,40}, {-40,-168,-120}, {-40,-168,40}, {120,-168,40}, {40,-168,-40}, {40,-168,-120}, {120,-168,-40}, {-40,6,-34}, {-40,6,40}, {-40,0,-34}, {-120,0,40}, {-120,6,40}, {-120,6,-34}, {-120,0,-34}, {-40,6,120}, {-40,0,120}, {34,0,40}, {34,6,40}, {34,6,120}, {34,0,120}, {34,0,-40}, {34,6,-40}, {-120,6,-40}, {-120,0,-40}, {40,0,120}, {40,0,-34}, {40,6,-34}, {40,6,120}};
+static const uint16_t i_temple_corner_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,7,10,11,5,9,12,10,7,13,14,8,3,14,15,12,8,16,17,2,5,18,16,5,11,19,20,8,21,22,23,24,25,20,23,22,8,8,22,25,21,24,23,20,19,26,20,8,27,28,29,30,31,20,29,28,8,8,28,31,27,30,29,20,26,28,32,33,29,22,23,34,35,32,35,34,33,28,22,35,32,29,33,34,23,36,37,38,39,27,26,19,21,37,21,19,38,36,27,21,37,39,38,19,26};
+static const MFace f_temple_corner_r[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,-127,0,0,0,0,0x76684F}, {28,4,0,0,127,0,0,0x76684F}, {32,4,127,0,0,0,0,0x76684F}, {36,4,0,0,-127,0,0,0x76684F}, {40,4,127,0,0,0,0,0x8B7B60}, {44,4,-127,0,0,0,0,0x8B7B60}, {48,4,0,0,127,0,0,0x8B7B60}, {52,4,0,-127,0,0,0,0x8B7B60}, {56,4,0,127,0,0,0,0x8B7B60}, {60,4,-127,0,0,0,0,0x8B7B60}, {64,4,127,0,0,0,0,0x8B7B60}, {68,4,0,0,-127,0,0,0x8B7B60}, {72,4,0,-127,0,0,0,0x8B7B60}, {76,4,0,127,0,0,0,0x8B7B60}, {80,4,127,0,0,0,0,0x8B7B60}, {84,4,-127,0,0,0,0,0x8B7B60}, {88,4,0,0,-127,0,0,0x8B7B60}, {92,4,0,-127,0,0,0,0x8B7B60}, {96,4,0,127,0,0,0,0x8B7B60}, {100,4,127,0,0,0,0,0x8B7B60}, {104,4,-127,0,0,0,0,0x8B7B60}, {108,4,0,0,-127,0,0,0x8B7B60}, {112,4,0,-127,0,0,0,0x8B7B60}, {116,4,0,127,0,0,0,0x8B7B60}};
+static const MVert v_temple_corner_r_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {120,0,40}, {120,0,-40}, {40,0,-40}};
+static const uint16_t i_temple_corner_r_far[] = {0,1,2,3,1,4,5,6};
+static const MFace f_temple_corner_r_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0xA8977A}};
+static const MVert v_temple_t[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-120,0,40}, {-80,0,40}, {-80,0,-40}, {-120,0,-40}, {-40,0,40}, {0,0,40}, {0,0,-40}, {40,0,40}, {80,0,40}, {80,0,-40}, {120,0,40}, {120,0,-40}, {-120,-168,40}, {120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-120,-168,-40}, {120,-168,-40}, {-120,6,120}, {-120,6,40}, {-120,0,120}, {34,0,40}, {34,6,40}, {34,6,120}, {34,0,120}, {-40,0,-34}, {-40,6,-40}, {-40,6,-34}, {-120,0,-34}, {-120,6,-34}, {-120,6,-40}, {34,0,-40}, {34,6,-40}, {40,0,120}, {40,0,-34}, {40,6,-34}, {40,6,120}, {-40,0,120}, {-40,6,120}};
+static const uint16_t i_temple_t[] = {0,1,2,3,4,5,1,0,6,7,8,9,7,10,4,8,10,11,12,4,11,13,5,12,13,14,15,5,14,16,17,15,18,19,16,6,4,3,20,21,2,5,22,23,21,24,9,4,25,22,5,17,26,27,6,28,29,30,31,32,27,30,29,6,6,29,32,28,31,30,27,26,33,4,34,35,36,37,38,9,4,9,38,34,33,36,9,4,35,34,38,37,29,39,40,30,6,27,38,9,39,9,38,40,29,6,9,39,30,40,38,27,9,36,37,38,4,34,35,33,36,33,35,37,9,4,33,36,38,37,35,34,41,42,43,44,45,46,35,33,42,33,35,43,41,45,33,42,44,43,35,46};
+static const MFace f_temple_t[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0x9C8B6F}, {8,4,0,127,0,0,0,0xA8977A}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,0,127,0,0,0,0xA8977A}, {20,4,0,127,0,0,0,0x9C8B6F}, {24,4,0,127,0,0,0,0xA8977A}, {28,4,0,127,0,0,0,0x9C8B6F}, {32,4,0,0,127,0,0,0x76684F}, {36,4,-127,0,0,0,0,0x76684F}, {40,4,127,0,0,0,0,0x76684F}, {44,4,0,0,-127,0,0,0x76684F}, {48,4,0,0,-127,0,0,0x76684F}, {52,4,-127,0,0,0,0,0x8B7B60}, {56,4,127,0,0,0,0,0x8B7B60}, {60,4,0,0,-127,0,0,0x8B7B60}, {64,4,0,-127,0,0,0,0x8B7B60}, {68,4,0,127,0,0,0,0x8B7B60}, {72,4,127,0,0,0,0,0x8B7B60}, {76,4,-127,0,0,0,0,0x8B7B60}, {80,4,0,0,-127,0,0,0x8B7B60}, {84,4,0,-127,0,0,0,0x8B7B60}, {88,4,0,127,0,0,0,0x8B7B60}, {92,4,127,0,0,0,0,0x8B7B60}, {96,4,-127,0,0,0,0,0x8B7B60}, {100,4,0,0,-127,0,0,0x8B7B60}, {104,4,0,-127,0,0,0,0x8B7B60}, {108,4,0,127,0,0,0,0x8B7B60}, {112,4,-127,0,0,0,0,0x8B7B60}, {116,4,127,0,0,0,0,0x8B7B60}, {120,4,0,0,127,0,0,0x8B7B60}, {124,4,0,-127,0,0,0,0x8B7B60}, {128,4,0,127,0,0,0,0x8B7B60}, {132,4,127,0,0,0,0,0x8B7B60}, {136,4,-127,0,0,0,0,0x8B7B60}, {140,4,0,0,-127,0,0,0x8B7B60}, {144,4,0,-127,0,0,0,0x8B7B60}, {148,4,0,127,0,0,0,0x8B7B60}};
+static const MVert v_temple_t_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {120,0,40}, {120,0,-40}, {-120,0,-40}};
+static const uint16_t i_temple_t_far[] = {0,1,2,3,4,5,6,7};
+static const MFace f_temple_t_far[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,0,127,0,0,0,0xA8977A}};
+static const MVert v_temple_step_up[] = {{-40,12,-72}, {40,12,-72}, {40,12,-120}, {-40,12,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {40,0,-120}, {-40,0,-120}, {-40,24,-24}, {40,24,-24}, {40,24,-72}, {-40,24,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,36,24}, {40,36,24}, {40,36,-24}, {-40,36,-24}, {-40,-168,24}, {40,-168,24}, {-40,48,72}, {40,48,72}, {40,48,24}, {-40,48,24}, {-40,-168,72}, {40,-168,72}, {-40,60,120}, {40,60,120}, {40,60,72}, {-40,60,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_temple_step_up[] = {0,1,2,3,0,3,4,5,2,1,6,7,3,2,8,9,10,11,12,13,10,13,5,14,12,11,15,6,13,12,1,0,16,17,18,19,16,19,14,20,18,17,21,15,19,18,11,10,22,23,24,25,22,25,20,26,24,23,27,21,25,24,17,16,28,29,30,31,28,31,26,32,30,29,33,27,31,30,23,22};
+static const MFace f_temple_step_up[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,-127,0,0,0,0,0x76684F}, {8,4,127,0,0,0,0,0x76684F}, {12,4,0,0,-127,0,0,0x76684F}, {16,4,0,127,0,0,0,0x9C8B6F}, {20,4,-127,0,0,0,0,0x76684F}, {24,4,127,0,0,0,0,0x76684F}, {28,4,0,0,-127,0,0,0x76684F}, {32,4,0,127,0,0,0,0xA8977A}, {36,4,-127,0,0,0,0,0x76684F}, {40,4,127,0,0,0,0,0x76684F}, {44,4,0,0,-127,0,0,0x76684F}, {48,4,0,127,0,0,0,0x9C8B6F}, {52,4,-127,0,0,0,0,0x76684F}, {56,4,127,0,0,0,0,0x76684F}, {60,4,0,0,-127,0,0,0x76684F}, {64,4,0,127,0,0,0,0xA8977A}, {68,4,-127,0,0,0,0,0x76684F}, {72,4,127,0,0,0,0,0x76684F}, {76,4,0,0,-127,0,0,0x76684F}};
+static const MVert v_temple_step_up_far[] = {{-40,60,120}, {40,60,120}, {40,12,-120}, {-40,12,-120}};
+static const uint16_t i_temple_step_up_far[] = {0,1,2,3};
+static const MFace f_temple_step_up_far[] = {{0,4,0,125,-25,0,0,0xA8977A}};
+static const MVert v_temple_step_down[] = {{-40,0,-72}, {40,0,-72}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {-40,-12,-24}, {40,-12,-24}, {40,-12,-72}, {-40,-12,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,-24,24}, {40,-24,24}, {40,-24,-24}, {-40,-24,-24}, {-40,-168,24}, {40,-168,24}, {-40,-36,72}, {40,-36,72}, {40,-36,24}, {-40,-36,24}, {-40,-168,72}, {40,-168,72}, {-40,-48,120}, {40,-48,120}, {40,-48,72}, {-40,-48,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_temple_step_down[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,9,10,11,8,11,5,12,10,9,13,6,14,15,16,17,14,17,12,18,16,15,19,13,20,21,22,23,20,23,18,24,22,21,25,19,26,27,28,29,26,29,24,30,28,27,31,25};
+static const MFace f_temple_step_down[] = {{0,4,0,127,0,0,0,0xA8977A}, {4,4,-127,0,0,0,0,0x76684F}, {8,4,127,0,0,0,0,0x76684F}, {12,4,0,127,0,0,0,0x9C8B6F}, {16,4,-127,0,0,0,0,0x76684F}, {20,4,127,0,0,0,0,0x76684F}, {24,4,0,127,0,0,0,0xA8977A}, {28,4,-127,0,0,0,0,0x76684F}, {32,4,127,0,0,0,0,0x76684F}, {36,4,0,127,0,0,0,0x9C8B6F}, {40,4,-127,0,0,0,0,0x76684F}, {44,4,127,0,0,0,0,0x76684F}, {48,4,0,127,0,0,0,0xA8977A}, {52,4,-127,0,0,0,0,0x76684F}, {56,4,127,0,0,0,0,0x76684F}};
+static const MVert v_temple_step_down_far[] = {{-40,-48,120}, {40,-48,120}, {40,0,-120}, {-40,0,-120}};
+static const uint16_t i_temple_step_down_far[] = {0,1,2,3};
+static const MFace f_temple_step_down_far[] = {{0,4,0,125,25,0,0,0xA8977A}};
+static const MVert v_plank_straight[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-40,0,80}, {40,0,80}, {-40,0,120}, {40,0,120}, {-40,-168,-120}, {-40,-168,120}, {40,-168,120}, {40,-168,-120}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-42}, {-40,0,-38}, {-40,18,-38}, {-40,18,-42}, {-36,0,-42}, {-36,18,-42}, {-36,18,-38}, {-36,0,-38}, {-40,0,38}, {-40,0,42}, {-40,18,42}, {-40,18,38}, {-36,0,38}, {-36,18,38}, {-36,18,42}, {-36,0,42}, {-40,0,118}, {-40,0,122}, {-40,18,122}, {-40,18,118}, {-36,0,118}, {-36,18,118}, {-36,18,122}, {-36,0,122}, {-39,16,-34}, {-39,16,120}, {-39,14,120}, {-39,14,-34}, {-121,14,120}, {-121,16,120}, {-121,16,-34}, {-121,14,-34}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-42}, {36,0,-38}, {36,18,-38}, {36,18,-42}, {40,0,-42}, {40,18,-42}, {40,18,-38}, {40,0,-38}, {36,0,38}, {36,0,42}, {36,18,42}, {36,18,38}, {40,0,38}, {40,18,38}, {40,18,42}, {40,0,42}, {36,0,118}, {36,0,122}, {36,18,122}, {36,18,118}, {40,0,118}, {40,18,118}, {40,18,122}, {40,0,122}, {35,16,40}, {35,16,120}, {35,14,120}, {35,14,40}, {-121,16,40}, {-121,14,40}};
+static const uint16_t i_plank_straight[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,34,35,36,37,38,39,40,41,35,41,40,36,34,38,41,35,37,36,40,39,42,43,44,45,46,47,48,49,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,55,54,52,52,54,57,53,56,55,51,50,58,59,60,61,62,63,64,65,59,65,64,60,58,62,65,59,61,60,64,63,66,67,68,69,70,71,72,73,67,73,72,68,66,70,73,67,69,68,72,71,74,75,76,77,78,79,80,81,75,81,80,76,74,78,81,75,77,76,80,79,82,83,84,85,86,87,88,89,83,89,88,84,82,86,89,83,85,84,88,87,90,91,92,93,54,55,94,95,91,55,54,92,92,54,95,93,94,55,91,90};
+static const MFace f_plank_straight[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,-127,0,0,0,0,0x5A3B20}, {28,4,127,0,0,0,0,0x5A3B20}, {32,4,-127,0,0,0,0,0x6E4A2A}, {36,4,127,0,0,0,0,0x6E4A2A}, {40,4,0,0,127,0,0,0x6E4A2A}, {44,4,0,-127,0,0,0,0x6E4A2A}, {48,4,0,127,0,0,0,0x6E4A2A}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,-127,0,0,0,0,0x6E4A2A}, {96,4,127,0,0,0,0,0x6E4A2A}, {100,4,0,0,127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,127,0,0,0,0,0x6E4A2A}, {116,4,-127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,-127,0,0,0,0,0x6E4A2A}, {136,4,127,0,0,0,0,0x6E4A2A}, {140,4,0,0,127,0,0,0x6E4A2A}, {144,4,0,-127,0,0,0,0x6E4A2A}, {148,4,0,127,0,0,0,0x6E4A2A}, {152,4,-127,0,0,0,0,0x6E4A2A}, {156,4,127,0,0,0,0,0x6E4A2A}, {160,4,0,0,127,0,0,0x6E4A2A}, {164,4,0,-127,0,0,0,0x6E4A2A}, {168,4,0,127,0,0,0,0x6E4A2A}, {172,4,-127,0,0,0,0,0x6E4A2A}, {176,4,127,0,0,0,0,0x6E4A2A}, {180,4,0,0,127,0,0,0x6E4A2A}, {184,4,0,-127,0,0,0,0x6E4A2A}, {188,4,0,127,0,0,0,0x6E4A2A}, {192,4,-127,0,0,0,0,0x6E4A2A}, {196,4,127,0,0,0,0,0x6E4A2A}, {200,4,0,0,127,0,0,0x6E4A2A}, {204,4,0,-127,0,0,0,0x6E4A2A}, {208,4,0,127,0,0,0,0x6E4A2A}, {212,4,127,0,0,0,0,0x6E4A2A}, {216,4,-127,0,0,0,0,0x6E4A2A}, {220,4,0,0,127,0,0,0x6E4A2A}, {224,4,0,-127,0,0,0,0x6E4A2A}, {228,4,0,127,0,0,0,0x6E4A2A}};
+static const MVert v_plank_straight_far[] = {{-40,0,120}, {40,0,120}, {40,0,-120}, {-40,0,-120}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_plank_straight_far[] = {0,1,2,3,0,3,4,5,2,1,6,7};
+static const MFace f_plank_straight_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,-127,0,0,0,0,0x5A3B20}, {8,4,127,0,0,0,0,0x5A3B20}};
+static const MVert v_plank_hole[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-95}, {-40,0,-91}, {-40,18,-91}, {-40,18,-95}, {-36,0,-95}, {-36,18,-95}, {-36,18,-91}, {-36,0,-91}, {-40,0,-69}, {-40,0,-65}, {-40,18,-65}, {-40,18,-69}, {-36,0,-69}, {-36,18,-69}, {-36,18,-65}, {-36,0,-65}, {-40,0,-42}, {-40,0,-38}, {-40,18,-38}, {-40,18,-42}, {-36,0,-42}, {-36,18,-42}, {-36,18,-38}, {-36,0,-38}, {-39,14,-34}, {-39,14,-40}, {-39,16,-40}, {-39,16,-34}, {-121,14,-34}, {-121,16,-34}, {-121,16,-40}, {-121,14,-40}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-95}, {36,0,-91}, {36,18,-91}, {36,18,-95}, {40,0,-95}, {40,18,-95}, {40,18,-91}, {40,0,-91}, {36,0,-69}, {36,0,-65}, {36,18,-65}, {36,18,-69}, {40,0,-69}, {40,18,-69}, {40,18,-65}, {40,0,-65}, {36,0,-42}, {36,0,-38}, {36,18,-38}, {36,18,-42}, {40,0,-42}, {40,18,-42}, {40,18,-38}, {40,0,-38}, {35,14,40}, {35,14,-40}, {35,16,-40}, {35,16,40}, {-121,14,40}, {-121,16,40}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-168,40}, {-40,-168,120}, {40,-168,120}, {40,-168,40}, {-40,0,38}, {-40,0,42}, {-40,18,42}, {-40,18,38}, {-36,0,38}, {-36,18,38}, {-36,18,42}, {-36,0,42}, {-40,0,65}, {-40,0,69}, {-40,18,69}, {-40,18,65}, {-36,0,65}, {-36,18,65}, {-36,18,69}, {-36,0,69}, {-40,0,91}, {-40,0,95}, {-40,18,95}, {-40,18,91}, {-36,0,91}, {-36,18,91}, {-36,18,95}, {-36,0,95}, {-40,0,118}, {-40,0,122}, {-40,18,122}, {-40,18,118}, {-36,0,118}, {-36,18,118}, {-36,18,122}, {-36,0,122}, {-39,14,120}, {-39,16,120}, {39,14,-34}, {39,16,-34}, {39,16,120}, {39,14,120}, {36,0,38}, {36,0,42}, {36,18,42}, {36,18,38}, {40,0,38}, {40,18,38}, {40,18,42}, {40,0,42}, {36,0,65}, {36,0,69}, {36,18,69}, {36,18,65}, {40,0,65}, {40,18,65}, {40,18,69}, {40,0,69}, {36,0,91}, {36,0,95}, {36,18,95}, {36,18,91}, {40,0,91}, {40,18,91}, {40,18,95}, {40,0,95}, {36,0,118}, {36,0,122}, {36,18,122}, {36,18,118}, {40,0,118}, {40,18,118}, {40,18,122}, {40,0,122}, {35,14,120}, {35,16,120}, {39,14,40}, {39,16,40}};
+static const uint16_t i_plank_hole[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,9,10,11,12,13,14,15,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,17,23,22,18,16,20,23,17,19,18,22,21,24,25,26,27,28,29,30,31,25,31,30,26,24,28,31,25,27,26,30,29,32,33,34,35,36,37,38,39,33,39,38,34,32,36,39,33,35,34,38,37,40,41,42,43,44,45,46,47,41,47,46,42,40,44,47,41,43,42,46,45,48,49,50,51,52,53,54,55,49,55,54,50,48,52,55,49,51,50,54,53,56,57,58,59,60,61,62,63,57,63,62,58,56,60,63,57,59,58,62,61,64,65,66,67,68,69,70,71,65,71,70,66,64,68,71,65,67,66,70,69,72,73,74,75,76,77,78,79,73,79,78,74,72,76,79,73,75,74,78,77,80,81,82,83,84,85,46,47,81,47,46,82,80,84,47,81,83,82,46,85,86,87,88,89,86,89,90,91,88,87,92,93,94,95,96,97,98,99,100,101,95,101,100,96,94,98,101,95,97,96,100,99,102,103,104,105,106,107,108,109,103,109,108,104,102,106,109,103,105,104,108,107,110,111,112,113,114,115,116,117,111,117,116,112,110,114,117,111,113,112,116,115,118,119,120,121,122,123,124,125,119,125,124,120,118,122,125,119,121,120,124,123,40,126,127,43,128,129,130,131,126,131,130,127,40,128,131,126,43,127,130,129,132,133,134,135,136,137,138,139,133,139,138,134,132,136,139,133,135,134,138,137,140,141,142,143,144,145,146,147,141,147,146,142,140,144,147,141,143,142,146,145,148,149,150,151,152,153,154,155,149,155,154,150,148,152,155,149,151,150,154,153,156,157,158,159,160,161,162,163,157,163,162,158,156,160,163,157,159,158,162,161,80,164,165,83,166,167,130,131,164,131,130,165,80,166,131,164,83,165,130,167,5,6,1,0,93,90,89,88};
+static const MFace f_plank_hole[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,-127,0,0,0,0,0x5A3B20}, {8,4,127,0,0,0,0,0x5A3B20}, {12,4,-127,0,0,0,0,0x6E4A2A}, {16,4,127,0,0,0,0,0x6E4A2A}, {20,4,0,0,127,0,0,0x6E4A2A}, {24,4,0,-127,0,0,0,0x6E4A2A}, {28,4,0,127,0,0,0,0x6E4A2A}, {32,4,-127,0,0,0,0,0x6E4A2A}, {36,4,127,0,0,0,0,0x6E4A2A}, {40,4,0,0,127,0,0,0x6E4A2A}, {44,4,0,-127,0,0,0,0x6E4A2A}, {48,4,0,127,0,0,0,0x6E4A2A}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,127,0,0,0,0,0x6E4A2A}, {96,4,-127,0,0,0,0,0x6E4A2A}, {100,4,0,0,-127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,-127,0,0,0,0,0x6E4A2A}, {116,4,127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,-127,0,0,0,0,0x6E4A2A}, {136,4,127,0,0,0,0,0x6E4A2A}, {140,4,0,0,127,0,0,0x6E4A2A}, {144,4,0,-127,0,0,0,0x6E4A2A}, {148,4,0,127,0,0,0,0x6E4A2A}, {152,4,-127,0,0,0,0,0x6E4A2A}, {156,4,127,0,0,0,0,0x6E4A2A}, {160,4,0,0,127,0,0,0x6E4A2A}, {164,4,0,-127,0,0,0,0x6E4A2A}, {168,4,0,127,0,0,0,0x6E4A2A}, {172,4,-127,0,0,0,0,0x6E4A2A}, {176,4,127,0,0,0,0,0x6E4A2A}, {180,4,0,0,127,0,0,0x6E4A2A}, {184,4,0,-127,0,0,0,0x6E4A2A}, {188,4,0,127,0,0,0,0x6E4A2A}, {192,4,127,0,0,0,0,0x6E4A2A}, {196,4,-127,0,0,0,0,0x6E4A2A}, {200,4,0,0,-127,0,0,0x6E4A2A}, {204,4,0,-127,0,0,0,0x6E4A2A}, {208,4,0,127,0,0,0,0x6E4A2A}, {212,4,0,127,0,0,0,0x8D5E35}, {216,4,-127,0,0,0,0,0x5A3B20}, {220,4,127,0,0,0,0,0x5A3B20}, {224,4,-127,0,0,0,0,0x6E4A2A}, {228,4,127,0,0,0,0,0x6E4A2A}, {232,4,0,0,127,0,0,0x6E4A2A}, {236,4,0,-127,0,0,0,0x6E4A2A}, {240,4,0,127,0,0,0,0x6E4A2A}, {244,4,-127,0,0,0,0,0x6E4A2A}, {248,4,127,0,0,0,0,0x6E4A2A}, {252,4,0,0,127,0,0,0x6E4A2A}, {256,4,0,-127,0,0,0,0x6E4A2A}, {260,4,0,127,0,0,0,0x6E4A2A}, {264,4,-127,0,0,0,0,0x6E4A2A}, {268,4,127,0,0,0,0,0x6E4A2A}, {272,4,0,0,127,0,0,0x6E4A2A}, {276,4,0,-127,0,0,0,0x6E4A2A}, {280,4,0,127,0,0,0,0x6E4A2A}, {284,4,-127,0,0,0,0,0x6E4A2A}, {288,4,127,0,0,0,0,0x6E4A2A}, {292,4,0,0,127,0,0,0x6E4A2A}, {296,4,0,-127,0,0,0,0x6E4A2A}, {300,4,0,127,0,0,0,0x6E4A2A}, {304,4,-127,0,0,0,0,0x6E4A2A}, {308,4,127,0,0,0,0,0x6E4A2A}, {312,4,0,0,127,0,0,0x6E4A2A}, {316,4,0,-127,0,0,0,0x6E4A2A}, {320,4,0,127,0,0,0,0x6E4A2A}, {324,4,-127,0,0,0,0,0x6E4A2A}, {328,4,127,0,0,0,0,0x6E4A2A}, {332,4,0,0,127,0,0,0x6E4A2A}, {336,4,0,-127,0,0,0,0x6E4A2A}, {340,4,0,127,0,0,0,0x6E4A2A}, {344,4,-127,0,0,0,0,0x6E4A2A}, {348,4,127,0,0,0,0,0x6E4A2A}, {352,4,0,0,127,0,0,0x6E4A2A}, {356,4,0,-127,0,0,0,0x6E4A2A}, {360,4,0,127,0,0,0,0x6E4A2A}, {364,4,-127,0,0,0,0,0x6E4A2A}, {368,4,127,0,0,0,0,0x6E4A2A}, {372,4,0,0,127,0,0,0x6E4A2A}, {376,4,0,-127,0,0,0,0x6E4A2A}, {380,4,0,127,0,0,0,0x6E4A2A}, {384,4,-127,0,0,0,0,0x6E4A2A}, {388,4,127,0,0,0,0,0x6E4A2A}, {392,4,0,0,127,0,0,0x6E4A2A}, {396,4,0,-127,0,0,0,0x6E4A2A}, {400,4,0,127,0,0,0,0x6E4A2A}, {404,4,-127,0,0,0,0,0x6E4A2A}, {408,4,127,0,0,0,0,0x6E4A2A}, {412,4,0,0,127,0,0,0x6E4A2A}, {416,4,0,-127,0,0,0,0x6E4A2A}, {420,4,0,127,0,0,0,0x6E4A2A}, {424,4,0,0,127,0,0,0x5A3B20}, {428,4,0,0,-127,0,0,0x5A3B20}};
+static const MVert v_plank_hole_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_plank_hole_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_plank_hole_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x8D5E35}, {8,4,-127,0,0,0,0,0x5A3B20}, {12,4,127,0,0,0,0,0x5A3B20}};
+static const MVert v_plank_hole_long[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-68}, {40,-168,-68}, {40,-168,-120}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-105}, {-40,0,-101}, {-40,18,-101}, {-40,18,-105}, {-36,0,-105}, {-36,18,-105}, {-36,18,-101}, {-36,0,-101}, {-40,0,-87}, {-40,0,-83}, {-40,18,-83}, {-40,18,-87}, {-36,0,-87}, {-36,18,-87}, {-36,18,-83}, {-36,0,-83}, {-40,0,-70}, {-40,0,-66}, {-40,18,-66}, {-40,18,-70}, {-36,0,-70}, {-36,18,-70}, {-36,18,-66}, {-36,0,-66}, {-39,14,-34}, {-39,14,-68}, {-39,16,-68}, {-39,16,-34}, {-121,14,-34}, {-121,16,-34}, {-121,16,-68}, {-121,14,-68}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-105}, {36,0,-101}, {36,18,-101}, {36,18,-105}, {40,0,-105}, {40,18,-105}, {40,18,-101}, {40,0,-101}, {36,0,-87}, {36,0,-83}, {36,18,-83}, {36,18,-87}, {40,0,-87}, {40,18,-87}, {40,18,-83}, {40,0,-83}, {36,0,-70}, {36,0,-66}, {36,18,-66}, {36,18,-70}, {40,0,-70}, {40,18,-70}, {40,18,-66}, {40,0,-66}, {35,14,40}, {35,14,-68}, {35,16,-68}, {35,16,40}, {-121,14,40}, {-121,16,40}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-168,68}, {-40,-168,120}, {40,-168,120}, {40,-168,68}, {-40,0,66}, {-40,0,70}, {-40,18,70}, {-40,18,66}, {-36,0,66}, {-36,18,66}, {-36,18,70}, {-36,0,70}, {-40,0,83}, {-40,0,87}, {-40,18,87}, {-40,18,83}, {-36,0,83}, {-36,18,83}, {-36,18,87}, {-36,0,87}, {-40,0,101}, {-40,0,105}, {-40,18,105}, {-40,18,101}, {-36,0,101}, {-36,18,101}, {-36,18,105}, {-36,0,105}, {-40,0,118}, {-40,0,122}, {-40,18,122}, {-40,18,118}, {-36,0,118}, {-36,18,118}, {-36,18,122}, {-36,0,122}, {-39,14,120}, {-39,16,120}, {67,14,-34}, {67,16,-34}, {67,16,120}, {67,14,120}, {36,0,66}, {36,0,70}, {36,18,70}, {36,18,66}, {40,0,66}, {40,18,66}, {40,18,70}, {40,0,70}, {36,0,83}, {36,0,87}, {36,18,87}, {36,18,83}, {40,0,83}, {40,18,83}, {40,18,87}, {40,0,87}, {36,0,101}, {36,0,105}, {36,18,105}, {36,18,101}, {40,0,101}, {40,18,101}, {40,18,105}, {40,0,105}, {36,0,118}, {36,0,122}, {36,18,122}, {36,18,118}, {40,0,118}, {40,18,118}, {40,18,122}, {40,0,122}, {35,14,120}, {35,16,120}, {67,14,40}, {67,16,40}};
+static const uint16_t i_plank_hole_long[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,9,10,11,12,13,14,15,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,17,23,22,18,16,20,23,17,19,18,22,21,24,25,26,27,28,29,30,31,25,31,30,26,24,28,31,25,27,26,30,29,32,33,34,35,36,37,38,39,33,39,38,34,32,36,39,33,35,34,38,37,40,41,42,43,44,45,46,47,41,47,46,42,40,44,47,41,43,42,46,45,48,49,50,51,52,53,54,55,49,55,54,50,48,52,55,49,51,50,54,53,56,57,58,59,60,61,62,63,57,63,62,58,56,60,63,57,59,58,62,61,64,65,66,67,68,69,70,71,65,71,70,66,64,68,71,65,67,66,70,69,72,73,74,75,76,77,78,79,73,79,78,74,72,76,79,73,75,74,78,77,80,81,82,83,84,85,46,47,81,47,46,82,80,84,47,81,83,82,46,85,86,87,88,89,86,89,90,91,88,87,92,93,94,95,96,97,98,99,100,101,95,101,100,96,94,98,101,95,97,96,100,99,102,103,104,105,106,107,108,109,103,109,108,104,102,106,109,103,105,104,108,107,110,111,112,113,114,115,116,117,111,117,116,112,110,114,117,111,113,112,116,115,118,119,120,121,122,123,124,125,119,125,124,120,118,122,125,119,121,120,124,123,40,126,127,43,128,129,130,131,126,131,130,127,40,128,131,126,43,127,130,129,132,133,134,135,136,137,138,139,133,139,138,134,132,136,139,133,135,134,138,137,140,141,142,143,144,145,146,147,141,147,146,142,140,144,147,141,143,142,146,145,148,149,150,151,152,153,154,155,149,155,154,150,148,152,155,149,151,150,154,153,156,157,158,159,160,161,162,163,157,163,162,158,156,160,163,157,159,158,162,161,80,164,165,83,166,167,130,131,164,131,130,165,80,166,131,164,83,165,130,167,5,6,1,0,93,90,89,88};
+static const MFace f_plank_hole_long[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,-127,0,0,0,0,0x5A3B20}, {8,4,127,0,0,0,0,0x5A3B20}, {12,4,-127,0,0,0,0,0x6E4A2A}, {16,4,127,0,0,0,0,0x6E4A2A}, {20,4,0,0,127,0,0,0x6E4A2A}, {24,4,0,-127,0,0,0,0x6E4A2A}, {28,4,0,127,0,0,0,0x6E4A2A}, {32,4,-127,0,0,0,0,0x6E4A2A}, {36,4,127,0,0,0,0,0x6E4A2A}, {40,4,0,0,127,0,0,0x6E4A2A}, {44,4,0,-127,0,0,0,0x6E4A2A}, {48,4,0,127,0,0,0,0x6E4A2A}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,127,0,0,0,0,0x6E4A2A}, {96,4,-127,0,0,0,0,0x6E4A2A}, {100,4,0,0,-127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,-127,0,0,0,0,0x6E4A2A}, {116,4,127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,-127,0,0,0,0,0x6E4A2A}, {136,4,127,0,0,0,0,0x6E4A2A}, {140,4,0,0,127,0,0,0x6E4A2A}, {144,4,0,-127,0,0,0,0x6E4A2A}, {148,4,0,127,0,0,0,0x6E4A2A}, {152,4,-127,0,0,0,0,0x6E4A2A}, {156,4,127,0,0,0,0,0x6E4A2A}, {160,4,0,0,127,0,0,0x6E4A2A}, {164,4,0,-127,0,0,0,0x6E4A2A}, {168,4,0,127,0,0,0,0x6E4A2A}, {172,4,-127,0,0,0,0,0x6E4A2A}, {176,4,127,0,0,0,0,0x6E4A2A}, {180,4,0,0,127,0,0,0x6E4A2A}, {184,4,0,-127,0,0,0,0x6E4A2A}, {188,4,0,127,0,0,0,0x6E4A2A}, {192,4,127,0,0,0,0,0x6E4A2A}, {196,4,-127,0,0,0,0,0x6E4A2A}, {200,4,0,0,-127,0,0,0x6E4A2A}, {204,4,0,-127,0,0,0,0x6E4A2A}, {208,4,0,127,0,0,0,0x6E4A2A}, {212,4,0,127,0,0,0,0x8D5E35}, {216,4,-127,0,0,0,0,0x5A3B20}, {220,4,127,0,0,0,0,0x5A3B20}, {224,4,-127,0,0,0,0,0x6E4A2A}, {228,4,127,0,0,0,0,0x6E4A2A}, {232,4,0,0,127,0,0,0x6E4A2A}, {236,4,0,-127,0,0,0,0x6E4A2A}, {240,4,0,127,0,0,0,0x6E4A2A}, {244,4,-127,0,0,0,0,0x6E4A2A}, {248,4,127,0,0,0,0,0x6E4A2A}, {252,4,0,0,127,0,0,0x6E4A2A}, {256,4,0,-127,0,0,0,0x6E4A2A}, {260,4,0,127,0,0,0,0x6E4A2A}, {264,4,-127,0,0,0,0,0x6E4A2A}, {268,4,127,0,0,0,0,0x6E4A2A}, {272,4,0,0,127,0,0,0x6E4A2A}, {276,4,0,-127,0,0,0,0x6E4A2A}, {280,4,0,127,0,0,0,0x6E4A2A}, {284,4,-127,0,0,0,0,0x6E4A2A}, {288,4,127,0,0,0,0,0x6E4A2A}, {292,4,0,0,127,0,0,0x6E4A2A}, {296,4,0,-127,0,0,0,0x6E4A2A}, {300,4,0,127,0,0,0,0x6E4A2A}, {304,4,-127,0,0,0,0,0x6E4A2A}, {308,4,127,0,0,0,0,0x6E4A2A}, {312,4,0,0,127,0,0,0x6E4A2A}, {316,4,0,-127,0,0,0,0x6E4A2A}, {320,4,0,127,0,0,0,0x6E4A2A}, {324,4,-127,0,0,0,0,0x6E4A2A}, {328,4,127,0,0,0,0,0x6E4A2A}, {332,4,0,0,127,0,0,0x6E4A2A}, {336,4,0,-127,0,0,0,0x6E4A2A}, {340,4,0,127,0,0,0,0x6E4A2A}, {344,4,-127,0,0,0,0,0x6E4A2A}, {348,4,127,0,0,0,0,0x6E4A2A}, {352,4,0,0,127,0,0,0x6E4A2A}, {356,4,0,-127,0,0,0,0x6E4A2A}, {360,4,0,127,0,0,0,0x6E4A2A}, {364,4,-127,0,0,0,0,0x6E4A2A}, {368,4,127,0,0,0,0,0x6E4A2A}, {372,4,0,0,127,0,0,0x6E4A2A}, {376,4,0,-127,0,0,0,0x6E4A2A}, {380,4,0,127,0,0,0,0x6E4A2A}, {384,4,-127,0,0,0,0,0x6E4A2A}, {388,4,127,0,0,0,0,0x6E4A2A}, {392,4,0,0,127,0,0,0x6E4A2A}, {396,4,0,-127,0,0,0,0x6E4A2A}, {400,4,0,127,0,0,0,0x6E4A2A}, {404,4,-127,0,0,0,0,0x6E4A2A}, {408,4,127,0,0,0,0,0x6E4A2A}, {412,4,0,0,127,0,0,0x6E4A2A}, {416,4,0,-127,0,0,0,0x6E4A2A}, {420,4,0,127,0,0,0,0x6E4A2A}, {424,4,0,0,127,0,0,0x5A3B20}, {428,4,0,0,-127,0,0,0x5A3B20}};
+static const MVert v_plank_hole_long_far[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_plank_hole_long_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_plank_hole_long_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x8D5E35}, {8,4,-127,0,0,0,0,0x5A3B20}, {12,4,127,0,0,0,0,0x5A3B20}};
+static const MVert v_plank_narrow_l[] = {{-40,0,-80}, {-8,0,-80}, {-8,0,-120}, {-40,0,-120}, {-40,0,-40}, {-8,0,-40}, {-40,0,0}, {-8,0,0}, {-40,0,40}, {-8,0,40}, {-40,0,80}, {-8,0,80}, {-40,0,120}, {-8,0,120}, {-40,-168,-120}, {-40,-168,120}, {-8,-168,120}, {-8,-168,-120}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-42}, {-40,0,-38}, {-40,18,-38}, {-40,18,-42}, {-36,0,-42}, {-36,18,-42}, {-36,18,-38}, {-36,0,-38}, {-40,0,38}, {-40,0,42}, {-40,18,42}, {-40,18,38}, {-36,0,38}, {-36,18,38}, {-36,18,42}, {-36,0,42}, {-40,0,118}, {-40,0,122}, {-40,18,122}, {-40,18,118}, {-36,0,118}, {-36,18,118}, {-36,18,122}, {-36,0,122}, {-39,16,-34}, {-39,16,120}, {-39,14,120}, {-39,14,-34}, {-121,14,120}, {-121,16,120}, {-121,16,-34}, {-121,14,-34}, {-40,0,-104}, {40,0,-104}, {40,0,-120}, {40,0,120}, {40,0,104}, {-40,0,104}, {-8,0,-104}, {-8,-168,-104}, {40,-168,-104}, {-8,0,104}, {40,-168,104}, {-8,-168,104}};
+static const uint16_t i_plank_narrow_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,34,35,36,37,38,39,40,41,35,41,40,36,34,38,41,35,37,36,40,39,42,43,44,45,46,47,48,49,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,55,54,52,52,54,57,53,56,55,51,50,58,59,60,3,12,61,62,63,59,64,65,66,67,62,68,69};
+static const MFace f_plank_narrow_l[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,-127,0,0,0,0,0x5A3B20}, {28,4,127,0,0,0,0,0x5A3B20}, {32,4,-127,0,0,0,0,0x6E4A2A}, {36,4,127,0,0,0,0,0x6E4A2A}, {40,4,0,0,127,0,0,0x6E4A2A}, {44,4,0,-127,0,0,0,0x6E4A2A}, {48,4,0,127,0,0,0,0x6E4A2A}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,-127,0,0,0,0,0x6E4A2A}, {96,4,127,0,0,0,0,0x6E4A2A}, {100,4,0,0,127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,127,0,0,0,0,0x6E4A2A}, {116,4,-127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,0,127,0,0,0,0x8D5E35}, {136,4,0,127,0,0,0,0x8D5E35}, {140,4,0,0,127,0,0,0x5A3B20}, {144,4,0,0,-127,0,0,0x5A3B20}};
+static const MVert v_plank_narrow_l_far[] = {{-40,0,120}, {-8,0,120}, {-8,0,-120}, {-40,0,-120}};
+static const uint16_t i_plank_narrow_l_far[] = {0,1,2,3};
+static const MFace f_plank_narrow_l_far[] = {{0,4,0,127,0,0,0,0x8D5E35}};
+static const MVert v_plank_narrow_r[] = {{8,0,-80}, {40,0,-80}, {40,0,-120}, {8,0,-120}, {8,0,-40}, {40,0,-40}, {8,0,0}, {40,0,0}, {8,0,40}, {40,0,40}, {8,0,80}, {40,0,80}, {8,0,120}, {40,0,120}, {8,-168,-120}, {8,-168,120}, {40,-168,120}, {40,-168,-120}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-42}, {36,0,-38}, {36,18,-38}, {36,18,-42}, {40,0,-42}, {40,18,-42}, {40,18,-38}, {40,0,-38}, {36,0,38}, {36,0,42}, {36,18,42}, {36,18,38}, {40,0,38}, {40,18,38}, {40,18,42}, {40,0,42}, {36,0,118}, {36,0,122}, {36,18,122}, {36,18,118}, {40,0,118}, {40,18,118}, {40,18,122}, {40,0,122}, {35,16,40}, {35,16,120}, {35,14,120}, {35,14,40}, {-121,14,120}, {-121,16,120}, {-121,16,40}, {-121,14,40}, {-40,0,-104}, {40,0,-104}, {-40,0,-120}, {-40,0,120}, {40,0,104}, {-40,0,104}, {-40,-168,-104}, {8,-168,-104}, {8,0,-104}, {8,-168,104}, {-40,-168,104}, {8,0,104}};
+static const uint16_t i_plank_narrow_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,34,35,36,37,38,39,40,41,35,41,40,36,34,38,41,35,37,36,40,39,42,43,44,45,46,47,48,49,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,55,54,52,52,54,57,53,56,55,51,50,58,59,2,60,61,13,62,63,64,65,66,58,67,68,63,69};
+static const MFace f_plank_narrow_r[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,-127,0,0,0,0,0x5A3B20}, {28,4,127,0,0,0,0,0x5A3B20}, {32,4,-127,0,0,0,0,0x6E4A2A}, {36,4,127,0,0,0,0,0x6E4A2A}, {40,4,0,0,127,0,0,0x6E4A2A}, {44,4,0,-127,0,0,0,0x6E4A2A}, {48,4,0,127,0,0,0,0x6E4A2A}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,-127,0,0,0,0,0x6E4A2A}, {96,4,127,0,0,0,0,0x6E4A2A}, {100,4,0,0,127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,127,0,0,0,0,0x6E4A2A}, {116,4,-127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,0,127,0,0,0,0x8D5E35}, {136,4,0,127,0,0,0,0x8D5E35}, {140,4,0,0,127,0,0,0x5A3B20}, {144,4,0,0,-127,0,0,0x5A3B20}};
+static const MVert v_plank_narrow_r_far[] = {{8,0,120}, {40,0,120}, {40,0,-120}, {8,0,-120}};
+static const uint16_t i_plank_narrow_r_far[] = {0,1,2,3};
+static const MFace f_plank_narrow_r_far[] = {{0,4,0,127,0,0,0,0x8D5E35}};
+static const MVert v_plank_corner_l[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-120,0,0}, {-120,0,-40}, {-120,0,40}, {40,-168,40}, {40,-168,-120}, {-120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {-120,-168,-40}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-69}, {36,0,-65}, {36,18,-65}, {36,18,-69}, {40,0,-69}, {40,18,-69}, {40,18,-65}, {40,0,-65}, {36,0,-15}, {36,0,-11}, {36,18,-11}, {36,18,-15}, {40,0,-15}, {40,18,-15}, {40,18,-11}, {40,0,-11}, {36,0,38}, {36,0,42}, {36,18,42}, {36,18,38}, {40,0,38}, {40,18,38}, {40,18,42}, {40,0,42}, {35,14,40}, {35,16,40}, {-121,14,40}, {-121,16,40}, {38,0,36}, {38,0,40}, {38,18,40}, {38,18,36}, {42,0,36}, {42,18,36}, {42,18,40}, {42,0,40}, {-15,0,36}, {-15,0,40}, {-15,18,40}, {-15,18,36}, {-11,0,36}, {-11,18,36}, {-11,18,40}, {-11,0,40}, {-69,0,36}, {-69,0,40}, {-69,18,40}, {-69,18,36}, {-65,0,36}, {-65,18,36}, {-65,18,40}, {-65,0,40}, {-122,0,36}, {-122,0,40}, {-122,18,40}, {-122,18,36}, {-118,0,36}, {-118,18,36}, {-118,18,40}, {-118,0,40}, {-120,16,41}, {-120,16,39}, {-120,14,39}, {-120,14,41}, {34,14,39}, {34,16,39}, {34,16,41}, {34,14,41}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-95}, {-40,0,-91}, {-40,18,-91}, {-40,18,-95}, {-36,0,-95}, {-36,18,-95}, {-36,18,-91}, {-36,0,-91}, {-40,0,-69}, {-40,0,-65}, {-40,18,-65}, {-40,18,-69}, {-36,0,-69}, {-36,18,-69}, {-36,18,-65}, {-36,0,-65}, {-40,0,-42}, {-40,0,-38}, {-40,18,-38}, {-40,18,-42}, {-36,0,-42}, {-36,18,-42}, {-36,18,-38}, {-36,0,-38}, {-39,14,-34}, {-39,14,-40}, {-39,16,-40}, {-39,16,-34}, {-121,14,-34}, {-121,16,-34}, {-121,16,-40}, {-121,14,-40}, {-42,0,-40}, {-42,0,-36}, {-42,18,-36}, {-42,18,-40}, {-38,0,-40}, {-38,18,-40}, {-38,18,-36}, {-38,0,-36}, {-69,0,-40}, {-69,0,-36}, {-69,18,-36}, {-69,18,-40}, {-65,0,-40}, {-65,18,-40}, {-65,18,-36}, {-65,0,-36}, {-95,0,-40}, {-95,0,-36}, {-95,18,-36}, {-95,18,-40}, {-91,0,-40}, {-91,18,-40}, {-91,18,-36}, {-91,0,-36}, {-122,0,-40}, {-122,0,-36}, {-122,18,-36}, {-122,18,-40}, {-118,0,-40}, {-118,18,-40}, {-118,18,-36}, {-118,0,-36}, {-120,14,-39}, {-120,14,-35}, {-120,16,-35}, {-120,16,-39}, {-40,14,-39}, {-40,16,-39}, {-40,16,-35}, {-40,14,-35}};
+static const uint16_t i_plank_corner_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,6,4,11,12,8,6,10,2,9,13,14,9,12,15,13,4,3,16,17,11,4,17,18,19,20,21,22,23,24,25,26,20,26,25,21,19,23,26,20,22,21,25,24,27,28,29,30,31,32,33,34,28,34,33,29,27,31,34,28,30,29,33,32,35,36,37,38,39,40,41,42,36,42,41,37,35,39,42,36,38,37,41,40,43,44,45,46,47,48,49,50,44,50,49,45,43,47,50,44,46,45,49,48,51,51,52,52,53,54,54,53,51,53,54,52,51,53,53,51,52,52,54,54,55,56,57,58,59,60,61,62,56,62,61,57,55,59,62,56,58,57,61,60,63,64,65,66,67,68,69,70,64,70,69,65,63,67,70,64,66,65,69,68,71,72,73,74,75,76,77,78,72,78,77,73,71,75,78,72,74,73,77,76,79,80,81,82,83,84,85,86,80,86,85,81,79,83,86,80,82,81,85,84,87,88,89,90,91,92,93,94,88,92,91,89,89,91,94,90,93,92,88,87,95,96,97,98,99,100,101,102,96,102,101,97,95,99,102,96,98,97,101,100,103,104,105,106,107,108,109,110,104,110,109,105,103,107,110,104,106,105,109,108,111,112,113,114,115,116,117,118,112,118,117,113,111,115,118,112,114,113,117,116,119,120,121,122,123,124,125,126,120,126,125,121,119,123,126,120,122,121,125,124,127,128,129,130,131,132,133,134,128,134,133,129,127,131,134,128,130,129,133,132,135,136,137,138,139,140,141,142,136,142,141,137,135,139,142,136,138,137,141,140,143,144,145,146,147,148,149,150,144,150,149,145,143,147,150,144,146,145,149,148,151,152,153,154,155,156,157,158,152,158,157,153,151,155,158,152,154,153,157,156,159,160,161,162,163,164,165,166,160,166,165,161,159,163,166,160,162,161,165,164,167,168,169,170,171,172,173,174,168,174,173,169,167,171,174,168,170,169,173,172};
+static const MFace f_plank_corner_l[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,127,0,0,0,0,0x5A3B20}, {28,4,0,0,127,0,0,0x5A3B20}, {32,4,-127,0,0,0,0,0x5A3B20}, {36,4,0,0,-127,0,0,0x5A3B20}, {40,4,-127,0,0,0,0,0x6E4A2A}, {44,4,127,0,0,0,0,0x6E4A2A}, {48,4,0,0,127,0,0,0x6E4A2A}, {52,4,0,-127,0,0,0,0x6E4A2A}, {56,4,0,127,0,0,0,0x6E4A2A}, {60,4,-127,0,0,0,0,0x6E4A2A}, {64,4,127,0,0,0,0,0x6E4A2A}, {68,4,0,0,127,0,0,0x6E4A2A}, {72,4,0,-127,0,0,0,0x6E4A2A}, {76,4,0,127,0,0,0,0x6E4A2A}, {80,4,-127,0,0,0,0,0x6E4A2A}, {84,4,127,0,0,0,0,0x6E4A2A}, {88,4,0,0,127,0,0,0x6E4A2A}, {92,4,0,-127,0,0,0,0x6E4A2A}, {96,4,0,127,0,0,0,0x6E4A2A}, {100,4,-127,0,0,0,0,0x6E4A2A}, {104,4,127,0,0,0,0,0x6E4A2A}, {108,4,0,0,127,0,0,0x6E4A2A}, {112,4,0,-127,0,0,0,0x6E4A2A}, {116,4,0,127,0,0,0,0x6E4A2A}, {120,4,0,0,0,0,0,0x6E4A2A}, {124,4,0,0,0,0,0,0x6E4A2A}, {128,4,0,0,-127,0,0,0x6E4A2A}, {132,4,0,0,0,0,0,0x6E4A2A}, {136,4,0,0,0,0,0,0x6E4A2A}, {140,4,-127,0,0,0,0,0x6E4A2A}, {144,4,127,0,0,0,0,0x6E4A2A}, {148,4,0,0,127,0,0,0x6E4A2A}, {152,4,0,-127,0,0,0,0x6E4A2A}, {156,4,0,127,0,0,0,0x6E4A2A}, {160,4,-127,0,0,0,0,0x6E4A2A}, {164,4,127,0,0,0,0,0x6E4A2A}, {168,4,0,0,127,0,0,0x6E4A2A}, {172,4,0,-127,0,0,0,0x6E4A2A}, {176,4,0,127,0,0,0,0x6E4A2A}, {180,4,-127,0,0,0,0,0x6E4A2A}, {184,4,127,0,0,0,0,0x6E4A2A}, {188,4,0,0,127,0,0,0x6E4A2A}, {192,4,0,-127,0,0,0,0x6E4A2A}, {196,4,0,127,0,0,0,0x6E4A2A}, {200,4,-127,0,0,0,0,0x6E4A2A}, {204,4,127,0,0,0,0,0x6E4A2A}, {208,4,0,0,127,0,0,0x6E4A2A}, {212,4,0,-127,0,0,0,0x6E4A2A}, {216,4,0,127,0,0,0,0x6E4A2A}, {220,4,-127,0,0,0,0,0x6E4A2A}, {224,4,127,0,0,0,0,0x6E4A2A}, {228,4,0,0,-127,0,0,0x6E4A2A}, {232,4,0,-127,0,0,0,0x6E4A2A}, {236,4,0,127,0,0,0,0x6E4A2A}, {240,4,-127,0,0,0,0,0x6E4A2A}, {244,4,127,0,0,0,0,0x6E4A2A}, {248,4,0,0,127,0,0,0x6E4A2A}, {252,4,0,-127,0,0,0,0x6E4A2A}, {256,4,0,127,0,0,0,0x6E4A2A}, {260,4,-127,0,0,0,0,0x6E4A2A}, {264,4,127,0,0,0,0,0x6E4A2A}, {268,4,0,0,127,0,0,0x6E4A2A}, {272,4,0,-127,0,0,0,0x6E4A2A}, {276,4,0,127,0,0,0,0x6E4A2A}, {280,4,-127,0,0,0,0,0x6E4A2A}, {284,4,127,0,0,0,0,0x6E4A2A}, {288,4,0,0,127,0,0,0x6E4A2A}, {292,4,0,-127,0,0,0,0x6E4A2A}, {296,4,0,127,0,0,0,0x6E4A2A}, {300,4,-127,0,0,0,0,0x6E4A2A}, {304,4,127,0,0,0,0,0x6E4A2A}, {308,4,0,0,127,0,0,0x6E4A2A}, {312,4,0,-127,0,0,0,0x6E4A2A}, {316,4,0,127,0,0,0,0x6E4A2A}, {320,4,127,0,0,0,0,0x6E4A2A}, {324,4,-127,0,0,0,0,0x6E4A2A}, {328,4,0,0,-127,0,0,0x6E4A2A}, {332,4,0,-127,0,0,0,0x6E4A2A}, {336,4,0,127,0,0,0,0x6E4A2A}, {340,4,-127,0,0,0,0,0x6E4A2A}, {344,4,127,0,0,0,0,0x6E4A2A}, {348,4,0,0,127,0,0,0x6E4A2A}, {352,4,0,-127,0,0,0,0x6E4A2A}, {356,4,0,127,0,0,0,0x6E4A2A}, {360,4,-127,0,0,0,0,0x6E4A2A}, {364,4,127,0,0,0,0,0x6E4A2A}, {368,4,0,0,127,0,0,0x6E4A2A}, {372,4,0,-127,0,0,0,0x6E4A2A}, {376,4,0,127,0,0,0,0x6E4A2A}, {380,4,-127,0,0,0,0,0x6E4A2A}, {384,4,127,0,0,0,0,0x6E4A2A}, {388,4,0,0,127,0,0,0x6E4A2A}, {392,4,0,-127,0,0,0,0x6E4A2A}, {396,4,0,127,0,0,0,0x6E4A2A}, {400,4,-127,0,0,0,0,0x6E4A2A}, {404,4,127,0,0,0,0,0x6E4A2A}, {408,4,0,0,127,0,0,0x6E4A2A}, {412,4,0,-127,0,0,0,0x6E4A2A}, {416,4,0,127,0,0,0,0x6E4A2A}, {420,4,-127,0,0,0,0,0x6E4A2A}, {424,4,127,0,0,0,0,0x6E4A2A}, {428,4,0,0,127,0,0,0x6E4A2A}, {432,4,0,-127,0,0,0,0x6E4A2A}, {436,4,0,127,0,0,0,0x6E4A2A}};
+static const MVert v_plank_corner_l_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {-40,0,-40}, {-120,0,-40}};
+static const uint16_t i_plank_corner_l_far[] = {0,1,2,3,4,0,5,6};
+static const MFace f_plank_corner_l_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x8D5E35}};
+static const MVert v_plank_corner_r[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {120,0,0}, {120,0,-40}, {120,0,40}, {-40,-168,-120}, {-40,-168,40}, {120,-168,40}, {40,-168,-40}, {40,-168,-120}, {120,-168,-40}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-69}, {-40,0,-65}, {-40,18,-65}, {-40,18,-69}, {-36,0,-69}, {-36,18,-69}, {-36,18,-65}, {-36,0,-65}, {-40,0,-15}, {-40,0,-11}, {-40,18,-11}, {-40,18,-15}, {-36,0,-15}, {-36,18,-15}, {-36,18,-11}, {-36,0,-11}, {-40,0,38}, {-40,0,42}, {-40,18,42}, {-40,18,38}, {-36,0,38}, {-36,18,38}, {-36,18,42}, {-36,0,42}, {-39,16,-34}, {-39,16,40}, {-39,14,40}, {-39,14,-34}, {-121,14,40}, {-121,16,40}, {-121,16,-34}, {-121,14,-34}, {-42,0,36}, {-42,0,40}, {-42,18,40}, {-42,18,36}, {-38,0,36}, {-38,18,36}, {-38,18,40}, {-38,0,40}, {11,0,36}, {11,0,40}, {11,18,40}, {11,18,36}, {15,0,36}, {15,18,36}, {15,18,40}, {15,0,40}, {65,0,36}, {65,0,40}, {65,18,40}, {65,18,36}, {69,0,36}, {69,18,36}, {69,18,40}, {69,0,40}, {118,0,36}, {118,0,40}, {118,18,40}, {118,18,36}, {122,0,36}, {122,18,36}, {122,18,40}, {122,0,40}, {-40,16,121}, {-40,16,39}, {-40,14,39}, {-40,14,121}, {34,14,39}, {34,16,39}, {34,16,121}, {34,14,121}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-95}, {36,0,-91}, {36,18,-91}, {36,18,-95}, {40,0,-95}, {40,18,-95}, {40,18,-91}, {40,0,-91}, {36,0,-69}, {36,0,-65}, {36,18,-65}, {36,18,-69}, {40,0,-69}, {40,18,-69}, {40,18,-65}, {40,0,-65}, {36,0,-42}, {36,0,-38}, {36,18,-38}, {36,18,-42}, {40,0,-42}, {40,18,-42}, {40,18,-38}, {40,0,-38}, {35,14,40}, {35,14,-40}, {35,16,-40}, {35,16,40}, {-121,16,-40}, {-121,14,-40}, {38,0,-40}, {38,0,-36}, {38,18,-36}, {38,18,-40}, {42,0,-40}, {42,18,-40}, {42,18,-36}, {42,0,-36}, {65,0,-40}, {65,0,-36}, {65,18,-36}, {65,18,-40}, {69,0,-40}, {69,18,-40}, {69,18,-36}, {69,0,-36}, {91,0,-40}, {91,0,-36}, {91,18,-36}, {91,18,-40}, {95,0,-40}, {95,18,-40}, {95,18,-36}, {95,0,-36}, {118,0,-40}, {118,0,-36}, {118,18,-36}, {118,18,-40}, {122,0,-40}, {122,18,-40}, {122,18,-36}, {122,0,-36}, {40,14,121}, {40,14,-35}, {40,16,-35}, {40,16,121}, {-40,16,-35}, {-40,14,-35}};
+static const uint16_t i_plank_corner_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,7,10,11,5,9,12,10,7,13,14,8,3,14,15,12,8,16,17,2,5,18,16,5,11,19,20,21,22,23,24,25,26,20,26,25,21,19,23,26,20,22,21,25,24,27,28,29,30,31,32,33,34,28,34,33,29,27,31,34,28,30,29,33,32,35,36,37,38,39,40,41,42,36,42,41,37,35,39,42,36,38,37,41,40,43,44,45,46,47,48,49,50,44,50,49,45,43,47,50,44,46,45,49,48,51,52,53,54,55,56,57,58,52,56,55,53,53,55,58,54,57,56,52,51,59,60,61,62,63,64,65,66,60,66,65,61,59,63,66,60,62,61,65,64,67,68,69,70,71,72,73,74,68,74,73,69,67,71,74,68,70,69,73,72,75,76,77,78,79,80,81,82,76,82,81,77,75,79,82,76,78,77,81,80,83,84,85,86,87,88,89,90,84,90,89,85,83,87,90,84,86,85,89,88,91,92,93,94,95,96,97,98,92,96,95,93,93,95,98,94,97,96,92,91,99,100,101,102,103,104,105,106,100,106,105,101,99,103,106,100,102,101,105,104,107,108,109,110,111,112,113,114,108,114,113,109,107,111,114,108,110,109,113,112,115,116,117,118,119,120,121,122,116,122,121,117,115,119,122,116,118,117,121,120,123,124,125,126,127,128,129,130,124,130,129,125,123,127,130,124,126,125,129,128,131,132,133,134,55,56,135,136,132,136,135,133,131,55,136,132,134,133,135,56,137,138,139,140,141,142,143,144,138,144,143,139,137,141,144,138,140,139,143,142,145,146,147,148,149,150,151,152,146,152,151,147,145,149,152,146,148,147,151,150,153,154,155,156,157,158,159,160,154,160,159,155,153,157,160,154,156,155,159,158,161,162,163,164,165,166,167,168,162,168,167,163,161,165,168,162,164,163,167,166,169,170,171,172,94,91,173,174,170,174,173,171,169,94,174,170,172,171,173,91};
+static const MFace f_plank_corner_r[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,-127,0,0,0,0,0x5A3B20}, {28,4,0,0,127,0,0,0x5A3B20}, {32,4,127,0,0,0,0,0x5A3B20}, {36,4,0,0,-127,0,0,0x5A3B20}, {40,4,-127,0,0,0,0,0x6E4A2A}, {44,4,127,0,0,0,0,0x6E4A2A}, {48,4,0,0,127,0,0,0x6E4A2A}, {52,4,0,-127,0,0,0,0x6E4A2A}, {56,4,0,127,0,0,0,0x6E4A2A}, {60,4,-127,0,0,0,0,0x6E4A2A}, {64,4,127,0,0,0,0,0x6E4A2A}, {68,4,0,0,127,0,0,0x6E4A2A}, {72,4,0,-127,0,0,0,0x6E4A2A}, {76,4,0,127,0,0,0,0x6E4A2A}, {80,4,-127,0,0,0,0,0x6E4A2A}, {84,4,127,0,0,0,0,0x6E4A2A}, {88,4,0,0,127,0,0,0x6E4A2A}, {92,4,0,-127,0,0,0,0x6E4A2A}, {96,4,0,127,0,0,0,0x6E4A2A}, {100,4,-127,0,0,0,0,0x6E4A2A}, {104,4,127,0,0,0,0,0x6E4A2A}, {108,4,0,0,127,0,0,0x6E4A2A}, {112,4,0,-127,0,0,0,0x6E4A2A}, {116,4,0,127,0,0,0,0x6E4A2A}, {120,4,127,0,0,0,0,0x6E4A2A}, {124,4,-127,0,0,0,0,0x6E4A2A}, {128,4,0,0,127,0,0,0x6E4A2A}, {132,4,0,-127,0,0,0,0x6E4A2A}, {136,4,0,127,0,0,0,0x6E4A2A}, {140,4,-127,0,0,0,0,0x6E4A2A}, {144,4,127,0,0,0,0,0x6E4A2A}, {148,4,0,0,127,0,0,0x6E4A2A}, {152,4,0,-127,0,0,0,0x6E4A2A}, {156,4,0,127,0,0,0,0x6E4A2A}, {160,4,-127,0,0,0,0,0x6E4A2A}, {164,4,127,0,0,0,0,0x6E4A2A}, {168,4,0,0,127,0,0,0x6E4A2A}, {172,4,0,-127,0,0,0,0x6E4A2A}, {176,4,0,127,0,0,0,0x6E4A2A}, {180,4,-127,0,0,0,0,0x6E4A2A}, {184,4,127,0,0,0,0,0x6E4A2A}, {188,4,0,0,127,0,0,0x6E4A2A}, {192,4,0,-127,0,0,0,0x6E4A2A}, {196,4,0,127,0,0,0,0x6E4A2A}, {200,4,-127,0,0,0,0,0x6E4A2A}, {204,4,127,0,0,0,0,0x6E4A2A}, {208,4,0,0,127,0,0,0x6E4A2A}, {212,4,0,-127,0,0,0,0x6E4A2A}, {216,4,0,127,0,0,0,0x6E4A2A}, {220,4,-127,0,0,0,0,0x6E4A2A}, {224,4,127,0,0,0,0,0x6E4A2A}, {228,4,0,0,-127,0,0,0x6E4A2A}, {232,4,0,-127,0,0,0,0x6E4A2A}, {236,4,0,127,0,0,0,0x6E4A2A}, {240,4,-127,0,0,0,0,0x6E4A2A}, {244,4,127,0,0,0,0,0x6E4A2A}, {248,4,0,0,127,0,0,0x6E4A2A}, {252,4,0,-127,0,0,0,0x6E4A2A}, {256,4,0,127,0,0,0,0x6E4A2A}, {260,4,-127,0,0,0,0,0x6E4A2A}, {264,4,127,0,0,0,0,0x6E4A2A}, {268,4,0,0,127,0,0,0x6E4A2A}, {272,4,0,-127,0,0,0,0x6E4A2A}, {276,4,0,127,0,0,0,0x6E4A2A}, {280,4,-127,0,0,0,0,0x6E4A2A}, {284,4,127,0,0,0,0,0x6E4A2A}, {288,4,0,0,127,0,0,0x6E4A2A}, {292,4,0,-127,0,0,0,0x6E4A2A}, {296,4,0,127,0,0,0,0x6E4A2A}, {300,4,-127,0,0,0,0,0x6E4A2A}, {304,4,127,0,0,0,0,0x6E4A2A}, {308,4,0,0,127,0,0,0x6E4A2A}, {312,4,0,-127,0,0,0,0x6E4A2A}, {316,4,0,127,0,0,0,0x6E4A2A}, {320,4,127,0,0,0,0,0x6E4A2A}, {324,4,-127,0,0,0,0,0x6E4A2A}, {328,4,0,0,-127,0,0,0x6E4A2A}, {332,4,0,-127,0,0,0,0x6E4A2A}, {336,4,0,127,0,0,0,0x6E4A2A}, {340,4,-127,0,0,0,0,0x6E4A2A}, {344,4,127,0,0,0,0,0x6E4A2A}, {348,4,0,0,127,0,0,0x6E4A2A}, {352,4,0,-127,0,0,0,0x6E4A2A}, {356,4,0,127,0,0,0,0x6E4A2A}, {360,4,-127,0,0,0,0,0x6E4A2A}, {364,4,127,0,0,0,0,0x6E4A2A}, {368,4,0,0,127,0,0,0x6E4A2A}, {372,4,0,-127,0,0,0,0x6E4A2A}, {376,4,0,127,0,0,0,0x6E4A2A}, {380,4,-127,0,0,0,0,0x6E4A2A}, {384,4,127,0,0,0,0,0x6E4A2A}, {388,4,0,0,127,0,0,0x6E4A2A}, {392,4,0,-127,0,0,0,0x6E4A2A}, {396,4,0,127,0,0,0,0x6E4A2A}, {400,4,-127,0,0,0,0,0x6E4A2A}, {404,4,127,0,0,0,0,0x6E4A2A}, {408,4,0,0,127,0,0,0x6E4A2A}, {412,4,0,-127,0,0,0,0x6E4A2A}, {416,4,0,127,0,0,0,0x6E4A2A}, {420,4,127,0,0,0,0,0x6E4A2A}, {424,4,-127,0,0,0,0,0x6E4A2A}, {428,4,0,0,-127,0,0,0x6E4A2A}, {432,4,0,-127,0,0,0,0x6E4A2A}, {436,4,0,127,0,0,0,0x6E4A2A}};
+static const MVert v_plank_corner_r_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {120,0,40}, {120,0,-40}, {40,0,-40}};
+static const uint16_t i_plank_corner_r_far[] = {0,1,2,3,1,4,5,6};
+static const MFace f_plank_corner_r_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x8D5E35}};
+static const MVert v_plank_t[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-120,0,40}, {-80,0,40}, {-80,0,-40}, {-120,0,-40}, {-40,0,40}, {0,0,40}, {0,0,-40}, {40,0,40}, {80,0,40}, {80,0,-40}, {120,0,40}, {120,0,-40}, {-120,-168,40}, {120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-120,-168,-40}, {120,-168,-40}, {-122,0,36}, {-122,0,40}, {-122,18,40}, {-122,18,36}, {-118,0,36}, {-118,18,36}, {-118,18,40}, {-118,0,40}, {-42,0,36}, {-42,0,40}, {-42,18,40}, {-42,18,36}, {-38,0,36}, {-38,18,36}, {-38,18,40}, {-38,0,40}, {38,0,36}, {38,0,40}, {38,18,40}, {38,18,36}, {42,0,36}, {42,18,36}, {42,18,40}, {42,0,40}, {118,0,36}, {118,0,40}, {118,18,40}, {118,18,36}, {122,0,36}, {122,18,36}, {122,18,40}, {122,0,40}, {-120,16,121}, {-120,16,39}, {-120,14,39}, {-120,14,121}, {34,14,39}, {34,16,39}, {34,16,121}, {34,14,121}, {-40,0,-122}, {-40,0,-118}, {-40,18,-118}, {-40,18,-122}, {-36,0,-122}, {-36,18,-122}, {-36,18,-118}, {-36,0,-118}, {-40,0,-95}, {-40,0,-91}, {-40,18,-91}, {-40,18,-95}, {-36,0,-95}, {-36,18,-95}, {-36,18,-91}, {-36,0,-91}, {-40,0,-69}, {-40,0,-65}, {-40,18,-65}, {-40,18,-69}, {-36,0,-69}, {-36,18,-69}, {-36,18,-65}, {-36,0,-65}, {-40,0,-42}, {-40,0,-38}, {-40,18,-38}, {-40,18,-42}, {-36,0,-42}, {-36,18,-42}, {-36,18,-38}, {-36,0,-38}, {-39,14,-34}, {-39,14,-40}, {-39,16,-40}, {-39,16,-34}, {-121,14,-34}, {-121,16,-34}, {-121,16,-40}, {-121,14,-40}, {36,0,-122}, {36,0,-118}, {36,18,-118}, {36,18,-122}, {40,0,-122}, {40,18,-122}, {40,18,-118}, {40,0,-118}, {36,0,-95}, {36,0,-91}, {36,18,-91}, {36,18,-95}, {40,0,-95}, {40,18,-95}, {40,18,-91}, {40,0,-91}, {36,0,-69}, {36,0,-65}, {36,18,-65}, {36,18,-69}, {40,0,-69}, {40,18,-69}, {40,18,-65}, {40,0,-65}, {36,0,-42}, {36,0,-38}, {36,18,-38}, {36,18,-42}, {40,0,-42}, {40,18,-42}, {40,18,-38}, {40,0,-38}, {35,14,40}, {35,14,-40}, {35,16,-40}, {35,16,40}, {-121,14,40}, {-121,16,40}, {-122,0,-40}, {-122,0,-36}, {-122,18,-36}, {-122,18,-40}, {-118,0,-40}, {-118,18,-40}, {-118,18,-36}, {-118,0,-36}, {-95,0,-40}, {-95,0,-36}, {-95,18,-36}, {-95,18,-40}, {-91,0,-40}, {-91,18,-40}, {-91,18,-36}, {-91,0,-36}, {-69,0,-40}, {-69,0,-36}, {-69,18,-36}, {-69,18,-40}, {-65,0,-40}, {-65,18,-40}, {-65,18,-36}, {-65,0,-36}, {-42,0,-40}, {-42,0,-36}, {-42,18,-36}, {-42,18,-40}, {-38,0,-40}, {-38,18,-40}, {-38,18,-36}, {-38,0,-36}, {-120,14,-39}, {-120,14,-35}, {-120,16,-35}, {-120,16,-39}, {-40,14,-39}, {-40,16,-39}, {-40,16,-35}, {-40,14,-35}, {38,0,-40}, {38,0,-36}, {38,18,-36}, {38,18,-40}, {42,0,-40}, {42,18,-40}, {42,18,-36}, {42,0,-36}, {65,0,-40}, {65,0,-36}, {65,18,-36}, {65,18,-40}, {69,0,-40}, {69,18,-40}, {69,18,-36}, {69,0,-36}, {91,0,-40}, {91,0,-36}, {91,18,-36}, {91,18,-40}, {95,0,-40}, {95,18,-40}, {95,18,-36}, {95,0,-36}, {118,0,-40}, {118,0,-36}, {118,18,-36}, {118,18,-40}, {122,0,-40}, {122,18,-40}, {122,18,-36}, {122,0,-36}, {40,14,121}, {40,14,-35}, {40,16,-35}, {40,16,121}, {-40,14,121}, {-40,16,121}};
+static const uint16_t i_plank_t[] = {0,1,2,3,4,5,1,0,6,7,8,9,7,10,4,8,10,11,12,4,11,13,5,12,13,14,15,5,14,16,17,15,18,19,16,6,4,3,20,21,2,5,22,23,21,24,9,4,25,22,5,17,26,27,28,29,30,31,32,33,27,33,32,28,26,30,33,27,29,28,32,31,34,35,36,37,38,39,40,41,35,41,40,36,34,38,41,35,37,36,40,39,42,43,44,45,46,47,48,49,43,49,48,44,42,46,49,43,45,44,48,47,50,51,52,53,54,55,56,57,51,57,56,52,50,54,57,51,53,52,56,55,58,59,60,61,62,63,64,65,59,63,62,60,60,62,65,61,64,63,59,58,66,67,68,69,70,71,72,73,67,73,72,68,66,70,73,67,69,68,72,71,74,75,76,77,78,79,80,81,75,81,80,76,74,78,81,75,77,76,80,79,82,83,84,85,86,87,88,89,83,89,88,84,82,86,89,83,85,84,88,87,90,91,92,93,94,95,96,97,91,97,96,92,90,94,97,91,93,92,96,95,98,99,100,101,102,103,104,105,99,105,104,100,98,102,105,99,101,100,104,103,106,107,108,109,110,111,112,113,107,113,112,108,106,110,113,107,109,108,112,111,114,115,116,117,118,119,120,121,115,121,120,116,114,118,121,115,117,116,120,119,122,123,124,125,126,127,128,129,123,129,128,124,122,126,129,123,125,124,128,127,130,131,132,133,134,135,136,137,131,137,136,132,130,134,137,131,133,132,136,135,138,139,140,141,142,143,104,105,139,105,104,140,138,142,105,139,141,140,104,143,144,145,146,147,148,149,150,151,145,151,150,146,144,148,151,145,147,146,150,149,152,153,154,155,156,157,158,159,153,159,158,154,152,156,159,153,155,154,158,157,160,161,162,163,164,165,166,167,161,167,166,162,160,164,167,161,163,162,166,165,168,169,170,171,172,173,174,175,169,175,174,170,168,172,175,169,171,170,174,173,176,177,178,179,180,181,182,183,177,183,182,178,176,180,183,177,179,178,182,181,184,185,186,187,188,189,190,191,185,191,190,186,184,188,191,185,187,186,190,189,192,193,194,195,196,197,198,199,193,199,198,194,192,196,199,193,195,194,198,197,200,201,202,203,204,205,206,207,201,207,206,202,200,204,207,201,203,202,206,205,208,209,210,211,212,213,214,215,209,215,214,210,208,212,215,209,211,210,214,213,216,217,218,219,220,221,182,183,217,183,182,218,216,220,183,217,219,218,182,221};
+static const MFace f_plank_t[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x7B5030}, {8,4,0,127,0,0,0,0x8D5E35}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,0,127,0,0,0,0x8D5E35}, {20,4,0,127,0,0,0,0x7B5030}, {24,4,0,127,0,0,0,0x8D5E35}, {28,4,0,127,0,0,0,0x7B5030}, {32,4,0,0,127,0,0,0x5A3B20}, {36,4,-127,0,0,0,0,0x5A3B20}, {40,4,127,0,0,0,0,0x5A3B20}, {44,4,0,0,-127,0,0,0x5A3B20}, {48,4,0,0,-127,0,0,0x5A3B20}, {52,4,-127,0,0,0,0,0x6E4A2A}, {56,4,127,0,0,0,0,0x6E4A2A}, {60,4,0,0,127,0,0,0x6E4A2A}, {64,4,0,-127,0,0,0,0x6E4A2A}, {68,4,0,127,0,0,0,0x6E4A2A}, {72,4,-127,0,0,0,0,0x6E4A2A}, {76,4,127,0,0,0,0,0x6E4A2A}, {80,4,0,0,127,0,0,0x6E4A2A}, {84,4,0,-127,0,0,0,0x6E4A2A}, {88,4,0,127,0,0,0,0x6E4A2A}, {92,4,-127,0,0,0,0,0x6E4A2A}, {96,4,127,0,0,0,0,0x6E4A2A}, {100,4,0,0,127,0,0,0x6E4A2A}, {104,4,0,-127,0,0,0,0x6E4A2A}, {108,4,0,127,0,0,0,0x6E4A2A}, {112,4,-127,0,0,0,0,0x6E4A2A}, {116,4,127,0,0,0,0,0x6E4A2A}, {120,4,0,0,127,0,0,0x6E4A2A}, {124,4,0,-127,0,0,0,0x6E4A2A}, {128,4,0,127,0,0,0,0x6E4A2A}, {132,4,-127,0,0,0,0,0x6E4A2A}, {136,4,127,0,0,0,0,0x6E4A2A}, {140,4,0,0,-127,0,0,0x6E4A2A}, {144,4,0,-127,0,0,0,0x6E4A2A}, {148,4,0,127,0,0,0,0x6E4A2A}, {152,4,-127,0,0,0,0,0x6E4A2A}, {156,4,127,0,0,0,0,0x6E4A2A}, {160,4,0,0,127,0,0,0x6E4A2A}, {164,4,0,-127,0,0,0,0x6E4A2A}, {168,4,0,127,0,0,0,0x6E4A2A}, {172,4,-127,0,0,0,0,0x6E4A2A}, {176,4,127,0,0,0,0,0x6E4A2A}, {180,4,0,0,127,0,0,0x6E4A2A}, {184,4,0,-127,0,0,0,0x6E4A2A}, {188,4,0,127,0,0,0,0x6E4A2A}, {192,4,-127,0,0,0,0,0x6E4A2A}, {196,4,127,0,0,0,0,0x6E4A2A}, {200,4,0,0,127,0,0,0x6E4A2A}, {204,4,0,-127,0,0,0,0x6E4A2A}, {208,4,0,127,0,0,0,0x6E4A2A}, {212,4,-127,0,0,0,0,0x6E4A2A}, {216,4,127,0,0,0,0,0x6E4A2A}, {220,4,0,0,127,0,0,0x6E4A2A}, {224,4,0,-127,0,0,0,0x6E4A2A}, {228,4,0,127,0,0,0,0x6E4A2A}, {232,4,127,0,0,0,0,0x6E4A2A}, {236,4,-127,0,0,0,0,0x6E4A2A}, {240,4,0,0,-127,0,0,0x6E4A2A}, {244,4,0,-127,0,0,0,0x6E4A2A}, {248,4,0,127,0,0,0,0x6E4A2A}, {252,4,-127,0,0,0,0,0x6E4A2A}, {256,4,127,0,0,0,0,0x6E4A2A}, {260,4,0,0,127,0,0,0x6E4A2A}, {264,4,0,-127,0,0,0,0x6E4A2A}, {268,4,0,127,0,0,0,0x6E4A2A}, {272,4,-127,0,0,0,0,0x6E4A2A}, {276,4,127,0,0,0,0,0x6E4A2A}, {280,4,0,0,127,0,0,0x6E4A2A}, {284,4,0,-127,0,0,0,0x6E4A2A}, {288,4,0,127,0,0,0,0x6E4A2A}, {292,4,-127,0,0,0,0,0x6E4A2A}, {296,4,127,0,0,0,0,0x6E4A2A}, {300,4,0,0,127,0,0,0x6E4A2A}, {304,4,0,-127,0,0,0,0x6E4A2A}, {308,4,0,127,0,0,0,0x6E4A2A}, {312,4,-127,0,0,0,0,0x6E4A2A}, {316,4,127,0,0,0,0,0x6E4A2A}, {320,4,0,0,127,0,0,0x6E4A2A}, {324,4,0,-127,0,0,0,0x6E4A2A}, {328,4,0,127,0,0,0,0x6E4A2A}, {332,4,127,0,0,0,0,0x6E4A2A}, {336,4,-127,0,0,0,0,0x6E4A2A}, {340,4,0,0,-127,0,0,0x6E4A2A}, {344,4,0,-127,0,0,0,0x6E4A2A}, {348,4,0,127,0,0,0,0x6E4A2A}, {352,4,-127,0,0,0,0,0x6E4A2A}, {356,4,127,0,0,0,0,0x6E4A2A}, {360,4,0,0,127,0,0,0x6E4A2A}, {364,4,0,-127,0,0,0,0x6E4A2A}, {368,4,0,127,0,0,0,0x6E4A2A}, {372,4,-127,0,0,0,0,0x6E4A2A}, {376,4,127,0,0,0,0,0x6E4A2A}, {380,4,0,0,127,0,0,0x6E4A2A}, {384,4,0,-127,0,0,0,0x6E4A2A}, {388,4,0,127,0,0,0,0x6E4A2A}, {392,4,-127,0,0,0,0,0x6E4A2A}, {396,4,127,0,0,0,0,0x6E4A2A}, {400,4,0,0,127,0,0,0x6E4A2A}, {404,4,0,-127,0,0,0,0x6E4A2A}, {408,4,0,127,0,0,0,0x6E4A2A}, {412,4,-127,0,0,0,0,0x6E4A2A}, {416,4,127,0,0,0,0,0x6E4A2A}, {420,4,0,0,127,0,0,0x6E4A2A}, {424,4,0,-127,0,0,0,0x6E4A2A}, {428,4,0,127,0,0,0,0x6E4A2A}, {432,4,-127,0,0,0,0,0x6E4A2A}, {436,4,127,0,0,0,0,0x6E4A2A}, {440,4,0,0,127,0,0,0x6E4A2A}, {444,4,0,-127,0,0,0,0x6E4A2A}, {448,4,0,127,0,0,0,0x6E4A2A}, {452,4,-127,0,0,0,0,0x6E4A2A}, {456,4,127,0,0,0,0,0x6E4A2A}, {460,4,0,0,127,0,0,0x6E4A2A}, {464,4,0,-127,0,0,0,0x6E4A2A}, {468,4,0,127,0,0,0,0x6E4A2A}, {472,4,-127,0,0,0,0,0x6E4A2A}, {476,4,127,0,0,0,0,0x6E4A2A}, {480,4,0,0,127,0,0,0x6E4A2A}, {484,4,0,-127,0,0,0,0x6E4A2A}, {488,4,0,127,0,0,0,0x6E4A2A}, {492,4,-127,0,0,0,0,0x6E4A2A}, {496,4,127,0,0,0,0,0x6E4A2A}, {500,4,0,0,127,0,0,0x6E4A2A}, {504,4,0,-127,0,0,0,0x6E4A2A}, {508,4,0,127,0,0,0,0x6E4A2A}, {512,4,-127,0,0,0,0,0x6E4A2A}, {516,4,127,0,0,0,0,0x6E4A2A}, {520,4,0,0,127,0,0,0x6E4A2A}, {524,4,0,-127,0,0,0,0x6E4A2A}, {528,4,0,127,0,0,0,0x6E4A2A}, {532,4,127,0,0,0,0,0x6E4A2A}, {536,4,-127,0,0,0,0,0x6E4A2A}, {540,4,0,0,-127,0,0,0x6E4A2A}, {544,4,0,-127,0,0,0,0x6E4A2A}, {548,4,0,127,0,0,0,0x6E4A2A}};
+static const MVert v_plank_t_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {120,0,40}, {120,0,-40}, {-120,0,-40}};
+static const uint16_t i_plank_t_far[] = {0,1,2,3,4,5,6,7};
+static const MFace f_plank_t_far[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,0,127,0,0,0,0x8D5E35}};
+static const MVert v_plank_step_up[] = {{-40,12,-72}, {40,12,-72}, {40,12,-120}, {-40,12,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {40,0,-120}, {-40,0,-120}, {-40,24,-24}, {40,24,-24}, {40,24,-72}, {-40,24,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,36,24}, {40,36,24}, {40,36,-24}, {-40,36,-24}, {-40,-168,24}, {40,-168,24}, {-40,48,72}, {40,48,72}, {40,48,24}, {-40,48,24}, {-40,-168,72}, {40,-168,72}, {-40,60,120}, {40,60,120}, {40,60,72}, {-40,60,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_plank_step_up[] = {0,1,2,3,0,3,4,5,2,1,6,7,3,2,8,9,10,11,12,13,10,13,5,14,12,11,15,6,13,12,1,0,16,17,18,19,16,19,14,20,18,17,21,15,19,18,11,10,22,23,24,25,22,25,20,26,24,23,27,21,25,24,17,16,28,29,30,31,28,31,26,32,30,29,33,27,31,30,23,22};
+static const MFace f_plank_step_up[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,-127,0,0,0,0,0x5A3B20}, {8,4,127,0,0,0,0,0x5A3B20}, {12,4,0,0,-127,0,0,0x5A3B20}, {16,4,0,127,0,0,0,0x7B5030}, {20,4,-127,0,0,0,0,0x5A3B20}, {24,4,127,0,0,0,0,0x5A3B20}, {28,4,0,0,-127,0,0,0x5A3B20}, {32,4,0,127,0,0,0,0x8D5E35}, {36,4,-127,0,0,0,0,0x5A3B20}, {40,4,127,0,0,0,0,0x5A3B20}, {44,4,0,0,-127,0,0,0x5A3B20}, {48,4,0,127,0,0,0,0x7B5030}, {52,4,-127,0,0,0,0,0x5A3B20}, {56,4,127,0,0,0,0,0x5A3B20}, {60,4,0,0,-127,0,0,0x5A3B20}, {64,4,0,127,0,0,0,0x8D5E35}, {68,4,-127,0,0,0,0,0x5A3B20}, {72,4,127,0,0,0,0,0x5A3B20}, {76,4,0,0,-127,0,0,0x5A3B20}};
+static const MVert v_plank_step_up_far[] = {{-40,60,120}, {40,60,120}, {40,12,-120}, {-40,12,-120}};
+static const uint16_t i_plank_step_up_far[] = {0,1,2,3};
+static const MFace f_plank_step_up_far[] = {{0,4,0,125,-25,0,0,0x8D5E35}};
+static const MVert v_plank_step_down[] = {{-40,0,-72}, {40,0,-72}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {-40,-12,-24}, {40,-12,-24}, {40,-12,-72}, {-40,-12,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,-24,24}, {40,-24,24}, {40,-24,-24}, {-40,-24,-24}, {-40,-168,24}, {40,-168,24}, {-40,-36,72}, {40,-36,72}, {40,-36,24}, {-40,-36,24}, {-40,-168,72}, {40,-168,72}, {-40,-48,120}, {40,-48,120}, {40,-48,72}, {-40,-48,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_plank_step_down[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,9,10,11,8,11,5,12,10,9,13,6,14,15,16,17,14,17,12,18,16,15,19,13,20,21,22,23,20,23,18,24,22,21,25,19,26,27,28,29,26,29,24,30,28,27,31,25};
+static const MFace f_plank_step_down[] = {{0,4,0,127,0,0,0,0x8D5E35}, {4,4,-127,0,0,0,0,0x5A3B20}, {8,4,127,0,0,0,0,0x5A3B20}, {12,4,0,127,0,0,0,0x7B5030}, {16,4,-127,0,0,0,0,0x5A3B20}, {20,4,127,0,0,0,0,0x5A3B20}, {24,4,0,127,0,0,0,0x8D5E35}, {28,4,-127,0,0,0,0,0x5A3B20}, {32,4,127,0,0,0,0,0x5A3B20}, {36,4,0,127,0,0,0,0x7B5030}, {40,4,-127,0,0,0,0,0x5A3B20}, {44,4,127,0,0,0,0,0x5A3B20}, {48,4,0,127,0,0,0,0x8D5E35}, {52,4,-127,0,0,0,0,0x5A3B20}, {56,4,127,0,0,0,0,0x5A3B20}};
+static const MVert v_plank_step_down_far[] = {{-40,-48,120}, {40,-48,120}, {40,0,-120}, {-40,0,-120}};
+static const uint16_t i_plank_step_down_far[] = {0,1,2,3};
+static const MFace f_plank_step_down_far[] = {{0,4,0,125,25,0,0,0x8D5E35}};
+static const MVert v_cliff_straight[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-40,0,80}, {40,0,80}, {-40,0,120}, {40,0,120}, {-40,-168,-120}, {-40,-168,120}, {40,-168,120}, {40,-168,-120}, {-40,10,-34}, {-40,10,120}, {-40,0,-34}, {-120,0,120}, {-120,10,120}, {-120,10,-34}, {-120,0,-34}, {34,10,40}, {34,10,120}, {34,0,120}, {34,0,40}, {-120,10,40}, {-120,0,40}};
+static const uint16_t i_cliff_straight[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,12,20,21,22,23,24,19,22,21,12,12,21,24,20,23,22,19,18,25,26,27,28,21,22,29,30,26,22,21,27,27,21,30,28,29,22,26,25};
+static const MFace f_cliff_straight[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,-127,0,0,0,0,0x6C655A}, {28,4,127,0,0,0,0,0x6C655A}, {32,4,127,0,0,0,0,0x7B7366}, {36,4,-127,0,0,0,0,0x7B7366}, {40,4,0,0,127,0,0,0x7B7366}, {44,4,0,-127,0,0,0,0x7B7366}, {48,4,0,127,0,0,0,0x7B7366}, {52,4,127,0,0,0,0,0x7B7366}, {56,4,-127,0,0,0,0,0x7B7366}, {60,4,0,0,127,0,0,0x7B7366}, {64,4,0,-127,0,0,0,0x7B7366}, {68,4,0,127,0,0,0,0x7B7366}};
+static const MVert v_cliff_straight_far[] = {{-40,0,120}, {40,0,120}, {40,0,-120}, {-40,0,-120}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_cliff_straight_far[] = {0,1,2,3,0,3,4,5,2,1,6,7};
+static const MFace f_cliff_straight_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,-127,0,0,0,0,0x6C655A}, {8,4,127,0,0,0,0,0x6C655A}};
+static const MVert v_cliff_hole[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-40,0,-34}, {-40,10,-40}, {-40,10,-34}, {-120,0,-34}, {-120,10,-34}, {-120,10,-40}, {-120,0,-40}, {34,0,40}, {34,0,-40}, {34,10,-40}, {34,10,40}, {-120,0,40}, {-120,10,40}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-168,40}, {-40,-168,120}, {40,-168,120}, {40,-168,40}, {-40,10,120}, {40,0,-34}, {40,10,-34}, {40,10,120}, {34,0,120}, {34,10,120}, {40,10,40}};
+static const uint16_t i_cliff_hole[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,0,9,10,11,12,13,14,0,14,13,9,8,11,14,0,10,9,13,12,15,16,17,18,19,20,13,14,16,14,13,17,15,19,14,16,18,17,13,20,21,22,23,24,21,24,25,26,23,22,27,28,8,21,29,10,30,31,32,22,21,22,32,29,8,30,22,21,10,29,32,31,15,33,34,18,23,35,32,22,33,22,32,34,15,23,22,33,18,34,32,35,5,6,1,0,28,25,24,23};
+static const MFace f_cliff_hole[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,-127,0,0,0,0,0x6C655A}, {8,4,127,0,0,0,0,0x6C655A}, {12,4,127,0,0,0,0,0x7B7366}, {16,4,-127,0,0,0,0,0x7B7366}, {20,4,0,0,-127,0,0,0x7B7366}, {24,4,0,-127,0,0,0,0x7B7366}, {28,4,0,127,0,0,0,0x7B7366}, {32,4,127,0,0,0,0,0x7B7366}, {36,4,-127,0,0,0,0,0x7B7366}, {40,4,0,0,-127,0,0,0x7B7366}, {44,4,0,-127,0,0,0,0x7B7366}, {48,4,0,127,0,0,0,0x7B7366}, {52,4,0,127,0,0,0,0x928A7C}, {56,4,-127,0,0,0,0,0x6C655A}, {60,4,127,0,0,0,0,0x6C655A}, {64,4,-127,0,0,0,0,0x7B7366}, {68,4,127,0,0,0,0,0x7B7366}, {72,4,0,0,127,0,0,0x7B7366}, {76,4,0,-127,0,0,0,0x7B7366}, {80,4,0,127,0,0,0,0x7B7366}, {84,4,-127,0,0,0,0,0x7B7366}, {88,4,127,0,0,0,0,0x7B7366}, {92,4,0,0,127,0,0,0x7B7366}, {96,4,0,-127,0,0,0,0x7B7366}, {100,4,0,127,0,0,0,0x7B7366}, {104,4,0,0,127,0,0,0x6C655A}, {108,4,0,0,-127,0,0,0x6C655A}};
+static const MVert v_cliff_hole_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,40}, {-40,0,40}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_cliff_hole_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_cliff_hole_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x928A7C}, {8,4,-127,0,0,0,0,0x6C655A}, {12,4,127,0,0,0,0,0x6C655A}};
+static const MVert v_cliff_hole_long[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-68}, {40,-168,-68}, {40,-168,-120}, {-40,0,-34}, {-40,10,-68}, {-40,10,-34}, {-120,0,-34}, {-120,10,-34}, {-120,10,-68}, {-120,0,-68}, {34,0,40}, {34,0,-68}, {34,10,-68}, {34,10,40}, {-120,0,40}, {-120,10,40}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-168,68}, {-40,-168,120}, {40,-168,120}, {40,-168,68}, {-40,10,120}, {68,0,-34}, {68,10,-34}, {68,10,120}, {68,0,120}, {34,0,120}, {34,10,120}, {68,0,40}, {68,10,40}};
+static const uint16_t i_cliff_hole_long[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,0,9,10,11,12,13,14,0,14,13,9,8,11,14,0,10,9,13,12,15,16,17,18,19,20,13,14,16,14,13,17,15,19,14,16,18,17,13,20,21,22,23,24,21,24,25,26,23,22,27,28,8,21,29,10,30,31,32,33,21,33,32,29,8,30,33,21,10,29,32,31,15,34,35,18,36,37,32,33,34,33,32,35,15,36,33,34,18,35,32,37,5,6,1,0,28,25,24,23};
+static const MFace f_cliff_hole_long[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,-127,0,0,0,0,0x6C655A}, {8,4,127,0,0,0,0,0x6C655A}, {12,4,127,0,0,0,0,0x7B7366}, {16,4,-127,0,0,0,0,0x7B7366}, {20,4,0,0,-127,0,0,0x7B7366}, {24,4,0,-127,0,0,0,0x7B7366}, {28,4,0,127,0,0,0,0x7B7366}, {32,4,127,0,0,0,0,0x7B7366}, {36,4,-127,0,0,0,0,0x7B7366}, {40,4,0,0,-127,0,0,0x7B7366}, {44,4,0,-127,0,0,0,0x7B7366}, {48,4,0,127,0,0,0,0x7B7366}, {52,4,0,127,0,0,0,0x928A7C}, {56,4,-127,0,0,0,0,0x6C655A}, {60,4,127,0,0,0,0,0x6C655A}, {64,4,-127,0,0,0,0,0x7B7366}, {68,4,127,0,0,0,0,0x7B7366}, {72,4,0,0,127,0,0,0x7B7366}, {76,4,0,-127,0,0,0,0x7B7366}, {80,4,0,127,0,0,0,0x7B7366}, {84,4,-127,0,0,0,0,0x7B7366}, {88,4,127,0,0,0,0,0x7B7366}, {92,4,0,0,127,0,0,0x7B7366}, {96,4,0,-127,0,0,0,0x7B7366}, {100,4,0,127,0,0,0,0x7B7366}, {104,4,0,0,127,0,0,0x6C655A}, {108,4,0,0,-127,0,0,0x6C655A}};
+static const MVert v_cliff_hole_long_far[] = {{-40,0,-68}, {40,0,-68}, {40,0,-120}, {-40,0,-120}, {-40,0,120}, {40,0,120}, {40,0,68}, {-40,0,68}, {-40,-96,-120}, {-40,-96,120}, {40,-96,120}, {40,-96,-120}};
+static const uint16_t i_cliff_hole_long_far[] = {0,1,2,3,4,5,6,7,4,3,8,9,2,5,10,11};
+static const MFace f_cliff_hole_long_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x928A7C}, {8,4,-127,0,0,0,0,0x6C655A}, {12,4,127,0,0,0,0,0x6C655A}};
+static const MVert v_cliff_narrow_l[] = {{-40,0,-80}, {-8,0,-80}, {-8,0,-120}, {-40,0,-120}, {-40,0,-40}, {-8,0,-40}, {-40,0,0}, {-8,0,0}, {-40,0,40}, {-8,0,40}, {-40,0,80}, {-8,0,80}, {-40,0,120}, {-8,0,120}, {-40,-168,-120}, {-40,-168,120}, {-8,-168,120}, {-8,-168,-120}, {-40,10,-34}, {-40,10,120}, {-40,0,-34}, {-120,0,120}, {-120,10,120}, {-120,10,-34}, {-120,0,-34}, {-40,0,-104}, {40,0,-104}, {40,0,-120}, {40,0,120}, {40,0,104}, {-40,0,104}, {-8,0,-104}, {-8,-168,-104}, {40,-168,-104}, {-8,0,104}, {40,-168,104}, {-8,-168,104}};
+static const uint16_t i_cliff_narrow_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,12,20,21,22,23,24,19,22,21,12,12,21,24,20,23,22,19,18,25,26,27,3,12,28,29,30,26,31,32,33,34,29,35,36};
+static const MFace f_cliff_narrow_l[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,-127,0,0,0,0,0x6C655A}, {28,4,127,0,0,0,0,0x6C655A}, {32,4,127,0,0,0,0,0x7B7366}, {36,4,-127,0,0,0,0,0x7B7366}, {40,4,0,0,127,0,0,0x7B7366}, {44,4,0,-127,0,0,0,0x7B7366}, {48,4,0,127,0,0,0,0x7B7366}, {52,4,0,127,0,0,0,0x928A7C}, {56,4,0,127,0,0,0,0x928A7C}, {60,4,0,0,127,0,0,0x6C655A}, {64,4,0,0,-127,0,0,0x6C655A}};
+static const MVert v_cliff_narrow_l_far[] = {{-40,0,120}, {-8,0,120}, {-8,0,-120}, {-40,0,-120}};
+static const uint16_t i_cliff_narrow_l_far[] = {0,1,2,3};
+static const MFace f_cliff_narrow_l_far[] = {{0,4,0,127,0,0,0,0x928A7C}};
+static const MVert v_cliff_narrow_r[] = {{8,0,-80}, {40,0,-80}, {40,0,-120}, {8,0,-120}, {8,0,-40}, {40,0,-40}, {8,0,0}, {40,0,0}, {8,0,40}, {40,0,40}, {8,0,80}, {40,0,80}, {8,0,120}, {40,0,120}, {8,-168,-120}, {8,-168,120}, {40,-168,120}, {40,-168,-120}, {34,10,40}, {34,10,120}, {34,0,120}, {34,0,40}, {-120,0,120}, {-120,10,120}, {-120,10,40}, {-120,0,40}, {-40,0,-104}, {40,0,-104}, {-40,0,-120}, {-40,0,120}, {40,0,104}, {-40,0,104}, {-40,-168,-104}, {8,-168,-104}, {8,0,-104}, {8,-168,104}, {-40,-168,104}, {8,0,104}};
+static const uint16_t i_cliff_narrow_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,11,9,8,12,13,11,10,12,3,14,15,2,13,16,17,18,19,20,21,22,23,24,25,19,23,22,20,20,22,25,21,24,23,19,18,26,27,2,28,29,13,30,31,32,33,34,26,35,36,31,37};
+static const MFace f_cliff_narrow_r[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,-127,0,0,0,0,0x6C655A}, {28,4,127,0,0,0,0,0x6C655A}, {32,4,127,0,0,0,0,0x7B7366}, {36,4,-127,0,0,0,0,0x7B7366}, {40,4,0,0,127,0,0,0x7B7366}, {44,4,0,-127,0,0,0,0x7B7366}, {48,4,0,127,0,0,0,0x7B7366}, {52,4,0,127,0,0,0,0x928A7C}, {56,4,0,127,0,0,0,0x928A7C}, {60,4,0,0,127,0,0,0x6C655A}, {64,4,0,0,-127,0,0,0x6C655A}};
+static const MVert v_cliff_narrow_r_far[] = {{8,0,120}, {40,0,120}, {40,0,-120}, {8,0,-120}};
+static const uint16_t i_cliff_narrow_r_far[] = {0,1,2,3};
+static const MFace f_cliff_narrow_r_far[] = {{0,4,0,127,0,0,0,0x928A7C}};
+static const MVert v_cliff_corner_l[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {-120,0,0}, {-120,0,-40}, {-120,0,40}, {40,-168,40}, {40,-168,-120}, {-120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {-120,-168,-40}, {34,0,40}, {34,10,40}, {-120,10,40}, {-40,0,-34}, {-40,10,-40}, {-40,10,-34}, {-120,0,-34}, {-120,10,-34}, {-120,10,-40}};
+static const uint16_t i_cliff_corner_l[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,10,6,4,11,12,8,6,10,2,9,13,14,9,12,15,13,4,3,16,17,11,4,17,18,19,19,20,20,12,21,21,12,19,12,21,20,19,12,12,19,20,20,21,21,12,12,21,21,19,20,20,19,12,19,20,21,12,19,19,12,21,21,20,20,22,4,23,24,25,26,27,11,4,11,27,23,22,25,11,4,24,23,27,26,11,25,26,27,4,23,24,22,25,22,24,26,11,4,22,25,27,26,24,23};
+static const MFace f_cliff_corner_l[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,127,0,0,0,0,0x6C655A}, {28,4,0,0,127,0,0,0x6C655A}, {32,4,-127,0,0,0,0,0x6C655A}, {36,4,0,0,-127,0,0,0x6C655A}, {40,4,0,0,0,0,0,0x7B7366}, {44,4,0,0,0,0,0,0x7B7366}, {48,4,0,0,-127,0,0,0x7B7366}, {52,4,0,0,0,0,0,0x7B7366}, {56,4,0,0,0,0,0,0x7B7366}, {60,4,0,0,0,0,0,0x7B7366}, {64,4,0,0,0,0,0,0x7B7366}, {68,4,0,0,127,0,0,0x7B7366}, {72,4,0,0,0,0,0,0x7B7366}, {76,4,0,0,0,0,0,0x7B7366}, {80,4,127,0,0,0,0,0x7B7366}, {84,4,-127,0,0,0,0,0x7B7366}, {88,4,0,0,-127,0,0,0x7B7366}, {92,4,0,-127,0,0,0,0x7B7366}, {96,4,0,127,0,0,0,0x7B7366}, {100,4,-127,0,0,0,0,0x7B7366}, {104,4,127,0,0,0,0,0x7B7366}, {108,4,0,0,127,0,0,0x7B7366}, {112,4,0,-127,0,0,0,0x7B7366}, {116,4,0,127,0,0,0,0x7B7366}};
+static const MVert v_cliff_corner_l_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {-40,0,-40}, {-120,0,-40}};
+static const uint16_t i_cliff_corner_l_far[] = {0,1,2,3,4,0,5,6};
+static const MFace f_cliff_corner_l_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x928A7C}};
+static const MVert v_cliff_corner_r[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-40,0,0}, {40,0,0}, {-40,0,40}, {40,0,40}, {120,0,0}, {120,0,-40}, {120,0,40}, {-40,-168,-120}, {-40,-168,40}, {120,-168,40}, {40,-168,-40}, {40,-168,-120}, {120,-168,-40}, {-40,10,-34}, {-40,10,40}, {-40,0,-34}, {-120,0,40}, {-120,10,40}, {-120,10,-34}, {-120,0,-34}, {-40,10,120}, {-40,0,120}, {34,0,40}, {34,10,40}, {34,10,120}, {34,0,120}, {34,0,-40}, {34,10,-40}, {-120,10,-40}, {-120,0,-40}, {40,0,120}, {40,0,-34}, {40,10,-34}, {40,10,120}};
+static const uint16_t i_cliff_corner_r[] = {0,1,2,3,4,5,1,0,6,7,5,4,8,9,7,6,7,10,11,5,9,12,10,7,13,14,8,3,14,15,12,8,16,17,2,5,18,16,5,11,19,20,8,21,22,23,24,25,20,23,22,8,8,22,25,21,24,23,20,19,26,20,8,27,28,29,30,31,20,29,28,8,8,28,31,27,30,29,20,26,28,32,33,29,22,23,34,35,32,35,34,33,28,22,35,32,29,33,34,23,36,37,38,39,27,26,19,21,37,21,19,38,36,27,21,37,39,38,19,26};
+static const MFace f_cliff_corner_r[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,-127,0,0,0,0,0x6C655A}, {28,4,0,0,127,0,0,0x6C655A}, {32,4,127,0,0,0,0,0x6C655A}, {36,4,0,0,-127,0,0,0x6C655A}, {40,4,127,0,0,0,0,0x7B7366}, {44,4,-127,0,0,0,0,0x7B7366}, {48,4,0,0,127,0,0,0x7B7366}, {52,4,0,-127,0,0,0,0x7B7366}, {56,4,0,127,0,0,0,0x7B7366}, {60,4,-127,0,0,0,0,0x7B7366}, {64,4,127,0,0,0,0,0x7B7366}, {68,4,0,0,-127,0,0,0x7B7366}, {72,4,0,-127,0,0,0,0x7B7366}, {76,4,0,127,0,0,0,0x7B7366}, {80,4,127,0,0,0,0,0x7B7366}, {84,4,-127,0,0,0,0,0x7B7366}, {88,4,0,0,-127,0,0,0x7B7366}, {92,4,0,-127,0,0,0,0x7B7366}, {96,4,0,127,0,0,0,0x7B7366}, {100,4,127,0,0,0,0,0x7B7366}, {104,4,-127,0,0,0,0,0x7B7366}, {108,4,0,0,-127,0,0,0x7B7366}, {112,4,0,-127,0,0,0,0x7B7366}, {116,4,0,127,0,0,0,0x7B7366}};
+static const MVert v_cliff_corner_r_far[] = {{-40,0,40}, {40,0,40}, {40,0,-120}, {-40,0,-120}, {120,0,40}, {120,0,-40}, {40,0,-40}};
+static const uint16_t i_cliff_corner_r_far[] = {0,1,2,3,1,4,5,6};
+static const MFace f_cliff_corner_r_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x928A7C}};
+static const MVert v_cliff_t[] = {{-40,0,-80}, {40,0,-80}, {40,0,-120}, {-40,0,-120}, {-40,0,-40}, {40,0,-40}, {-120,0,40}, {-80,0,40}, {-80,0,-40}, {-120,0,-40}, {-40,0,40}, {0,0,40}, {0,0,-40}, {40,0,40}, {80,0,40}, {80,0,-40}, {120,0,40}, {120,0,-40}, {-120,-168,40}, {120,-168,40}, {-40,-168,-120}, {-40,-168,-40}, {40,-168,-40}, {40,-168,-120}, {-120,-168,-40}, {120,-168,-40}, {-120,10,120}, {-120,10,40}, {-120,0,120}, {34,0,40}, {34,10,40}, {34,10,120}, {34,0,120}, {-40,0,-34}, {-40,10,-40}, {-40,10,-34}, {-120,0,-34}, {-120,10,-34}, {-120,10,-40}, {34,0,-40}, {34,10,-40}, {40,0,120}, {40,0,-34}, {40,10,-34}, {40,10,120}, {-40,0,120}, {-40,10,120}};
+static const uint16_t i_cliff_t[] = {0,1,2,3,4,5,1,0,6,7,8,9,7,10,4,8,10,11,12,4,11,13,5,12,13,14,15,5,14,16,17,15,18,19,16,6,4,3,20,21,2,5,22,23,21,24,9,4,25,22,5,17,26,27,6,28,29,30,31,32,27,30,29,6,6,29,32,28,31,30,27,26,33,4,34,35,36,37,38,9,4,9,38,34,33,36,9,4,35,34,38,37,29,39,40,30,6,27,38,9,39,9,38,40,29,6,9,39,30,40,38,27,9,36,37,38,4,34,35,33,36,33,35,37,9,4,33,36,38,37,35,34,41,42,43,44,45,46,35,33,42,33,35,43,41,45,33,42,44,43,35,46};
+static const MFace f_cliff_t[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x857D70}, {8,4,0,127,0,0,0,0x928A7C}, {12,4,0,127,0,0,0,0x857D70}, {16,4,0,127,0,0,0,0x928A7C}, {20,4,0,127,0,0,0,0x857D70}, {24,4,0,127,0,0,0,0x928A7C}, {28,4,0,127,0,0,0,0x857D70}, {32,4,0,0,127,0,0,0x6C655A}, {36,4,-127,0,0,0,0,0x6C655A}, {40,4,127,0,0,0,0,0x6C655A}, {44,4,0,0,-127,0,0,0x6C655A}, {48,4,0,0,-127,0,0,0x6C655A}, {52,4,-127,0,0,0,0,0x7B7366}, {56,4,127,0,0,0,0,0x7B7366}, {60,4,0,0,-127,0,0,0x7B7366}, {64,4,0,-127,0,0,0,0x7B7366}, {68,4,0,127,0,0,0,0x7B7366}, {72,4,127,0,0,0,0,0x7B7366}, {76,4,-127,0,0,0,0,0x7B7366}, {80,4,0,0,-127,0,0,0x7B7366}, {84,4,0,-127,0,0,0,0x7B7366}, {88,4,0,127,0,0,0,0x7B7366}, {92,4,127,0,0,0,0,0x7B7366}, {96,4,-127,0,0,0,0,0x7B7366}, {100,4,0,0,-127,0,0,0x7B7366}, {104,4,0,-127,0,0,0,0x7B7366}, {108,4,0,127,0,0,0,0x7B7366}, {112,4,-127,0,0,0,0,0x7B7366}, {116,4,127,0,0,0,0,0x7B7366}, {120,4,0,0,127,0,0,0x7B7366}, {124,4,0,-127,0,0,0,0x7B7366}, {128,4,0,127,0,0,0,0x7B7366}, {132,4,127,0,0,0,0,0x7B7366}, {136,4,-127,0,0,0,0,0x7B7366}, {140,4,0,0,-127,0,0,0x7B7366}, {144,4,0,-127,0,0,0,0x7B7366}, {148,4,0,127,0,0,0,0x7B7366}};
+static const MVert v_cliff_t_far[] = {{-40,0,-40}, {40,0,-40}, {40,0,-120}, {-40,0,-120}, {-120,0,40}, {120,0,40}, {120,0,-40}, {-120,0,-40}};
+static const uint16_t i_cliff_t_far[] = {0,1,2,3,4,5,6,7};
+static const MFace f_cliff_t_far[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,0,127,0,0,0,0x928A7C}};
+static const MVert v_cliff_step_up[] = {{-40,12,-72}, {40,12,-72}, {40,12,-120}, {-40,12,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {40,0,-120}, {-40,0,-120}, {-40,24,-24}, {40,24,-24}, {40,24,-72}, {-40,24,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,36,24}, {40,36,24}, {40,36,-24}, {-40,36,-24}, {-40,-168,24}, {40,-168,24}, {-40,48,72}, {40,48,72}, {40,48,24}, {-40,48,24}, {-40,-168,72}, {40,-168,72}, {-40,60,120}, {40,60,120}, {40,60,72}, {-40,60,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_cliff_step_up[] = {0,1,2,3,0,3,4,5,2,1,6,7,3,2,8,9,10,11,12,13,10,13,5,14,12,11,15,6,13,12,1,0,16,17,18,19,16,19,14,20,18,17,21,15,19,18,11,10,22,23,24,25,22,25,20,26,24,23,27,21,25,24,17,16,28,29,30,31,28,31,26,32,30,29,33,27,31,30,23,22};
+static const MFace f_cliff_step_up[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,-127,0,0,0,0,0x6C655A}, {8,4,127,0,0,0,0,0x6C655A}, {12,4,0,0,-127,0,0,0x6C655A}, {16,4,0,127,0,0,0,0x857D70}, {20,4,-127,0,0,0,0,0x6C655A}, {24,4,127,0,0,0,0,0x6C655A}, {28,4,0,0,-127,0,0,0x6C655A}, {32,4,0,127,0,0,0,0x928A7C}, {36,4,-127,0,0,0,0,0x6C655A}, {40,4,127,0,0,0,0,0x6C655A}, {44,4,0,0,-127,0,0,0x6C655A}, {48,4,0,127,0,0,0,0x857D70}, {52,4,-127,0,0,0,0,0x6C655A}, {56,4,127,0,0,0,0,0x6C655A}, {60,4,0,0,-127,0,0,0x6C655A}, {64,4,0,127,0,0,0,0x928A7C}, {68,4,-127,0,0,0,0,0x6C655A}, {72,4,127,0,0,0,0,0x6C655A}, {76,4,0,0,-127,0,0,0x6C655A}};
+static const MVert v_cliff_step_up_far[] = {{-40,60,120}, {40,60,120}, {40,12,-120}, {-40,12,-120}};
+static const uint16_t i_cliff_step_up_far[] = {0,1,2,3};
+static const MFace f_cliff_step_up_far[] = {{0,4,0,125,-25,0,0,0x928A7C}};
+static const MVert v_cliff_step_down[] = {{-40,0,-72}, {40,0,-72}, {40,0,-120}, {-40,0,-120}, {-40,-168,-120}, {-40,-168,-72}, {40,-168,-72}, {40,-168,-120}, {-40,-12,-24}, {40,-12,-24}, {40,-12,-72}, {-40,-12,-72}, {-40,-168,-24}, {40,-168,-24}, {-40,-24,24}, {40,-24,24}, {40,-24,-24}, {-40,-24,-24}, {-40,-168,24}, {40,-168,24}, {-40,-36,72}, {40,-36,72}, {40,-36,24}, {-40,-36,24}, {-40,-168,72}, {40,-168,72}, {-40,-48,120}, {40,-48,120}, {40,-48,72}, {-40,-48,72}, {-40,-168,120}, {40,-168,120}};
+static const uint16_t i_cliff_step_down[] = {0,1,2,3,0,3,4,5,2,1,6,7,8,9,10,11,8,11,5,12,10,9,13,6,14,15,16,17,14,17,12,18,16,15,19,13,20,21,22,23,20,23,18,24,22,21,25,19,26,27,28,29,26,29,24,30,28,27,31,25};
+static const MFace f_cliff_step_down[] = {{0,4,0,127,0,0,0,0x928A7C}, {4,4,-127,0,0,0,0,0x6C655A}, {8,4,127,0,0,0,0,0x6C655A}, {12,4,0,127,0,0,0,0x857D70}, {16,4,-127,0,0,0,0,0x6C655A}, {20,4,127,0,0,0,0,0x6C655A}, {24,4,0,127,0,0,0,0x928A7C}, {28,4,-127,0,0,0,0,0x6C655A}, {32,4,127,0,0,0,0,0x6C655A}, {36,4,0,127,0,0,0,0x857D70}, {40,4,-127,0,0,0,0,0x6C655A}, {44,4,127,0,0,0,0,0x6C655A}, {48,4,0,127,0,0,0,0x928A7C}, {52,4,-127,0,0,0,0,0x6C655A}, {56,4,127,0,0,0,0,0x6C655A}};
+static const MVert v_cliff_step_down_far[] = {{-40,-48,120}, {40,-48,120}, {40,0,-120}, {-40,0,-120}};
+static const uint16_t i_cliff_step_down_far[] = {0,1,2,3};
+static const MFace f_cliff_step_down_far[] = {{0,4,0,125,25,0,0,0x928A7C}};
+static const MVert v_root_low[] = {{-40,0,-4}, {-40,0,4}, {-40,6,4}, {-40,6,-4}, {-16,0,-4}, {-16,6,-4}, {-16,6,4}, {-16,0,4}, {-18,0,-4}, {-18,0,4}, {-18,8,4}, {-18,8,-4}, {14,0,-4}, {14,8,-4}, {14,8,4}, {14,0,4}, {12,0,-4}, {12,0,4}, {12,6,4}, {12,6,-4}, {40,0,-4}, {40,6,-4}, {40,6,4}, {40,0,4}};
+static const uint16_t i_root_low[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,17,23,22,18,16,20,23,17,19,18,22,21};
+static const MFace f_root_low[] = {{0,4,-127,0,0,0,0,0x5B3F24}, {4,4,127,0,0,0,0,0x5B3F24}, {8,4,0,0,127,0,0,0x6E4E2E}, {12,4,0,-127,0,0,0,0x5B3F24}, {16,4,0,127,0,0,0,0x5B3F24}, {20,4,-127,0,0,0,0,0x5B3F24}, {24,4,127,0,0,0,0,0x5B3F24}, {28,4,0,0,127,0,0,0x6E4E2E}, {32,4,0,-127,0,0,0,0x5B3F24}, {36,4,0,127,0,0,0,0x5B3F24}, {40,4,-127,0,0,0,0,0x5B3F24}, {44,4,127,0,0,0,0,0x5B3F24}, {48,4,0,0,127,0,0,0x6E4E2E}, {52,4,0,-127,0,0,0,0x5B3F24}, {56,4,0,127,0,0,0,0x5B3F24}};
+static const MVert v_tree_jump[] = {{-52,0,-7}, {-52,0,7}, {-52,17,7}, {-52,17,-7}, {52,0,-7}, {52,17,-7}, {52,17,7}, {52,0,7}, {-56,-12,-9}, {-56,-12,9}, {-56,20,9}, {-56,20,-9}, {-44,-12,-9}, {-44,20,-9}, {-44,20,9}, {-44,-12,9}, {44,-12,-9}, {44,-12,9}, {44,20,9}, {44,20,-9}, {56,-12,-9}, {56,20,-9}, {56,20,9}, {56,-12,9}};
+static const uint16_t i_tree_jump[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,17,23,22,18,16,20,23,17,19,18,22,21};
+static const MFace f_tree_jump[] = {{0,4,-127,0,0,0,0,0x6A4A2D}, {4,4,127,0,0,0,0,0x6A4A2D}, {8,4,0,0,127,0,0,0x7B5A38}, {12,4,0,-127,0,0,0,0x6A4A2D}, {16,4,0,127,0,0,0,0x6A4A2D}, {20,4,-127,0,0,0,0,0x55391F}, {24,4,127,0,0,0,0,0x55391F}, {28,4,0,0,127,0,0,0x55391F}, {32,4,0,-127,0,0,0,0x55391F}, {36,4,0,127,0,0,0,0x55391F}, {40,4,-127,0,0,0,0,0x55391F}, {44,4,127,0,0,0,0,0x55391F}, {48,4,0,0,127,0,0,0x55391F}, {52,4,0,-127,0,0,0,0x55391F}, {56,4,0,127,0,0,0,0x55391F}};
+static const MVert v_branch_slide[] = {{-52,21,-5}, {-52,21,5}, {-52,30,5}, {-52,30,-5}, {52,21,-5}, {52,30,-5}, {52,30,5}, {52,21,5}, {-24,29,-10}, {-24,29,10}, {-24,38,10}, {-24,38,-10}, {-10,29,-10}, {-10,38,-10}, {-10,38,10}, {-10,29,10}, {4,29,-10}, {4,29,10}, {4,38,10}, {4,38,-10}, {18,29,-10}, {18,38,-10}, {18,38,10}, {18,29,10}, {26,29,-10}, {26,29,10}, {26,38,10}, {26,38,-10}, {40,29,-10}, {40,38,-10}, {40,38,10}, {40,29,10}, {-54,0,-6}, {-54,0,6}, {-54,30,6}, {-54,30,-6}, {-44,0,-6}, {-44,30,-6}, {-44,30,6}, {-44,0,6}, {44,0,-6}, {44,0,6}, {44,30,6}, {44,30,-6}, {54,0,-6}, {54,30,-6}, {54,30,6}, {54,0,6}};
+static const uint16_t i_branch_slide[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21,24,25,26,27,28,29,30,31,24,27,29,28,25,31,30,26,24,28,31,25,27,26,30,29,32,33,34,35,36,37,38,39,33,39,38,34,32,36,39,33,35,34,38,37,40,41,42,43,44,45,46,47,41,47,46,42,40,44,47,41,43,42,46,45};
+static const MFace f_branch_slide[] = {{0,4,-127,0,0,0,0,0x6A4A2D}, {4,4,127,0,0,0,0,0x6A4A2D}, {8,4,0,0,-127,0,0,0x6A4A2D}, {12,4,0,0,127,0,0,0x7B5A38}, {16,4,0,-127,0,0,0,0x6A4A2D}, {20,4,0,127,0,0,0,0x6A4A2D}, {24,4,-127,0,0,0,0,0x3A6B2C}, {28,4,127,0,0,0,0,0x3A6B2C}, {32,4,0,0,-127,0,0,0x3A6B2C}, {36,4,0,0,127,0,0,0x2F5A26}, {40,4,0,-127,0,0,0,0x3A6B2C}, {44,4,0,127,0,0,0,0x3A6B2C}, {48,4,-127,0,0,0,0,0x3A6B2C}, {52,4,127,0,0,0,0,0x3A6B2C}, {56,4,0,0,-127,0,0,0x3A6B2C}, {60,4,0,0,127,0,0,0x2F5A26}, {64,4,0,-127,0,0,0,0x3A6B2C}, {68,4,0,127,0,0,0,0x3A6B2C}, {72,4,-127,0,0,0,0,0x3A6B2C}, {76,4,127,0,0,0,0,0x3A6B2C}, {80,4,0,0,-127,0,0,0x3A6B2C}, {84,4,0,0,127,0,0,0x2F5A26}, {88,4,0,-127,0,0,0,0x3A6B2C}, {92,4,0,127,0,0,0,0x3A6B2C}, {96,4,-127,0,0,0,0,0x55391F}, {100,4,127,0,0,0,0,0x55391F}, {104,4,0,0,127,0,0,0x55391F}, {108,4,0,-127,0,0,0,0x55391F}, {112,4,0,127,0,0,0,0x55391F}, {116,4,-127,0,0,0,0,0x55391F}, {120,4,127,0,0,0,0,0x55391F}, {124,4,0,0,127,0,0,0x55391F}, {128,4,0,-127,0,0,0,0x55391F}, {132,4,0,127,0,0,0,0x55391F}};
+static const MVert v_fire0[] = {{-28,0,-6}, {-28,0,6}, {-28,2,6}, {-28,2,-6}, {-12,0,-6}, {-12,2,-6}, {-12,2,6}, {-12,0,6}, {-20,21,0}, {-13,2,-1}, {-27,2,-1}, {-27,2,1}, {-13,2,1}, {-20,15,0}, {-16,2,-2}, {-24,2,-2}, {-24,2,2}, {-16,2,2}, {-8,0,-6}, {-8,0,6}, {-8,2,6}, {-8,2,-6}, {8,0,-6}, {8,2,-6}, {8,2,6}, {8,0,6}, {0,26,0}, {7,2,-1}, {-7,2,-1}, {-7,2,1}, {7,2,1}, {0,19,0}, {4,2,-2}, {-4,2,-2}, {-4,2,2}, {4,2,2}, {12,0,-6}, {12,0,6}, {12,2,6}, {12,2,-6}, {28,0,-6}, {28,2,-6}, {28,2,6}, {28,0,6}, {20,19,0}, {27,2,-1}, {13,2,-1}, {13,2,1}, {27,2,1}, {20,14,0}, {24,2,-2}, {16,2,-2}, {16,2,2}, {24,2,2}};
+static const uint16_t i_fire0[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,8,13,14,15,16,17,13,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,26,31,32,33,34,35,31,36,37,38,39,40,41,42,43,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,44,49,50,51,52,53,49};
+static const MFace f_fire0[] = {{0,4,-127,0,0,0,0,0x4E463C}, {4,4,127,0,0,0,0,0x4E463C}, {8,4,0,0,127,0,0,0x4E463C}, {12,4,0,-127,0,0,0,0x4E463C}, {16,4,0,127,0,0,0,0x4E463C}, {20,3,0,7,-127,1,0,0xFF8A1E}, {23,3,0,7,127,1,0,0xFF8A1E}, {26,3,0,19,-125,1,0,0xFFD448}, {29,3,0,19,125,1,0,0xFFD448}, {32,4,-127,0,0,0,0,0x4E463C}, {36,4,127,0,0,0,0,0x4E463C}, {40,4,0,0,127,0,0,0x4E463C}, {44,4,0,-127,0,0,0,0x4E463C}, {48,4,0,127,0,0,0,0x4E463C}, {52,3,0,5,-127,1,0,0xFF8A1E}, {55,3,0,5,127,1,0,0xFF8A1E}, {58,3,0,15,-126,1,0,0xFFD448}, {61,3,0,15,126,1,0,0xFFD448}, {64,4,-127,0,0,0,0,0x4E463C}, {68,4,127,0,0,0,0,0x4E463C}, {72,4,0,0,127,0,0,0x4E463C}, {76,4,0,-127,0,0,0,0x4E463C}, {80,4,0,127,0,0,0,0x4E463C}, {84,3,0,7,-127,1,0,0xFF8A1E}, {87,3,0,7,127,1,0,0xFF8A1E}, {90,3,0,21,-125,1,0,0xFFD448}, {93,3,0,21,125,1,0,0xFFD448}};
+static const MVert v_fire1[] = {{-28,0,-6}, {-28,0,6}, {-28,2,6}, {-28,2,-6}, {-12,0,-6}, {-12,2,-6}, {-12,2,6}, {-12,0,6}, {-20,20,0}, {-13,2,-1}, {-27,2,-1}, {-27,2,1}, {-13,2,1}, {-20,15,0}, {-16,2,-2}, {-24,2,-2}, {-24,2,2}, {-16,2,2}, {-8,0,-6}, {-8,0,6}, {-8,2,6}, {-8,2,-6}, {8,0,-6}, {8,2,-6}, {8,2,6}, {8,0,6}, {0,16,0}, {7,2,-1}, {-7,2,-1}, {-7,2,1}, {7,2,1}, {0,12,0}, {4,2,-2}, {-4,2,-2}, {-4,2,2}, {4,2,2}, {12,0,-6}, {12,0,6}, {12,2,6}, {12,2,-6}, {28,0,-6}, {28,2,-6}, {28,2,6}, {28,0,6}, {20,23,0}, {27,2,-1}, {13,2,-1}, {13,2,1}, {27,2,1}, {20,17,0}, {24,2,-2}, {16,2,-2}, {16,2,2}, {24,2,2}};
+static const uint16_t i_fire1[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,8,13,14,15,16,17,13,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,26,31,32,33,34,35,31,36,37,38,39,40,41,42,43,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,44,49,50,51,52,53,49};
+static const MFace f_fire1[] = {{0,4,-127,0,0,0,0,0x4E463C}, {4,4,127,0,0,0,0,0x4E463C}, {8,4,0,0,127,0,0,0x4E463C}, {12,4,0,-127,0,0,0,0x4E463C}, {16,4,0,127,0,0,0,0x4E463C}, {20,3,0,7,-127,1,0,0xFF8A1E}, {23,3,0,7,127,1,0,0xFF8A1E}, {26,3,0,20,-125,1,0,0xFFD448}, {29,3,0,20,125,1,0,0xFFD448}, {32,4,-127,0,0,0,0,0x4E463C}, {36,4,127,0,0,0,0,0x4E463C}, {40,4,0,0,127,0,0,0x4E463C}, {44,4,0,-127,0,0,0,0x4E463C}, {48,4,0,127,0,0,0,0x4E463C}, {52,3,0,9,-127,1,0,0xFF8A1E}, {55,3,0,9,127,1,0,0xFF8A1E}, {58,3,0,26,-124,1,0,0xFFD448}, {61,3,0,26,124,1,0,0xFFD448}, {64,4,-127,0,0,0,0,0x4E463C}, {68,4,127,0,0,0,0,0x4E463C}, {72,4,0,0,127,0,0,0x4E463C}, {76,4,0,-127,0,0,0,0x4E463C}, {80,4,0,127,0,0,0,0x4E463C}, {84,3,0,6,-127,1,0,0xFF8A1E}, {87,3,0,6,127,1,0,0xFF8A1E}, {90,3,0,18,-126,1,0,0xFFD448}, {93,3,0,18,126,1,0,0xFFD448}};
+static const MVert v_fire2[] = {{-28,0,-6}, {-28,0,6}, {-28,2,6}, {-28,2,-6}, {-12,0,-6}, {-12,2,-6}, {-12,2,6}, {-12,0,6}, {-20,22,0}, {-13,2,-1}, {-27,2,-1}, {-27,2,1}, {-13,2,1}, {-20,16,0}, {-16,2,-2}, {-24,2,-2}, {-24,2,2}, {-16,2,2}, {-8,0,-6}, {-8,0,6}, {-8,2,6}, {-8,2,-6}, {8,0,-6}, {8,2,-6}, {8,2,6}, {8,0,6}, {0,25,0}, {7,2,-1}, {-7,2,-1}, {-7,2,1}, {7,2,1}, {0,19,0}, {4,2,-2}, {-4,2,-2}, {-4,2,2}, {4,2,2}, {12,0,-6}, {12,0,6}, {12,2,6}, {12,2,-6}, {28,0,-6}, {28,2,-6}, {28,2,6}, {28,0,6}, {20,18,0}, {27,2,-1}, {13,2,-1}, {13,2,1}, {27,2,1}, {20,13,0}, {24,2,-2}, {16,2,-2}, {16,2,2}, {24,2,2}};
+static const uint16_t i_fire2[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,8,13,14,15,16,17,13,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,26,31,32,33,34,35,31,36,37,38,39,40,41,42,43,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,44,49,50,51,52,53,49};
+static const MFace f_fire2[] = {{0,4,-127,0,0,0,0,0x4E463C}, {4,4,127,0,0,0,0,0x4E463C}, {8,4,0,0,127,0,0,0x4E463C}, {12,4,0,-127,0,0,0,0x4E463C}, {16,4,0,127,0,0,0,0x4E463C}, {20,3,0,6,-127,1,0,0xFF8A1E}, {23,3,0,6,127,1,0,0xFF8A1E}, {26,3,0,18,-126,1,0,0xFFD448}, {29,3,0,18,126,1,0,0xFFD448}, {32,4,-127,0,0,0,0,0x4E463C}, {36,4,127,0,0,0,0,0x4E463C}, {40,4,0,0,127,0,0,0x4E463C}, {44,4,0,-127,0,0,0,0x4E463C}, {48,4,0,127,0,0,0,0x4E463C}, {52,3,0,5,-127,1,0,0xFF8A1E}, {55,3,0,5,127,1,0,0xFF8A1E}, {58,3,0,16,-126,1,0,0xFFD448}, {61,3,0,16,126,1,0,0xFFD448}, {64,4,-127,0,0,0,0,0x4E463C}, {68,4,127,0,0,0,0,0x4E463C}, {72,4,0,0,127,0,0,0x4E463C}, {76,4,0,-127,0,0,0,0x4E463C}, {80,4,0,127,0,0,0,0x4E463C}, {84,3,0,8,-127,1,0,0xFF8A1E}, {87,3,0,8,127,1,0,0xFF8A1E}, {90,3,0,23,-125,1,0,0xFFD448}, {93,3,0,23,125,1,0,0xFFD448}};
+static const MVert v_fire3[] = {{-28,0,-6}, {-28,0,6}, {-28,2,6}, {-28,2,-6}, {-12,0,-6}, {-12,2,-6}, {-12,2,6}, {-12,0,6}, {-20,18,0}, {-13,2,-1}, {-27,2,-1}, {-27,2,1}, {-13,2,1}, {-20,14,0}, {-16,2,-2}, {-24,2,-2}, {-24,2,2}, {-16,2,2}, {-8,0,-6}, {-8,0,6}, {-8,2,6}, {-8,2,-6}, {8,0,-6}, {8,2,-6}, {8,2,6}, {8,0,6}, {0,17,0}, {7,2,-1}, {-7,2,-1}, {-7,2,1}, {7,2,1}, {0,12,0}, {4,2,-2}, {-4,2,-2}, {-4,2,2}, {4,2,2}, {12,0,-6}, {12,0,6}, {12,2,6}, {12,2,-6}, {28,0,-6}, {28,2,-6}, {28,2,6}, {28,0,6}, {20,24,0}, {27,2,-1}, {13,2,-1}, {13,2,1}, {27,2,1}, {20,18,0}, {24,2,-2}, {16,2,-2}, {16,2,2}, {24,2,2}};
+static const uint16_t i_fire3[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,8,13,14,15,16,17,13,18,19,20,21,22,23,24,25,19,25,24,20,18,22,25,19,21,20,24,23,26,27,28,29,30,26,31,32,33,34,35,31,36,37,38,39,40,41,42,43,37,43,42,38,36,40,43,37,39,38,42,41,44,45,46,47,48,44,49,50,51,52,53,49};
+static const MFace f_fire3[] = {{0,4,-127,0,0,0,0,0x4E463C}, {4,4,127,0,0,0,0,0x4E463C}, {8,4,0,0,127,0,0,0x4E463C}, {12,4,0,-127,0,0,0,0x4E463C}, {16,4,0,127,0,0,0,0x4E463C}, {20,3,0,8,-127,1,0,0xFF8A1E}, {23,3,0,8,127,1,0,0xFF8A1E}, {26,3,0,22,-125,1,0,0xFFD448}, {29,3,0,22,125,1,0,0xFFD448}, {32,4,-127,0,0,0,0,0x4E463C}, {36,4,127,0,0,0,0,0x4E463C}, {40,4,0,0,127,0,0,0x4E463C}, {44,4,0,-127,0,0,0,0x4E463C}, {48,4,0,127,0,0,0,0x4E463C}, {52,3,0,9,-127,1,0,0xFF8A1E}, {55,3,0,9,127,1,0,0xFF8A1E}, {58,3,0,25,-124,1,0,0xFFD448}, {61,3,0,25,124,1,0,0xFFD448}, {64,4,-127,0,0,0,0,0x4E463C}, {68,4,127,0,0,0,0,0x4E463C}, {72,4,0,0,127,0,0,0x4E463C}, {76,4,0,-127,0,0,0,0x4E463C}, {80,4,0,127,0,0,0,0x4E463C}, {84,3,0,6,-127,1,0,0xFF8A1E}, {87,3,0,6,127,1,0,0xFF8A1E}, {90,3,0,16,-126,1,0,0xFFD448}, {93,3,0,16,126,1,0,0xFFD448}};
+static const MVert v_coin_y[] = {{6,9,0}, {3,6,0}, {-3,6,0}, {-6,9,0}, {-6,15,0}, {-3,18,0}, {3,18,0}, {6,15,0}, {4,10,0}, {2,8,0}, {-2,8,0}, {-4,10,0}, {-4,14,0}, {-2,16,0}, {2,16,0}, {4,14,0}};
+static const uint16_t i_coin_y[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
+static const MFace f_coin_y[] = {{0,8,0,0,-127,1,0,0xC89A10}, {8,8,0,0,-127,1,0,0xFFD21E}};
+static const MVert v_coin_r[] = {{6,9,0}, {3,6,0}, {-3,6,0}, {-6,9,0}, {-6,15,0}, {-3,18,0}, {3,18,0}, {6,15,0}, {4,10,0}, {2,8,0}, {-2,8,0}, {-4,10,0}, {-4,14,0}, {-2,16,0}, {2,16,0}, {4,14,0}};
+static const uint16_t i_coin_r[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
+static const MFace f_coin_r[] = {{0,8,0,0,-127,1,0,0xA82018}, {8,8,0,0,-127,1,0,0xE4352C}};
+static const MVert v_coin_b[] = {{6,9,0}, {3,6,0}, {-3,6,0}, {-6,9,0}, {-6,15,0}, {-3,18,0}, {3,18,0}, {6,15,0}, {4,10,0}, {2,8,0}, {-2,8,0}, {-4,10,0}, {-4,14,0}, {-2,16,0}, {2,16,0}, {4,14,0}};
+static const uint16_t i_coin_b[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
+static const MFace f_coin_b[] = {{0,8,0,0,-127,1,0,0x2050B0}, {8,8,0,0,-127,1,0,0x3A78F2}};
+static const MVert v_magnet[] = {{-8,10,-2}, {-8,10,2}, {-8,24,2}, {-8,24,-2}, {-4,10,-2}, {-4,24,-2}, {-4,24,2}, {-4,10,2}, {4,10,-2}, {4,10,2}, {4,24,2}, {4,24,-2}, {8,10,-2}, {8,24,-2}, {8,24,2}, {8,10,2}, {-8,28,2}, {-8,28,-2}, {8,28,-2}, {8,28,2}, {-8,6,-2}, {-8,6,2}, {-4,6,-2}, {-4,6,2}, {4,6,-2}, {4,6,2}, {8,6,-2}, {8,6,2}};
+static const uint16_t i_magnet[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,3,2,16,17,13,18,19,14,3,17,18,13,2,14,19,16,3,13,14,2,17,16,19,18,20,21,1,0,22,4,7,23,20,0,4,22,21,23,7,1,20,22,23,21,0,1,7,4,24,25,9,8,26,12,15,27,24,8,12,26,25,27,15,9,24,26,27,25,8,9,15,12};
+static const MFace f_magnet[] = {{0,4,-127,0,0,0,0,0xD02A28}, {4,4,127,0,0,0,0,0xD02A28}, {8,4,0,0,-127,0,0,0xD02A28}, {12,4,0,0,127,0,0,0xD02A28}, {16,4,0,-127,0,0,0,0xD02A28}, {20,4,0,127,0,0,0,0xD02A28}, {24,4,-127,0,0,0,0,0xD02A28}, {28,4,127,0,0,0,0,0xD02A28}, {32,4,0,0,-127,0,0,0xD02A28}, {36,4,0,0,127,0,0,0xD02A28}, {40,4,0,-127,0,0,0,0xD02A28}, {44,4,0,127,0,0,0,0xD02A28}, {48,4,-127,0,0,0,0,0xD02A28}, {52,4,127,0,0,0,0,0xD02A28}, {56,4,0,0,-127,0,0,0xD02A28}, {60,4,0,0,127,0,0,0xD02A28}, {64,4,0,-127,0,0,0,0xD02A28}, {68,4,0,127,0,0,0,0xD02A28}, {72,4,-127,0,0,0,0,0xE0E0E0}, {76,4,127,0,0,0,0,0xE0E0E0}, {80,4,0,0,-127,0,0,0xE0E0E0}, {84,4,0,0,127,0,0,0xE0E0E0}, {88,4,0,-127,0,0,0,0xE0E0E0}, {92,4,0,127,0,0,0,0xE0E0E0}, {96,4,-127,0,0,0,0,0xE0E0E0}, {100,4,127,0,0,0,0,0xE0E0E0}, {104,4,0,0,-127,0,0,0xE0E0E0}, {108,4,0,0,127,0,0,0xE0E0E0}, {112,4,0,-127,0,0,0,0xE0E0E0}, {116,4,0,127,0,0,0,0xE0E0E0}};
+static const MVert v_invisibility[] = {{0,27,0}, {0,17,8}, {8,17,0}, {0,6,0}, {-8,17,0}, {0,17,-8}};
+static const uint16_t i_invisibility[] = {0,1,2,2,1,3,0,4,1,1,4,3,0,5,4,4,5,3,0,2,5,5,2,3};
+static const MFace f_invisibility[] = {{0,3,79,61,79,0,0,0x6CC4E8}, {3,3,79,-61,79,0,0,0x9FE8FF}, {6,3,-79,61,79,0,0,0x9FE8FF}, {9,3,-79,-61,79,0,0,0x6CC4E8}, {12,3,-79,61,-79,0,0,0x6CC4E8}, {15,3,-79,-61,-79,0,0,0x9FE8FF}, {18,3,79,61,-79,0,0,0x9FE8FF}, {21,3,79,-61,-79,0,0,0x6CC4E8}};
+static const MVert v_boost[] = {{-3,12,-10}, {-3,12,2}, {-3,20,2}, {-3,20,-10}, {3,12,-10}, {3,20,-10}, {3,20,2}, {3,12,2}, {-9,12,2}, {9,12,2}, {0,12,13}, {0,20,13}, {9,20,2}, {-9,20,2}};
+static const uint16_t i_boost[] = {0,1,2,3,4,5,6,7,0,3,5,4,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,10,11,13,8,12,11,10,9,13,12,9,8};
+static const MFace f_boost[] = {{0,4,-127,0,0,0,0,0x3FCF5F}, {4,4,127,0,0,0,0,0x3FCF5F}, {8,4,0,0,-127,0,0,0x3FCF5F}, {12,4,0,0,127,0,0,0x3FCF5F}, {16,4,0,-127,0,0,0,0x3FCF5F}, {20,4,0,127,0,0,0,0x3FCF5F}, {24,3,0,-127,0,0,0,0x56E070}, {27,3,0,127,0,0,0,0x56E070}, {30,4,-100,0,78,0,0,0x56E070}, {34,4,100,0,78,0,0,0x56E070}, {38,4,0,0,-127,0,0,0x56E070}};
+static const MVert v_coin_bonus[] = {{0,26,0}, {0,17,9}, {9,17,0}, {0,8,0}, {-9,17,0}, {0,17,-9}};
+static const uint16_t i_coin_bonus[] = {0,1,2,2,1,3,0,4,1,1,4,3,0,5,4,4,5,3,0,2,5,5,2,3};
+static const MFace f_coin_bonus[] = {{0,3,73,73,73,0,0,0xE0A818}, {3,3,73,-73,73,0,0,0xFFD21E}, {6,3,-73,73,73,0,0,0xFFD21E}, {9,3,-73,-73,73,0,0,0xE0A818}, {12,3,-73,73,-73,0,0,0xE0A818}, {15,3,-73,-73,-73,0,0,0xFFD21E}, {18,3,73,73,-73,0,0,0xFFD21E}, {21,3,73,-73,-73,0,0,0xE0A818}};
+static const MVert v_jungle_tree[] = {{-9,-280,-9}, {-9,-280,9}, {-9,104,9}, {-9,104,-9}, {9,-280,-9}, {9,104,-9}, {9,104,9}, {9,-280,9}, {-36,96,-36}, {-36,96,36}, {-36,128,36}, {-36,128,-36}, {36,96,-36}, {36,128,-36}, {36,128,36}, {36,96,36}, {-24,128,-24}, {-24,128,24}, {-24,144,24}, {-24,144,-24}, {24,128,-24}, {24,144,-24}, {24,144,24}, {24,128,24}};
+static const uint16_t i_jungle_tree[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21};
+static const MFace f_jungle_tree[] = {{0,4,-127,0,0,0,0,0x6A4A2D}, {4,4,127,0,0,0,0,0x6A4A2D}, {8,4,0,0,127,0,0,0x6A4A2D}, {12,4,0,-127,0,0,0,0x6A4A2D}, {16,4,0,127,0,0,0,0x6A4A2D}, {20,4,-127,0,0,0,0,0x3A6B2C}, {24,4,127,0,0,0,0,0x3A6B2C}, {28,4,0,0,-127,0,0,0x3A6B2C}, {32,4,0,0,127,0,0,0x447A34}, {36,4,0,-127,0,0,0,0x3A6B2C}, {40,4,0,127,0,0,0,0x3A6B2C}, {44,4,-127,0,0,0,0,0x2F5A26}, {48,4,127,0,0,0,0,0x2F5A26}, {52,4,0,0,-127,0,0,0x2F5A26}, {56,4,0,0,127,0,0,0x4F8A3C}, {60,4,0,-127,0,0,0,0x2F5A26}, {64,4,0,127,0,0,0,0x2F5A26}};
+static const MVert v_jungle_tree_far[] = {{-36,96,-36}, {-36,96,36}, {-36,128,36}, {-36,128,-36}, {36,96,-36}, {36,128,-36}, {36,128,36}, {36,96,36}, {-9,-160,-9}, {-9,-160,9}, {-9,96,9}, {-9,96,-9}, {9,-160,-9}, {9,96,-9}, {9,96,9}, {9,-160,9}};
+static const uint16_t i_jungle_tree_far[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15};
+static const MFace f_jungle_tree_far[] = {{0,4,-127,0,0,0,0,0x3A6B2C}, {4,4,127,0,0,0,0,0x3A6B2C}, {8,4,0,0,127,0,0,0x447A34}, {12,4,0,-127,0,0,0,0x3A6B2C}, {16,4,0,127,0,0,0,0x3A6B2C}, {20,4,-127,0,0,0,0,0x6A4A2D}, {24,4,127,0,0,0,0,0x6A4A2D}};
+static const MVert v_jungle_tall[] = {{-9,-280,-9}, {-9,-280,9}, {-9,176,9}, {-9,176,-9}, {9,-280,-9}, {9,176,-9}, {9,176,9}, {9,-280,9}, {-36,168,-36}, {-36,168,36}, {-36,200,36}, {-36,200,-36}, {36,168,-36}, {36,200,-36}, {36,200,36}, {36,168,36}, {-24,200,-24}, {-24,200,24}, {-24,216,24}, {-24,216,-24}, {24,200,-24}, {24,216,-24}, {24,216,24}, {24,200,24}};
+static const uint16_t i_jungle_tall[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13,16,17,18,19,20,21,22,23,16,19,21,20,17,23,22,18,16,20,23,17,19,18,22,21};
+static const MFace f_jungle_tall[] = {{0,4,-127,0,0,0,0,0x6A4A2D}, {4,4,127,0,0,0,0,0x6A4A2D}, {8,4,0,0,127,0,0,0x6A4A2D}, {12,4,0,-127,0,0,0,0x6A4A2D}, {16,4,0,127,0,0,0,0x6A4A2D}, {20,4,-127,0,0,0,0,0x3A6B2C}, {24,4,127,0,0,0,0,0x3A6B2C}, {28,4,0,0,-127,0,0,0x3A6B2C}, {32,4,0,0,127,0,0,0x447A34}, {36,4,0,-127,0,0,0,0x3A6B2C}, {40,4,0,127,0,0,0,0x3A6B2C}, {44,4,-127,0,0,0,0,0x2F5A26}, {48,4,127,0,0,0,0,0x2F5A26}, {52,4,0,0,-127,0,0,0x2F5A26}, {56,4,0,0,127,0,0,0x4F8A3C}, {60,4,0,-127,0,0,0,0x2F5A26}, {64,4,0,127,0,0,0,0x2F5A26}};
+static const MVert v_jungle_tall_far[] = {{-36,168,-36}, {-36,168,36}, {-36,200,36}, {-36,200,-36}, {36,168,-36}, {36,200,-36}, {36,200,36}, {36,168,36}, {-9,-160,-9}, {-9,-160,9}, {-9,168,9}, {-9,168,-9}, {9,-160,-9}, {9,168,-9}, {9,168,9}, {9,-160,9}};
+static const uint16_t i_jungle_tall_far[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15};
+static const MFace f_jungle_tall_far[] = {{0,4,-127,0,0,0,0,0x3A6B2C}, {4,4,127,0,0,0,0,0x3A6B2C}, {8,4,0,0,127,0,0,0x447A34}, {12,4,0,-127,0,0,0,0x3A6B2C}, {16,4,0,127,0,0,0,0x3A6B2C}, {20,4,-127,0,0,0,0,0x6A4A2D}, {24,4,127,0,0,0,0,0x6A4A2D}};
+static const MVert v_pillar[] = {{-12,-200,-12}, {-12,-200,12}, {-12,56,12}, {-12,56,-12}, {12,-200,-12}, {12,56,-12}, {12,56,12}, {12,-200,12}, {-16,56,-16}, {-16,56,16}, {-16,66,16}, {-16,66,-16}, {16,56,-16}, {16,66,-16}, {16,66,16}, {16,56,16}};
+static const uint16_t i_pillar[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,8,11,13,12,9,15,14,10,8,12,15,9,11,10,14,13};
+static const MFace f_pillar[] = {{0,4,-127,0,0,0,0,0x8E7F66}, {4,4,127,0,0,0,0,0x8E7F66}, {8,4,0,0,127,0,0,0x9E8F74}, {12,4,0,-127,0,0,0,0x8E7F66}, {16,4,0,127,0,0,0,0x8E7F66}, {20,4,-127,0,0,0,0,0x9E8F74}, {24,4,127,0,0,0,0,0x9E8F74}, {28,4,0,0,-127,0,0,0x9E8F74}, {32,4,0,0,127,0,0,0x9E8F74}, {36,4,0,-127,0,0,0,0x9E8F74}, {40,4,0,127,0,0,0,0x9E8F74}};
+static const MVert v_cliff_wall[] = {{-76,80,-120}, {-76,80,120}, {-60,0,120}, {-60,0,-120}, {-136,80,-120}, {-136,80,120}};
+static const uint16_t i_cliff_wall[] = {0,1,2,3,4,5,1,0};
+static const MFace f_cliff_wall[] = {{0,4,125,25,0,0,0,0x8A8274}, {4,4,0,127,0,0,0,0x56743A}};
+static const MVert v_temple[] = {{-136,-160,-200}, {-136,-160,-120}, {-136,184,-120}, {-136,184,-200}, {136,-160,-200}, {136,184,-200}, {136,184,-120}, {136,-160,-120}, {-36,0,-120}, {36,0,-120}, {36,80,-120}, {-36,80,-120}, {-104,184,-184}, {-104,184,-136}, {-104,232,-136}, {-104,232,-184}, {104,184,-184}, {104,232,-184}, {104,232,-136}, {104,184,-136}};
+static const uint16_t i_temple[] = {0,1,2,3,4,5,6,7,1,7,6,2,0,4,7,1,3,2,6,5,8,9,10,11,12,13,14,15,16,17,18,19,13,19,18,14,12,16,19,13,15,14,18,17};
+static const MFace f_temple[] = {{0,4,-127,0,0,0,0,0x8A7A5E}, {4,4,127,0,0,0,0,0x8A7A5E}, {8,4,0,0,127,0,0,0x6F7F4A}, {12,4,0,-127,0,0,0,0x8A7A5E}, {16,4,0,127,0,0,0,0x8A7A5E}, {20,4,0,0,127,0,0,0x221C16}, {24,4,-127,0,0,0,0,0x7C6C52}, {28,4,127,0,0,0,0,0x7C6C52}, {32,4,0,0,127,0,0,0x7C6C52}, {36,4,0,-127,0,0,0,0x7C6C52}, {40,4,0,127,0,0,0,0x7C6C52}};
+
+const Mesh meshes[M_COUNT] = {
+ {v_runner_run0, i_runner_run0, f_runner_run0, 69, -1, 10.3f},
+ {v_runner_run1, i_runner_run1, f_runner_run1, 69, -1, 10.0f},
+ {v_runner_run2, i_runner_run2, f_runner_run2, 69, -1, 10.3f},
+ {v_runner_run3, i_runner_run3, f_runner_run3, 69, -1, 10.0f},
+ {v_runner_jump, i_runner_jump, f_runner_jump, 69, -1, 10.8f},
+ {v_runner_slide, i_runner_slide, f_runner_slide, 36, -1, 6.3f},
+ {v_runner_stumble, i_runner_stumble, f_runner_stumble, 69, -1, 9.8f},
+ {v_runner_fall, i_runner_fall, f_runner_fall, 69, -1, 11.5f},
+ {v_runner_down, i_runner_down, f_runner_down, 18, -1, 9.1f},
+ {v_pursuer_run0, i_pursuer_run0, f_pursuer_run0, 51, -1, 9.0f},
+ {v_pursuer_run1, i_pursuer_run1, f_pursuer_run1, 51, -1, 8.7f},
+ {v_pursuer_run2, i_pursuer_run2, f_pursuer_run2, 51, -1, 9.0f},
+ {v_pursuer_run3, i_pursuer_run3, f_pursuer_run3, 51, -1, 8.7f},
+ {v_temple_straight, i_temple_straight, f_temple_straight, 18, M_TEMPLE_STRAIGHT_FAR, 53.1f},
+ {v_temple_straight_far, i_temple_straight_far, f_temple_straight_far, 3, -1, 40.2f},
+ {v_temple_hole, i_temple_hole, f_temple_hole, 28, M_TEMPLE_HOLE_FAR, 53.1f},
+ {v_temple_hole_far, i_temple_hole_far, f_temple_hole_far, 4, -1, 40.2f},
+ {v_temple_hole_long, i_temple_hole_long, f_temple_hole_long, 28, M_TEMPLE_HOLE_LONG_FAR, 53.1f},
+ {v_temple_hole_long_far, i_temple_hole_long_far, f_temple_hole_long_far, 4, -1, 40.2f},
+ {v_temple_narrow_l, i_temple_narrow_l, f_temple_narrow_l, 17, M_TEMPLE_NARROW_L_FAR, 53.1f},
+ {v_temple_narrow_l_far, i_temple_narrow_l_far, f_temple_narrow_l_far, 1, -1, 32.1f},
+ {v_temple_narrow_r, i_temple_narrow_r, f_temple_narrow_r, 17, M_TEMPLE_NARROW_R_FAR, 53.1f},
+ {v_temple_narrow_r_far, i_temple_narrow_r_far, f_temple_narrow_r_far, 1, -1, 32.1f},
+ {v_temple_corner_l, i_temple_corner_l, f_temple_corner_l, 30, M_TEMPLE_CORNER_L_FAR, 53.1f},
+ {v_temple_corner_l_far, i_temple_corner_l_far, f_temple_corner_l_far, 2, -1, 32.1f},
+ {v_temple_corner_r, i_temple_corner_r, f_temple_corner_r, 30, M_TEMPLE_CORNER_R_FAR, 53.1f},
+ {v_temple_corner_r_far, i_temple_corner_r_far, f_temple_corner_r_far, 2, -1, 32.1f},
+ {v_temple_t, i_temple_t, f_temple_t, 38, M_TEMPLE_T_FAR, 53.1f},
+ {v_temple_t_far, i_temple_t_far, f_temple_t_far, 2, -1, 32.1f},
+ {v_temple_step_up, i_temple_step_up, f_temple_step_up, 20, M_TEMPLE_STEP_UP_FAR, 53.1f},
+ {v_temple_step_up_far, i_temple_step_up_far, f_temple_step_up_far, 1, -1, 35.5f},
+ {v_temple_step_down, i_temple_step_down, f_temple_step_down, 15, M_TEMPLE_STEP_DOWN_FAR, 53.1f},
+ {v_temple_step_down_far, i_temple_step_down_far, f_temple_step_down_far, 1, -1, 34.3f},
+ {v_plank_straight, i_plank_straight, f_plank_straight, 58, M_PLANK_STRAIGHT_FAR, 53.1f},
+ {v_plank_straight_far, i_plank_straight_far, f_plank_straight_far, 3, -1, 40.2f},
+ {v_plank_hole, i_plank_hole, f_plank_hole, 108, M_PLANK_HOLE_FAR, 53.1f},
+ {v_plank_hole_far, i_plank_hole_far, f_plank_hole_far, 4, -1, 40.2f},
+ {v_plank_hole_long, i_plank_hole_long, f_plank_hole_long, 108, M_PLANK_HOLE_LONG_FAR, 53.1f},
+ {v_plank_hole_long_far, i_plank_hole_long_far, f_plank_hole_long_far, 4, -1, 40.2f},
+ {v_plank_narrow_l, i_plank_narrow_l, f_plank_narrow_l, 37, M_PLANK_NARROW_L_FAR, 53.1f},
+ {v_plank_narrow_l_far, i_plank_narrow_l_far, f_plank_narrow_l_far, 1, -1, 32.1f},
+ {v_plank_narrow_r, i_plank_narrow_r, f_plank_narrow_r, 37, M_PLANK_NARROW_R_FAR, 53.1f},
+ {v_plank_narrow_r_far, i_plank_narrow_r_far, f_plank_narrow_r_far, 1, -1, 32.1f},
+ {v_plank_corner_l, i_plank_corner_l, f_plank_corner_l, 110, M_PLANK_CORNER_L_FAR, 53.1f},
+ {v_plank_corner_l_far, i_plank_corner_l_far, f_plank_corner_l_far, 2, -1, 32.1f},
+ {v_plank_corner_r, i_plank_corner_r, f_plank_corner_r, 110, M_PLANK_CORNER_R_FAR, 53.1f},
+ {v_plank_corner_r_far, i_plank_corner_r_far, f_plank_corner_r_far, 2, -1, 32.1f},
+ {v_plank_t, i_plank_t, f_plank_t, 138, M_PLANK_T_FAR, 53.1f},
+ {v_plank_t_far, i_plank_t_far, f_plank_t_far, 2, -1, 32.1f},
+ {v_plank_step_up, i_plank_step_up, f_plank_step_up, 20, M_PLANK_STEP_UP_FAR, 53.1f},
+ {v_plank_step_up_far, i_plank_step_up_far, f_plank_step_up_far, 1, -1, 35.5f},
+ {v_plank_step_down, i_plank_step_down, f_plank_step_down, 15, M_PLANK_STEP_DOWN_FAR, 53.1f},
+ {v_plank_step_down_far, i_plank_step_down_far, f_plank_step_down_far, 1, -1, 34.3f},
+ {v_cliff_straight, i_cliff_straight, f_cliff_straight, 18, M_CLIFF_STRAIGHT_FAR, 53.1f},
+ {v_cliff_straight_far, i_cliff_straight_far, f_cliff_straight_far, 3, -1, 40.2f},
+ {v_cliff_hole, i_cliff_hole, f_cliff_hole, 28, M_CLIFF_HOLE_FAR, 53.1f},
+ {v_cliff_hole_far, i_cliff_hole_far, f_cliff_hole_far, 4, -1, 40.2f},
+ {v_cliff_hole_long, i_cliff_hole_long, f_cliff_hole_long, 28, M_CLIFF_HOLE_LONG_FAR, 53.1f},
+ {v_cliff_hole_long_far, i_cliff_hole_long_far, f_cliff_hole_long_far, 4, -1, 40.2f},
+ {v_cliff_narrow_l, i_cliff_narrow_l, f_cliff_narrow_l, 17, M_CLIFF_NARROW_L_FAR, 53.1f},
+ {v_cliff_narrow_l_far, i_cliff_narrow_l_far, f_cliff_narrow_l_far, 1, -1, 32.1f},
+ {v_cliff_narrow_r, i_cliff_narrow_r, f_cliff_narrow_r, 17, M_CLIFF_NARROW_R_FAR, 53.1f},
+ {v_cliff_narrow_r_far, i_cliff_narrow_r_far, f_cliff_narrow_r_far, 1, -1, 32.1f},
+ {v_cliff_corner_l, i_cliff_corner_l, f_cliff_corner_l, 30, M_CLIFF_CORNER_L_FAR, 53.1f},
+ {v_cliff_corner_l_far, i_cliff_corner_l_far, f_cliff_corner_l_far, 2, -1, 32.1f},
+ {v_cliff_corner_r, i_cliff_corner_r, f_cliff_corner_r, 30, M_CLIFF_CORNER_R_FAR, 53.1f},
+ {v_cliff_corner_r_far, i_cliff_corner_r_far, f_cliff_corner_r_far, 2, -1, 32.1f},
+ {v_cliff_t, i_cliff_t, f_cliff_t, 38, M_CLIFF_T_FAR, 53.1f},
+ {v_cliff_t_far, i_cliff_t_far, f_cliff_t_far, 2, -1, 32.1f},
+ {v_cliff_step_up, i_cliff_step_up, f_cliff_step_up, 20, M_CLIFF_STEP_UP_FAR, 53.1f},
+ {v_cliff_step_up_far, i_cliff_step_up_far, f_cliff_step_up_far, 1, -1, 35.5f},
+ {v_cliff_step_down, i_cliff_step_down, f_cliff_step_down, 15, M_CLIFF_STEP_DOWN_FAR, 53.1f},
+ {v_cliff_step_down_far, i_cliff_step_down_far, f_cliff_step_down_far, 1, -1, 34.3f},
+ {v_root_low, i_root_low, f_root_low, 15, -1, 10.7f},
+ {v_tree_jump, i_tree_jump, f_tree_jump, 15, -1, 15.5f},
+ {v_branch_slide, i_branch_slide, f_branch_slide, 34, -1, 16.0f},
+ {v_fire0, i_fire0, f_fire0, 27, -1, 7.8f},
+ {v_fire1, i_fire1, f_fire1, 27, -1, 8.1f},
+ {v_fire2, i_fire2, f_fire2, 27, -1, 7.9f},
+ {v_fire3, i_fire3, f_fire3, 27, -1, 8.3f},
+ {v_coin_y, i_coin_y, f_coin_y, 2, -1, 5.1f},
+ {v_coin_r, i_coin_r, f_coin_r, 2, -1, 5.1f},
+ {v_coin_b, i_coin_b, f_coin_b, 2, -1, 5.1f},
+ {v_magnet, i_magnet, f_magnet, 30, -1, 7.8f},
+ {v_invisibility, i_invisibility, f_invisibility, 8, -1, 7.2f},
+ {v_boost, i_boost, f_boost, 11, -1, 6.5f},
+ {v_coin_bonus, i_coin_bonus, f_coin_bonus, 8, -1, 7.0f},
+ {v_jungle_tree, i_jungle_tree, f_jungle_tree, 17, M_JUNGLE_TREE_FAR, 70.6f},
+ {v_jungle_tree_far, i_jungle_tree_far, f_jungle_tree_far, 7, -1, 40.6f},
+ {v_jungle_tall, i_jungle_tall, f_jungle_tall, 17, M_JUNGLE_TALL_FAR, 70.6f},
+ {v_jungle_tall_far, i_jungle_tall_far, f_jungle_tall_far, 7, -1, 52.1f},
+ {v_pillar, i_pillar, f_pillar, 11, -1, 50.7f},
+ {v_cliff_wall, i_cliff_wall, f_cliff_wall, 2, -1, 50.1f},
+ {v_temple, i_temple, f_temple, 11, -1, 79.0f},
+};
diff --git a/games/templerun/src/data.h b/games/templerun/src/data.h
new file mode 100644
index 00000000..10bc2d78
--- /dev/null
+++ b/games/templerun/src/data.h
@@ -0,0 +1,104 @@
+/* Temple Run: the mesh numbers (data.c, made by tools/models.py). */
+#ifndef TR_DATA_H
+#define TR_DATA_H
+#include "models.h"
+#include "r3d.h"
+
+enum {
+ M_RUNNER_RUN0,
+ M_RUNNER_RUN1,
+ M_RUNNER_RUN2,
+ M_RUNNER_RUN3,
+ M_RUNNER_JUMP,
+ M_RUNNER_SLIDE,
+ M_RUNNER_STUMBLE,
+ M_RUNNER_FALL,
+ M_RUNNER_DOWN,
+ M_PURSUER_RUN0,
+ M_PURSUER_RUN1,
+ M_PURSUER_RUN2,
+ M_PURSUER_RUN3,
+ M_TEMPLE_STRAIGHT,
+ M_TEMPLE_STRAIGHT_FAR,
+ M_TEMPLE_HOLE,
+ M_TEMPLE_HOLE_FAR,
+ M_TEMPLE_HOLE_LONG,
+ M_TEMPLE_HOLE_LONG_FAR,
+ M_TEMPLE_NARROW_L,
+ M_TEMPLE_NARROW_L_FAR,
+ M_TEMPLE_NARROW_R,
+ M_TEMPLE_NARROW_R_FAR,
+ M_TEMPLE_CORNER_L,
+ M_TEMPLE_CORNER_L_FAR,
+ M_TEMPLE_CORNER_R,
+ M_TEMPLE_CORNER_R_FAR,
+ M_TEMPLE_T,
+ M_TEMPLE_T_FAR,
+ M_TEMPLE_STEP_UP,
+ M_TEMPLE_STEP_UP_FAR,
+ M_TEMPLE_STEP_DOWN,
+ M_TEMPLE_STEP_DOWN_FAR,
+ M_PLANK_STRAIGHT,
+ M_PLANK_STRAIGHT_FAR,
+ M_PLANK_HOLE,
+ M_PLANK_HOLE_FAR,
+ M_PLANK_HOLE_LONG,
+ M_PLANK_HOLE_LONG_FAR,
+ M_PLANK_NARROW_L,
+ M_PLANK_NARROW_L_FAR,
+ M_PLANK_NARROW_R,
+ M_PLANK_NARROW_R_FAR,
+ M_PLANK_CORNER_L,
+ M_PLANK_CORNER_L_FAR,
+ M_PLANK_CORNER_R,
+ M_PLANK_CORNER_R_FAR,
+ M_PLANK_T,
+ M_PLANK_T_FAR,
+ M_PLANK_STEP_UP,
+ M_PLANK_STEP_UP_FAR,
+ M_PLANK_STEP_DOWN,
+ M_PLANK_STEP_DOWN_FAR,
+ M_CLIFF_STRAIGHT,
+ M_CLIFF_STRAIGHT_FAR,
+ M_CLIFF_HOLE,
+ M_CLIFF_HOLE_FAR,
+ M_CLIFF_HOLE_LONG,
+ M_CLIFF_HOLE_LONG_FAR,
+ M_CLIFF_NARROW_L,
+ M_CLIFF_NARROW_L_FAR,
+ M_CLIFF_NARROW_R,
+ M_CLIFF_NARROW_R_FAR,
+ M_CLIFF_CORNER_L,
+ M_CLIFF_CORNER_L_FAR,
+ M_CLIFF_CORNER_R,
+ M_CLIFF_CORNER_R_FAR,
+ M_CLIFF_T,
+ M_CLIFF_T_FAR,
+ M_CLIFF_STEP_UP,
+ M_CLIFF_STEP_UP_FAR,
+ M_CLIFF_STEP_DOWN,
+ M_CLIFF_STEP_DOWN_FAR,
+ M_ROOT_LOW,
+ M_TREE_JUMP,
+ M_BRANCH_SLIDE,
+ M_FIRE0,
+ M_FIRE1,
+ M_FIRE2,
+ M_FIRE3,
+ M_COIN_Y,
+ M_COIN_R,
+ M_COIN_B,
+ M_MAGNET,
+ M_INVISIBILITY,
+ M_BOOST,
+ M_COIN_BONUS,
+ M_JUNGLE_TREE,
+ M_JUNGLE_TREE_FAR,
+ M_JUNGLE_TALL,
+ M_JUNGLE_TALL_FAR,
+ M_PILLAR,
+ M_CLIFF_WALL,
+ M_TEMPLE,
+ M_COUNT
+};
+#endif
diff --git a/games/templerun/src/draw.c b/games/templerun/src/draw.c
new file mode 100644
index 00000000..ac13d62d
--- /dev/null
+++ b/games/templerun/src/draw.c
@@ -0,0 +1,209 @@
+#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);
+}
diff --git a/games/templerun/src/draw.h b/games/templerun/src/draw.h
new file mode 100644
index 00000000..05a6f617
--- /dev/null
+++ b/games/templerun/src/draw.h
@@ -0,0 +1,29 @@
+/* Temple Run: flat drawing over the band being drawn (r3d.h): boxes, round boxes, discs,
+ * polygons, text with an outline. 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);
+#endif
diff --git a/games/templerun/src/game.c b/games/templerun/src/game.c
new file mode 100644
index 00000000..bfb7b067
--- /dev/null
+++ b/games/templerun/src/game.c
@@ -0,0 +1,918 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os")
+#endif
+/* The run (game.h): the path laid ahead tile by tile as the game lays it, the runner's speed, jumps, slides,
+ * stumbles and turns, the pursuers, coins and power-ups, the score, the objectives. Every number is the
+ * game's (Temple Run for Android 1.0.8), in its units; a step is a 60th of a second. */
+#include <string.h>
+#include "game.h"
+#include "plat.h"
+
+Progress pg;
+Runner pl;
+RunStats run;
+Tile path[NTILES];
+int path_first, path_count;
+Tile stub[2][NSTUB];
+bool stub_on;
+Fly fly[NFLY];
+Pursuer pursuers[NPURSUERS];
+bool pursuers_on;
+
+#define DT (1.0f / 60.0f)
+#define START_V 100.0f
+#define MAX_V 210.0f
+#define GRAVITY 250.0f
+#define AHEAD 16 /* tiles laid ahead of the runner */
+#define BEHIND 4
+#define BOX 1.75f /* the runner's half width; it is 9.59 tall (sliding: 4) */
+
+static const int8_t DX[4] = {0, 1, 0, -1}, DZ[4] = {1, 0, -1, 0};
+static const float LEVEL_Y[TH_COUNT] = {0, -15, 15};
+
+static inline float fabsf_(float x) { return x < 0 ? -x : x; }
+static inline float minf(float a, float b) { return a < b ? a : b; }
+static inline float maxf(float a, float b) { return a > b ? a : b; }
+static int rnd(int n) { return n > 1 ? (int)(plat_random() % (uint32_t)n) : 0; }
+static float sqrtf_(float x) {
+ if (x <= 0) return 0;
+ float r = x > 1 ? x : 1;
+ for (int i = 0; i < 12; i++) r = 0.5f * (r + x / r);
+ return r;
+}
+
+/* ---------------------------------------------------------------- laying the path */
+static struct {
+ int main_dir; /* the path never heads back against this */
+ int since_turn, since_obstacle, back_to_back, since_coins, since_bonus;
+ int theme, want_theme;
+ int coin_left, coin_layout, coin_kind;
+ float since_level, since_section;
+ bool fast;
+ /* by distance (the game's pacing) */
+ int gap_coins, gap_turns, gap_obs;
+ float dbl;
+ bool branches, fire, narrows;
+ float level_temple, level_other, turn_section;
+ float red_at, blue_at;
+} gen;
+
+float game_tile_cx(const Tile *t) { return t->gx * TILE; }
+float game_tile_cz(const Tile *t) { return t->gz * TILE; }
+
+static int exit_dir(const Tile *t) {
+ if (t->kind == PK_CORNER_L) return (t->dir + 3) & 3;
+ if (t->kind == PK_CORNER_R) return (t->dir + 1) & 3;
+ return t->dir;
+}
+
+static float exit_y(const Tile *t) {
+ return t->y + (t->kind == PK_STEP_UP ? 15.0f : t->kind == PK_STEP_DOWN ? -15.0f : 0.0f);
+}
+
+static bool is_turn(const Tile *t) { return t->kind == PK_CORNER_L || t->kind == PK_CORNER_R || t->kind == PK_T; }
+
+static void push_tile(const Tile *t) {
+ if (path_count == NTILES) {
+ path_first = (path_first + 1) % NTILES;
+ path_count--;
+ pl.tile--;
+ }
+ path[(path_first + path_count) % NTILES] = *t;
+ path_count++;
+}
+
+static void pacing(void) {
+ float d = run.dist;
+ if (d < 250) gen.gap_coins = 12, gen.gap_turns = 12, gen.gap_obs = 6, gen.dbl = 0;
+ else if (d < 500) gen.gap_coins = 10, gen.gap_turns = 10, gen.gap_obs = 5, gen.dbl = 0;
+ else if (d < 1000) gen.gap_coins = 9, gen.gap_turns = 8, gen.gap_obs = 4, gen.dbl = 0.05f;
+ else if (d < 1500) gen.gap_coins = 8, gen.gap_turns = 6, gen.gap_obs = 4, gen.dbl = 0.05f;
+ else if (d < 2000) gen.gap_coins = 7, gen.gap_turns = 5, gen.gap_obs = 3, gen.dbl = 0.1f;
+ else if (d < 3250) gen.gap_coins = 6, gen.gap_turns = 4, gen.gap_obs = 3, gen.dbl = 0.15f;
+ else if (d < 4500) gen.gap_coins = 6, gen.gap_turns = 3, gen.gap_obs = 3, gen.dbl = 0.175f;
+ else gen.gap_coins = 6, gen.gap_turns = 2, gen.gap_obs = 2, gen.dbl = 0.2f;
+ gen.branches = gen.fire = d >= 500;
+ gen.narrows = d >= 1500;
+ if (d >= 3250) gen.level_temple = 375, gen.level_other = 300, gen.turn_section = 750;
+ else if (d >= 1000) gen.level_temple = 450, gen.level_other = 250, gen.turn_section = 850;
+ else gen.level_temple = 500, gen.level_other = 200, gen.turn_section = 1000;
+ if (gen.fast) {
+ gen.gap_turns = (int)(gen.gap_turns * 0.65f);
+ if (gen.gap_turns < 2) gen.gap_turns = 2;
+ gen.gap_coins = 0;
+ }
+}
+
+static void coin_value_level(void) {
+ static const float red[6] = {1e9f, 1500, 1000, 1000, 1000, 1000}, blue[6] = {1e9f, 1e9f, 1e9f, 3000, 2500, 2000};
+ int l = pg.up[UP_COIN_VALUE] > 5 ? 5 : pg.up[UP_COIN_VALUE];
+ gen.red_at = red[l], gen.blue_at = blue[l];
+}
+
+static void change_level(void) {
+ if (gen.theme == TH_PLANK) gen.want_theme = TH_TEMPLE;
+ else if (gen.theme == TH_TEMPLE) gen.want_theme = rnd(2) == 0 ? TH_PLANK : TH_CLIFF;
+ else gen.want_theme = rnd(2) != 0 ? TH_PLANK : TH_TEMPLE;
+}
+
+static void scenery(Tile *t) {
+ t->scenery = 0;
+ if (t->kind != PK_STRAIGHT && t->kind != PK_HOLE && t->kind != PK_HOLE_LONG) return;
+ if (t->theme != TH_CLIFF && rnd(10) < 3) t->scenery |= 1;
+ if (rnd(10) < 3) t->scenery |= 2;
+ if (rnd(3) == 0) t->scenery |= 4;
+ if (t->theme == TH_TEMPLE && rnd(6) == 0) t->scenery |= 8;
+}
+
+static void coins_for(Tile *t) {
+ t->coin = COIN_NONE, t->coins = 0;
+ if (t->kind == PK_STEP_UP || t->kind == PK_STEP_DOWN || t->item) return;
+ if (gen.coin_left <= 0) {
+ if (gen.since_coins < gen.gap_coins) return;
+ gen.coin_left = 1 + rnd(3);
+ static const uint8_t layouts[6] = {COIN_CENTRE, COIN_CENTRE, COIN_LEFT, COIN_RIGHT, COIN_SLANT_L, COIN_SLANT_R};
+ gen.coin_layout = layouts[rnd(6)];
+ uint8_t kinds[3] = {1, 0, 0};
+ int n = 1;
+ if (run.dist >= gen.red_at) kinds[n++] = 2;
+ if (run.dist >= gen.blue_at) kinds[n++] = 3;
+ gen.coin_kind = kinds[rnd(n)];
+ }
+ gen.coin_left--;
+ gen.since_coins = 0;
+ if (t->ob == OB_BRANCH || t->kind == PK_NARROW_L || t->kind == PK_NARROW_R) return;
+ t->coin_kind = (uint8_t)gen.coin_kind;
+ if (t->ob != OB_NONE || t->kind == PK_HOLE || t->kind == PK_HOLE_LONG) t->coin = COIN_ARC;
+ else if (is_turn(t)) t->coin = COIN_CENTRE;
+ else t->coin = (uint8_t)gen.coin_layout;
+ t->coins = t->kind == PK_T ? 0x07 : 0x1F;
+}
+
+/* the next tile after the last (false: the last is a junction not yet taken) */
+static bool lay(void) {
+ const Tile *last = tile_at(path_count - 1);
+ if (last->kind == PK_T) return false;
+ int dir = exit_dir(last);
+ Tile t;
+ memset(&t, 0, sizeof t);
+ t.gx = (int16_t)(last->gx + DX[dir]), t.gz = (int16_t)(last->gz + DZ[dir]);
+ t.dir = (uint8_t)dir, t.y = exit_y(last), t.kind = PK_STRAIGHT, t.theme = (uint8_t)gen.theme;
+ gen.since_turn++, gen.since_obstacle++, gen.since_coins++, gen.since_bonus++;
+ if (gen.want_theme != gen.theme) {
+ /* a change of place: up or down the steps between them, on a quiet stretch */
+ if (gen.since_turn > 2 && gen.since_obstacle > 2) {
+ float wy = LEVEL_Y[gen.want_theme];
+ if (wy > t.y + 1) t.kind = PK_STEP_UP;
+ else if (wy < t.y - 1) t.kind = PK_STEP_DOWN;
+ if (fabsf_(exit_y(&t) - wy) < 1) gen.theme = gen.want_theme;
+ }
+ scenery(&t);
+ push_tile(&t);
+ gen.back_to_back = 0;
+ return true;
+ }
+ bool can_turn = gen.since_turn >= gen.gap_turns;
+ bool can_obs = gen.since_turn != 1 && gen.back_to_back < 2 &&
+ (gen.since_obstacle >= gen.gap_obs || (float)rnd(1000) < 1000.0f * gen.dbl);
+ uint8_t cand[8];
+ int n = 0;
+ cand[n++] = PK_STRAIGHT;
+ if (can_turn) {
+ int rel = (dir - gen.main_dir) & 3;
+ if (rel == 0) cand[n++] = PK_CORNER_L, cand[n++] = PK_CORNER_R, cand[n++] = PK_T;
+ else if (rel == 1) cand[n++] = PK_CORNER_L;
+ else cand[n++] = PK_CORNER_R;
+ }
+ if (can_obs) {
+ if (rnd(2)) cand[n++] = run.dist >= 500 && rnd(2) ? PK_HOLE_LONG : PK_HOLE;
+ if (gen.fire && gen.theme != TH_CLIFF && rnd(2)) cand[n++] = 100; /* (fire) */
+ if (gen.narrows && gen.theme == TH_TEMPLE && gen.since_turn >= 2 && rnd(2)) cand[n++] = rnd(2) ? PK_NARROW_L : PK_NARROW_R;
+ }
+ int k = cand[rnd(n)];
+ if (k == 100) t.kind = PK_STRAIGHT, t.ob = OB_FIRE;
+ else t.kind = (uint8_t)k;
+ if (t.kind == PK_STRAIGHT && t.ob == OB_NONE && can_obs && rnd(2)) {
+ uint8_t obs[3];
+ int m = 0;
+ if (gen.theme == TH_TEMPLE) obs[m++] = OB_ROOT, obs[m++] = OB_TREE;
+ if (gen.branches && gen.theme != TH_PLANK) obs[m++] = OB_BRANCH;
+ if (m) t.ob = obs[rnd(m)];
+ }
+ bool obstacle = t.ob != OB_NONE || t.kind == PK_HOLE || t.kind == PK_HOLE_LONG || t.kind == PK_NARROW_L ||
+ t.kind == PK_NARROW_R;
+ if (is_turn(&t)) gen.since_turn = 0;
+ if (obstacle) gen.since_obstacle = 0, gen.back_to_back++;
+ else gen.back_to_back = 0;
+ /* a power-up, now and then, where nothing else is */
+ if (!obstacle && t.kind == PK_STRAIGHT && gen.since_bonus >= 50 && pl.since_power >= 15 && rnd(2)) {
+ uint8_t items[4];
+ int m = 0;
+ if (pg.up[UP_COIN_BONUS]) items[m++] = IT_COIN_BONUS;
+ if (pg.up[UP_INVISIBILITY]) items[m++] = IT_INVISIBILITY;
+ if (pg.up[UP_MAGNET]) items[m++] = IT_MAGNET;
+ if (pg.up[UP_BOOST]) items[m++] = IT_BOOST;
+ if (m) t.item = items[rnd(m)], gen.since_bonus = 0;
+ }
+ coins_for(&t);
+ scenery(&t);
+ push_tile(&t);
+ if (t.kind == PK_T) {
+ /* its two ways, plain, until one is taken */
+ for (int s = 0; s < 2; s++) {
+ int d = (dir + (s ? 1 : 3)) & 3;
+ for (int i = 0; i < NSTUB; i++) {
+ Tile *u = &stub[s][i];
+ memset(u, 0, sizeof *u);
+ u->gx = (int16_t)(t.gx + DX[d] * (i + 1)), u->gz = (int16_t)(t.gz + DZ[d] * (i + 1));
+ u->dir = (uint8_t)d, u->kind = PK_STRAIGHT, u->theme = t.theme, u->y = t.y;
+ scenery(u);
+ }
+ }
+ stub_on = true;
+ }
+ return true;
+}
+
+static void lay_ahead(void) {
+ while (path_count - 1 - pl.tile < AHEAD && lay()) {
+ }
+}
+
+/* ---------------------------------------------------------------- the floor */
+static bool on_floor(const Tile *t, float a, float s, float *h) {
+ float as = fabsf_(s), aa = fabsf_(a);
+ *h = t->y;
+ switch (t->kind) {
+ case PK_HOLE: return as <= HALF_W && aa >= 10;
+ case PK_HOLE_LONG: return as <= HALF_W && aa >= 17;
+ case PK_NARROW_L: return (s >= -HALF_W && s <= -2) || (as <= HALF_W && aa >= 26);
+ case PK_NARROW_R: return (s >= 2 && s <= HALF_W) || (as <= HALF_W && aa >= 26);
+ case PK_CORNER_R: return (as <= HALF_W && a <= HALF_W) || (s >= HALF_W && s <= 30 && aa <= HALF_W);
+ case PK_CORNER_L: return (as <= HALF_W && a <= HALF_W) || (s <= -HALF_W && s >= -30 && aa <= HALF_W);
+ case PK_T: return (as <= HALF_W && a <= -HALF_W) || (aa <= HALF_W && as <= 30);
+ case PK_STEP_UP:
+ case PK_STEP_DOWN: {
+ int i = (int)((a + 30) / 12);
+ if (i < 0) i = 0;
+ if (i > 4) i = 4;
+ *h = t->y + (t->kind == PK_STEP_UP ? 3.0f * (float)(i + 1) : -3.0f * (float)i);
+ return as <= HALF_W;
+ }
+ default: return as <= HALF_W;
+ }
+}
+
+static void local(const Tile *t, float x, float z, float *a, float *s) {
+ float dx = x - game_tile_cx(t), dz = z - game_tile_cz(t);
+ *a = dx * DX[t->dir] + dz * DZ[t->dir];
+ *s = dx * DZ[t->dir] - dz * DX[t->dir];
+}
+
+static const Tile *find_tile(int gx, int gz) {
+ for (int i = path_count - 1; i >= 0; i--) {
+ const Tile *t = tile_at(i);
+ if (t->gx == gx && t->gz == gz) return t;
+ }
+ if (stub_on)
+ for (int s = 0; s < 2; s++)
+ for (int i = 0; i < NSTUB; i++)
+ if (stub[s][i].gx == gx && stub[s][i].gz == gz) return &stub[s][i];
+ return NULL;
+}
+
+static int round_(float v) { return (int)(v >= 0 ? v + 0.5f : v - 0.5f); }
+
+bool game_floor(float x, float z, float *y, const Tile **found) {
+ const Tile *t = find_tile(round_(x / TILE), round_(z / TILE));
+ if (found) *found = t;
+ if (!t) return false;
+ float a, s;
+ local(t, x, z, &a, &s);
+ return on_floor(t, a, s, y);
+}
+
+bool game_coin_pos(const Tile *t, int k, float *x, float *y, float *z) {
+ if (t->coin == COIN_NONE || !(t->coins >> k & 1)) return false;
+ float a = -25 + 12.5f * (float)k, s = 0, h = 0;
+ switch (t->coin) {
+ case COIN_LEFT: s = -6; break;
+ case COIN_RIGHT: s = 6; break;
+ case COIN_SLANT_L: s = 6 - 3.0f * (float)k; break;
+ case COIN_SLANT_R: s = -6 + 3.0f * (float)k; break;
+ case COIN_ARC: h = 10 * (1 - (a / 30) * (a / 30)); break;
+ default: break;
+ }
+ if (is_turn(t) && k >= 3) {
+ a = 0;
+ s = (t->kind == PK_CORNER_L ? -12.5f : 12.5f) * (float)(k - 2);
+ }
+ int d = t->dir;
+ *x = game_tile_cx(t) + a * DX[d] + s * DZ[d];
+ *z = game_tile_cz(t) + a * DZ[d] - s * DX[d];
+ *y = t->y + h;
+ return true;
+}
+
+/* ---------------------------------------------------------------- the pursuers' trail */
+#define NTRAIL 128
+static struct {
+ float x, y, z;
+} trail[NTRAIL];
+static int trail_n, trail_head;
+static float trail_gap; /* the runner's distance since the last point */
+
+static void trail_add(void) {
+ trail_head = (trail_head + 1) % NTRAIL;
+ trail[trail_head].x = pl.x, trail[trail_head].y = pl.ground, trail[trail_head].z = pl.z;
+ if (trail_n < NTRAIL) trail_n++;
+}
+
+/* the point of the trail d behind the runner, and the way it goes there */
+static void trail_back(float d, float *x, float *y, float *z, float *yaw) {
+ float px = pl.x, py = pl.ground, pz = pl.z;
+ float fx = (float)DX[pl.dir], fz = (float)DZ[pl.dir];
+ for (int i = 0; i < trail_n; i++) {
+ const int k = (trail_head - i + NTRAIL) % NTRAIL;
+ float dx = trail[k].x - px, dz = trail[k].z - pz, l = sqrtf_(dx * dx + dz * dz);
+ if (l >= d && l > 0.01f) {
+ float f = d / l;
+ *x = px + dx * f, *z = pz + dz * f, *y = py + (trail[k].y - py) * f;
+ fx = -dx / l, fz = -dz / l;
+ goto done;
+ }
+ if (l > 0.01f) fx = -dx / l, fz = -dz / l;
+ d -= l;
+ px = trail[k].x, py = trail[k].y, pz = trail[k].z;
+ }
+ *x = px - fx * d, *y = py, *z = pz - fz * d;
+done:
+ *yaw = fx == 0 && fz == 0 ? 0 : (fabsf_(fx) > fabsf_(fz) ? (fx > 0 ? 1.5708f : -1.5708f) : (fz > 0 ? 0 : 3.14159f));
+ /* (smooth across a corner) */
+ if (fabsf_(fx) > 0.05f && fabsf_(fz) > 0.05f) {
+ float a = fabsf_(fx) / (fabsf_(fx) + fabsf_(fz));
+ float y0 = fz > 0 ? 0 : 3.14159f, y1 = fx > 0 ? 1.5708f : -1.5708f;
+ if (y0 > 3 && y1 < 0) y1 += 6.28318f;
+ *yaw = y0 + (y1 - y0) * a;
+ }
+}
+
+static void pursue(void) {
+ float t = pl.stumble_timer, behind;
+ if (pl.dead && pl.death == DEATH_CAUGHT) behind = maxf(3.0f, 9 - pl.t_dead * 12);
+ else if (t < 10) behind = 9 + 14 * t / 10;
+ else behind = 23 + 60 * (t - 10);
+ pursuers_on = behind < 70 && !(pl.dead && pl.death == DEATH_FALL);
+ static const float side[NPURSUERS] = {0, -4.5f, 4.5f}, back[NPURSUERS] = {0, 4, 3};
+ for (int i = 0; i < NPURSUERS; i++) {
+ Pursuer *p = &pursuers[i];
+ float x, y, z, yaw;
+ trail_back(behind + back[i], &x, &y, &z, &yaw);
+ float c = 1, s = 0;
+ if (yaw > 1 && yaw < 2) c = 0, s = -1;
+ else if (yaw < -1) c = 0, s = 1;
+ else if (yaw > 2) c = -1, s = 0;
+ p->x = x + side[i] * c, p->z = z + side[i] * s, p->y = y, p->yaw = yaw;
+ p->phase += DT * (pl.dead ? 2.0f : pl.v / 14.0f);
+ }
+}
+
+/* ---------------------------------------------------------------- the runner */
+static void add_score(uint32_t n) { run.score += n * pg.multiplier; }
+
+static void add_coins(uint32_t n) {
+ run.coins += n;
+ run.bonus_coins += n;
+ if (run.bonus_coins >= 100) {
+ add_score(500);
+ run.bonus_level++;
+ run.bonus_coins -= 100;
+ }
+}
+
+static void used_powers(void) {
+ if (!run.used_powers) run.used_powers = true, run.score_before_powers = run.score;
+}
+
+static float power_len[5]; /* the running power-ups' full times (for the bar) */
+
+static void start_invisibility(float d) {
+ pl.invis = d;
+ power_len[IT_INVISIBILITY] = d;
+ pl.since_power = 0;
+}
+
+static void start_boost(float dist, bool mega) {
+ bool had = pl.boost;
+ pl.boost = true, pl.mega = mega;
+ if (!had) {
+ pl.v_before_boost = mega ? MAX_V : pl.v;
+ start_invisibility(4);
+ }
+ pl.boost_left = dist + 50;
+ power_len[IT_BOOST] = pl.boost_left;
+ pl.since_power = 0;
+ pl.stumble_timer += 10;
+ used_powers();
+}
+
+static void die(int how);
+
+static void stumble(void) {
+ if (pl.stumble_timer < 10) {
+ die(DEATH_CAUGHT);
+ return;
+ }
+ pl.v *= 0.85f;
+ pl.stumbling = true, pl.t_stumble = 0;
+ pl.stumble_len = minf(pl.v * 0.005f, 0.5f);
+ pl.stumble_timer = 0;
+ run.since_trip = 0;
+ run.stumbles++;
+}
+
+static void jump(void) {
+ if (pl.jumping || pl.stumbling || pl.falling || !pl.on_ground) return;
+ pl.vy = pl.v < 80 ? 80 : pl.v > 100 ? 100 : pl.v;
+ pl.jumping = true, pl.sliding = false, pl.on_ground = false;
+}
+
+static void slide(void) {
+ if (pl.sliding || pl.jumping || pl.falling) return;
+ pl.sliding = true, pl.t_slide = 0;
+ pl.slide_len = minf(pl.v * 0.007f, 0.75f);
+}
+
+/* the wings bring it back on the next quiet tile ahead (false: none near) */
+static bool resurrect(void) {
+ for (int i = pl.tile + 1; i < path_count && i <= pl.tile + 10; i++) {
+ const Tile *t = tile_at(i);
+ if (t->kind != PK_STRAIGHT || t->ob != OB_NONE) continue;
+ pl.x = game_tile_cx(t) - 20 * DX[t->dir], pl.z = game_tile_cz(t) - 20 * DZ[t->dir];
+ pl.y = pl.ground = t->y, pl.vy = 0, pl.dir = t->dir, pl.tile = i;
+ pl.death_v = pl.v > START_V ? pl.v : 0;
+ pl.v = START_V;
+ pl.jumping = pl.falling = pl.sliding = pl.stumbling = false;
+ pl.on_ground = pl.over = true;
+ pl.wings = 0, pl.wings_recharge = 45, pl.stumble_timer = 10;
+ run.saved++;
+ trail_n = 0;
+ used_powers();
+ return true;
+ }
+ return false;
+}
+
+static void die(int how) {
+#ifdef TR_PERF
+ (void)how; /* (measuring the frame rate on a long run: nothing ends it) */
+ return;
+#endif
+ if (pl.dead) return;
+ if (pl.wings > 0 && resurrect()) return;
+ pl.dead = true, pl.death = how, pl.t_dead = 0;
+ pl.v = 0;
+ if (how != DEATH_FALL) pl.vy = 0;
+}
+
+/* pressed Left or Right: turn at the next corner (if it is reached within a second) */
+static void try_turn(void) {
+ const Tile *t = tile_at(pl.tile);
+ if (!is_turn(t) || (t->hit & 2) || t->dir != pl.dir) return;
+ float dx = pl.x - game_tile_cx(t), dz = pl.z - game_tile_cz(t);
+ float r = pl.ground > 7.5f ? 6.5f : 10.0f;
+ if (dx * dx + dz * dz > r * r) return;
+ int want = pl.turn_wish;
+#ifdef TR_PERF
+ if (true)
+#else
+ if (pl.boost)
+#endif
+ want = t->kind == PK_CORNER_L ? -1 : t->kind == PK_CORNER_R ? 1 : (rnd(2) ? 1 : -1);
+ if (!want) return;
+ if ((want < 0 && t->kind == PK_CORNER_R) || (want > 0 && t->kind == PK_CORNER_L)) return;
+ pl.dir = (uint8_t)((pl.dir + (want > 0 ? 1 : 3)) & 3);
+ pl.turn_wish = 0;
+ run.turns++;
+ tile_at(pl.tile)->hit |= 2;
+ if (t->kind == PK_T) {
+ for (int i = 0; i < NSTUB; i++) push_tile(&stub[want > 0][i]);
+ stub_on = false;
+ gen.since_turn = 0;
+ lay_ahead();
+ }
+}
+
+static void follow_tile(void) {
+ for (int i = pl.tile - 1; i <= pl.tile + 2 && i < path_count; i++) {
+ if (i < 0) continue;
+ const Tile *t = tile_at(i);
+ if (t->gx == round_(pl.x / TILE) && t->gz == round_(pl.z / TILE)) {
+ pl.tile = i;
+ break;
+ }
+ }
+ while (pl.tile > BEHIND) {
+ path_first = (path_first + 1) % NTILES;
+ path_count--;
+ pl.tile--;
+ }
+ lay_ahead();
+}
+
+static void obstacles(float a0, float a1) {
+ Tile *t = tile_at(pl.tile);
+ if (t->ob == OB_NONE || (t->hit & 1)) return;
+ float lo = minf(a0, a1), hi = maxf(a0, a1);
+ static const float depth[5] = {0, 0.9f, 1.8f, 1.3f, 1.4f};
+ float d = depth[t->ob] + BOX;
+ if (hi < -d || lo > d) return;
+ float feet = pl.y - t->y, top = feet + (pl.sliding ? 4.0f : 9.59f);
+ bool hit = false;
+ switch (t->ob) {
+ case OB_ROOT: hit = feet < 1.9f; break;
+ case OB_TREE: hit = feet < 4.2f; break;
+ case OB_BRANCH: hit = top > 5.2f && feet < 7.4f; break;
+ case OB_FIRE: hit = feet < 4.0f; break;
+ default: break;
+ }
+ if (!hit || pl.invis > 0 || pl.boost) return;
+ t->hit |= 1;
+ if (t->ob == OB_ROOT) stumble();
+ else die(t->ob == OB_TREE ? DEATH_TREE : t->ob == OB_BRANCH ? DEATH_BRANCH : DEATH_FIRE);
+}
+
+static bool box_hits(float x, float y, float z, float r) {
+ float dx = maxf(0, fabsf_(x - pl.x) - BOX), dz = maxf(0, fabsf_(z - pl.z) - BOX);
+ float dy = y < pl.y - 0.16f ? pl.y - 0.16f - y : y > pl.y + 9.59f ? y - pl.y - 9.59f : 0;
+ return dx * dx + dy * dy + dz * dz <= r * r;
+}
+
+static void collect(void) {
+ static const uint8_t value[4] = {0, 5, 10, 15};
+ int mult = 1;
+ if (pl.magnet > 0) {
+ static const uint8_t m[6] = {1, 1, 1, 2, 2, 3};
+ mult = m[pg.up[UP_MAGNET] > 5 ? 5 : pg.up[UP_MAGNET]];
+ }
+ float cy = pl.y + 4.8f;
+ for (int i = pl.tile - 1; i <= pl.tile + 3 && i < path_count; i++) {
+ if (i < 0) continue;
+ Tile *t = tile_at(i);
+ for (int k = 0; k < 5; k++) {
+ float x, y, z;
+ if (!game_coin_pos(t, k, &x, &y, &z)) continue;
+ y += 3;
+ if (box_hits(x, y, z, t->coin_kind == 1 ? 3.0f : 2.25f)) {
+ t->coins &= (uint8_t)~(1 << k);
+ add_score(value[t->coin_kind]);
+ add_coins((uint32_t)(t->coin_kind * mult));
+ continue;
+ }
+ float dx = x - pl.x, dy = y - cy, dz = z - pl.z;
+ if (pl.magnet > 0 && dx * dx + dy * dy + dz * dz <= 8100) {
+ int f = 0;
+ while (f < NFLY && fly[f].on) f++;
+ t->coins &= (uint8_t)~(1 << k);
+ if (f == NFLY) {
+ add_score(value[t->coin_kind]);
+ add_coins((uint32_t)(t->coin_kind * mult));
+ } else
+ fly[f] = (Fly){x, y, z, t->coin_kind, 1};
+ }
+ }
+ if (t->item) {
+ float x = game_tile_cx(t), z = game_tile_cz(t);
+ float r = t->item == IT_INVISIBILITY || t->item == IT_MAGNET ? 3.0f : 2.25f;
+ if (box_hits(x, t->y + 4.2f, z, r)) {
+ int it = t->item, l = pg.up[it == IT_COIN_BONUS ? UP_COIN_BONUS : it == IT_INVISIBILITY ? UP_INVISIBILITY : it == IT_MAGNET ? UP_MAGNET : UP_BOOST];
+ if (l > 5) l = 5;
+ if (l < 1) l = 1;
+ t->item = IT_NONE;
+ add_score(25);
+ used_powers();
+ if (it == IT_COIN_BONUS) {
+ static const uint8_t bonus[6] = {50, 50, 75, 100, 125, 150};
+ add_coins(bonus[l]);
+ pl.since_power = 0;
+ run.coin_bonuses++;
+ } else if (it == IT_INVISIBILITY) {
+ static const float d[6] = {15, 15, 17.5f, 20, 22.5f, 25};
+ start_invisibility(d[l]);
+ run.invisibilities++;
+ } else if (it == IT_MAGNET) {
+ static const float d[6] = {15, 15, 20, 20, 25, 25};
+ pl.magnet = d[l], power_len[IT_MAGNET] = d[l];
+ pl.since_power = 0;
+ run.magnets++;
+ } else {
+ static const float d[6] = {250, 250, 375, 500, 625, 750};
+ start_boost(d[l], false);
+ }
+ }
+ }
+ }
+ /* coins flying in */
+ for (int f = 0; f < NFLY; f++) {
+ if (!fly[f].on) continue;
+ float dx = pl.x - fly[f].x, dy = cy - fly[f].y, dz = pl.z - fly[f].z;
+ float l = sqrtf_(dx * dx + dy * dy + dz * dz), step = maxf(pl.v * 1.6f, 250) * DT;
+ if (l <= step + 3) {
+ fly[f].on = 0;
+ add_score(value[fly[f].kind]);
+ add_coins((uint32_t)(fly[f].kind * mult));
+ } else
+ fly[f].x += dx / l * step, fly[f].y += dy / l * step, fly[f].z += dz / l * step;
+ }
+}
+
+void game_new_run(void) {
+ memset(&pl, 0, sizeof pl);
+ memset(&run, 0, sizeof run);
+ memset(&gen, 0, sizeof gen);
+ memset(fly, 0, sizeof fly);
+ memset(power_len, 0, sizeof power_len);
+ if (pg.multiplier < 10) pg.multiplier = 10;
+ path_first = path_count = 0;
+ stub_on = false;
+ gen.theme = gen.want_theme = TH_TEMPLE;
+ coin_value_level();
+ pacing();
+ Tile t;
+ memset(&t, 0, sizeof t);
+ t.kind = PK_STRAIGHT;
+ push_tile(&t);
+ pl.tile = 0;
+ pl.v = START_V, pl.z = -20, pl.on_ground = pl.over = true;
+ pl.stumble_timer = 7;
+ pl.since_power = 15;
+ lay_ahead();
+ trail_n = 0, trail_head = 0, trail_gap = 0;
+ for (int i = 0; i < 40; i++) {
+ trail_add();
+ trail[trail_head].z = pl.z - (float)(40 - i);
+ }
+ pursue();
+}
+
+void game_step(uint32_t in) {
+ run.time += DT;
+ if (pl.dead) {
+ pl.t_dead += DT;
+ if (pl.death == DEATH_FALL) {
+ pl.vy -= GRAVITY * DT;
+ pl.y += pl.vy * DT;
+ }
+ pursue();
+ return;
+ }
+ /* keys */
+ if (in & (IN_LEFT | IN_RIGHT)) pl.turn_wish = in & IN_LEFT ? -1 : 1, pl.t_wish = 0;
+ if (pl.turn_wish && (pl.t_wish += DT) > 1) pl.turn_wish = 0;
+ pl.lean = in & IN_LEAN_L ? -6.0f : in & IN_LEAN_R ? 6.0f : 0.0f;
+ if (in & IN_JUMP) jump();
+ if (in & IN_SLIDE) slide();
+ if ((in & IN_WINGS) && game_wings_ok()) {
+ pg.use[USE_WINGS]--;
+ pl.wings = 30;
+ used_powers();
+ }
+ int hs = game_headstart_ok();
+ if ((in & IN_HEADSTART) && (hs & 1)) pg.use[USE_HEADSTART]--, run.headstarts++, start_boost(950 - run.dist, false);
+ else if ((in & IN_MEGA) && (hs & 2)) pg.use[USE_MEGA]--, run.headstarts++, start_boost(2350 - run.dist, true);
+ /* power-ups running out */
+ if (pl.invis > 0 && (!pl.boost || pl.boost_left < 50)) {
+ pl.invis -= DT;
+ if (pl.invis <= 0) pl.invis = 0, pl.boost = pl.mega = false;
+ }
+ if (pl.wings > 0) pl.wings = maxf(0, pl.wings - DT);
+ else if (pl.wings_recharge > 0) pl.wings_recharge = maxf(0, pl.wings_recharge - DT);
+ if (pl.magnet > 0) pl.magnet = maxf(0, pl.magnet - DT);
+ pl.since_power += DT;
+ /* speed */
+ float maxv = pl.boost ? (pl.mega ? MAX_V * 2.5f : MAX_V * 2) : MAX_V;
+ if ((pl.v < maxv || (pl.boost && pl.boost_left <= 50)) && !pl.jumping && !pl.sliding) {
+ float r = pl.v / maxv, acc;
+ if (pl.death_v > 0) {
+ acc = r < 0.5f ? 30 : r < 0.65f ? 10 : r < 0.85f ? 7.5f : 2.5f;
+ if (pl.v >= pl.death_v * 0.85f) pl.death_v = 0;
+ } else
+ acc = r < 0.5f ? 30 : r <= 0.65f ? 10 : r <= 0.85f ? 1.5f : 0.5f;
+ if (pl.boost) acc = pl.boost_left > 50 ? 150 : pl.v > pl.v_before_boost ? -150 : acc;
+ pl.v += acc * DT;
+ if (acc > 0 && pl.v > maxv) pl.v = maxv;
+ }
+ try_turn();
+ /* along, and across toward the path's middle (and the lean) */
+ const Tile *t = tile_at(pl.tile);
+ float a0, s0;
+ local(t, pl.x, pl.z, &a0, &s0);
+ float fx = (float)DX[pl.dir], fz = (float)DZ[pl.dir], rx = fz, rz = -fx;
+ pl.x += fx * pl.v * DT, pl.z += fz * pl.v * DT;
+ if (!pl.falling) {
+ float side = (pl.x - game_tile_cx(t)) * rx + (pl.z - game_tile_cz(t)) * rz;
+ float move = (pl.lean - side) * 0.1f * 50 * 1.125f * DT;
+ pl.x += rx * move, pl.z += rz * move;
+ }
+ pl.vy -= GRAVITY * DT;
+ pl.y += pl.vy * DT;
+ follow_tile();
+ t = tile_at(pl.tile);
+ float a1, s1;
+ local(t, pl.x, pl.z, &a1, &s1);
+ if (a1 - a0 > 20 || a0 - a1 > 20) a0 = a1; /* (a new tile) */
+ /* the floor */
+ float fy;
+ bool over = game_floor(pl.x, pl.z, &fy, NULL);
+#ifdef TR_PERF
+ if (!over) over = true, fy = pl.ground;
+#endif
+ if (!over && pl.boost && !pl.falling) over = true, fy = pl.ground; /* (the boost carries it over gaps) */
+ pl.over = over;
+ if (over && pl.y <= fy + 0.001f && pl.y >= fy - 4) {
+ pl.y = fy, pl.vy = 0;
+ pl.on_ground = true, pl.jumping = false, pl.falling = false;
+ pl.ground = fy;
+ } else {
+ pl.on_ground = false;
+ if (!over || pl.y < fy - 4) {
+ if (!pl.falling) pl.falling = true, pl.t_fall = 0, pl.sliding = false;
+ pl.t_fall += DT;
+ } else if (over && !pl.jumping)
+ pl.ground = fy;
+ }
+ if (pl.y < pl.ground - 40) {
+ die(DEATH_FALL);
+ if (pl.dead) return;
+ }
+ obstacles(a0, a1);
+ if (pl.dead) {
+ pursue();
+ return;
+ }
+ if (pl.sliding && (pl.t_slide += DT) > pl.slide_len) pl.sliding = false;
+ if (pl.stumbling && (pl.t_stumble += DT) > pl.stumble_len) pl.stumbling = false;
+ pl.stumble_timer += DT;
+ /* the distance, the score */
+ if (!pl.falling) {
+ float u = pl.v / 60, d = u * u / 20;
+ run.dist += d, run.dist_left += d;
+ uint32_t w = (uint32_t)run.dist_left;
+ run.dist_left -= (float)w;
+ add_score(w);
+ if (pl.boost) pl.boost_left -= d;
+ if (run.coins == 0) run.dist_no_coins = run.dist;
+ run.since_trip += d;
+ if (run.since_trip > run.dist_no_trip) run.dist_no_trip = run.since_trip;
+ gen.since_level += d, gen.since_section += d;
+ if (gen.since_level > (gen.theme == TH_TEMPLE ? gen.level_temple : gen.level_other)) {
+ gen.since_level = 0;
+ if (rnd(4) <= 2 && gen.want_theme == gen.theme) change_level();
+ }
+ if ((!gen.fast && gen.since_section > gen.turn_section) || (gen.fast && gen.since_section > 100)) {
+ gen.since_section = 0;
+ if (rnd(4) <= 2) gen.fast = !gen.fast;
+ }
+ pacing();
+ }
+ collect();
+ pl.anim += DT * pl.v / 22.0f;
+ trail_gap += pl.v * DT;
+ if (trail_gap >= 2) trail_gap = 0, trail_add();
+ pursue();
+}
+
+int game_headstart_ok(void) {
+ if (pl.dead || pl.boost || run.dist < 25 || run.dist > 100) return 0;
+ return (pg.use[USE_HEADSTART] ? 1 : 0) | (pg.use[USE_MEGA] ? 2 : 0);
+}
+
+bool game_wings_ok(void) {
+ return !pl.dead && !pl.falling && pl.wings <= 0 && pl.wings_recharge <= 0 && pg.use[USE_WINGS] > 0;
+}
+
+bool game_over(void) { return pl.dead && pl.t_dead > 1.6f; }
+
+float game_power_left(int *kind) {
+ *kind = IT_NONE;
+ if (pl.boost && pl.boost_left > 50 && power_len[IT_BOOST] > 0) {
+ *kind = IT_BOOST;
+ return maxf(0, (pl.boost_left - 50) / (power_len[IT_BOOST] - 50));
+ }
+ if (pl.invis > 0 && !pl.boost && power_len[IT_INVISIBILITY] > 0) {
+ *kind = IT_INVISIBILITY;
+ return pl.invis / power_len[IT_INVISIBILITY];
+ }
+ if (pl.magnet > 0 && power_len[IT_MAGNET] > 0) {
+ *kind = IT_MAGNET;
+ return pl.magnet / power_len[IT_MAGNET];
+ }
+ return 0;
+}
+
+/* ---------------------------------------------------------------- the store */
+uint32_t game_up_price(int up) {
+ static const uint16_t price[UP_MAX] = {250, 1000, 2500, 5000, 7500};
+ return pg.up[up] < UP_MAX ? price[pg.up[up]] : 0;
+}
+
+uint32_t game_use_price(int use) {
+ static const uint16_t price[USE_COUNT] = {500, 2500, 10000};
+ return price[use];
+}
+
+/* ---------------------------------------------------------------- objectives (the game's, in its order) */
+enum { O_DIST, O_COINS, O_SCORE, O_DIST_NOCOIN, O_SAVED, O_UPGRADE, O_HEADSTART, O_NOTRIP, O_SCORE_NOPOWERS,
+ O_RUNS, O_LIFE_COINS, O_LIFE_DIST, O_MAGNETS, O_BONUSES, O_INVIS };
+static const struct {
+ uint8_t kind;
+ uint32_t n;
+} objs[NOBJ] = {
+ {O_DIST, 500}, {O_COINS, 100}, {O_SCORE, 25000}, {O_DIST, 1000}, {O_DIST_NOCOIN, 500}, {O_COINS, 250},
+ {O_SCORE, 50000}, {O_DIST, 2500}, {O_COINS, 500}, {O_SAVED, 1}, {O_UPGRADE, 1}, {O_SCORE, 100000},
+ {O_COINS, 750}, {O_HEADSTART, 1}, {O_NOTRIP, 2500}, {O_DIST_NOCOIN, 1000}, {O_DIST, 5000}, {O_NOTRIP, 5000},
+ {O_SCORE, 250000}, {O_SAVED, 2}, {O_COINS, 1000}, {O_SCORE, 500000}, {O_UPGRADE, 5}, {O_SCORE, 1000000},
+ {O_COINS, 2500}, {O_DIST, 10000}, {O_COINS, 5000}, {O_SCORE, 2500000}, {O_SCORE, 5000000},
+ {O_SCORE_NOPOWERS, 1000000}, {O_SCORE, 10000000}, {O_RUNS, 1000}, {O_LIFE_COINS, 100000},
+ {O_LIFE_DIST, 100000}, {O_RUNS, 5000}, {O_LIFE_COINS, 500000}, {O_LIFE_DIST, 1000000}, {O_MAGNETS, 5},
+ {O_BONUSES, 5}, {O_INVIS, 5},
+};
+
+static char *put_num(char *p, uint32_t n) {
+ char b[16];
+ int k = 0, g = 0;
+ do {
+ if (g == 3) b[k++] = ',', g = 0;
+ b[k++] = (char)('0' + n % 10), n /= 10, g++;
+ } while (n);
+ while (k) *p++ = b[--k];
+ return p;
+}
+
+static char *put(char *p, const char *s) {
+ while (*s) *p++ = *s++;
+ return p;
+}
+
+const char *game_obj_text(int i) {
+ static char b[48];
+ char *p = b;
+ uint32_t n = objs[i].n;
+ switch (objs[i].kind) {
+ case O_DIST: p = put(put_num(put(p, "Run "), n), " m"); break;
+ case O_COINS: p = put(put_num(put(p, "Collect "), n), " coins"); break;
+ case O_SCORE: p = put_num(put(p, "Score "), n); break;
+ case O_DIST_NOCOIN: p = put(put_num(put(p, "Run "), n), " m with no coins"); break;
+ case O_SAVED: p = put(p, n > 1 ? "Be saved twice in a run" : "Be saved by the wings"); break;
+ case O_UPGRADE: p = put(p, n > 1 ? "Fully upgrade a power-up" : "Buy an upgrade"); break;
+ case O_HEADSTART: p = put(p, "Use a head start"); break;
+ case O_NOTRIP: p = put(put_num(put(p, "Run "), n), " m without tripping"); break;
+ case O_SCORE_NOPOWERS: p = put(put_num(put(p, "Score "), n), " without powers"); break;
+ case O_RUNS: p = put(put_num(put(p, "Play "), n), " runs"); break;
+ case O_LIFE_COINS: p = put(put_num(put(p, "Collect "), n), " coins in all"); break;
+ case O_LIFE_DIST: p = put(put_num(put(p, "Run "), n), " m in all"); break;
+ case O_MAGNETS: p = put(put_num(put(p, "Pick up "), n), " coin magnets"); break;
+ case O_BONUSES: p = put(put_num(put(p, "Pick up "), n), " coin bonuses"); break;
+ default: p = put(put_num(put(p, "Pick up "), n), " invisibilities"); break;
+ }
+ *p = 0;
+ return b;
+}
+
+bool game_obj_done(int i) { return pg.done[i >> 5] >> (i & 31) & 1; }
+
+static bool met(int i) {
+ uint32_t n = objs[i].n;
+ int best_up = 0;
+ for (int k = 0; k < UP_COUNT; k++)
+ if (pg.up[k] > best_up) best_up = pg.up[k];
+ switch (objs[i].kind) {
+ case O_DIST: return run.dist >= (float)n;
+ case O_COINS: return run.coins >= n;
+ case O_SCORE: return run.score >= n;
+ case O_DIST_NOCOIN: return run.dist_no_coins >= (float)n;
+ case O_SAVED: return run.saved >= (int)n;
+ case O_UPGRADE: return best_up >= (int)n;
+ case O_HEADSTART: return run.headstarts >= (int)n;
+ case O_NOTRIP: return run.dist_no_trip >= (float)n;
+ case O_SCORE_NOPOWERS: return (run.used_powers ? run.score_before_powers : run.score) >= n;
+ case O_RUNS: return pg.runs >= n;
+ case O_LIFE_COINS: return pg.life_coins >= n;
+ case O_LIFE_DIST: return pg.life_dist >= n;
+ case O_MAGNETS: return run.magnets >= (int)n;
+ case O_BONUSES: return run.coin_bonuses >= (int)n;
+ default: return run.invisibilities >= (int)n;
+ }
+}
+
+int game_award(int *out, int max) {
+ int n = 0;
+ for (int i = 0; i < NOBJ; i++)
+ if (!game_obj_done(i) && met(i)) {
+ pg.done[i >> 5] |= 1u << (i & 31);
+ if (pg.multiplier < 255) pg.multiplier++;
+ if (n < max) out[n] = i;
+ n++;
+ }
+ return n < max ? n : max;
+}
diff --git a/games/templerun/src/game.h b/games/templerun/src/game.h
new file mode 100644
index 00000000..ec674a5c
--- /dev/null
+++ b/games/templerun/src/game.h
@@ -0,0 +1,139 @@
+/* Temple Run: the run (game.c) - the path, the runner, the pursuers, coins and power-ups - and the progress
+ * kept between runs. The numbers are the game's own (its Android version 1.0.8), in its units: a path tile
+ * is 60 across, the runner 9.6 tall, speeds in units a second. */
+#ifndef TR_GAME_H
+#define TR_GAME_H
+#include <stdbool.h>
+#include <stdint.h>
+
+#define TILE 60.0f
+#define HALF_W 10.0f /* half the walkway */
+#define NTILES 40 /* the path kept: behind, under and ahead of the runner */
+#define NSTUB 2 /* a junction's two ways, this many tiles each, until one is taken */
+
+enum { TH_TEMPLE, TH_PLANK, TH_CLIFF, TH_COUNT };
+enum { PK_STRAIGHT, PK_HOLE, PK_HOLE_LONG, PK_NARROW_L, PK_NARROW_R, PK_CORNER_L, PK_CORNER_R, PK_T, PK_STEP_UP,
+ PK_STEP_DOWN, PK_COUNT };
+enum { OB_NONE, OB_ROOT, OB_TREE, OB_BRANCH, OB_FIRE };
+enum { IT_NONE, IT_COIN_BONUS, IT_INVISIBILITY, IT_MAGNET, IT_BOOST };
+enum { COIN_NONE, COIN_CENTRE, COIN_LEFT, COIN_RIGHT, COIN_SLANT_L, COIN_SLANT_R, COIN_ARC };
+enum { DEATH_NONE, DEATH_FALL, DEATH_TREE, DEATH_BRANCH, DEATH_FIRE, DEATH_CAUGHT };
+/* upgrades (levels 0..5) and things to use (counts) */
+enum { UP_MAGNET, UP_INVISIBILITY, UP_COIN_BONUS, UP_COIN_VALUE, UP_BOOST, UP_COUNT };
+enum { USE_WINGS, USE_HEADSTART, USE_MEGA, USE_COUNT };
+#define UP_MAX 5
+
+typedef struct {
+ int16_t gx, gz; /* its square: centre (gx, gz) x 60 */
+ uint8_t dir; /* the way the run goes into it: 0 +z, 1 +x, 2 -z, 3 -x */
+ uint8_t kind, theme, ob;
+ uint8_t coin, coin_kind; /* how its coins lie (COIN_*), and which (1 yellow, 2 red, 3 blue) */
+ uint8_t coins; /* the ones still there (bits) */
+ uint8_t item; /* a power-up at its middle (IT_*) */
+ uint8_t scenery; /* 1 a jungle tree left, 2 right, 4 a tall one, 8 a pillar */
+ uint8_t hit; /* its obstacle already hit (one stumble a root) */
+ float y; /* the floor where the run comes in */
+} Tile;
+
+typedef struct {
+ float x, y, z; /* feet */
+ float v; /* run speed */
+ float vy;
+ uint8_t dir; /* the way it runs */
+ float lean; /* -6 left, 0, 6 right: where it keeps across the path (4 and 6) */
+ float ground; /* the floor under it */
+ bool over, on_ground, jumping, falling, sliding, stumbling, dead;
+ float t_slide, slide_len, t_stumble, stumble_len, t_fall;
+ float stumble_timer; /* time since the last stumble: under 10, another one gets it caught */
+ int death;
+ float t_dead;
+ float death_v; /* its speed when it last died (it catches up after being saved) */
+ /* power-ups */
+ float invis, magnet, wings, wings_recharge;
+ bool boost, mega;
+ float boost_left, v_before_boost;
+ float since_power;
+ int turn_wish; /* -1 left, 1 right: pressed before the corner (kept 1 s) */
+ float t_wish;
+ int tile; /* the tile it is on (an index in path) */
+ float anim; /* the run cycle */
+} Runner;
+
+typedef struct {
+ uint32_t score, coins, bonus_coins, bonus_level;
+ float dist, dist_left; /* distance (the game's meters), and what is not yet in the score */
+ float dist_no_coins; /* distance before the first coin */
+ float dist_no_trip; /* the longest stretch without a stumble */
+ float since_trip;
+ uint32_t score_before_powers;
+ bool used_powers;
+ int saved; /* times the wings saved it */
+ int magnets, coin_bonuses, invisibilities, headstarts;
+ int turns, stumbles;
+ float time;
+} RunStats;
+
+/* what is kept between runs (save.c) */
+typedef struct {
+ uint32_t coins, best, best_dist, runs;
+ uint32_t life_coins, life_dist;
+ uint8_t up[UP_COUNT];
+ uint8_t help; /* how to play seen */
+ uint8_t multiplier; /* the score multiplier: 10, one more an objective */
+ uint16_t use[USE_COUNT];
+ uint16_t pad;
+ uint32_t done[2]; /* objectives done (bits) */
+} Progress;
+
+extern Progress pg;
+extern Runner pl;
+extern RunStats run;
+extern Tile path[NTILES];
+extern int path_first, path_count; /* the oldest tile, and how many */
+extern Tile stub[2][NSTUB]; /* a junction's ways, left [0] and right [1], until one is taken */
+extern bool stub_on;
+
+/* coins flying to the runner (the coin magnet) */
+#define NFLY 24
+typedef struct {
+ float x, y, z;
+ uint8_t kind, on;
+} Fly;
+extern Fly fly[NFLY];
+
+/* the pursuers: where each one is (feet) and the way it faces (radians), whether they are seen */
+typedef struct {
+ float x, y, z, yaw, phase;
+} Pursuer;
+#define NPURSUERS 3
+extern Pursuer pursuers[NPURSUERS];
+extern bool pursuers_on;
+
+static inline Tile *tile_at(int i) { return &path[(path_first + i) % NTILES]; }
+void game_new_run(void);
+/* a 60th of a second: keys held (lean) and pressed (turn, jump, slide) */
+enum { IN_LEFT = 1, IN_RIGHT = 2, IN_JUMP = 4, IN_SLIDE = 8, IN_LEAN_L = 16, IN_LEAN_R = 32, IN_WINGS = 64,
+ IN_HEADSTART = 128, IN_MEGA = 256 };
+void game_step(uint32_t in);
+/* the floor at a world point (false: none there); *t: the tile found (or NULL) */
+bool game_floor(float x, float z, float *y, const Tile **t);
+/* where a tile's coin k is (world), false if it has none there */
+bool game_coin_pos(const Tile *t, int k, float *x, float *y, float *z);
+float game_tile_cx(const Tile *t);
+float game_tile_cz(const Tile *t);
+/* can a head start be used now, which (1 head start, 3 mega: bits) */
+int game_headstart_ok(void);
+bool game_wings_ok(void);
+/* the run is over (dead, and its fall or catch seen): the results can be shown */
+bool game_over(void);
+/* upgrades: the price of the next level (0: all done) */
+uint32_t game_up_price(int up);
+uint32_t game_use_price(int use);
+/* objectives */
+#define NOBJ 40
+const char *game_obj_text(int i);
+bool game_obj_done(int i);
+/* after a run: the objectives it met (their numbers into out, how many) */
+int game_award(int *out, int max);
+float game_power_left(int *kind); /* the running power-up's time left (0..1) and which (IT_*) */
+#endif
diff --git a/games/templerun/src/icon.png b/games/templerun/src/icon.png
new file mode 100644
index 00000000..c0b1c161
Binary files /dev/null and b/games/templerun/src/icon.png differ
diff --git a/games/templerun/src/main.c b/games/templerun/src/main.c
new file mode 100644
index 00000000..c1cddc23
--- /dev/null
+++ b/games/templerun/src/main.c
@@ -0,0 +1,56 @@
+#if defined(__GNUC__) && !defined(__clang__)
+#pragma GCC optimize("Os")
+#endif
+/* Temple Run for the NumWorks calculator.
+ *
+ * Inspired by Temple Run by Imangi Studios (its rules and numbers), 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"))) = "Temple Run";
+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);
+ /* the renderer's lists: the RAM after the game's own data */
+ extern char _heap_start[], _heap_end[];
+ uintptr_t heap = ((uintptr_t)_heap_start + 7) & ~(uintptr_t)7;
+ if ((uintptr_t)_heap_end < heap + r_work_size()) return 1;
+ r_init((void *)heap);
+ 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/templerun/src/models.h b/games/templerun/src/models.h
new file mode 100644
index 00000000..6935461c
--- /dev/null
+++ b/games/templerun/src/models.h
@@ -0,0 +1,38 @@
+/* Temple Run: the mesh table (data.c, made by tools/models.py).
+ *
+ * Every model the game draws is a Mesh here, by number (data.h: M_RUNNER_RUN0, M_PATH_STRAIGHT...).
+ * The game code only asks for a mesh by its number and where to put it, so the art can be made
+ * again (tools/models.py, or another tool that writes the same table) without touching it.
+ *
+ * Model space: game units x 4 (x right, y up, z ahead along the run; a path tile is 60 units, its
+ * centre at the origin, its floor at y = 0). Faces are convex polygons, their corners clockwise
+ * seen from the front, each with one colour and its normal. */
+#ifndef TR_MODELS_H
+#define TR_MODELS_H
+#include <stdint.h>
+
+typedef struct {
+ int16_t x, y, z;
+} MVert;
+
+typedef struct {
+ uint16_t first; /* its corners: idx[first .. first + n) */
+ uint8_t n;
+ int8_t nx, ny, nz; /* its normal x 127 */
+ uint8_t flags; /* 1: two-sided */
+ uint8_t pad;
+ uint32_t rgb;
+} MFace;
+
+typedef struct {
+ const MVert *v;
+ const uint16_t *idx;
+ const MFace *f;
+ uint16_t nf;
+ int16_t far; /* the mesh drawn instead beyond MESH_FAR units (-1: this one) */
+ float r; /* the radius round its origin everything lies in (units) */
+} Mesh;
+
+#define MESH_FAR 330.0f
+extern const Mesh meshes[];
+#endif
diff --git a/games/templerun/src/plat.h b/games/templerun/src/plat.h
new file mode 100644
index 00000000..44bcbd5c
--- /dev/null
+++ b/games/templerun/src/plat.h
@@ -0,0 +1,44 @@
+/* Temple Run: 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 TR_PLAT_H
+#define TR_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, /* the arrows: turn */
+ K_UP = 1 << 2, K_DOWN = 1 << 3, /* Up or 8: jump; Down or 2: slide */
+ K_OK = 1 << 4, /* OK, EXE, 5: the wings; confirm */
+ K_BACK = 1 << 5, /* Back, backspace: pause; back */
+ K_ONE = 1 << 6, /* 1: a head start */
+ K_THREE = 1 << 7, /* 3: a mega head start */
+ K_HOME = 1 << 8, /* Home, On/Off: save and quit */
+ K_LEAN_L = 1 << 9, K_LEAN_R = 1 << 10, /* 4 and 6: lean */
+ K_SHIFT = 1 << 11, /* shift: the arrows lean */
+ K_ANY = 1 << 12
+};
+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/templerun/src/plat_eadk.c b/games/templerun/src/plat_eadk.c
new file mode 100644
index 00000000..cb1b396e
--- /dev/null
+++ b/games/templerun/src/plat_eadk.c
@@ -0,0 +1,44 @@
+/* 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)) r |= K_LEFT;
+ if (k & KEY(eadk_key_right)) 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_four)) r |= K_LEAN_L;
+ if (k & KEY(eadk_key_six)) r |= K_LEAN_R;
+ if (k & KEY(eadk_key_shift)) r |= K_SHIFT;
+ 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/templerun/src/plat_host.c b/games/templerun/src/plat_host.c
new file mode 100644
index 00000000..f7f6cffd
--- /dev/null
+++ b/games/templerun/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/templerun/src/r3d.c b/games/templerun/src/r3d.c
new file mode 100644
index 00000000..383d6231
--- /dev/null
+++ b/games/templerun/src/r3d.c
@@ -0,0 +1,618 @@
+/* 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 1600 /* polygons a frame */
+#define MAXV 5400 /* their corners */
+#define MAXA 3600 /* corners with a light level and a place in a picture */
+#define MAXT 480 /* textured faces in perspective */
+#define MAXN 14 /* corners of a polygon once cut */
+#define SUB 8.0f /* corners are kept in 1/8 pixels */
+#define GUARD 1900.0f /* (so they may lie at most this far from the screen's middle) */
+
+enum { K_FLAT, K_SHADE, K_TEX, K_PERSP };
+
+typedef struct {
+ float a, b, c; /* its depth at (sx, sy): a sx + b sy + c */
+ uint16_t v0, at; /* its first corner, and its first corner's light and texture place */
+ uint16_t color; /* RGB565, or the texture's number */
+ uint8_t n, kind;
+ uint8_t y0, y1; /* the rows it covers */
+ uint8_t alpha; /* see-through (255: not); textured faces: their light 0..32 */
+ uint8_t extra; /* a textured face in perspective: its planes */
+} Poly;
+typedef struct {
+ int16_t x, y;
+} Pos;
+typedef uint32_t Attr; /* light (8 bits), u and v (12 bits each, 1/4 texels) */
+typedef struct {
+ float ua, ub, uc, va, vb, vc; /* u and v (in texels) times ZK / z, as planes like the depth */
+} UV;
+
+/* a corner while being cut: camera space, light, texture place */
+typedef struct {
+ float x, y, z, s, u, v;
+} CV;
+
+uint16_t *r_col;
+int r_y0, r_y1;
+Camera cam;
+float r_haze0 = 60, r_haze1 = 150, r_far = 40;
+uint32_t r_haze_rgb = 0xD8F0FF;
+
+/* the frame's lists: in the RAM after the game's own (r_init) */
+typedef struct {
+ Poly polys[MAXP];
+ uint16_t order[MAXP]; /* the see-through ones go last */
+ Pos pos[MAXV];
+ Attr attr[MAXA];
+ UV uvs[MAXT];
+ uint16_t zbuf[SCREEN_W * BAND_H] __attribute__((aligned(8)));
+} Work;
+static Work *work;
+#define polys (work->polys)
+#define order (work->order)
+#define pos (work->pos)
+#define attr (work->attr)
+#define uvs (work->uvs)
+#define zbuf (work->zbuf)
+static int npolys, nverts, nattr, nuv, nalpha;
+
+void r_set_band_memory(uint16_t *band) { r_col = band; }
+uint32_t r_work_size(void) { return sizeof(Work); }
+void r_init(void *mem) { work = (Work *)mem; }
+
+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_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;
+}
+
+#ifdef HOST
+uint16_t r_heat[SCREEN_W * SCREEN_H]; /* (pixels tried at each place, this frame) */
+#endif
+void r_begin(void) {
+ npolys = nverts = nattr = nuv = nalpha = 0;
+#ifdef HOST
+ for (int i = 0; i < SCREEN_W * SCREEN_H; i++) r_heat[i] = 0;
+#endif
+}
+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;
+}
+
+/* ---------------------------------------------------------------- cutting */
+/* keeps the part of the polygon where a x + b y + c z + d >= 0 */
+static int cut(const CV *in, int n, CV *out, float a, float b, float c, float d) {
+ int m = 0;
+ for (int i = 0, j = n - 1; i < n; j = i++) {
+ float di = a * in[i].x + b * in[i].y + c * in[i].z + d, dj = a * in[j].x + b * in[j].y + c * in[j].z + d;
+ if ((di >= 0) != (dj >= 0) && m < MAXN) {
+ float t = dj / (dj - di);
+ const CV *p = &in[j], *q = &in[i];
+ out[m++] = (CV){p->x + t * (q->x - p->x), p->y + t * (q->y - p->y), p->z + t * (q->z - p->z),
+ p->s + t * (q->s - p->s), p->u + t * (q->u - p->u), p->v + t * (q->v - p->v)};
+ }
+ if (di >= 0 && m < MAXN) out[m++] = in[i];
+ }
+ return m;
+}
+
+/* the plane through three screen points with values w: w(sx, sy) = a sx + b sy + c */
+static bool fit(const float *x, const float *y, const float *w, float *a, float *b, float *c) {
+ float x1 = x[1] - x[0], y1 = y[1] - y[0], x2 = x[2] - x[0], y2 = y[2] - y[0];
+ float det = x1 * y2 - x2 * y1;
+ if (det > -1e-3f && det < 1e-3f) return false;
+ float w1 = w[1] - w[0], w2 = w[2] - w[0];
+ *a = (w1 * y2 - w2 * y1) / det;
+ *b = (x1 * w2 - x2 * w1) / det;
+ *c = w[0] - *a * x[0] - *b * y[0];
+ return true;
+}
+
+/* projects, checks and keeps a polygon in camera space */
+static void emit(CV *p, int n, int kind, uint16_t color, int flags, int alpha, uint16_t avg) {
+ if (npolys >= MAXP || nverts + MAXN > MAXV || ((kind == K_SHADE || kind == K_TEX) && nattr + MAXN > MAXA)) return;
+ CV b1[MAXN], b2[MAXN];
+ int behind = 0;
+ for (int i = 0; i < n; i++) behind += p[i].z < NEAR;
+ if (behind == n) return;
+ if (behind) {
+ n = cut(p, n, b1, 0, 0, 1, -NEAR);
+ if (n < 3) return;
+ p = b1;
+ }
+ float sx[MAXN], sy[MAXN];
+ float f = cam.f;
+ bool wide = false;
+ for (int i = 0; i < n; i++) {
+ float k = f / p[i].z;
+ sx[i] = p[i].x * k, sy[i] = -p[i].y * k;
+ if (sx[i] > GUARD || sx[i] < -GUARD || sy[i] > GUARD || sy[i] < -GUARD) wide = true;
+ }
+ if (wide) {
+ /* far off the screen: cut at the guard band's sides */
+ float g = GUARD / f;
+ n = cut(p, n, b2, -1, 0, g, 0);
+ n = n >= 3 ? cut(b2, n, b1, 1, 0, g, 0) : 0;
+ n = n >= 3 ? cut(b1, n, b2, 0, -1, g, 0) : 0;
+ n = n >= 3 ? cut(b2, n, b1, 0, 1, g, 0) : 0;
+ if (n < 3) return;
+ p = b1;
+ for (int i = 0; i < n; i++) {
+ float k = f / p[i].z;
+ sx[i] = p[i].x * k, sy[i] = -p[i].y * k;
+ }
+ }
+ float x0 = 1e9f, x1 = -1e9f, y0 = 1e9f, y1 = -1e9f, zsum = 0;
+ for (int i = 0; i < n; i++) {
+ sx[i] += cam.cx, sy[i] += cam.cy;
+ if (sx[i] < x0) x0 = sx[i];
+ if (sx[i] > x1) x1 = sx[i];
+ if (sy[i] < y0) y0 = sy[i];
+ if (sy[i] > y1) y1 = sy[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 += sx[j] * sy[i] - sx[i] * sy[j];
+ if (area < 0.01f && !(flags & P_TWOSIDED && area < -0.01f)) return;
+ /* the depth 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 */
+ Poly *q = &polys[npolys];
+ float s = ZK / d;
+ 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;
+ float zm = zsum / (float)n;
+ q->kind = (uint8_t)kind;
+ q->extra = 0;
+ if (kind == K_PERSP) {
+ /* far off, a picture is only its average colour (color already holds it when kind comes back flat) */
+ const Texture *t = r_tex[color];
+ if (t->clear && !avg && (nuv >= MAXT || zm > r_far * 1.6f)) return; /* (a see-through one is only drawn as itself: near) */
+ if ((!t->clear && (zm > r_haze1 * 0.6f || nuv >= MAXT)) || (avg && (zm > r_far || nuv >= MAXT))) {
+ /* (the palette's first useful colour stands for it: the tool puts the average there; or the face's own) */
+ uint16_t c = avg ? avg : t->pal[t->clear ? 1 : 0];
+ uint32_t a8 = (uint32_t)(c >> 11) * 255 / 31 << 16 | (uint32_t)((c >> 5) & 63) * 255 / 63 << 8 | (uint32_t)(c & 31) * 255 / 31;
+ color = r_565(r_mix888(a8, 0, 256 - alpha * 8 > 256 ? 0 : 256 - alpha * 8));
+ kind = K_FLAT;
+ q->kind = K_FLAT;
+ alpha = 255;
+ flags &= ~P_NOHAZE;
+ if (zm > r_haze0) {
+ float h = (zm - r_haze0) / (r_haze1 - r_haze0);
+ uint32_t c8 = (uint32_t)(color >> 11) * 255 / 31 << 16 | (uint32_t)((color >> 5) & 63) * 255 / 63 << 8 | (uint32_t)(color & 31) * 255 / 31;
+ color = r_565(r_mix888(c8, r_haze_rgb, h >= 1 ? 240 : (int)(h * 240)));
+ }
+ } else {
+ /* u and v over the depth, as planes: the three corners spanning the most */
+ int best = 1;
+ float ba = 0;
+ for (int i = 1; i + 1 < n; i++) {
+ float ar = (sx[i] - sx[0]) * (sy[i + 1] - sy[0]) - (sx[i + 1] - sx[0]) * (sy[i] - sy[0]);
+ if (ar < 0) ar = -ar;
+ if (ar > ba) ba = ar, best = i;
+ }
+ float px[3] = {sx[0], sx[best], sx[best + 1]}, py[3] = {sy[0], sy[best], sy[best + 1]};
+ const CV *c3[3] = {&p[0], &p[best], &p[best + 1]};
+ float wu[3], wv[3];
+ for (int i = 0; i < 3; i++) wu[i] = c3[i]->u * ZK / c3[i]->z, wv[i] = c3[i]->v * ZK / c3[i]->z;
+ UV *u = &uvs[nuv];
+ if (!fit(px, py, wu, &u->ua, &u->ub, &u->uc) || !fit(px, py, wv, &u->va, &u->vb, &u->vc)) return;
+ q->extra = (uint8_t)nuv++;
+ }
+ }
+ if (kind == K_FLAT && !(flags & P_NOHAZE) && zm > r_haze0) {
+ float h = (zm - r_haze0) / (r_haze1 - r_haze0);
+ uint32_t c8 = (uint32_t)(color >> 11) * 255 / 31 << 16 | (uint32_t)((color >> 5) & 63) * 255 / 63 << 8 | (uint32_t)(color & 31) * 255 / 31;
+ color = r_565(r_mix888(c8, r_haze_rgb, h >= 1 ? 240 : (int)(h * 240)));
+ }
+ q->color = color;
+ q->alpha = (uint8_t)(kind == K_PERSP ? alpha : flags & P_ALPHA ? (alpha > 255 ? 255 : alpha < 0 ? 0 : alpha) : 255);
+ q->v0 = (uint16_t)nverts, q->n = (uint8_t)n;
+ for (int i = 0; i < n; i++) pos[nverts + i] = (Pos){(int16_t)(sx[i] * SUB + 0.5f), (int16_t)(sy[i] * SUB + 0.5f)};
+ if (kind == K_SHADE || kind == K_TEX) {
+ q->at = (uint16_t)nattr;
+ for (int i = 0; i < n; i++) {
+ uint32_t l = (uint32_t)(p[i].s + 0.5f), u = (uint32_t)(p[i].u + 0.5f), v = (uint32_t)(p[i].v + 0.5f);
+ attr[nattr + i] = (l > 255 ? 255 : l) | (u > 4095 ? 4095 : u) << 8 | (v > 4095 ? 4095 : v) << 20;
+ }
+ nattr += n;
+ }
+ int iy0 = y0 < 0 ? 0 : (int)(y0 + 0.5f), iy1 = y1 >= SCREEN_H ? SCREEN_H : (int)(y1 + 0.5f);
+ if (iy0 >= iy1) return;
+ q->y0 = (uint8_t)iy0, q->y1 = (uint8_t)iy1;
+ nverts += n;
+ if (q->alpha != 255 && kind != K_PERSP) nalpha++;
+ order[npolys] = (uint16_t)npolys;
+ npolys++;
+}
+
+void r_poly(const V3 *w, int n, uint32_t rgb, int flags, int alpha) {
+ if (n < 3 || n > MAXN - 4) return;
+ CV c[MAXN];
+ int far = 0;
+ for (int i = 0; i < n; i++) {
+ V3 v = r_view(w[i]);
+ c[i] = (CV){v.x, v.y, v.z, 0, 0, 0};
+ far += v.z > FAR;
+ }
+ if (far == n) return;
+ emit(c, n, K_FLAT, r_565(rgb), flags, alpha, 0);
+}
+
+void r_poly_tex(const V3 *w, const float *uv, int n, int tex, int light, int flags) { r_poly_tex_avg(w, uv, n, tex, light, flags, 0); }
+
+void r_poly_tex_avg(const V3 *w, const float *uv, int n, int tex, int light, int flags, uint16_t avg) {
+ if (n < 3 || n > MAXN - 4) return;
+ CV c[MAXN];
+ int far = 0;
+ for (int i = 0; i < n; i++) {
+ V3 v = r_view(w[i]);
+ c[i] = (CV){v.x, v.y, v.z, 0, uv[2 * i], uv[2 * i + 1]};
+ far += v.z > FAR;
+ }
+ if (far == n) return;
+ int l = light >> 3;
+ emit(c, n, K_PERSP, (uint16_t)tex, flags, l > 32 ? 32 : l < 0 ? 0 : l, avg);
+}
+
+void r_mesh(const RV *v, int nv, const Tri *t, int nt, const uint16_t *pal, int tex) {
+ for (int i = 0; i < nt; i++) {
+ const RV *a = &v[t[i].a], *b = &v[t[i].b], *c = &v[t[i].c];
+ CV p[3] = {{a->x, a->y, a->z, a->s, a->u, a->v}, {b->x, b->y, b->z, b->s, b->u, b->v}, {c->x, c->y, c->z, c->s, c->u, c->v}};
+ /* (quick: a triangle turned away is left out before anything else) */
+ if (a->z > NEAR && b->z > NEAR && c->z > NEAR) {
+ float ax = a->x / a->z, ay = a->y / a->z, bx = b->x / b->z, by = b->y / b->z, cx = c->x / c->z, cy = c->y / c->z;
+ if ((bx - ax) * (cy - ay) - (cx - ax) * (by - ay) >= 0) continue;
+ }
+ if (t[i].col == TEX_COL) emit(p, 3, K_TEX, (uint16_t)tex, 0, 255, 0);
+ else emit(p, 3, K_SHADE, pal[t[i].col], 0, 255, 0);
+ }
+ (void)nv;
+}
+
+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 */
+/* an edge crossing the band: where it starts, its slope, and its light and texture place likewise */
+typedef struct {
+ float y0, y1, x, dx, s, ds, u, du, v, dv;
+} Edge;
+
+/* texels in 16.16 (kept within reach: they repeat anyway) */
+static inline int32_t fix16(float t) {
+ if (t > 16000) t = 16000;
+ if (t < -16000) t = -16000;
+ return (int32_t)(t * 65536.0f);
+}
+
+#ifdef HOST
+uint32_t r_stat_texhole[64];
+int r_show_holes;
+uint32_t r_stat[4], r_stat_tex[64], r_stat_rows, r_stat_polys, r_stat_skips, r_stat_chunks, r_stat_written, r_stat_holes; /* (pixels tried, by kind and texture: for measuring) */
+#endif
+
+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 Pos *pp = pos + q->v0;
+ const Attr *at = q->kind == K_SHADE || q->kind == K_TEX ? attr + q->at : NULL;
+ int n = q->n;
+ /* the edges of each side (a convex polygon has a left side and a right side from its top to its bottom; which
+ * way it turns tells which edges go down which side), each side's from the top */
+ float area = 0;
+ for (int i = 0, j = n - 1; i < n; j = i++) area += (float)pp[j].x * (float)pp[i].y - (float)pp[i].x * (float)pp[j].y;
+ Edge e[2][MAXN];
+ int ne[2] = {0, 0};
+ for (int i = 0, j = n - 1; i < n; j = i++) {
+ float ay = pp[j].y * (1 / SUB), by = pp[i].y * (1 / SUB);
+ if (ay == by) continue;
+ int ka = j, kb = i;
+ bool down = by > ay;
+ if (!down) {
+ float t = ay;
+ ay = by, by = t;
+ ka = i, kb = j;
+ }
+ if (by <= (float)ya || ay >= (float)yb) continue;
+ int side = (down == (area > 0)) ? 1 : 0; /* 1: right */
+ Edge *E = &e[side][ne[side]];
+ /* (kept in order from the top) */
+ int k = ne[side]++;
+ while (k > 0 && e[side][k - 1].y0 > ay) e[side][k] = e[side][k - 1], k--;
+ E = &e[side][k];
+ float h = 1 / (by - ay), xa = pp[ka].x * (1 / SUB), xb = pp[kb].x * (1 / SUB);
+ E->y0 = ay, E->y1 = by;
+ E->dx = (xb - xa) * h, E->x = xa - ay * E->dx;
+ if (at) {
+ float sa = (float)(at[ka] & 255), sb = (float)(at[kb] & 255);
+ float ua = (float)(at[ka] >> 8 & 4095), ub = (float)(at[kb] >> 8 & 4095);
+ float va = (float)(at[ka] >> 20), vb = (float)(at[kb] >> 20);
+ E->ds = (sb - sa) * h, E->s = sa - ay * E->ds;
+ E->du = (ub - ua) * h, E->u = ua - ay * E->du;
+ E->dv = (vb - va) * h, E->v = va - ay * E->dv;
+ }
+ }
+ if (!ne[0] || !ne[1]) return;
+#ifdef HOST
+ r_stat_polys++;
+#endif
+ uint16_t col = q->color;
+ int kind = q->kind;
+ const Texture *tx = kind == K_TEX || kind == K_PERSP ? r_tex[q->color] : NULL;
+ int alpha = q->alpha >> 3;
+ float qa = q->a > 30000 ? 30000 : q->a < -30000 ? -30000 : q->a; /* (seen nearly edge-on) */
+ int32_t da = (int32_t)(qa * 65536.0f);
+ int li = 0, ri = 0;
+ for (int y = ya; y < yb; y++) {
+ float yc = (float)y + 0.5f;
+ while (li < ne[0] - 1 && yc >= e[0][li].y1) li++;
+ while (ri < ne[1] - 1 && yc >= e[1][ri].y1) ri++;
+ const Edge *L = &e[0][li], *R = &e[1][ri];
+ if (yc < L->y0 || yc >= L->y1 || yc < R->y0 || yc >= R->y1) continue;
+ float xl = L->x + yc * L->dx, xr = R->x + yc * R->dx;
+ if (xl > xr) {
+ float t = xl;
+ xl = xr, xr = t;
+ const Edge *T = L;
+ L = R, R = T;
+ }
+ 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;
+#ifdef HOST
+ r_stat_rows++;
+ r_stat[kind] += (uint32_t)(x1 - x0);
+ if (kind == K_PERSP) r_stat_tex[q->color] += (uint32_t)(x1 - x0);
+ for (int x = x0; x < x1; x++) r_heat[y * SCREEN_W + x]++;
+#endif
+ if (kind == K_FLAT) {
+ 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);
+ }
+ continue;
+ }
+ if (kind == K_PERSP) {
+ const UV *w = &uvs[q->extra];
+ const uint8_t *px = tx->px;
+ const uint16_t *pal = tx->pal;
+ /* the texel: (v >> vs & hmask) | (u >> 16 & wm), v's row already times the width */
+ uint32_t wm = (1u << tx->wl) - 1, hmask = ((1u << tx->hl) - 1) << tx->wl;
+ int vs = 16 - tx->wl, light = q->alpha;
+ bool clear = tx->clear;
+ /* u and v exactly every 16 pixels, straight lines between; a run of 16 all behind what is drawn is passed
+ * over without its texture places */
+ float fx = (float)x0 + 0.5f;
+ float qz = q->a * fx + q->b * yc + q->c, qu = w->ua * fx + w->ub * yc + w->uc, qv = w->va * fx + w->vb * yc + w->vc;
+ int32_t u = 0, v = 0;
+ bool known = false; /* u and v are those at x */
+ for (int x = x0; x < x1;) {
+ int n = x1 - x < 16 ? x1 - x : 16;
+ uint16_t *zp = zb + x, *cp = cb + x, *ze = zp + n;
+ float fn = (float)n;
+ float qz2 = qz + q->a * fn, qu2 = qu + w->ua * fn, qv2 = qv + w->va * fn;
+ /* (any pixel in front?) */
+ uint32_t zt = z;
+ uint16_t *zq = zp;
+ while (zq < ze && (uint16_t)(zt >> 16) <= *zq) zq++, zt += (uint32_t)da;
+#ifdef HOST
+ r_stat_chunks++;
+#endif
+ if (zq == ze) {
+#ifdef HOST
+ r_stat_skips++;
+#endif
+ z = zt, x += n;
+ qz = qz2, qu = qu2, qv = qv2;
+ known = false;
+ continue;
+ }
+ if (!known) {
+ float iz = qz > 1 ? 1 / qz : 1;
+ u = fix16(qu * iz), v = fix16(qv * iz);
+ }
+ float iz2 = qz2 > 1 ? 1 / qz2 : 1;
+ int32_t u2 = fix16(qu2 * iz2), v2 = fix16(qv2 * iz2);
+ uint32_t du, dv;
+ if (n == 16) du = (uint32_t)((u2 - u) >> 4), dv = (uint32_t)((v2 - v) >> 4);
+ else du = (uint32_t)((u2 - u) / n), dv = (uint32_t)((v2 - v) / n);
+ uint32_t uu = (uint32_t)u, vv = (uint32_t)v;
+ /* (three loops: the plain one kept as short as can be) */
+ if (light >= 32 && !clear) {
+ for (; zp < ze; zp++, cp++, z += (uint32_t)da, uu += du, vv += dv) {
+ uint16_t d = (uint16_t)(z >> 16);
+ if (d > *zp) *zp = d, *cp = pal[px[(vv >> vs & hmask) | (uu >> 16 & wm)]];
+ }
+ } else if (light >= 32) {
+ for (; zp < ze; zp++, cp++, z += (uint32_t)da, uu += du, vv += dv) {
+ uint16_t d = (uint16_t)(z >> 16);
+ if (d <= *zp) continue;
+ uint8_t t = px[(vv >> vs & hmask) | (uu >> 16 & wm)];
+ if (t) *zp = d, *cp = pal[t];
+#ifdef HOST
+ if (t) r_stat_written++;
+ else {
+ r_stat_holes++, r_stat_texhole[q->color]++;
+ extern int r_show_holes;
+ if (r_show_holes) *cp = 0xF81F;
+ }
+#endif
+ }
+ } else {
+ for (; zp < ze; zp++, cp++, z += (uint32_t)da, uu += du, vv += dv) {
+ uint16_t d = (uint16_t)(z >> 16);
+ if (d <= *zp) continue;
+ uint8_t t = px[(vv >> vs & hmask) | (uu >> 16 & wm)];
+ if (clear && !t) continue;
+ *zp = d, *cp = r_mix565(0, pal[t], light);
+ }
+ }
+ x += n;
+ qz = qz2, qu = qu2, qv = qv2, u = u2, v = v2;
+ known = true;
+ }
+ continue;
+ }
+ /* shaded, and maybe textured: the light and the texture place from the edges, across */
+ float sl = L->s + yc * L->ds, sr = R->s + yc * R->ds, span = xr - xl > 0.01f ? 1 / (xr - xl) : 0;
+ float off = (float)x0 + 0.5f - xl;
+ float dsx = (sr - sl) * span;
+ int32_t s = (int32_t)((sl + dsx * off) * 65536.0f), ds = (int32_t)(dsx * 65536.0f);
+ if (kind == K_SHADE) {
+ for (int x = x0; x < x1; x++, z += (uint32_t)da, s += ds) {
+ uint16_t zz = (uint16_t)(z >> 16);
+ if (zz <= zb[x]) continue;
+ int k = s >> 19; /* 0..255 to 0..32 */
+ zb[x] = zz, cb[x] = k >= 32 ? col : r_mix565(0, col, k < 0 ? 0 : k);
+ }
+ } else {
+ float ul = L->u + yc * L->du, ur = R->u + yc * R->du, vl = L->v + yc * L->dv, vr = R->v + yc * R->dv;
+ float dux = (ur - ul) * span, dvx = (vr - vl) * span;
+ /* (texture places are in 1/4 texels) */
+ int32_t u = (int32_t)((ul + dux * off) * 16384.0f), du = (int32_t)(dux * 16384.0f);
+ int32_t v = (int32_t)((vl + dvx * off) * 16384.0f), dv = (int32_t)(dvx * 16384.0f);
+ uint32_t wm = (1u << tx->wl) - 1, hm = (1u << tx->hl) - 1;
+ int wl = tx->wl, clear = tx->clear;
+ for (int x = x0; x < x1; x++, z += (uint32_t)da, s += ds, u += du, v += dv) {
+ uint16_t zz = (uint16_t)(z >> 16);
+ if (zz <= zb[x]) continue;
+ uint8_t t = tx->px[(((uint32_t)v >> 16) & hm) << wl | (((uint32_t)u >> 16) & wm)];
+ if (clear && !t) continue;
+ int k = s >> 19;
+ uint16_t c = tx->pal[t];
+ zb[x] = zz, cb[x] = k >= 32 ? c : r_mix565(0, c, k < 0 ? 0 : k);
+ }
+ }
+ }
+}
+
+uint16_t r_floor_depth(float z) {
+ float d = ZK / z;
+ d -= d * (1.0f / 256); /* (a hair farther: a shadow lying on it is drawn, what is under it is not) */
+ return d >= 65535 ? 65535 : d <= 0 ? 0 : (uint16_t)d;
+}
+
+void r_band_depth(int y, int x0, int x1, uint16_t d) {
+ uint16_t *zb = zbuf + (y - r_y0) * SCREEN_W;
+ for (int x = x0; x < x1; x++) zb[x] = d;
+}
+
+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 || polys[i].kind == K_PERSP) order[k++] = (uint16_t)i;
+ for (int i = 0; i < npolys; i++)
+ if (polys[i].alpha != 255 && polys[i].kind != K_PERSP) 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/templerun/src/r3d.h b/games/templerun/src/r3d.h
new file mode 100644
index 00000000..0d409033
--- /dev/null
+++ b/games/templerun/src/r3d.h
@@ -0,0 +1,126 @@
+/* Temple Run: the 3D renderer.
+ *
+ * The world is polygons: flat ones, shaded ones (a light level at each corner, blended across: round
+ * things look round) and textured ones (a picture laid on, in perspective for big faces like a train's
+ * side). Each frame they are moved in front of the camera, cut at the edges of the view, 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, which leaves the ground's depth where it hides what is below it), the polygons that
+ * cross it with a depth buffer, the see-through ones after them, and
+ * what is drawn flat over the picture (ui). 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 20
+#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 frame's lists (polygons, corners, depths): r_work_size bytes, given before anything is drawn */
+uint32_t r_work_size(void);
+void r_init(void *mem);
+
+/* 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;
+/* beyond r_far (m) a baked face with an average colour is drawn in it, plain */
+extern float r_far;
+extern uint32_t r_haze_rgb;
+
+/* pictures laid on polygons: width and height are powers of two; index 0 can be see-through */
+typedef struct {
+ uint8_t wl, hl; /* log2 of the width and height */
+ uint8_t clear; /* 1: index 0 is not drawn */
+ uint8_t pad;
+ const uint8_t *px; /* palette indices, row by row */
+ const uint16_t *pal; /* RGB565 */
+} Texture;
+extern const Texture *const r_tex[]; /* the game's textures, by number (data.c) */
+
+/* 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_ALPHA = 4, /* see-through (alpha 0..255): drawn last, no depth written */
+ P_NOHAZE = 8,
+ P_DECAL2 = 16, /* lies on a decal */
+ P_DECAL3 = 32, /* lies on that */
+};
+void r_begin(void);
+void r_poly(const V3 *v, int n, uint32_t rgb, int flags, int alpha);
+/* a textured polygon, in perspective: uv gives each corner's place in the picture (in texels, two
+ * floats a corner; the picture repeats), light 0..256 */
+void r_poly_tex(const V3 *v, const float *uv, int n, int tex, int light, int flags);
+/* the same, drawn plain in avg (RGB565, 0: never) beyond r_far */
+void r_poly_tex_avg(const V3 *v, const float *uv, int n, int tex, int light, int flags, uint16_t avg);
+
+/* meshes (people, the dog): corners in camera space with a light level (0..255) and a place in a
+ * picture (1/4 texels, below 4096), triangles of three corners and a colour (an index into pal; TEX_COL:
+ * the picture tex) */
+typedef struct {
+ float x, y, z;
+ uint16_t u, v;
+ uint8_t s, pad[3];
+} RV;
+typedef struct {
+ uint8_t a, b, c, col;
+} Tri;
+#define TEX_COL 255
+void r_mesh(const RV *v, int nv, const Tri *t, int nt, const uint16_t *pal, int tex);
+
+/* 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);
+/* for bg: a surface it draws hides what is behind it. Row y of the band, pixels [x0, x1), lies at depth d:
+ * r_floor_depth(z) for a floor seen at z metres ahead of the camera (a hair farther, so that what lies on it,
+ * a shadow, is still drawn) */
+uint16_t r_floor_depth(float z);
+void r_band_depth(int y, int x0, int x1, uint16_t d);
+#endif
diff --git a/games/templerun/src/save.c b/games/templerun/src/save.c
new file mode 100644
index 00000000..c3852b35
--- /dev/null
+++ b/games/templerun/src/save.c
@@ -0,0 +1,121 @@
+/* What is kept (save.h): coins, the best score and distance, upgrades, wings and head starts, objectives, in
+ * templerun.sav, and a copy of it in a Python script, templerun_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 "templerun.sav"
+#define COPY_NAME "templerun_saves.py"
+#define MAGIC 0x31524E54u /* "TNR1" */
+#define VERSION 1
+
+typedef struct {
+ uint32_t magic, version, size;
+ Progress p;
+} SaveFile;
+
+static const char copy_head[] =
+ "# Temple Run 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.multiplier = 10; /* (the game's: 10, one more an objective) */
+}
+
+static bool valid(const SaveFile *f) {
+ if (f->magic != MAGIC || f->version != VERSION || f->size != sizeof(Progress) || f->p.multiplier < 10) return false;
+ for (int i = 0; i < UP_COUNT; i++)
+ if (f->p.up[i] > UP_MAX) return false;
+ return true;
+}
+
+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.version = VERSION, 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/templerun/src/save.h b/games/templerun/src/save.h
new file mode 100644
index 00000000..392f8549
--- /dev/null
+++ b/games/templerun/src/save.h
@@ -0,0 +1,7 @@
+/* Temple Run: 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/templerun/src/scene.c b/games/templerun/src/scene.c
new file mode 100644
index 00000000..6e41e88a
--- /dev/null
+++ b/games/templerun/src/scene.c
@@ -0,0 +1,208 @@
+/* The world on the screen (scene.h): the path, its jungle, the runner and the pursuers, coins and power-ups,
+ * every one a mesh of data.c by number, placed and turned in the game's units, then drawn by r3d.c in metres
+ * through a camera that follows the runner round the corners. */
+#include "data.h"
+#include "game.h"
+#include "scene.h"
+
+#define S 0.19f /* metres a game unit (the runner: 9.6 units, 1.8 m) */
+#define VIEW 1000.0f /* units seen ahead (the renderer's far plane is 190 m) */
+#define PI 3.14159265f
+
+static float cx_, cy_, cz_, cyaw, cc, cs; /* the camera (game units) and its yaw's cosine and sine */
+static float run_yaw, cam_yaw, cam_h; /* smoothed */
+static float t_anim;
+static bool title;
+static uint16_t rowc[SCREEN_H]; /* the sky and the depths, row by row */
+static int horizon = -1000;
+
+static float wrap(float a) {
+ while (a > PI) a -= 2 * PI;
+ while (a < -PI) a += 2 * PI;
+ return a;
+}
+
+static float dir_yaw(int d) { return d == 1 ? PI / 2 : d == 2 ? PI : d == 3 ? -PI / 2 : 0; }
+
+void scene_init(void) {
+ r_haze0 = 70, r_haze1 = 185;
+ r_haze_rgb = 0xBFD3C6;
+ r_far = 60;
+ if (plat_slow()) r_haze0 = 60, r_haze1 = 170;
+}
+
+/* a 60th of a second: the camera turns after the runner */
+void scene_follow(void) {
+ float want = dir_yaw(pl.dir);
+ run_yaw += wrap(want - run_yaw) * 0.3f;
+ cam_yaw += wrap(want - cam_yaw) * (pl.boost ? 0.16f : 0.1f);
+ if (!pl.falling && !(pl.dead && pl.death == DEATH_FALL)) cam_h += (pl.ground - cam_h) * 0.08f;
+}
+
+void scene_reset(void) {
+ run_yaw = cam_yaw = dir_yaw(pl.dir);
+ cam_h = pl.ground;
+}
+
+/* ---------------------------------------------------------------- meshes */
+void scene_mesh(int m, float ox, float oy, float oz, float yaw, int alpha) {
+ float dx = ox - cx_, dy = oy - cy_, dz = oz - cz_;
+ float x0 = dx * cc - dz * cs, z0 = dx * cs + dz * cc;
+ const Mesh *me = &meshes[m];
+ float r = me->r;
+ if (z0 + r < 0 || z0 - r > VIEW) return;
+ if (x0 - r > z0 * 1.6f + 8 || -x0 - r > z0 * 1.6f + 8) return;
+ if (me->far >= 0 && z0 > MESH_FAR) me = &meshes[me->far];
+ float s, c;
+ r_sincos(yaw - cyaw, &s, &c);
+ static V3 v[256];
+ int nv = 0;
+ for (int i = 0; i < me->nf; i++) {
+ int e = me->f[i].first + me->f[i].n;
+ for (int k = me->f[i].first; k < e; k++)
+ if (me->idx[k] >= nv) nv = me->idx[k] + 1;
+ }
+ if (nv > 256) nv = 256;
+ for (int i = 0; i < nv; i++) {
+ float mx = me->v[i].x * 0.25f, my = me->v[i].y * 0.25f, mz = me->v[i].z * 0.25f;
+ v[i] = (V3){(x0 + mx * c + mz * s) * S, (dy + my) * S, (z0 - mx * s + mz * c) * S};
+ }
+ for (int i = 0; i < me->nf; i++) {
+ const MFace *f = &me->f[i];
+ V3 p[12];
+ int n = f->n > 12 ? 12 : f->n;
+ for (int k = 0; k < n; k++) p[k] = v[me->idx[f->first + k] < 256 ? me->idx[f->first + k] : 0];
+ float nx = f->nx * (1.0f / 127), ny = f->ny * (1.0f / 127), nz = f->nz * (1.0f / 127);
+ V3 nn = {nx * c + nz * s, ny, -nx * s + nz * c};
+ int flags = (f->flags & 1 ? P_TWOSIDED : 0) | (alpha < 255 ? P_ALPHA : 0);
+ r_poly(p, n, r_shade(f->rgb, nn), flags, alpha);
+ }
+}
+
+static int path_mesh(const Tile *t) {
+ static const uint8_t base[TH_COUNT] = {M_TEMPLE_STRAIGHT, M_PLANK_STRAIGHT, M_CLIFF_STRAIGHT};
+ return base[t->theme] + 2 * t->kind; /* (data.c: each kind, then its far version) */
+}
+
+static void draw_tile(const Tile *t, bool ahead) {
+ float x = game_tile_cx(t), z = game_tile_cz(t), yaw = dir_yaw(t->dir);
+ float dx = x - cx_, dz = z - cz_;
+ if (dx * cs + dz * cc < -60 || dx * dx + dz * dz > (VIEW + 60) * (VIEW + 60)) return;
+ scene_mesh(path_mesh(t), x, t->y, z, yaw, 255);
+ /* the cliffs' rock wall: only along the way the runner goes (it would stand in the camera's way) */
+ if (t->theme == TH_CLIFF && t->kind <= PK_HOLE_LONG && ahead && t->dir == pl.dir) scene_mesh(M_CLIFF_WALL, x, t->y, z, yaw, 255);
+ int d = t->dir;
+ float rx = (float)(d == 0 ? 1 : d == 2 ? -1 : 0), rz = (float)(d == 1 ? -1 : d == 3 ? 1 : 0);
+ float fx = -rz, fz = rx;
+ if (t->scenery & 1) scene_mesh(t->scenery & 4 ? M_JUNGLE_TALL : M_JUNGLE_TREE, x - rx * 27 + fx * 8, t->y, z - rz * 27 + fz * 8, yaw, 255);
+ if (t->scenery & 2) scene_mesh(t->scenery & 4 ? M_JUNGLE_TREE : M_JUNGLE_TALL, x + rx * 27 - fx * 10, t->y, z + rz * 27 - fz * 10, yaw, 255);
+ if (t->scenery & 8) scene_mesh(M_PILLAR, x - rx * 15 + fx * 18, t->y, z - rz * 15 + fz * 18, yaw, 255);
+ if (t->ob) {
+ static const uint8_t ob[5] = {0, M_ROOT_LOW, M_TREE_JUMP, M_BRANCH_SLIDE, M_FIRE0};
+ int m = ob[t->ob];
+ if (t->ob == OB_FIRE) m += ((int)(t_anim * 8)) & 3;
+ scene_mesh(m, x, t->y, z, yaw, 255);
+ }
+ static const uint8_t coin[4] = {M_COIN_Y, M_COIN_Y, M_COIN_R, M_COIN_B};
+ for (int k = 0; k < 5; k++) {
+ float px, py, pz;
+ if (game_coin_pos(t, k, &px, &py, &pz)) scene_mesh(coin[t->coin_kind & 3], px, py, pz, t_anim * 4.5f + (float)k, 255);
+ }
+ if (t->item) {
+ static const uint8_t item[5] = {0, M_COIN_BONUS, M_INVISIBILITY, M_MAGNET, M_BOOST};
+ scene_mesh(item[t->item], x, t->y + 0.6f * r_sin_(t_anim * 3), z, t_anim * 2.0f, 255);
+ }
+}
+
+float r_sin_(float a) {
+ float s, c;
+ r_sincos(a, &s, &c);
+ return s;
+}
+
+static int runner_mesh(void) {
+ if (pl.dead) return pl.death == DEATH_FALL ? M_RUNNER_FALL : M_RUNNER_DOWN;
+ if (pl.sliding) return M_RUNNER_SLIDE;
+ if (pl.falling) return M_RUNNER_FALL;
+ if (pl.jumping || !pl.on_ground) return M_RUNNER_JUMP;
+ if (pl.stumbling) return M_RUNNER_STUMBLE;
+ return M_RUNNER_RUN0 + (((int)(pl.anim * 4)) & 3);
+}
+
+/* ---------------------------------------------------------------- the sky and the depths */
+static void bg(void) {
+ for (int y = r_y0; y < r_y1; y++) {
+ uint16_t c = rowc[y], *p = r_col + (y - r_y0) * SCREEN_W;
+ for (int x = 0; x < SCREEN_W; x++) p[x] = c;
+ }
+}
+
+static void sky_rows(int h) {
+ if (h == horizon) return;
+ horizon = h;
+ for (int y = 0; y < SCREEN_H; y++) {
+ uint32_t c;
+ if (y < h) {
+ int t = h <= 0 ? 256 : 256 - (h - y) * 256 / (h + 40);
+ c = r_mix888(0x6FA6D2, 0xBFD3C6, t < 0 ? 0 : t);
+ } else {
+ int t = (y - h) * 256 / 130;
+ c = r_mix888(0xBFD3C6, 0x2B4A30, t > 256 ? 256 : t);
+ }
+ rowc[y] = r_565(c);
+ }
+}
+
+/* ---------------------------------------------------------------- the frame */
+void scene_draw(r_band_fn overlay, bool on_title) {
+ title = on_title;
+ t_anim += 1.0f / 30;
+ r_begin();
+ /* the camera: behind the runner and above, turning after it round the corners */
+ float back = 31, up = 19, pitch = 0.27f;
+ if (on_title) {
+ /* in front of the runner, who stands at the temple's door: the menu on the left, the runner on the right */
+ float b = PI + 0.25f, sb, cb;
+ r_sincos(b, &sb, &cb);
+ cx_ = pl.x - sb * 25, cz_ = pl.z - cb * 25, cy_ = pl.y + 8;
+ cyaw = b - 0.4f, pitch = 0.06f;
+ r_sincos(cyaw, &cs, &cc);
+ } else {
+ cyaw = cam_yaw;
+ r_sincos(cyaw, &cs, &cc);
+ cx_ = pl.x - cs * back, cz_ = pl.z - cc * back, cy_ = cam_h + up;
+ if (pl.y > pl.ground && !pl.falling) cy_ += 0.6f * (pl.y - pl.ground); /* (a jump stays in sight) */
+ }
+ r_camera(0, 0, 0, pitch, 205, 160, 120);
+ float sx, sy;
+ sky_rows(r_project((V3){0, 0, 600}, &sx, &sy) ? (int)sy : 0);
+ for (int i = 0; i < path_count; i++) draw_tile(tile_at(i), i >= pl.tile);
+ if (stub_on)
+ for (int s = 0; s < 2; s++)
+ for (int i = 0; i < NSTUB; i++) draw_tile(&stub[s][i], false);
+ scene_mesh(M_TEMPLE, 0, 0, 0, 0, 255);
+ for (int f = 0; f < NFLY; f++)
+ if (fly[f].on) scene_mesh(fly[f].kind == 3 ? M_COIN_B : fly[f].kind == 2 ? M_COIN_R : M_COIN_Y, fly[f].x, fly[f].y - 3, fly[f].z, t_anim * 6, 255);
+ /* the runner's shadow on the floor */
+ if (!on_title && pl.over && !(pl.dead && pl.death == DEATH_FALL)) {
+ float gy = pl.ground, dx = pl.x - cx_, dz = pl.z - cz_;
+ float x0 = dx * cc - dz * cs, z0 = dx * cs + dz * cc;
+ V3 p[8];
+ for (int i = 0; i < 8; i++) {
+ float s, c;
+ r_sincos((float)i * (PI / 4), &s, &c);
+ p[i] = (V3){(x0 + 2.4f * c) * S, (gy - cy_ + 0.08f) * S, (z0 - 2.4f * s) * S};
+ }
+ r_poly(p, 8, 0x000000, P_ALPHA | P_TWOSIDED, 90);
+ }
+ int alpha = 255;
+ if (pl.invis > 0 && !pl.dead) alpha = pl.invis < 2.5f && ((int)(pl.invis * 8) & 1) ? 200 : 110;
+ if (!(pl.dead && pl.death == DEATH_FALL && pl.y < pl.ground - 30))
+ scene_mesh(on_title ? M_RUNNER_RUN0 : runner_mesh(), pl.x, pl.y, pl.z, on_title ? 0 : run_yaw, alpha);
+ if (pursuers_on && !on_title)
+ for (int i = 0; i < NPURSUERS; i++) {
+ const Pursuer *p = &pursuers[i];
+ scene_mesh(M_PURSUER_RUN0 + (((int)(p->phase * 4) + i) & 3), p->x, p->y, p->z, p->yaw, 255);
+ }
+ r_render(bg, overlay);
+}
diff --git a/games/templerun/src/scene.h b/games/templerun/src/scene.h
new file mode 100644
index 00000000..d67e818e
--- /dev/null
+++ b/games/templerun/src/scene.h
@@ -0,0 +1,15 @@
+/* Temple Run: the world drawn (scene.c). */
+#ifndef TR_SCENE_H
+#define TR_SCENE_H
+#include <stdbool.h>
+#include "r3d.h"
+
+void scene_init(void);
+void scene_reset(void); /* the camera straight behind the runner (a new run) */
+void scene_follow(void); /* a 60th of a second: the camera after the runner */
+/* the frame: the camera after the runner (on the title: in front of it), the world, then overlay over it */
+void scene_draw(r_band_fn overlay, bool on_title);
+/* one mesh (data.h) at a point of the world, turned by yaw (0: its front toward +z); alpha < 255 see-through */
+void scene_mesh(int m, float x, float y, float z, float yaw, int alpha);
+float r_sin_(float a);
+#endif
diff --git a/games/templerun/tests/check.py b/games/templerun/tests/check.py
new file mode 100644
index 00000000..66b966af
--- /dev/null
+++ b/games/templerun/tests/check.py
@@ -0,0 +1,182 @@
+#!/usr/bin/env python3
+"""Plays Temple Run on a computer (tests/play.c, built with the sanitizers) and checks it:
+
+- a first start shows how to play, then the title; Home saves (templerun.sav and its copy, templerun_saves.py);
+- runs played by the bot on many seeds: corners turned, obstacles jumped and slid under, the score adds up;
+- a missed corner is a fall; a stumble in the first seconds, or two close together, and they catch you;
+- long runs where nothing hurts, with every power-up: minutes of path, no fault;
+- the store: upgrades and things to use bought, coins taken, all kept, the upgrade objectives met;
+- wings save a run, a head start runs ahead;
+- the save comes back from its copy when the file is gone (as after installing apps);
+- pause, Quit game, Yes: the run's coins are kept;
+- random keys for hundreds of sessions: no fault.
+
+Usage: check.py build/play"""
+import os
+import shutil
+import struct
+import subprocess
+import sys
+import tempfile
+
+PLAY = sys.argv[1] if len(sys.argv) > 1 else "build/play"
+# templerun.sav: magic, version, size, then the progress (game.h)
+FMT = "<3I" + "6I" + "5BBBx" + "3HH" + "2I"
+FIELDS = ["magic", "version", "size", "coins", "best", "best_dist", "runs", "life_coins", "life_dist",
+ "u0", "u1", "u2", "u3", "u4", "help", "mult", "wings", "headstarts", "megas", "pad", "done0", "done1"]
+FALL, TREE, BRANCH, FIRE, CAUGHT = 1, 2, 3, 4, 5
+failed = []
+
+
+def play(saves, *args):
+ r = subprocess.run([PLAY, "--saves", saves, "--out", os.path.join(saves, "shots"), "--stats", *args],
+ capture_output=True, text=True, timeout=1800)
+ if r.returncode != 0 or "runtime error" in r.stderr or "AddressSanitizer" in r.stderr:
+ raise AssertionError(f"play {' '.join(args)} failed:\n{r.stderr[-3000:]}")
+ stats = {}
+ for line in r.stdout.splitlines():
+ if line.startswith("frames "):
+ parts = line.split()
+ for k, v in zip(parts[0::2], parts[1::2]):
+ stats[k] = float(v)
+ return stats
+
+
+def save(saves):
+ data = open(os.path.join(saves, "templerun.sav"), "rb").read()
+ if len(data) != struct.calcsize(FMT):
+ raise AssertionError(f"templerun.sav is {len(data)} bytes")
+ return dict(zip(FIELDS, struct.unpack(FMT, data)))
+
+
+def check(name, fn):
+ d = tempfile.mkdtemp()
+ try:
+ fn(d)
+ print(f"ok {name}")
+ except AssertionError as e:
+ failed.append(name)
+ print(f"FAIL {name}: {e}")
+ finally:
+ shutil.rmtree(d)
+
+
+def fresh(d):
+ shutil.rmtree(d, ignore_errors=True)
+ os.makedirs(d)
+
+
+def first_start(d):
+ # how to play, OK, the title, Home
+ play(d, "--frames", "200", "--keys", "30:ok,150:home")
+ s = save(d)
+ assert s["magic"] == 0x31524E54 and s["version"] == 1 and s["help"] == 1 and s["mult"] == 10, s
+ copy = open(os.path.join(d, "templerun_saves.py"), "rb").read()
+ assert copy[0] == 0 and b"#>templerun.sav:" in copy, copy[:80]
+ # the next start: the title (OK runs)
+ st = play(d, "--frames", "400", "--keys", "30:ok,350:home")
+ assert st["dist"] > 10, st
+
+
+def bot_runs(d):
+ best = 0
+ for seed in range(1, 9):
+ fresh(d)
+ st = play(d, "--seed", str(seed), "--frames", "7000", "--keys", "30:ok,90:ok", "--bot", "100", "--draw-every", "9")
+ assert st["dist"] > 250 and st["turns"] >= 2, (seed, st)
+ assert st["coins"] > 10 and st["score"] >= st["dist"] * 10, (seed, st)
+ best = max(best, st["dist"])
+ assert best > 2000, best
+
+
+def missed_corner(d):
+ # nothing pressed and nothing hurts but the path's edge: the first corner (or gap) is a fall
+ for seed in (1, 2, 3):
+ fresh(d)
+ st = play(d, "--seed", str(seed), "--invis", "--frames", "2400", "--keys", "30:ok,90:ok")
+ assert st["dead"] == 1 and st["death"] == FALL and st["turns"] == 0, (seed, st)
+
+
+def stumbles(d):
+ # a root in the first seconds: caught at once (the pursuers are close)
+ st = play(d, "--frames", "300", "--keys", "30:ok,90:ok", "--root", "100")
+ assert st["dead"] == 1 and st["death"] == CAUGHT and st["stumbles"] == 0, st
+ # long after: a stumble, the run goes on; a second one soon after: caught
+ fresh(d)
+ st = play(d, "--frames", "260", "--keys", "30:ok,90:ok", "--calm", "99", "--root", "100")
+ assert st["dead"] == 0 and st["stumbles"] == 1, st
+ fresh(d)
+ st = play(d, "--frames", "400", "--keys", "30:ok,90:ok", "--calm", "99", "--root", "100", "--root", "250")
+ assert st["dead"] == 1 and st["death"] == CAUGHT and st["stumbles"] == 1, st
+
+
+def long_runs(d):
+ for seed in (11, 12, 13):
+ fresh(d)
+ st = play(d, "--seed", str(seed), "--god", "--up", "5", "--frames", "21000", "--keys", "30:ok,90:ok",
+ "--bot", "100", "--draw-every", "11")
+ assert st["dist"] > 6000 and not st["dead"], (seed, st)
+ assert st["polys"] < 1400, st # (the renderer keeps 1600)
+ assert st["turns"] > 40, st
+
+
+def store(d):
+ # Down: the store. Coin magnet five times, Invisibility once, Wings twice, a head start; Back, Home
+ keys = ["30:ok", "60:down", "70:ok"] + [f"{100 + 10 * i}:ok" for i in range(5)]
+ keys += ["160:down", "170:ok", "180:down", "190:down", "200:down", "210:down", "220:ok", "230:ok", "240:down",
+ "250:ok", "260:ok", "290:back", "320:home"]
+ play(d, "--coins", "100000", "--frames", "400", "--keys", ",".join(keys), "--shots", "275")
+ s = save(d)
+ assert [s["u0"], s["u1"], s["u2"], s["u3"], s["u4"]] == [5, 1, 0, 0, 0], s
+ assert s["wings"] == 2 and s["headstarts"] == 2, s
+ assert s["coins"] == 100000 - (250 + 1000 + 2500 + 5000 + 7500) - 250 - 2 * 500 - 2 * 2500, s
+ assert s["mult"] == 12, s # (Buy an upgrade, Fully upgrade a power-up)
+
+
+def wings_and_headstart(d):
+ # OK in a run: the wings; with no one playing the runner dies, and the wings bring it back
+ st = play(d, "--use", "3", "--frames", "1500", "--keys", "30:ok,90:ok,200:ok")
+ assert st["saved"] >= 1, st
+ assert save(d)["wings"] == 2, save(d)
+ # 1 near the start: a head start, far ahead in seconds
+ fresh(d)
+ st = play(d, "--use", "1", "--frames", "1100", "--keys", "30:ok,90:ok,300:one,330:one,360:one,390:one,420:one", "--bot", "100")
+ assert st["dist"] > 950, st
+ assert save(d)["headstarts"] == 0, save(d)
+
+
+def copy_restore(d):
+ play(d, "--frames", "900", "--keys", "30:ok,90:ok,850:home", "--bot", "100")
+ before = save(d)
+ assert before["runs"] == 1 and before["coins"] > 0, before
+ os.remove(os.path.join(d, "templerun.sav"))
+ play(d, "--frames", "60")
+ after = save(d)
+ assert after == before, (before, after)
+
+
+def pause_quit(d):
+ # run a little, Back: pause, Quit game, Yes: the results, the coins kept
+ play(d, "--god", "--frames", "1200", "--bot", "100",
+ "--keys", "30:ok,90:ok,900:back,920:down,940:down,960:ok,980:right,1000:ok,1100:home")
+ s = save(d)
+ assert s["runs"] == 1 and s["coins"] > 0 and s["best"] > 0, s
+
+
+def fuzz(d):
+ for seed in range(200):
+ fresh(d)
+ play(d, "--seed", str(seed), "--fuzz", "0", "--coins", str(seed * 300), "--frames", "1500", "--draw-every", "5")
+
+
+check("first start", first_start)
+check("bot runs", bot_runs)
+check("missed corner", missed_corner)
+check("stumbles", stumbles)
+check("long runs", long_runs)
+check("store", store)
+check("wings and head start", wings_and_headstart)
+check("save copy", copy_restore)
+check("pause, quit game", pause_quit)
+check("random keys", fuzz)
+sys.exit(1 if failed else 0)
diff --git a/games/templerun/tests/play.c b/games/templerun/tests/play.c
new file mode 100644
index 00000000..c0a4f8bc
--- /dev/null
+++ b/games/templerun/tests/play.c
@@ -0,0 +1,224 @@
+/* Plays Temple Run 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] [--fuzz FROM] [--coins N] [--up N] [--use N] [--god] [--draw-every N] [--raw DIR:FROM-TO]
+ * [--invis] [--root F]... [--calm F] [--stats]
+ *
+ * Keys: left right up down ok back one three home lean_l lean_r shift. "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 path ahead, turns at the corners, jumps, slides and leans. --fuzz presses random keys from FROM on
+ * (Home never). --god: nothing hurts (invisible, and the wings always on). --up N: every upgrade at level N;
+ * --use N: N of each thing to use. Screenshots are DIR/shot_<frame>.ppm; --raw keeps frames FROM..TO as raw
+ * RGB565 files for tools/record.py --frames. --invis: always invisible (obstacles pass, gaps and corners don't).
+ * --root F: at frame F the next tiles are plain (up to a corner) and the next one has a root across it; --calm F:
+ * at frame F the last stumble is long ago. */
+#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 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}, {"lean_l", K_LEAN_L}, {"lean_r", K_LEAN_R}, {"shift", K_SHIFT},
+ };
+ 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) {
+ static 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 */
+static const int DX[4] = {0, 1, 0, -1}, DZ[4] = {1, 0, -1, 0};
+
+static uint32_t bot(void) {
+ static int wait, side;
+ if (pl.dead) return 0;
+ uint32_t k = 0;
+ float fx = (float)DX[pl.dir], fz = (float)DZ[pl.dir];
+ /* lean along narrow paths (and toward coins off the middle) */
+ for (int i = pl.tile; i < path_count && i <= pl.tile + 1; i++) {
+ const Tile *t = tile_at(i);
+ if (t->dir != pl.dir) break;
+ if (t->kind == PK_NARROW_L) k |= K_LEAN_L;
+ if (t->kind == PK_NARROW_R) k |= K_LEAN_R;
+ if (!k && i == pl.tile && t->coins && (t->coin == COIN_LEFT || t->coin == COIN_RIGHT)) k |= t->coin == COIN_LEFT ? K_LEAN_L : K_LEAN_R;
+ }
+ if (wait > 0) {
+ wait--;
+ return k;
+ }
+ for (int i = pl.tile; i < path_count && i <= pl.tile + 3; i++) {
+ const Tile *t = tile_at(i);
+ float d = (game_tile_cx(t) - pl.x) * fx + (game_tile_cz(t) - pl.z) * fz;
+ if (t->dir != pl.dir || d < -4) continue;
+ if (t->kind == PK_CORNER_L || t->kind == PK_CORNER_R || t->kind == PK_T) {
+ if (d < pl.v * 0.4f && !(t->hit & 2)) {
+ side = t->kind == PK_CORNER_L ? -1 : t->kind == PK_CORNER_R ? 1 : (side ? side : 1);
+ wait = 10;
+ return k | (side < 0 ? K_LEFT : K_RIGHT);
+ }
+ break;
+ }
+ /* a jump just before it: in the air long enough for two in a row */
+ float edge = t->kind == PK_HOLE ? 10 : t->kind == PK_HOLE_LONG ? 17 : t->ob == OB_TREE ? 3.6f : 3.2f;
+ bool jumpy = t->ob == OB_ROOT || t->ob == OB_TREE || t->ob == OB_FIRE || t->kind == PK_HOLE || t->kind == PK_HOLE_LONG;
+ if (jumpy && d - edge < 4 + pl.v * 0.06f && d - edge > -2 && pl.on_ground && !pl.stumbling) {
+ wait = 12;
+ return k | K_UP;
+ }
+ if (t->ob == OB_BRANCH && !pl.sliding) {
+ float len = pl.v * 0.007f;
+ if (len > 0.75f) len = 0.75f;
+ if (d < pl.v * len * 0.5f + 3 && d > 4) {
+ wait = 6;
+ return k | K_DOWN;
+ }
+ }
+ }
+ return k;
+}
+
+int main(int argc, char **argv) {
+ int frames = 600, draw_every = 1, bot_from = -1, fuzz_from = -1, coins = -1, up = -1, use = -1, raw_from = 0, raw_to = -1;
+ const char *shots = "", *out = "build/shots", *saves = "build/host-saves", *raw = NULL;
+ bool stats = false, all = false, god = false, invis = false;
+ int roots[8], nroots = 0, calm = -1;
+ static char rawdir[512];
+ 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, all = !strcmp(v, "all"), 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, 10) * 2654435761u + 1, i++;
+ else if (!strcmp(a, "--bot")) bot_from = atoi(v), i++;
+ else if (!strcmp(a, "--fuzz")) fuzz_from = atoi(v), i++;
+ else if (!strcmp(a, "--coins")) coins = atoi(v), i++;
+ else if (!strcmp(a, "--up")) up = atoi(v), i++;
+ else if (!strcmp(a, "--use")) use = atoi(v), i++;
+ else if (!strcmp(a, "--draw-every")) draw_every = atoi(v), i++;
+ else if (!strcmp(a, "--raw")) {
+ snprintf(rawdir, sizeof rawdir, "%s", v);
+ char *c = strrchr(rawdir, ':');
+ if (c) *c = 0, sscanf(c + 1, "%d-%d", &raw_from, &raw_to);
+ raw = rawdir, i++;
+ } else if (!strcmp(a, "--god")) god = true;
+ else if (!strcmp(a, "--invis")) invis = true;
+ else if (!strcmp(a, "--root") && nroots < 8) roots[nroots++] = atoi(v), i++;
+ else if (!strcmp(a, "--calm")) calm = atoi(v), i++;
+ else if (!strcmp(a, "--stats")) stats = true;
+ }
+ if (draw_every < 1) draw_every = 1;
+ mkdir("build", 0755);
+ mkdir(saves, 0755);
+ mkdir(out, 0755);
+ host_save_dir(saves);
+ static uint16_t band[SCREEN_W * BAND_H];
+ r_set_band_memory(band);
+ static uint64_t work[400000 / 8];
+ if (r_work_size() > sizeof work) {
+ fprintf(stderr, "play: the renderer wants %u bytes\n", r_work_size());
+ return 1;
+ }
+ r_init(work);
+ app_init();
+ if (coins >= 0 || up >= 0 || use >= 0) {
+ if (coins >= 0) pg.coins = (uint32_t)coins;
+ for (int i = 0; i < UP_COUNT && up >= 0; i++) pg.up[i] = (uint8_t)up;
+ for (int i = 0; i < USE_COUNT && use >= 0; i++) pg.use[i] = (uint16_t)use;
+ save_write();
+ }
+ uint32_t prev = 0, fuzz = 99991;
+ int f, max_polys = 0, deaths = 0, last_death = 0;
+ 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();
+ if (fuzz_from >= 0 && f >= fuzz_from) {
+ fuzz = fuzz * 1103515245u + 12345u;
+ static const uint32_t pick[] = {K_LEFT, K_RIGHT, K_UP, K_DOWN, K_OK, K_BACK, K_ONE, K_THREE, K_LEAN_L, K_LEAN_R, K_SHIFT, 0, 0, 0};
+ if ((fuzz >> 16) % 3 == 0) k |= pick[(fuzz >> 20) % 14];
+ }
+ if (f == calm) pl.stumble_timer = 10;
+ for (int i = 0; i < nroots; i++)
+ if (f == roots[i]) {
+ for (int j = pl.tile + 1; j < path_count && j <= pl.tile + 8; j++) {
+ Tile *t = tile_at(j);
+ if (t->kind == PK_CORNER_L || t->kind == PK_CORNER_R || t->kind == PK_T) break;
+ if (t->kind != PK_STEP_UP && t->kind != PK_STEP_DOWN) t->kind = PK_STRAIGHT;
+ t->ob = OB_NONE, t->hit = 0;
+ }
+ tile_at(pl.tile + 1)->ob = OB_ROOT;
+ }
+ if (invis && pl.invis < 1) pl.invis = 1;
+ if (god) {
+ if (pl.invis < 1) pl.invis = 1;
+ pl.wings = 30;
+ }
+ bool was_dead = pl.dead;
+ app_step(k, k & ~prev);
+ prev = k;
+ if (pl.dead && !was_dead) {
+ deaths++, last_death = pl.death;
+ if (stats) printf("dead at frame %d: death %d dist %.0f tile kind %d ob %d feet %.1f v %.0f vy %.0f jumping %d ground %d\n", f, pl.death, run.dist, tile_at(pl.tile)->kind, tile_at(pl.tile)->ob, pl.y - tile_at(pl.tile)->y, pl.v, pl.vy, pl.jumping, pl.on_ground);
+ }
+ host_time += (f % 3 == 2) ? 17 : 16;
+ char name[64], list[8192];
+ snprintf(name, sizeof name, ",%d,", f);
+ snprintf(list, sizeof list, ",%s,", shots);
+ bool shot = all || strstr(list, name);
+ bool keep = raw && f >= raw_from && f <= raw_to && f % 4 == 0;
+ if (shot || keep || f % draw_every == 0) {
+ app_draw();
+ if (r_count() > max_polys) max_polys = r_count();
+ }
+ if (keep) {
+ char p[600];
+ mkdir(raw, 0755);
+ snprintf(p, sizeof p, "%s/%06d_%06d.raw", raw, f, (f - raw_from) * 50 / 3);
+ FILE *o = fopen(p, "wb");
+ if (o) fwrite(host_fb, 2, SCREEN_W * SCREEN_H, o), fclose(o);
+ }
+ 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 death %d deaths %d dist %.0f score %u coins %u polys %d total_coins %u best %u "
+ "runs %u mult %u saved %d turns %d stumbles %d\n",
+ f, app_running, pl.dead, last_death, deaths, run.dist, run.score, run.coins, max_polys, pg.coins, pg.best, pg.runs,
+ pg.multiplier, run.saved, run.turns, run.stumbles);
+ return 0;
+}
diff --git a/games/templerun/tools/icon.py b/games/templerun/tools/icon.py
new file mode 100644
index 00000000..1fe9fecd
--- /dev/null
+++ b/games/templerun/tools/icon.py
@@ -0,0 +1,36 @@
+#!/usr/bin/env python3
+"""Makes src/icon.png: a stone path running into the jungle's haze, a coin above it (drawn here, 55x56).
+Usage: icon.py src/icon.png (then tools/round_icons.py rounds its corners)"""
+import sys
+
+from PIL import Image, ImageDraw
+
+UP = 8
+W, H = 55 * UP, 56 * UP
+im = Image.new("RGB", (W, H))
+d = ImageDraw.Draw(im)
+for y in range(H): # sky to haze, then the depths
+ t = y / H
+ top, mid, low = (111, 166, 210), (191, 211, 198), (43, 74, 48)
+ c = [int(top[i] + (mid[i] - top[i]) * min(1, t / 0.45)) if t < 0.45 else int(mid[i] + (low[i] - mid[i]) * (t - 0.45) / 0.55) for i in range(3)]
+ d.line([(0, y), (W, y)], fill=tuple(c))
+hy = int(H * 0.45)
+for x0, top in ((-20, 0.12), (W - 70, 0.18)): # jungle trees
+ d.rectangle([x0 + 34, int(H * top) + 40, x0 + 52, H], fill=(106, 74, 45))
+ d.rectangle([x0, int(H * top), x0 + 90, int(H * top) + 52], fill=(58, 107, 44))
+# the path: stripes of stone, sides going down
+pts = lambda y0, y1: [(W / 2 - (12 + (y0 - hy) * 1.1), y0), (W / 2 + 12 + (y0 - hy) * 1.1, y0),
+ (W / 2 + 12 + (y1 - hy) * 1.1, y1), (W / 2 - (12 + (y1 - hy) * 1.1), y1)]
+d.polygon([(W / 2 - 12, hy), (W / 2 + 12, hy), (W / 2 + 12 + (H - hy) * 1.1, H), (W / 2 - 12 - (H - hy) * 1.1, H)], fill=(118, 104, 79))
+y, k, step = hy, 0, 8
+while y < H:
+ y1 = min(H, y + step)
+ p = pts(y, y1)
+ p = [(p[0][0] + 10, y), (p[1][0] - 10, y), (p[2][0] - 10, y1), (p[3][0] + 10, y1)]
+ d.polygon(p, fill=(168, 151, 122) if k % 2 == 0 else (156, 139, 111))
+ y, k, step = y1, k + 1, step * 1.35
+# a coin
+cx, cy, r = W / 2, H * 0.36, 70
+d.ellipse([cx - r, cy - r, cx + r, cy + r], fill=(200, 154, 16))
+d.ellipse([cx - r * 0.72, cy - r * 0.72, cx + r * 0.72, cy + r * 0.72], fill=(255, 210, 30))
+im.resize((55, 56), Image.LANCZOS).convert("RGBA").save(sys.argv[1])
diff --git a/games/templerun/tools/models.py b/games/templerun/tools/models.py
new file mode 100644
index 00000000..511371cf
--- /dev/null
+++ b/games/templerun/tools/models.py
@@ -0,0 +1,490 @@
+#!/usr/bin/env python3
+"""Makes src/data.c and src/data.h: every model Temple Run draws, as a table of meshes (src/models.h).
+
+These are plain stand-in models: boxes and wedges in the game's colours for the runner, the pursuers, the
+path pieces of its three places (the temple, the plank bridges, the cliffs), the roots, trees, branches and
+fire, the coins and power-ups, the jungle beside the path. Each model is a mesh by number (data.h), its
+far version a second, simpler mesh. The game only draws meshes by number, so the art can be made again by
+another tool writing the same table, without touching the game.
+
+Units are the game's (a path tile is 60 across), stored x 4. Usage: models.py src"""
+import math
+import sys
+from pathlib import Path
+
+Q = 4 # stored units a game unit
+MODELS = [] # (name, faces, far name or None)
+
+# ---------------------------------------------------------------- colours
+STONE = dict(top=0xA8977A, top2=0x9C8B6F, side=0x76684F, curb=0x8B7B60, base=0x5F5545)
+PLANK = dict(top=0x8D5E35, top2=0x7B5030, side=0x5A3B20, curb=0x6E4A2A, base=0x4A321C)
+CLIFF = dict(top=0x928A7C, top2=0x857D70, side=0x6C655A, curb=0x7B7366, base=0x585248)
+THEMES = [("TEMPLE", STONE), ("PLANK", PLANK), ("CLIFF", CLIFF)]
+SHIRT, TROUSERS, SKIN, HAIR, BOOTS, BELT = 0x5B7F99, 0x6F5B42, 0xD8A476, 0x3B2A1C, 0x3A2E24, 0x2E2620
+FUR, FUR2, FACE, EYE = 0x3E3631, 0x2F2925, 0x8C7262, 0xF0482A
+ROOT, TRUNK, BARK, LEAF, LEAF2 = 0x5B3F24, 0x6A4A2D, 0x55391F, 0x3A6B2C, 0x2F5A26
+FIRE, FIRE2, VENT = 0xFF8A1E, 0xFFD448, 0x4E463C
+COIN_RGB = {"Y": (0xFFD21E, 0xC89A10), "R": (0xE4352C, 0xA82018), "B": (0x3A78F2, 0x2050B0)}
+
+
+# ---------------------------------------------------------------- geometry
+def sub(a, b):
+ return [a[i] - b[i] for i in range(3)]
+
+
+def cross(a, b):
+ return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]]
+
+
+def dot(a, b):
+ return sum(a[i] * b[i] for i in range(3))
+
+
+def norm(a):
+ n = math.sqrt(dot(a, a)) or 1
+ return [x / n for x in a]
+
+
+def face(pts, rgb, normal=None, two=False):
+ """a convex face; its corners put clockwise seen from the side the normal points to"""
+ n = cross(sub(pts[1], pts[0]), sub(pts[2], pts[0]))
+ if normal is not None and dot(n, normal) < 0:
+ pts = pts[::-1]
+ n = [-x for x in n]
+ return (pts, rgb, norm(n), two)
+
+
+def quad_outward(pts, rgb, centre, two=False):
+ """a face of a solid: its normal away from the solid's centre"""
+ mid = [sum(p[i] for p in pts) / len(pts) for i in range(3)]
+ n = cross(sub(pts[1], pts[0]), sub(pts[2], pts[0]))
+ if dot(n, sub(mid, centre)) < 0:
+ pts = pts[::-1]
+ return face(pts, rgb, None, two)
+
+
+def rot_x(p, a, o):
+ y, z = p[1] - o[1], p[2] - o[2]
+ c, s = math.cos(a), math.sin(a)
+ return [p[0], o[1] + y * c - z * s, o[2] + y * s + z * c]
+
+
+def rot_z(p, a, o):
+ x, y = p[0] - o[0], p[1] - o[1]
+ c, s = math.cos(a), math.sin(a)
+ return [o[0] + x * c - y * s, o[1] + x * s + y * c, p[2]]
+
+
+def box(x0, y0, z0, x1, y1, z1, rgb, top=None, skip="", xf=None):
+ """a box's faces; skip leaves out faces: b(ottom) t(op) l r f(ront, +z) k (back, -z); xf moves corners"""
+ c = [[x, y, z] for x in (x0, x1) for y in (y0, y1) for z in (z0, z1)]
+ if xf:
+ c = [xf(p) for p in c]
+ centre = [sum(p[i] for p in c) / 8 for i in range(3)]
+ sides = {"l": [0, 1, 3, 2], "r": [4, 6, 7, 5], "b": [0, 2, 6, 4], "t": [1, 5, 7, 3], "k": [0, 4, 5, 1],
+ "f": [2, 3, 7, 6]}
+ out = []
+ for k, ids in sides.items():
+ if k in skip:
+ continue
+ out.append(quad_outward([c[i] for i in ids], top if (k == "t" and top is not None) else rgb, centre))
+ return out
+
+
+def add(name, faces, far=None):
+ MODELS.append((name, faces, far))
+
+
+# ---------------------------------------------------------------- the runner and the pursuers
+def person(phase=0.0, pose="run"):
+ """a stand-in runner: legs, body, arms and head, facing +z (the camera sees the back)"""
+ hip = [0, 4.3, 0]
+ lean, legs, arms, body_y = 0.18, (0, 0), (0, 0), 0.0
+ if pose == "run":
+ s = math.sin(phase)
+ legs = (0.65 * s, -0.65 * s)
+ arms = (-0.75 * s, 0.75 * s)
+ body_y = 0.25 * abs(math.cos(phase))
+ elif pose == "jump":
+ legs, arms, lean = (0.9, 0.4), (-2.4, -2.4), 0.1
+ elif pose == "stumble":
+ legs, arms, lean = (0.5, -0.3), (-1.4, -0.9), 0.65
+ elif pose == "fall":
+ legs, arms, lean = (0.2, -0.2), (-2.9, -2.9), -0.1
+ out = []
+ shoulder_y = hip[1] + 3.3
+
+ def body_xf(p):
+ p = [p[0], p[1] + body_y, p[2]]
+ return rot_x(p, lean, [0, hip[1] + body_y, 0])
+
+ for side, a in ((-1, legs[0]), (1, legs[1])):
+ x0 = 0.15 if side > 0 else -1.25
+ xf = lambda p, a=a: [p[0], p[1] + body_y, p[2]] if False else rot_x([p[0], p[1] + body_y, p[2]], a, [0, hip[1] + body_y, 0])
+ out += box(x0, 0.0, -0.55, x0 + 1.1, hip[1], 0.55, TROUSERS, xf=xf, skip="")
+ out += box(x0 - 0.05, 0.0, -0.6, x0 + 1.15, 0.9, 0.85, BOOTS, xf=xf)
+ out += box(-1.5, hip[1] - 0.2, -0.85, 1.5, hip[1] + 0.5, 0.85, BELT, xf=body_xf, skip="b")
+ out += box(-1.5, hip[1] + 0.5, -0.85, 1.5, shoulder_y, 0.85, SHIRT, xf=body_xf, skip="b")
+ out += box(-0.8, shoulder_y, -0.8, 0.8, shoulder_y + 1.7, 0.8, SKIN, top=HAIR, xf=body_xf)
+ out += box(-0.85, shoulder_y + 1.15, -0.9, 0.85, shoulder_y + 1.8, 0.75, HAIR, xf=body_xf, skip="b")
+ for side, a in ((-1, arms[0]), (1, arms[1])):
+ x0 = 1.5 if side > 0 else -2.3
+ xf = lambda p, a=a: body_xf(rot_x(p, a, [0, shoulder_y - 0.3, 0]))
+ out += box(x0, shoulder_y - 3.2, -0.4, x0 + 0.8, shoulder_y - 0.1, 0.4, SHIRT, xf=xf)
+ out += box(x0, shoulder_y - 3.7, -0.4, x0 + 0.8, shoulder_y - 3.2, 0.4, SKIN, xf=xf)
+ return out
+
+
+def person_slide():
+ """sliding on the back, feet first, under 4 units"""
+ out = box(-1.25, 0.2, 0.0, 1.25, 1.3, 4.6, TROUSERS)
+ out += box(-1.3, 0.1, 4.6, 1.3, 1.4, 5.5, BOOTS)
+ xf = lambda p: rot_x(p, 1.05, [0, 0.6, 0])
+ out += box(-1.5, 0.0, -0.85, 1.5, 3.4, 0.85, SHIRT, xf=xf)
+ out += box(-0.8, 3.4, -0.8, 0.8, 5.0, 0.8, SKIN, top=HAIR, xf=xf)
+ out += box(-2.3, 0.2, -0.4, -1.5, 3.0, 0.4, SHIRT, xf=xf)
+ out += box(1.5, 0.2, -0.4, 2.3, 3.0, 0.4, SHIRT, xf=xf)
+ return out
+
+
+def person_down():
+ """lying face down, caught or fallen"""
+ xf = lambda p: rot_x(p, 1.5, [0, 0.9, 0])
+ out = box(-1.25, 0.0, -0.55, 1.25, 4.3, 0.55, TROUSERS, xf=xf)
+ out += box(-1.5, 4.3, -0.85, 1.5, 7.6, 0.85, SHIRT, xf=xf)
+ out += box(-0.8, 7.6, -0.8, 0.8, 9.3, 0.8, SKIN, top=HAIR, xf=xf)
+ return out
+
+
+def pursuer(phase):
+ """a stand-in pursuer: a dark, hunched four-limbed shape with a pale face and two red eyes"""
+ s = math.sin(phase)
+ out = []
+ hip = [0, 3.0, 0]
+ bxf = lambda p: rot_x([p[0], p[1] + 0.3 * abs(math.cos(phase)), p[2]], 0.75, hip)
+ out += box(-1.9, 2.6, -1.4, 1.9, 6.6, 1.4, FUR, top=FUR2, xf=bxf)
+ out += box(-1.3, 6.4, -0.9, 1.3, 8.4, 1.5, FUR, xf=bxf)
+ out += box(-1.0, 6.7, 1.5, 1.0, 8.0, 1.9, FACE, xf=bxf, skip="k")
+ for x in (-0.65, 0.35):
+ out += box(x, 7.35, 1.9, x + 0.3, 7.7, 2.0, EYE, xf=bxf, skip="k")
+ for side, a in ((-1, 0.8 * s), (1, -0.8 * s)):
+ x0 = 0.4 if side > 0 else -1.6
+ xf = lambda p, a=a: rot_x(p, a, hip)
+ out += box(x0, 0.0, -0.6, x0 + 1.2, hip[1] + 0.3, 0.6, FUR2, xf=xf)
+ for side, a in ((-1, -0.9 * s - 0.5), (1, 0.9 * s - 0.5)):
+ x0 = 1.9 if side > 0 else -2.9
+ xf = lambda p, a=a: bxf(rot_x(p, a, [0, 6.2, 0]))
+ out += box(x0, 1.0, -0.5, x0 + 1.0, 6.4, 0.5, FUR, xf=xf)
+ return out
+
+
+# ---------------------------------------------------------------- path pieces
+W = 10.0 # half the walkway's width
+DEPTH = -42.0 # how far the stone goes down into the haze
+
+
+def floor(x0, z0, x1, z1, c, stripes=True, y=0.0):
+ """a walkway's top, in stripes across the run (they show the speed)"""
+ out = []
+ if not stripes:
+ return [face([[x0, y, z0], [x1, y, z0], [x1, y, z1], [x0, y, z1]], c["top"], [0, 1, 0])]
+ n = max(1, round(abs(z1 - z0) / 10)) if abs(z1 - z0) >= abs(x1 - x0) else max(1, round(abs(x1 - x0) / 10))
+ along_z = abs(z1 - z0) >= abs(x1 - x0)
+ for i in range(n):
+ if along_z:
+ a, b = z0 + (z1 - z0) * i / n, z0 + (z1 - z0) * (i + 1) / n
+ pts = [[x0, y, a], [x1, y, a], [x1, y, b], [x0, y, b]]
+ else:
+ a, b = x0 + (x1 - x0) * i / n, x0 + (x1 - x0) * (i + 1) / n
+ pts = [[a, y, z0], [b, y, z0], [b, y, z1], [a, y, z1]]
+ out.append(face(pts, c["top"] if i % 2 == 0 else c["top2"], [0, 1, 0]))
+ return out
+
+
+def wall(p0, p1, normal, c, y0=DEPTH, y1=0.0, rgb=None):
+ """a side of the walkway going down from its edge, from p0 to p1 (x, z)"""
+ pts = [[p0[0], y1, p0[1]], [p1[0], y1, p1[1]], [p1[0], y0, p1[1]], [p0[0], y0, p0[1]]]
+ return [face(pts, rgb if rgb is not None else c["side"], [normal[0], 0, normal[1]])]
+
+
+def curb(p0, p1, inward, c, theme):
+ """the low border along an edge: stone blocks in the temple, rails on the bridges, rock on the cliffs"""
+ (x0, z0), (x1, z1) = p0, p1
+ ix, iz = inward
+ t = 1.6
+ lo, hi = (min(x0, x1, x0 + ix * t), max(x0, x1, x0 + ix * t)), (min(z0, z1, z0 + iz * t), max(z0, z1, z0 + iz * t))
+ if theme == "PLANK":
+ out = []
+ along = (x1 - x0, z1 - z0)
+ n = 3
+ for i in range(n + 1):
+ px, pz = x0 + along[0] * i / n + ix * 0.6, z0 + along[1] * i / n + iz * 0.6
+ out += box(px - 0.5, 0.0, pz - 0.5, px + 0.5, 4.5, pz + 0.5, c["curb"], skip="b")
+ out += box(lo[0] + (0.3 if ix else 0), 3.6, lo[1] + (0.3 if iz else 0), hi[0] - (0.3 if ix else 0) if ix else hi[0],
+ 4.0, hi[1] - (0.3 if iz else 0) if iz else hi[1], c["curb"], skip="b")
+ return out
+ h = 1.6 if theme == "TEMPLE" else 2.4
+ return box(lo[0], 0.0, lo[1], hi[0], h, hi[1], c["curb"], skip="b")
+
+
+def piece(kind, c, theme):
+ """the faces of one path tile (the run comes from -z)"""
+ out = []
+ if kind == "STRAIGHT":
+ out += floor(-W, -30, W, 30, c)
+ out += wall((-W, 30), (-W, -30), (-1, 0), c) + wall((W, -30), (W, 30), (1, 0), c)
+ out += curb((-W, -30), (-W, 30), (1, 0), c, theme) + curb((W, -30), (W, 30), (-1, 0), c, theme)
+ elif kind in ("HOLE", "HOLE_LONG"):
+ g = 10 if kind == "HOLE" else 17
+ for z0, z1 in ((-30, -g), (g, 30)):
+ out += floor(-W, z0, W, z1, c, stripes=False)
+ out += wall((-W, z1), (-W, z0), (-1, 0), c) + wall((W, z0), (W, z1), (1, 0), c)
+ out += curb((-W, z0), (-W, z1), (1, 0), c, theme) + curb((W, z0), (W, z1), (-1, 0), c, theme)
+ out += wall((-W, -g), (W, -g), (0, 1), c) + wall((W, g), (-W, g), (0, -1), c)
+ elif kind in ("NARROW_L", "NARROW_R"):
+ s = -1 if kind == "NARROW_L" else 1
+ a, b = sorted((s * W, s * 2.0))
+ out += floor(a, -30, b, 30, c)
+ out += wall((a, 30), (a, -30), (-1, 0), c) + wall((b, -30), (b, 30), (1, 0), c)
+ out += curb((s * W, -30), (s * W, 30), (-s, 0), c, theme)
+ # the broken edge where the walkway fell away
+ out += floor(-W, -30, W, -26, c, stripes=False) + floor(-W, 26, W, 30, c, stripes=False)
+ out += wall((-s * W, -26), (s * 2.0, -26), (0, 1), c) + wall((s * 2.0, 26), (-s * W, 26), (0, -1), c)
+ elif kind in ("CORNER_L", "CORNER_R"):
+ s = 1 if kind == "CORNER_R" else -1
+ out += floor(-W, -30, W, W, c)
+ out += floor(min(s * W, s * 30), -W, max(s * W, s * 30), W, c)
+ out += wall((-s * W, -30), (-s * W, W), (-s, 0), c) + wall((-s * W, W), (s * 30, W), (0, 1), c)
+ out += wall((s * W, W - 2 * W), (s * W, -30), (s, 0), c) + wall((s * 30, -W), (s * W, -W), (0, -1), c)
+ out += curb((-s * W, -30), (-s * W, W), (s, 0), c, theme) + curb((-s * W, W), (s * 30, W), (0, -1), c, theme)
+ out += curb((s * W, -30), (s * W, -W), (-s, 0), c, theme) + curb((s * W, -W), (s * 30, -W), (0, 1), c, theme)
+ elif kind == "T":
+ out += floor(-W, -30, W, -W, c)
+ out += floor(-30, -W, 30, W, c)
+ out += wall((-30, W), (30, W), (0, 1), c)
+ out += wall((-W, -W), (-W, -30), (-1, 0), c) + wall((W, -30), (W, -W), (1, 0), c)
+ out += wall((-W, -W), (-30, -W), (0, -1), c) + wall((30, -W), (W, -W), (0, -1), c)
+ out += curb((-30, W), (30, W), (0, -1), c, theme)
+ out += curb((-W, -30), (-W, -W), (1, 0), c, theme) + curb((W, -30), (W, -W), (-1, 0), c, theme)
+ out += curb((-30, -W), (-W, -W), (0, 1), c, theme) + curb((W, -W), (30, -W), (0, 1), c, theme)
+ elif kind in ("STEP_UP", "STEP_DOWN"):
+ # 15 units up or down over the tile, in five steps of 3 (the game's floor: game.c)
+ up = kind == "STEP_UP"
+ hs = [3.0 * (i + 1) if up else -3.0 * i for i in range(5)]
+ for i in range(5):
+ z0, z1, y = -30 + 12 * i, -18 + 12 * i, hs[i]
+ out.append(face([[-W, y, z0], [W, y, z0], [W, y, z1], [-W, y, z1]], c["top"] if i % 2 == 0 else c["top2"], [0, 1, 0]))
+ out += wall((-W, z1), (-W, z0), (-1, 0), c, y1=y) + wall((W, z0), (W, z1), (1, 0), c, y1=y)
+ py = hs[i - 1] if i else (0.0 if up else None)
+ if py is not None and y > py:
+ out.append(face([[-W, py, z0], [W, py, z0], [W, y, z0], [-W, y, z0]], c["side"], [0, 0, -1]))
+ return out
+
+
+def cliff_face():
+ """the rock wall rising on the cliff path's left"""
+ out = [face([[-W - 5, 0, -30], [-W - 5, 0, 30], [-W - 9, 20, 30], [-W - 9, 20, -30]], 0x8A8274, [1, 0, 0])]
+ out.append(face([[-W - 9, 20, -30], [-W - 9, 20, 30], [-W - 24, 20, 30], [-W - 24, 20, -30]], 0x56743A, [0, 1, 0]))
+ return out
+
+
+def far_piece(kind, c):
+ """far off: only the walkway's top and its sides"""
+ full = {"STRAIGHT": [(-W, -30, W, 30)], "HOLE": [(-W, -30, W, -10), (-W, 10, W, 30)],
+ "HOLE_LONG": [(-W, -30, W, -17), (-W, 17, W, 30)], "NARROW_L": [(-W, -30, -2, 30)],
+ "NARROW_R": [(2, -30, W, 30)], "CORNER_L": [(-W, -30, W, W), (-30, -W, -W, W)],
+ "CORNER_R": [(-W, -30, W, W), (W, -W, 30, W)], "T": [(-W, -30, W, -W), (-30, -W, 30, W)]}
+ out = []
+ for x0, z0, x1, z1 in full.get(kind, []):
+ out += floor(x0, z0, x1, z1, c, stripes=False)
+ if kind in ("STRAIGHT", "HOLE", "HOLE_LONG"):
+ out += wall((-W, 30), (-W, -30), (-1, 0), c, y0=-24) + wall((W, -30), (W, 30), (1, 0), c, y0=-24)
+ if kind in ("STEP_UP", "STEP_DOWN"):
+ a, b = (3, 15) if kind == "STEP_UP" else (0, -12)
+ out.append(face([[-W, a, -30], [W, a, -30], [W, b, 30], [-W, b, 30]], c["top"], [0, 1, 0]))
+ return out
+
+
+# ---------------------------------------------------------------- obstacles, coins, power-ups, scenery
+def root_low():
+ """a root across the path, low enough to run into and stumble (jump it)"""
+ out = []
+ for i, (x0, x1) in enumerate(((-W, -4), (-4.5, 3.5), (3, W))):
+ h = 1.6 + 0.5 * (i % 2)
+ out += box(x0, 0.0, -0.9, x1, h, 0.9, ROOT, top=0x6E4E2E, skip="b")
+ return out
+
+
+def tree_jump():
+ """a fallen trunk across the path: jump it"""
+ out = box(-W - 3, 0.0, -1.8, W + 3, 4.2, 1.8, TRUNK, top=0x7B5A38, skip="b")
+ out += box(-W - 4, -3.0, -2.2, -W - 1, 5.0, 2.2, BARK, skip="b")
+ out += box(W + 1, -3.0, -2.2, W + 4, 5.0, 2.2, BARK, skip="b")
+ return out
+
+
+def branch_slide():
+ """a branch across the path at head height: slide under it"""
+ out = box(-W - 3, 5.2, -1.3, W + 3, 7.4, 1.3, TRUNK, top=0x7B5A38)
+ for x in (-6.0, 1.0, 6.5):
+ out += box(x, 7.2, -2.6, x + 3.4, 9.6, 2.6, LEAF, top=LEAF2)
+ out += box(-W - 3.5, 0.0, -1.6, -W - 1.0, 7.6, 1.6, BARK, skip="b")
+ out += box(W + 1.0, 0.0, -1.6, W + 3.5, 7.6, 1.6, BARK, skip="b")
+ return out
+
+
+def fire(t):
+ """fire jets across the path from vents in the floor: jump them"""
+ out = []
+ for i, x in enumerate((-7.0, -2.0, 3.0)):
+ out += box(x, 0.0, -1.4, x + 4.0, 0.6, 1.4, VENT, skip="b")
+ h = 4.6 + 1.3 * math.sin(t * 2.1 + i * 1.7)
+ cx = x + 2.0
+ for k, (wd, hh, col) in enumerate(((1.7, h, FIRE), (0.9, h * 0.7, FIRE2))):
+ for zs in (-1, 1):
+ pts = [[cx - wd, 0.6, zs * 0.25 * (k + 1)], [cx + wd, 0.6, zs * 0.25 * (k + 1)], [cx, 0.6 + hh, 0]]
+ out.append(face(pts, col, [0, 0, -1 if zs < 0 else 1], two=True))
+ return out
+
+
+def coin(rgb):
+ """a coin: an octagon, both sides"""
+ r, n = 1.7, 8
+ pts = [[r * math.cos(2 * math.pi * (i + 0.5) / n), 3.0 + r * math.sin(2 * math.pi * (i + 0.5) / n), 0] for i in range(n)]
+ inner = [[p[0] * 0.6, 3.0 + (p[1] - 3.0) * 0.6, 0] for p in pts]
+ return [face(pts, rgb[1], [0, 0, -1], two=True), face(inner, rgb[0], [0, 0, -1], two=True)]
+
+
+def magnet():
+ out = box(-2.0, 2.4, -0.5, -1.0, 6.0, 0.5, 0xD02A28) + box(1.0, 2.4, -0.5, 2.0, 6.0, 0.5, 0xD02A28)
+ out += box(-2.0, 6.0, -0.5, 2.0, 7.0, 0.5, 0xD02A28)
+ out += box(-2.0, 1.6, -0.5, -1.0, 2.4, 0.5, 0xE0E0E0) + box(1.0, 1.6, -0.5, 2.0, 2.4, 0.5, 0xE0E0E0)
+ return out
+
+
+def diamond(rgb, rgb2, y=4.2, r=2.0, h=2.6):
+ """a double pyramid (the invisibility, the coin bonus)"""
+ out = []
+ ring = [[r * math.cos(a), y, r * math.sin(a)] for a in (0, math.pi / 2, math.pi, 3 * math.pi / 2)]
+ centre = [0, y, 0]
+ for i in range(4):
+ a, b = ring[i], ring[(i + 1) % 4]
+ out.append(quad_outward([a, b, [0, y + h, 0]], rgb if i % 2 else rgb2, centre))
+ out.append(quad_outward([a, b, [0, y - h, 0]], rgb2 if i % 2 else rgb, centre))
+ return out
+
+
+def boost():
+ """an arrow pointing ahead"""
+ out = box(-0.8, 3.0, -2.6, 0.8, 5.0, 0.4, 0x3FCF5F)
+ centre = [0, 4.0, 1.5]
+ for pts in ([[-2.2, 3.0, 0.4], [2.2, 3.0, 0.4], [0, 3.0, 3.2]], [[-2.2, 5.0, 0.4], [2.2, 5.0, 0.4], [0, 5.0, 3.2]],
+ [[-2.2, 3.0, 0.4], [-2.2, 5.0, 0.4], [0, 5.0, 3.2], [0, 3.0, 3.2]],
+ [[2.2, 3.0, 0.4], [0, 3.0, 3.2], [0, 5.0, 3.2], [2.2, 5.0, 0.4]],
+ [[-2.2, 3.0, 0.4], [2.2, 3.0, 0.4], [2.2, 5.0, 0.4], [-2.2, 5.0, 0.4]]):
+ out.append(quad_outward(pts, 0x56E070, centre))
+ return out
+
+
+def jungle_tree(tall):
+ """a jungle tree rising from below the path, its leaves above"""
+ out = box(-2.2, -70, -2.2, 2.2, tall, 2.2, TRUNK, skip="b")
+ out += box(-9, tall - 2, -9, 9, tall + 6, 9, LEAF, top=0x447A34)
+ out += box(-6, tall + 6, -6, 6, tall + 10, 6, LEAF2, top=0x4F8A3C)
+ return out
+
+
+def jungle_far(tall):
+ return box(-9, tall - 2, -9, 9, tall + 6, 9, LEAF, top=0x447A34, skip="b") + box(-2.2, -40, -2.2, 2.2, tall - 2, 2.2, TRUNK, skip="btfk")
+
+
+def pillar():
+ """a broken temple pillar beside the path"""
+ out = box(-3, -50, -3, 3, 14, 3, 0x8E7F66, top=0x9E8F74, skip="b")
+ out += box(-4, 14, -4, 4, 16.5, 4, 0x9E8F74, skip="")
+ return out
+
+
+def temple():
+ """the temple the run starts from: a stone block with a dark doorway (behind the start)"""
+ out = box(-34, -40, -50, 34, 46, -30, 0x8A7A5E, top=0x6F7F4A, skip="b")
+ out.append(face([[-9, 0, -29.9], [9, 0, -29.9], [9, 20, -29.9], [-9, 20, -29.9]], 0x221C16, [0, 0, 1]))
+ out += box(-26, 46, -46, 26, 58, -34, 0x7C6C52, skip="b")
+ return out
+
+
+def build():
+ for i in range(4):
+ add(f"RUNNER_RUN{i}", person(i * math.pi / 2), None)
+ add("RUNNER_JUMP", person(0, "jump"))
+ add("RUNNER_SLIDE", person_slide())
+ add("RUNNER_STUMBLE", person(0, "stumble"))
+ add("RUNNER_FALL", person(0, "fall"))
+ add("RUNNER_DOWN", person_down())
+ add("PURSUER_RUN0", pursuer(0.0))
+ add("PURSUER_RUN1", pursuer(math.pi / 2))
+ add("PURSUER_RUN2", pursuer(math.pi))
+ add("PURSUER_RUN3", pursuer(3 * math.pi / 2))
+ kinds = ["STRAIGHT", "HOLE", "HOLE_LONG", "NARROW_L", "NARROW_R", "CORNER_L", "CORNER_R", "T", "STEP_UP", "STEP_DOWN"]
+ for theme, c in THEMES:
+ for k in kinds:
+ add(f"{theme}_{k}", piece(k, c, theme), f"{theme}_{k}_FAR")
+ add(f"{theme}_{k}_FAR", far_piece(k, c))
+ add("ROOT_LOW", root_low())
+ add("TREE_JUMP", tree_jump())
+ add("BRANCH_SLIDE", branch_slide())
+ for i in range(4):
+ add(f"FIRE{i}", fire(i * math.pi / 2))
+ for k, rgb in COIN_RGB.items():
+ add(f"COIN_{k}", coin(rgb))
+ add("MAGNET", magnet())
+ add("INVISIBILITY", diamond(0x9FE8FF, 0x6CC4E8))
+ add("BOOST", boost())
+ add("COIN_BONUS", diamond(0xFFD21E, 0xE0A818, y=4.2, r=2.2, h=2.2))
+ add("JUNGLE_TREE", jungle_tree(26), "JUNGLE_TREE_FAR")
+ add("JUNGLE_TREE_FAR", jungle_far(26))
+ add("JUNGLE_TALL", jungle_tree(44), "JUNGLE_TALL_FAR")
+ add("JUNGLE_TALL_FAR", jungle_far(44))
+ add("PILLAR", pillar())
+ add("CLIFF_WALL", cliff_face())
+ add("TEMPLE", temple())
+
+
+def write(src):
+ build()
+ names = [m[0] for m in MODELS]
+ h = ["/* Temple Run: the mesh numbers (data.c, made by tools/models.py). */", "#ifndef TR_DATA_H", "#define TR_DATA_H",
+ '#include "models.h"', '#include "r3d.h"', "", "enum {"]
+ h += [f" M_{n}," for n in names] + [" M_COUNT", "};", "#endif", ""]
+ c = ["/* Made by tools/models.py: Temple Run's stand-in models (boxes and wedges), as a mesh table. */",
+ '#include "data.h"', "", "const Texture *const r_tex[1] = {0};", ""]
+ table = []
+ for name, faces, far in MODELS:
+ verts, index, vmap, rows, rmax = [], [], {}, [], 0.0
+ for pts, rgb, n, two in faces:
+ first = len(index)
+ for p in pts:
+ key = tuple(round(v * Q) for v in p)
+ rmax = max(rmax, math.sqrt(sum((v / Q) ** 2 for v in key)))
+ if key not in vmap:
+ vmap[key] = len(verts)
+ verts.append(key)
+ index.append(vmap[key])
+ rows.append((first, len(pts), [max(-127, min(127, round(v * 127))) for v in n], 1 if two else 0, rgb))
+ low = name.lower()
+ c.append(f"static const MVert v_{low}[] = {{" + ", ".join("{%d,%d,%d}" % v for v in verts) + "};")
+ c.append(f"static const uint16_t i_{low}[] = {{" + ",".join(str(i) for i in index) + "};")
+ c.append(f"static const MFace f_{low}[] = {{" + ", ".join(
+ "{%d,%d,%d,%d,%d,%d,0,0x%06X}" % (f, n, nn[0], nn[1], nn[2], two, rgb) for f, n, nn, two, rgb in rows) + "};")
+ farv = f"M_{far}" if far else "-1"
+ table.append(f" {{v_{low}, i_{low}, f_{low}, {len(rows)}, {farv}, {rmax + 0.5:.1f}f}},")
+ assert len(verts) < 65536
+ c += ["", "const Mesh meshes[M_COUNT] = {"] + table + ["};", ""]
+ Path(src, "data.h").write_text("\n".join(h))
+ Path(src, "data.c").write_text("\n".join(c))
+ nf = sum(len(m[1]) for m in MODELS)
+ print(f"{len(MODELS)} meshes, {nf} faces")
+
+
+if __name__ == "__main__":
+ write(sys.argv[1] if len(sys.argv) > 1 else "src")
diff --git a/tests/test_games.py b/tests/test_games.py
index 4aabcb01..9da4ee81 100644
--- a/tests/test_games.py
+++ b/tests/test_games.py
@@ -279,6 +279,10 @@ GAMES = {
"badtime": ("BadTimeSimulator.nwa", "badtime.sav",
presses((1500, "ok"), (2200, "ok"), (2900, "ok"), (3600, "ok"), (5000, "ok")), 6500,
presses((1500, "ok")), 4000),
+ # how to play (the first time), the title's Run: a run with no one playing, until it ends; Home keeps it. Next
+ # time, from the copy, straight from the title into another run, quit with On/Off
+ "templerun": ("TempleRun.nwa", "templerun.sav", presses((1500, "ok"), (2200, "ok")), 9000,
+ presses((1500, "ok")), 4000),
# a level, its message, then play; then back to the level select
"portal": ("PortalReturns.nwa", "portal.sav",
presses((1500, "ok"), (2500, "ok"), (3500, "ok")) + every(4000, 7000, 400, "right", 300), 8000,
@@ -347,7 +351,7 @@ COPIES = {"championisland": "champion_saves.py", "numblocks": "numblocks_saves.p
"tombofthemask": "tombofthemask_saves.py", "uno": "uno_saves.py",
"fnf": "fnf_saves.py", "turborush": "turborush_saves.py",
"angrybirds": "angrybirds_saves.py", "polytrack": "polytrack_saves.py", "paperclips": "paperclips_saves.py",
- "badtime": "badtime_saves.py"}
+ "badtime": "badtime_saves.py", "templerun": "templerun_saves.py"}
def paperclips_ok(v):
@@ -553,6 +557,10 @@ CHECKS = {
# "BTS1", version 1, its size (24): how to play read (guide at 9), the first attack reached (best at 8); after the
# reinstall, from the copy, the same
"badtime": (lambda v: badtime_ok(v) and v[9] == 1 and v[8] >= 1,) * 2,
+ # "TNR1", version 1, its size (48): a run played (runs at 24), a best score (16); then a second run
+ "templerun": (lambda v: v[:4] == b"TNR1" and struct.unpack_from("<2I", v, 4) == (1, 48)
+ and struct.unpack_from("<I", v, 24)[0] == 1 and struct.unpack_from("<I", v, 16)[0] > 0,
+ lambda v: v[:4] == b"TNR1" and struct.unpack_from("<I", v, 24)[0] == 2),
"breakout": (lambda v: len(v) == 12 and v[:2] == b"B\2" and v[4] == 1 and struct.unpack_from("<I", v, 8)[0] >= 10,
lambda v: v[4] == 0 and struct.unpack_from("<I", v, 8)[0] >= 1), # best kept, shake off
# Air Hockey and the easy computer chosen; then the normal computer and Tanks, the tallies of the six games kept
diff --git a/tools/release.py b/tools/release.py
index 128888eb..904bd668 100644
--- a/tools/release.py
+++ b/tools/release.py
@@ -55,6 +55,7 @@ ALONE = {
"polytrack": ("PolyTrack", "Kodub's low-poly time trial racer: its 17 tracks, loops, wall rides and jumps, against your ghost"),
"paperclips": ("Universal Paperclips", "Frank Lantz's game of an AI making paperclips: business, the Earth, then the universe"),
"badtime": ("Bad Time Simulator", "the Judge's fight: 24 attacks of bones, gavels and the blue heart, after jcw87's Bad Time Simulator"),
+ "templerun": ("Temple Run", "the endless run from the temple: turn, jump, slide and lean, with the game's rules and numbers"),
}
VARIANTS = [
("NumPlay-Invisible.nwa", "The same app, hidden: a blank icon with no name"),