Back to shtanton's homepage
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
-rw-r--r--res/exit.pngbin0 -> 320 bytes
-rw-r--r--res/pause.pngbin0 -> 232 bytes
-rw-r--r--res/play.pngbin0 -> 308 bytes
-rw-r--r--res/restart.pngbin0 -> 311 bytes
-rw-r--r--src/all.c2
6 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index aa91fae..d48073d 100644
--- a/Makefile
+++ b/Makefile
@@ -27,12 +27,20 @@ build/%.qoi: res/%.png
mkdir -p build
magick $< $@
-build/images.c: build/continue.qoi build/img
+build/images.c: build/continue.qoi build/exit.qoi build/pause.qoi build/play.qoi build/restart.qoi build/img
mkdir -p build
(\
build/img pixels build/continue.qoi 1 && \
+ build/img pixels build/exit.qoi 2 && \
+ build/img pixels build/pause.qoi 3 && \
+ build/img pixels build/play.qoi 4 && \
+ build/img pixels build/restart.qoi 5 && \
echo 'Image images[] = {{0},' && \
build/img image build/continue.qoi 1 && \
+ build/img image build/exit.qoi 2 && \
+ build/img image build/pause.qoi 3 && \
+ build/img image build/play.qoi 4 && \
+ build/img image build/restart.qoi 5 && \
echo '};' \
) > build/images.c
diff --git a/res/exit.png b/res/exit.png
new file mode 100644
index 0000000..74630b5
--- /dev/null
+++ b/res/exit.png
Binary files differ
diff --git a/res/pause.png b/res/pause.png
new file mode 100644
index 0000000..0637a60
--- /dev/null
+++ b/res/pause.png
Binary files differ
diff --git a/res/play.png b/res/play.png
new file mode 100644
index 0000000..a4d4b00
--- /dev/null
+++ b/res/play.png
Binary files differ
diff --git a/res/restart.png b/res/restart.png
new file mode 100644
index 0000000..8df131a
--- /dev/null
+++ b/res/restart.png
Binary files differ
diff --git a/src/all.c b/src/all.c
index 14e37ac..2b0b850 100644
--- a/src/all.c
+++ b/src/all.c
@@ -142,7 +142,7 @@ static DrawList *render(State *state, UI *ui, Arena *a) {
.h = cellHeight,
.fill = {255, 0, 0, 63},
.border = {255, 0, 0, 255},
- .image = 1,
+ .image = 5,
};
// render side panel