WIP: Add a research tree view #1

Closed
williamjcm wants to merge 22 commits from research-tree into master

22 Commits

Author SHA1 Message Date
Guillaume Jacquemin b765dcbea4 ResearchTree: add engine T5 nodes. 2021-08-07 16:38:51 +02:00
Guillaume Jacquemin af3e32d9de ResearchTree: add OS T2 nodes and IDs. 2021-08-07 15:29:24 +02:00
Guillaume Jacquemin 08c1aa1050 SaveTool: refresh unlocks when profile is updated. 2021-08-07 15:29:00 +02:00
Guillaume Jacquemin 7cfb8bbbcb SaveTool: read OS and arch unlocks on tree initialisation. 2021-08-07 15:13:51 +02:00
Guillaume Jacquemin 609404d181 NodeIDs: fix an enumerator's name. 2021-08-07 14:54:09 +02:00
Guillaume Jacquemin 59c6f2d51f NodeIDs: fixed an enumerator's name. 2021-08-07 14:52:50 +02:00
Guillaume Jacquemin d9ca0f3c83 SaveTool: fix a node styling issue.
Unlocked children of locked nodes, as well as tooltips for locked nodes,
used the "disabled text" colour when they shouldn't.
2021-08-07 14:48:18 +02:00
Guillaume Jacquemin 55b15381c6 ResearchTree: use a macro to add nodes.
This will look better, IMO.
2021-08-03 23:10:52 +02:00
Guillaume Jacquemin e786cf2d7a ResearchTree: add functions to read OS and arch unlocks.
Now the set is complete.
2021-08-03 20:40:42 +02:00
Guillaume Jacquemin 1cd91e1aaa ResearchTree: use normal ints in range-based for.
They're smaller than references, and they're trivially-copiable. They
shouldn't be passed by reference. 🤦
2021-08-03 20:39:40 +02:00
Guillaume Jacquemin be4d1029c5 ResearchTree: add a missing early return. 2021-08-03 20:38:19 +02:00
Guillaume Jacquemin 4baca47f72 ResearchTree: fix a typo. 2021-08-03 20:29:35 +02:00
Guillaume Jacquemin f2243f086f ResearchTree: add T1 OS nodes and IDs. 2021-08-03 20:23:44 +02:00
Guillaume Jacquemin 8ede484b0e ResearchTree: added T4 engine nodes. 2021-08-03 20:07:16 +02:00
Guillaume Jacquemin 7a9cb3d9a1 ResearchTree: fix a typo. 2021-08-01 20:15:21 +02:00
Guillaume Jacquemin 562758109c SaveTool: improve the looks of nodes. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin f321a06a0e ResearchTree: added T3 engine nodes. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin 7f710f5db3 NodeIDs: add arch enumerators. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin f8b51791a1 NodeIDs: add OS enumerators. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin fee5c2aefd Profile: add support for reading arch unlocks. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin 44ee2f2c35 Profile: add support for reading OS unlocks. 2021-08-01 18:56:13 +02:00
Guillaume Jacquemin bb6de66b0c ResearchTree: add basic functionality and some nodes. 2021-08-01 18:56:13 +02:00