summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile4
-rw-r--r--LEESMIJ21
-rw-r--r--README.md1
-rw-r--r--objs/cursor.go9
4 files changed, 22 insertions, 13 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 4c3c75f..01df54f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,7 +1,9 @@
.PHONY: all clean leesmij-koptekst
all: ponger
-ponger: .pik/build.sh
+SRCS:=$(shell find . -name '*.go')
+
+ponger: .pik/build.sh $(SRCS)
. .pik/build.sh
clean: .pik/clean.sh
diff --git a/LEESMIJ b/LEESMIJ
index 029c6bb..4e9bfe8 100644
--- a/LEESMIJ
+++ b/LEESMIJ
@@ -1,8 +1,15 @@
- mmmmm mmmm mm m mmm mmmmmm mmmmm
- # "# m" "m #"m # m" " # # "#
- #mmm#" # # # #m # # mm #mmmmm #mmmm"
- # # # # # # # # # # "m
- # #mm# # ## "mmm" #mmmmm # "
-
-
+ ██░███▒ ░████░ ██░████ ▒███▒██ ░████▒ ██░████
+ ███████▒ ░██████░ ███████▓ ░███████ ░██████▒ ███████
+ ███ ███ ███ ███ ███ ▒██ ███ ███ ██▒ ▒██ ███░
+ ██░ ░██ ██░ ░██ ██ ██ ██░ ░██ ████████ ██
+ ██ ██ ██ ██ ██ ██ ██ ██ ████████ ██
+ ██░ ░██ ██░ ░██ ██ ██ ██░ ░██ ██ ██
+ ███ ███ ███ ███ ██ ██ ███ ███ ███░ ▒█ ██
+ ███████▒ ░██████░ ██ ██ ░███████ ░███████ ██
+ ██░███▒ ░████░ ██ ██ ▒███▒██ ░█████▒ ██
+ ██ █░ ▒██
+ ██ ██████▓
+ ██ ▒████▒
+
+# ponger
diff --git a/README.md b/README.md
deleted file mode 100644
index e69eacb..0000000
--- a/README.md
+++ /dev/null
@@ -1 +0,0 @@
-# ponger
diff --git a/objs/cursor.go b/objs/cursor.go
index dd09a8b..f6d412b 100644
--- a/objs/cursor.go
+++ b/objs/cursor.go
@@ -12,11 +12,12 @@ type Cursor struct {
func (c *Cursor) Render(renderer *sdl.Renderer) {
renderer.SetDrawColor(255, 0, 0, 255)
+ size := float32(13)
r := &sdl.FRect{
- X: c.Position.X - 5,
- Y: c.Position.Y - 5,
- W: 10,
- H: 10,
+ X: c.Position.X - size/2,
+ Y: c.Position.Y - size/2,
+ W: size,
+ H: size,
}
renderer.RenderRect(r)
}