branchrust_reboot/main/remove_editor_updatecancel
11 Commits over 0 Days - ∞cph!
Update: demo.play respects absolute paths
Tests: Tried to play a demo outside of demos folder
Optim: Remove IO pipe debug update invoke
Turns out to save much less than expected (just 0.1ms), but this eliminates last editor-only update invoke with many instances.
Tests: On craggy setup a chest->producer industrial circuit, was able to visualize debug
Merge: from main
Tests: none
Merge: from main
Tests: none(trivial merge)
Bugfix: avoid exceptions when modifying decals in editor
Tests: on craggy spawned a bunch of decals, modified them in various ways, deleted them - no exceptions
Optim: Remove editor-only per-decal Update callback
- They've all been consolidated to DeferredDecalRenrerer by tracking Undo history changes
This saves about 1.5ms during Update stage (in reality it's a bit less because of profiling overhead).
Tests: On Craggy ran around and validated I could still see footprints. Spawned them manually and tweaked settings and moved it's placement(ok) - trying to delete placed decal starts an exception loop(pre-existing bug, will fix next)
Merge: from main
Tests: none (trivial merge)
Merge: from main
Tests: built all modes locally
Buildfix: Hide DDraw calls behind CLIENT
Tests: checked all build modes
Update: DDrawAIDataPoints is an editor server var (instead of client)
- Also fixed formatting and borked whitespace on one line
This makes it a bit more consistent with how it's implemented (since ServerMgr executes the drawing).
Tests: On craggy spawned junkpile_j, enabled the flag - debug rendering worked.
Optim: Reimplement AI-Cover/Move-Point debug drawing as a utility function instead of FixedUpdate
- Also now requires both CLIENT+SERVER being active in the editor (as it's part of ServerMgr's FixedUpdate step)
- Will reconcile the client cmd line arg but server logic in next CL
This wins us 5.5ms on 6k procedural map in editor
Tests: loaded a 6k procgen map on 1337 seed and checked the profiled. Tried enabling the debug flag, but it nukes the perf. Tested flag on craggy by spawning junkpile_j - saw the debug graphics.