Commit Graph

21 Commits

Author SHA1 Message Date
7b0a74fb93 use cells instead of only bools, use pointer list to all neighbors 2024-07-12 23:00:28 +02:00
3cff41c991 fixed colors of standard theme 2024-06-11 19:43:30 +02:00
d66fb489fe using switch in input checks 2024-06-11 19:39:46 +02:00
927e47dc92 remove old debug prints, update TODO 2024-06-11 19:22:29 +02:00
f14f4ff21a removed unneeded code, fixed game exit from menu 2024-06-11 19:15:40 +02:00
b8496d0ae2 added grid comment to theme.go, since I always forget how grindlines work 2024-06-09 18:41:27 +02:00
1af3e9fc42 add clean target, fixed mix up colors 2024-06-09 18:33:09 +02:00
3a743a65e5 fixed theme selection from menu, centralized theme def to 1 place 2024-06-09 18:00:06 +02:00
4f7cf4c419 initial options bug fixed
See
424f62327b

Thanks a lot for the fast support, amazing!
2024-06-08 20:06:02 +02:00
1ec84213a0 cleanup and added video to readme 2024-06-08 19:52:20 +02:00
a109838c4c calculating zoom factor based on cellsize 2024-06-08 16:29:09 +02:00
65a67f1bac removed invert option, added new standard theme (orange on grey) 2024-06-08 16:19:54 +02:00
5813f8fab8 added option to select theme, can be used also to select RLEs :) 2024-06-07 18:39:14 +02:00
81c4b976e2 added theme system, makes it easier to add more color schemes 2024-06-07 17:33:54 +02:00
4695338323 added key bindings help screen, reachable via menu 2024-06-06 19:55:16 +02:00
1574e03085 put evolutioin drawing out of Draw(), handle history only if enabled 2024-06-06 19:36:51 +02:00
9fb2779c02 fixed canvas dragging speed, it's now relative to the world 2024-06-06 19:24:23 +02:00
9adc7ddbdc added explicit insert/draw mode, left mouse by default moves canvas 2024-06-06 19:13:07 +02:00
ab22e0f4e2 changed grid data type to bool, save mem and better perf 2024-06-06 18:58:31 +02:00
a5dbd69976 branchless experiments (failed and reverted, see commented code) 2024-06-05 23:51:55 +02:00
162d141b34 reorganized source, added test cases for tuning 2024-06-05 16:33:35 +02:00