Commit Graph

79 Commits

Author SHA1 Message Date
1ae7e9ebe4 Added Mac OS X cross-compilation to release script (only SDL). 2020-05-26 18:58:17 +02:00
8264942602 Combined two Allegro related code units. 2020-05-26 18:54:26 +02:00
6ce7baed2b Removed (already redundant) resources.go. 2020-05-26 09:05:08 +02:00
bd1d685c20 Hid console window for Windows Allegro builds.
Removed explicit SDL dependency in game.
2020-05-25 22:54:58 +02:00
93002a784b Added hints on keyboard shortcuts. 2020-05-25 22:26:08 +02:00
7230ac966b Using the refactored Resources system. 2020-05-25 22:24:58 +02:00
62cbe14170 Updated README.md on CLI. 2020-05-25 20:03:30 +02:00
df97e826c8 Replacing dots with underscores in the version used in the filenames. 2020-05-25 20:02:19 +02:00
1bea3dd412 Fixed bug where the buy flower button wasn't enabled on load. 2020-05-24 19:57:39 +02:00
ddef723f80 Added keyboard shortcuts for load/new/save game. 2020-05-24 19:57:20 +02:00
cb58ebdf77 Added confirmation dialogs for save/load/new game. 2020-05-24 19:52:46 +02:00
6a8a23bf61 Elaborated README a bit on using the Allegro backend. 2020-05-23 19:14:45 +02:00
820d0f109a Cursor changes when tool is selected. 2020-05-23 16:03:18 +02:00
2f5f682a59 Fixed bug where hovering a buy flower button wasn't visualized properly. 2020-05-23 12:36:44 +02:00
064ec4619d Added tooltips when planting flowers. 2020-05-23 12:34:17 +02:00
ef6a60e155 Made coneflower prefer cold climates more. 2020-05-23 12:34:09 +02:00
ea26db29f3 Added allegro build tag to the README. 2020-05-23 12:08:29 +02:00
d24b4eb376 Updated release script to produce Allegro build as well.
Moved zipping directly after the build folder is ready.
2020-05-23 12:03:45 +02:00
855db3375c Added build flag to switch to Allegro backend.
Added logs that print which backend is used.
2020-05-23 11:08:50 +02:00
822d8ab584 Fixed incorrect panning. 2020-05-23 11:02:30 +02:00
b7b663ddb5 Fixed bug where mouse was released outside terrain area when dragging it kept dragging. 2020-05-23 10:43:05 +02:00
66eaa054c5 Refactored Botanim to use zntg (rendering abstraction). 2020-05-23 10:30:49 +02:00
a139b87d58 Add go generate to release script. 2020-05-14 14:45:40 +02:00
093cef549c Added extract command (extracts resources to the current working directory). 2020-05-14 14:43:13 +02:00
b68107b74a Added release script. 2020-05-14 14:37:06 +02:00
ad7c149baf Changed appearance of tooltips a bit.
- Bit smaller text, background half transparent.
2020-05-14 12:59:46 +02:00
7150d03d16 Enabled the mouse for dialing digits.
Changed intro/readme a bit (dig -> harvest).
2020-05-14 12:59:11 +02:00
c926ae2ef9 Added bonusses when flower is adjacent to more flowers 2020-05-14 08:39:42 +02:00
013fe4bdb6 Added tooltips. 2020-05-14 08:29:23 +02:00
f57a9dd845 Extended README. 2020-05-14 07:47:45 +02:00
76ac685cbb Added panning with keyboard.
Changed D for digging into H for harvesting.
2020-05-14 07:47:29 +02:00
c27d43e323 Rename Rect to RectAbs and renamed RectSize to Rect. 2020-05-12 13:55:30 +02:00
8e7101e67d Updated/extended README. 2020-05-12 08:51:10 +02:00
3717cfd872 Fixed bug where double digits in phone number weren't accepted properly (second digit required 10-digit strokes, third digit was impossible). 2020-05-11 15:52:43 +02:00
ee7f99166c Command (Windows) key is now supported as modifier key for dragging. 2020-05-11 15:48:18 +02:00
bfe0c9003d Made settings button disabled for now. 2020-05-11 15:45:55 +02:00
8236b65c06 No click event is generated when control is disabled. 2020-05-11 15:38:34 +02:00
1008b7b34b Can't plant flower when the control key is still down. 2020-05-11 15:32:41 +02:00
905aad2afa Can't plant flower over existing flower. 2020-05-11 15:27:22 +02:00
9f19e4bd92 Updating flower texts after closing a dialog to be sure. 2020-05-11 15:23:07 +02:00
cc8f8da5df Switched to regular embedding of resources. 2020-05-11 15:03:06 +02:00
c8cb0095a1 Added generation for embedding resources. 2020-05-11 14:59:08 +02:00
5e822d0cf9 Implemented research. 2020-05-11 14:41:42 +02:00
5ebd582498 Added keyboard support for zooming.
Added information but to show intro.
2020-05-11 12:05:54 +02:00
a6004a8ab6 Added "new game" functionality. 2020-05-11 11:53:15 +02:00
9641719579 Added intro dialog.
Refactored event handling to be able to "handle" events so no other controls will handle the same event again.
2020-05-11 11:44:50 +02:00
a72f416650 Disable hover effects when mouse leaves window. 2020-05-11 08:03:33 +02:00
6a7843f314 Added serialization of game state. 2020-05-11 03:09:01 +02:00
0cb57c5940 Changed config dir (more unique). 2020-05-11 02:52:42 +02:00
e26de92f1d Maded flower buttons smaller (less tall). 2020-05-11 02:50:39 +02:00