Commit graph

116 commits

Author SHA1 Message Date
6dcb6c9dd7 draw selection bounds independently of zoom 2024-12-10 23:11:27 +01:00
9d54c17dcd zoom out further 2024-12-10 22:18:09 +01:00
092a7b70ff reduce magic number constants 2024-12-10 21:59:04 +01:00
59aeeff5b6 option to hide grid and marble direction/value 2024-12-10 21:50:46 +01:00
5b1b923c73 improve marble texture 2024-12-10 16:27:53 +01:00
70c745117f show fail popup when output is wrong 2024-12-09 21:40:24 +01:00
14b87e6971 remove area stat from solutions, add more digits to cycles and tile count in end popup 2024-12-09 21:26:14 +01:00
e3f8087a6b move camera with RMB for mousepad compatibility, hold shift for faster panning 2024-12-09 20:58:35 +01:00
e9e763332f cleanup 2024-12-09 20:44:35 +01:00
e223a75c0e rewrite power propagation 2024-12-09 20:43:15 +01:00
e6f99d3776 set window title and package name 2024-12-09 12:42:50 +01:00
e5eb4d7cfc cleanup 2024-12-09 12:30:21 +01:00
635f0cf641 rewrite physics 2024-12-09 02:18:47 +01:00
0275e0c9b5 store tile vacancy in grid 2024-12-08 23:16:45 +01:00
353f5b74e5 cleanup 2024-12-08 22:52:38 +01:00
6a11320b27 add copy/paste and erase selecton buttons 2024-12-08 13:05:29 +01:00
dc9411cf9d update todo list, print real time taken when level is completed 2024-12-08 12:10:14 +01:00
78027aaaa0 fix update order dependent behavior of wires when flipped 2024-12-07 23:19:32 +01:00
42a355d387 use i16 for coordinates instead of isize, yielding better cache locality etc 2024-12-07 20:49:23 +01:00
28213da9f3 keep track of maximum average step time 2024-12-07 20:46:06 +01:00
1d001be403 measure step time over an entire frame 2024-12-07 20:37:33 +01:00
e6d8c1246f remove a vec allocation from simulation step 2024-12-07 20:22:52 +01:00
e0d0a297b9 reduce simulation steps in a frame if time exceeds 30fps, to avoid freezing the application 2024-12-07 19:52:28 +01:00
c1094980a6 increase max speed and step counter digits, show microseconds per step, massive simulation optimisation for large worlds (5-100x faster) 2024-12-07 16:19:59 +01:00
140a462add refactor, show red x when using eraser tool to distinguish from selection tool 2024-12-06 13:01:13 +01:00
36b1b8672b support using strings directly as level input and output data 2024-12-05 14:23:21 +01:00
ef01de9dae fix level 2024-10-17 23:29:25 +02:00
81b1adfa6f add some ascii levels 2024-10-13 17:00:59 +02:00
7d3b455fcd makefile with linux release 2024-10-13 13:34:33 +02:00
79fe26414b show version in corner of level list 2024-10-13 13:34:08 +02:00
15f6cc70d4 save solutions when renamed, fix solution filenames 2024-10-13 13:01:54 +02:00
866a4c7127 theme overhaul 2024-10-13 12:45:58 +02:00
2720735a58 add button to clone solutions 2024-10-13 01:24:00 +02:00
1ce5291777 make math tiles read digits 2024-10-13 00:57:58 +02:00
44017f4ed5 scroll on tools to rotate between variants 2024-10-13 00:55:28 +02:00
ed956ffbe4 cleanup 2024-10-12 23:27:28 +02:00
27ff77f133 prettify marble direction and value rendering 2024-10-12 20:53:47 +02:00
23ac416c7e make sim handle speeds faster than framerate and change speed slider from 1-32 linear to 1-512 powers of two 2024-10-12 19:24:33 +02:00
dd63851606 fix tiles being unable to get powered from multiple directions at once 2024-10-12 19:00:02 +02:00
e88f945e8f make blueprint id a number instead of string 2024-10-11 23:38:35 +02:00
52288bdf6c fix blueprint id generation overwriting old blueprints if any were removed before 2024-10-11 21:22:56 +02:00
ce90a22ea0 basic scrolling in blueprint list 2024-10-10 21:56:36 +02:00
e42e14489d basic scrolling in level list 2024-10-10 21:36:03 +02:00
b5b77b89f9 reorder list levels because list length is more complex than i thought 2024-10-10 21:28:55 +02:00
67557832fa add more levels and organise them into sections 2024-10-10 20:51:19 +02:00
172cfc9409 new icon for removing blueprints 2024-10-10 20:50:33 +02:00
6365af0111 update file description in readme, add level plan 2024-10-10 17:48:27 +02:00
d92c5a2c25 trim blueprints before saving 2024-10-10 17:21:18 +02:00
51f14014c5 trim board size to same margin as when expanding 2024-10-10 17:20:07 +02:00
dee52fa2fd grow board margins when placing near but inside the edge 2024-10-10 17:17:32 +02:00