From 4c2e8eca49ba3f488f38d59f16884bb34245f216 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Tue, 25 Jun 2019 18:10:57 -0700 Subject: [PATCH] Add blank white wallpaper --- Makefile | 2 +- assets/wallpapers/white.png | Bin 0 -> 693 bytes pkg/menu_scene.go | 21 +++++++++++++-------- 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 assets/wallpapers/white.png diff --git a/Makefile b/Makefile index 172328b..6eebf7b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ SHELL := /bin/bash -VERSION=$(shell grep -e 'Version =' pkg/doodle.go | head -n 1 | cut -d '"' -f 2) +VERSION=$(shell grep -e 'Version =' pkg/branding/branding.go | head -n 1 | cut -d '"' -f 2) BUILD=$(shell git describe --always) BUILD_DATE=$(shell date -Iseconds) CURDIR=$(shell curdir) diff --git a/assets/wallpapers/white.png b/assets/wallpapers/white.png new file mode 100644 index 0000000000000000000000000000000000000000..058f66c9ddcb58a67c02204b6b897d695ee4ce4b GIT binary patch literal 693 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1SEZ8zRh7^U~I{Bb`J1#c2+1T%1_J8No8Qr zm{>c}*5j~)%+dJhtxBTo-77fKR``jzxXNtha$O;i)fy)2qxZK-jn}iQd+~#)f)B|X zUp;uVW_9yw1&+Fg9XqTvcX@RF_vX?~vaxt~e0O#K?(&BHVM(iQn(?iem8$aCP;qXg zXw&)^2N-@C@XSBrQ|l)p{6QxE`-hKT^-gWxbN;X8uBmHIGR$|dIbCvC>7K&8ds|A* z{XUWyHbLZ3@gu`#J&!*pN^d?jKUdlQ*Ty(!$)wLm5|b3~A1dPB+_X^0U(j77ba74n zt<=`fV(D8$5__vZiMMUKb;{^^CZA%TtBzv}gQTcPU{kBcS}9GnNn7MUf8e*On;2uX zvn%0AgoC7(%5naG?E80{7Ecz=3({cQvj4`n;~WBaSYL(S{%5!C?JrJ&3bu7ymhF#W zPP6k|Z?^S>;Dyb+F)`+*mHa#IF#eifa&m%{XE)7O>#F`E=4hh^2jmk)qKM?75|Ln>~)y=chDz`$|X;K2Upip+f>PM1Bs%6nOX xLcq9XP+(wS0Y$k00|OI-17(8LG6&%d`KW|6=D!)jZ&xt@fv2mV%Q~loCIDr<<=+4R literal 0 HcmV?d00001 diff --git a/pkg/menu_scene.go b/pkg/menu_scene.go index ef89421..ff7f6a3 100644 --- a/pkg/menu_scene.go +++ b/pkg/menu_scene.go @@ -154,15 +154,19 @@ func (s *MenuScene) setupNewWindow(d *Doodle) error { {"Unbounded", level.Unbounded}, {"Bounded", level.Bounded}, {"No Negative Space", level.NoNegativeSpace}, - {"Bordered", level.Bordered}, + // {"Bordered (TODO)", level.Bordered}, } for _, t := range types { - // Hide some options for the free version of the game. - if balance.FreeVersion { - if t.Value != level.Bounded { - continue - } - } + // TODO: Hide some options for the free version of the game. + // - At launch only Bounded and Bordered will be available + // in the shareware version. + // - For now, only hide Bordered as it's not yet implemented. + // -------- + // if balance.FreeVersion { + // if t.Value == level.Bordered { + // continue + // } + // } func(t typeObj) { radio := ui.NewRadioButton(t.Name, @@ -211,7 +215,8 @@ func (s *MenuScene) setupNewWindow(d *Doodle) error { {"Notebook", "notebook.png"}, {"Blueprint", "blueprint.png"}, {"Legal Pad", "legal.png"}, - {"Placemat", "placemat.png"}, + {"Pure White", "white.png"}, + // {"Placemat", "placemat.png"}, } for _, t := range wallpapers { func(t wallpaperObj) {