Commit Graph

22 Commits

Author SHA1 Message Date
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
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
c02fb342a7 Updated comments on noise maps. 2020-05-09 19:37:21 +02:00
2413c7d3d4 Added flowers (+ basic simulation).
Added resource loader (load list of textures).
2020-05-09 19:34:43 +02:00
b32017f18a Added clipping to terrain renderer. 2020-05-09 16:48:39 +02:00
0a73529306 Separated the lazy text rendering method. 2020-05-09 16:48:18 +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