Commit Graph

33 Commits

Author SHA1 Message Date
8264942602 Combined two Allegro related code units. 2020-05-26 18:54:26 +02:00
bd1d685c20 Hid console window for Windows Allegro builds.
Removed explicit SDL dependency in game.
2020-05-25 22:54:58 +02:00
7230ac966b Using the refactored Resources system. 2020-05-25 22:24:58 +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
66eaa054c5 Refactored Botanim to use zntg (rendering abstraction). 2020-05-23 10:30:49 +02:00
093cef549c Added extract command (extracts resources to the current working directory). 2020-05-14 14:43:13 +02:00
013fe4bdb6 Added tooltips. 2020-05-14 08:29:23 +02:00
c27d43e323 Rename Rect to RectAbs and renamed RectSize to Rect. 2020-05-12 13:55:30 +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
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
3a8ad733a4 Enabled VSync & added setting. 2020-05-11 01:20:23 +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
5c0824bafb Extended ControlBase. Added/changed Point/PointF/Rectangle (now backed by SDL struct). Tweaked poppy traits. 2020-05-10 12:22:07 +02:00
69c8ae72f3 Updated textures (cropped & slightly resized).
Textures used to be 512x512px, cropped them to 128x160px. The width of the texture was first cropped to 130px and then resized to 128px (height was not resized).
2020-05-10 10:56:20 +02:00
1e407e21c0 Added tool to crop & resize images. 2020-05-10 09:21:48 +02:00
d6502c9080 Added disabled flowers (for button bar). 2020-05-10 01:40:54 +02:00
cbb6e6c144 Added button bars.
No tile is hovered when mouse is over button bars.
2020-05-10 00:19:44 +02:00
b9515823d3 Added tool to change alpha layer of image. 2020-05-09 22:50:29 +02:00
72da0ef462 Added hover effect for terrain. 2020-05-09 22:50:11 +02:00
2413c7d3d4 Added flowers (+ basic simulation).
Added resource loader (load list of textures).
2020-05-09 19:34:43 +02:00
58aa819a4e Added FPS. 2020-05-09 15:32:43 +02:00
8dd47c5ec2 Added storing of window size. 2020-05-09 14:02:00 +02:00
27afe594fe Added renderer.
Added props.
Added map movement (dragging & hovering).
2020-05-09 13:55:37 +02:00
dcd4979a6f Removed example. 2020-05-09 07:58:50 +02:00
37589d5396 Added simple terrain. 2020-05-09 07:48:02 +02:00
a56ceae2e3 Added a base (mainly initialization). 2020-05-08 18:38:26 +02:00
9d2b259ba1 Empty project. 2020-05-08 13:08:41 +02:00