userFlaviencancel
branchrust_reboot/main/hackweek_iorewritecancel

55 Commits over 31 Days - 0.07cph!

1 Hour Ago
Converted ceiling light, smart switch, fuse
6 Hours Ago
Cleanup, remove legacy IO code of already converted entities
6 Hours Ago
Converted NeonSign to the new IO system
Today
Removed the legacy electricity IO queue
Today
merge from main
2 Days Ago
Lazy create the IOCircuitSystem when registering the first io entity Converted computer station, digital clock and command block
3 Days Ago
merge from main
10 Days Ago
PressButton merge, compile fix
10 Days Ago
merge from main
15 Days Ago
Blocker evaluator micro optims
15 Days Ago
IOCircuitSystem indentation fix
15 Days Ago
Allow root combiners to be connected to non root entities. Renamed it to 'combiner' Prevent feedback loops by discarding power from back edge wires
15 Days Ago
Some fixes, refactoring and new evaluators. Cache consumption amount at register time so we don't rely on entities anymore Fixed signs registering themselves in circuits Started removing old IO code to IO entities code
16 Days Ago
Reduced the amount of flags OR AND and XOR switches are setting
16 Days Ago
Reduced the amount of TryGetComponentRecord calls
16 Days Ago
Circuit merge do not set the whole circuit as dirty + eval pass micro optims
16 Days Ago
No allocations when running the flood fill when rebuilding circuits
17 Days Ago
Updated all SimpleLight prefabs to use the HasPower flag instead of On
17 Days Ago
Simple light don't switch the ON flag anymore, we can just use HasPower and save a setflag when turning a light on/off (they're batched but that saves some overhead)
17 Days Ago
Added a max flag flip per tick per circuit budget too (too many flag changes can stall the client)
17 Days Ago
Circuit budgeting: all circuits share a 0.25ms budget per frame to evaluate. When the budget is depleted mid circuit, we save where we stopped and continue later. The starting circuit is never the same so a single circuit can't eat the whole budget and clog everything Also moved the drain pass to the 1hz battery tick, it doesnt have to run on every tick
17 Days Ago
Optimised the evaluation pass. we now starts from the dirty components specifically instead of evaluating the entire circuit from start to finish When evaluating, if a component output didnt change, we stop there
18 Days Ago
Cleanup
18 Days Ago
Ceiling lights just use the HasPower flag instead of On
18 Days Ago
More io entities using the new flag update Auto turret is not sending full network update when turned on or off
18 Days Ago
Forgot Circuit.cs
18 Days Ago
Split the circuit dirty flag into two: Dirty and NeedsRebuild so setting a circuit dirty doesnt trigger a rebuild every time Added rebuild timings
19 Days Ago
Moved the tick to every frame Added timings command to debug circuit perf
19 Days Ago
Codegen
19 Days Ago
▄▇▌▊▇▄▋▊▍█ ▆▌▄▌▅▌ ▅▉▍▌▇▉▋▅▊▍▊▋▊█▄█▋ ▌▍ ▋█▌▍█▄▄▊▌ ▍▊ █▄▌▆█ ▆▅▉▆ ▉▊▊▄ ▇▇▄▍▉█▋▄ ▅ ▌█▇▇▊█ ▋▆▌▌ ▆▍ ▉▉▌▇ ▍▋▆▆ ▊█▄▌▋▉▄▄▅ ▅█▆▊▆▆▇ ▌▅▉ ▊▋▄▊▌
19 Days Ago
Compile fixes
19 Days Ago
Bug fixes and optims, only snapshots dirty slots
19 Days Ago
Trace debug commands, logs when something happens on a circuit
19 Days Ago
Power flow debug viz
20 Days Ago
Added some mint ddraw and debug commands to help debugging circuits
20 Days Ago
merge from main
20 Days Ago
Fix battery charging issue with closed loop circuits Fixed batteries not considered as sources when building the evaluation order
20 Days Ago
merge from main
20 Days Ago
More items converted to the new io system
20 Days Ago
AND OR XOR flags fixes
20 Days Ago
Registered entities aren't allocating a new circuit until wired Don't tick circuit system while loading a save, so we only rebuild everything once all the io entities and wires are registered
20 Days Ago
Converting more items to new IO system: entities are PowerConsumer by default so all lights and simple consumer work by default Button and counter evaluators
21 Days Ago
Added baked config at register time Batteries are data based
21 Days Ago
Splitter evaluator
21 Days Ago
Memory cell evaluator
21 Days Ago
Root combiner distributes drain evenly on batteries connected to its inputs
21 Days Ago
Evaluator refactoring
21 Days Ago
Branch and blocker evaluators Some cleanup and fixes
21 Days Ago
merge from main
21 Days Ago
Batteries tick flow. Charged and depleted on the same tick Bug fixes and refactoring