Commit Graph

67 Commits

Author SHA1 Message Date
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
3a8ad733a4 Enabled VSync & added setting. 2020-05-11 01:20:23 +02:00
a07d3c1c82 Changed panning of map (Ctrl+LMB or MMB instead of LMB). 2020-05-11 01:15:48 +02:00
14454cfd5e Switched coneflower & tulip. 2020-05-11 00:46:26 +02:00
3407a93586 Added flower types. 2020-05-11 00:00:35 +02:00
1c208152e8 Implemented digging of flowers.
Renamed poppy to anemone.
2020-05-10 23:00:19 +02:00
243e204f48 Added game mechanic to buy/plant flowers. 2020-05-10 20:44:20 +02:00
cd5ca3f04f Added tool to color image.
Separated some image related methods.
Added feedback for simulation speed (colored buttons).
2020-05-10 17:40:56 +02:00
b14f79a61a Lots of UI work.
Added more icons and placed buttons on the bars.
Implemented pause/run/fast.
2020-05-10 17:16:18 +02:00
44aef25d34 Zoom around tile that is hovered.
Inversed zoom on projection (previously how much smaller the content would be, now it is the magnification).
2020-05-10 12:40:44 +02:00
5c0824bafb Extended ControlBase. Added/changed Point/PointF/Rectangle (now backed by SDL struct). Tweaked poppy traits. 2020-05-10 12:22:07 +02:00
1cf13b0ec9 Added color parsing (hex to sdl.Color). 2020-05-10 10:57:13 +02:00
8e2b80395d Added support for (horizontally) aligment on text rendering. 2020-05-10 10:57:00 +02:00