From 8ae382513b15f7050f81a65a3a156f6e3ac7c178 Mon Sep 17 00:00:00 2001 From: Charlie Stanton Date: Sun, 6 Apr 2025 17:29:39 +0100 Subject: Add nelson to web version --- Makefile | 4 +++- src/index.html.in | 10 ++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2d1ea69..a652921 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,9 @@ build/main.wasm.b64: build/main.wasm (printf '"'; base64 < build/main.wasm | tr -d '\n'; printf '"') > build/main.wasm.b64 build/index.html: src/index.html.in build/main.wasm.b64 build/music.mp3.b64 \ - build/continue.png.b64 build/exit.png.b64 build/pause.png.b64 build/play.png.b64 build/restart.png.b64 + build/continue.png.b64 build/exit.png.b64 build/pause.png.b64 build/play.png.b64 build/restart.png.b64 \ + build/nelson.png.b64 build/nelson_left.png.b64 build/nelson_up.png.b64 \ + build/nelson_right.png.b64 build/nelson_down.png.b64 mkdir -p build clang -E -P -undef -nostdinc -x c -o build/index.html src/index.html.in diff --git a/src/index.html.in b/src/index.html.in index 14731f6..9329c25 100644 --- a/src/index.html.in +++ b/src/index.html.in @@ -52,6 +52,16 @@ const IMAGES = [ , #include "../build/restart.png.b64" , +#include "../build/nelson.png.b64" +, +#include "../build/nelson_left.png.b64" +, +#include "../build/nelson_up.png.b64" +, +#include "../build/nelson_right.png.b64" +, +#include "../build/nelson_down.png.b64" +, ]; async function main() { -- cgit v1.2.3