Commit Graph

16 Commits

Author SHA1 Message Date
5e3d007a9d display puzzle title 2026-02-25 16:53:13 +01:00
5a2172cb00 fix crash when resetting an edited board 2026-02-25 16:06:13 +01:00
58235ac52e some valgrind bullshit 2026-02-25 13:34:52 +01:00
82d618f692 update menu + block placing visualization + add move history 2026-02-25 12:45:06 +01:00
3f8274f1d9 add button to move to a state farthest from any win condition 2026-02-25 03:20:40 +01:00
271902ab1f implement automatic graph traversal along shortest path to solution 2026-02-25 02:58:30 +01:00
fd58f217c6 implement bfs multi-target distance calculation to nearest winning state 2026-02-25 01:15:47 +01:00
d8534cacdd store winning condition in state + remove presets 2026-02-24 22:08:00 +01:00
349d614611 add flag to toggle tracy (disabled for now) 2026-02-24 20:42:38 +01:00
8a4e5c1ebf squash merge threaded-physics into main 2026-02-24 19:00:25 +01:00
bfe8c6d572 store masses/springs inside vector and manage unordered_maps for a state<->index mapping
this reduces the time required to iterate over all masses/springs
because data is stored in contiguous memory
2026-02-24 00:01:04 +01:00
404a76654c update compiler flags, fix tracy allocation profiling, fix compiler warnings 2026-02-23 23:01:30 +01:00
59a4303d62 mark visited and starting states 2026-02-23 14:41:20 +01:00
861fb34d39 fix octree corruption bug because of node vector reallocation 2026-02-23 13:46:00 +01:00
cc4f8ce865 refactor usage of std::string to refer to states + improve initial mass positioning 2026-02-22 00:12:47 +01:00
0d3913e27e refactor state management and input handling into separate classes 2026-02-21 22:09:42 +01:00