Commit Graph

89 Commits

Author SHA1 Message Date
a879357437 add fonts 2026-02-27 00:06:29 +01:00
0a55996df3 add raygui patch - adds a prefix label to valuebox/spinner 2026-02-26 21:54:26 +01:00
330fe694a7 remove non-goal presets 2026-02-26 03:56:21 +01:00
1195716369 add raygui library dependency 2026-02-26 03:56:14 +01:00
4a37e93b98 implement immovable blocks (walls) and add two presets 2026-02-25 17:21:54 +01:00
81620d8709 add more puzzles 2026-02-25 16:53:24 +01:00
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
dc894d1c38 add a second tracy target instead of modifying the main target 2026-02-25 15:24:12 +01:00
79f088d10e disable tracy in flake instead of CMakeList.txt 2026-02-25 15:14:49 +01:00
a3a8c2f31a add fat klotski 2026-02-25 14:13:33 +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
b9e3ab8d2d implement editing the board win condition 2026-02-24 22:43:53 +01:00
d8534cacdd store winning condition in state + remove presets 2026-02-24 22:08:00 +01:00
f31f9557b3 update flags again 2026-02-24 20:53:27 +01:00
349d614611 add flag to toggle tracy (disabled for now) 2026-02-24 20:42:38 +01:00
d88b66c058 capture stack traces on new/delete 2026-02-24 19:00:36 +01:00
8a4e5c1ebf squash merge threaded-physics into main 2026-02-24 19:00:25 +01:00
3e87bbb6a5 remove timings print 2026-02-24 00:12:04 +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
6698ace0c6 implement smooth camera 2026-02-23 14:27:56 +01:00
861fb34d39 fix octree corruption bug because of node vector reallocation 2026-02-23 13:46:00 +01:00
30b02c13ed add vertices draw limit after I accidentally removed it 2026-02-23 00:27:51 +01:00
f5bb155b5c fix physics animation jitter 2026-02-23 00:15:25 +01:00
443069f597 replace openmp with thread-pool library bc openmp has larger fork boundary overhead 2026-02-23 00:14:09 +01:00
73b01f6af3 add thread-pool library dependency 2026-02-22 23:32:33 +01:00
21a18443e9 add tracy profiler dependency 2026-02-22 23:32:24 +01:00
e43e505110 implement barnes-hut particle repulsion using octree 2026-02-22 23:29:56 +01:00
f07f2772c4 remove octree library dependency (it doesn't store center of mass per node) 2026-02-22 20:29:01 +01:00
bdb4242076 remove useless manual move/copy constructors/assignment operators (pls stop killing my hands bjarne) 2026-02-22 20:28:42 +01:00
6a86324f53 add octree library dependency 2026-02-22 19:42:57 +01:00
768a7eaf82 implement operator<< for ryalib vectors 2026-02-22 19:42:48 +01:00
9726d5fecc cleanup repulsion force calculation 2026-02-22 19:19:06 +01:00
2580d6d527 remove unused inputs from instancing vertex shader 2026-02-22 14:33:22 +01:00
157985df6b extract orbital camera into separate file 2026-02-22 14:30:55 +01:00
7bc1eaae75 move shaders to separate directory 2026-02-22 14:18:49 +01:00
f06afc210f make naming more consistent + rename some files 2026-02-22 14:17:55 +01:00
fe6bbe9bbb remove batched rendering code 2026-02-22 14:04:11 +01:00
0083143268 cleanup flake 2026-02-22 13:57:04 +01:00
9446e1b86c improve rendering performance even more by using instanced rendering 2026-02-22 12:31:58 +01:00
12a96cba66 decrease special mass size + add hjkl movement bindings 2026-02-22 01:49:54 +01:00
35de23e865 improve rendering performance by batching edge and cube draws 2026-02-22 01:41:39 +01:00
05172d0d8f replace physics loop with fixed-step loop 2026-02-22 00:27:56 +01:00
cc4f8ce865 refactor usage of std::string to refer to states + improve initial mass positioning 2026-02-22 00:12:47 +01:00