Page MenuHomeWildfire Games

Remove direct links to Simulation from some graphics/ code
Needs ReviewPublic

Authored by wraitii on Jan 30 2022, 4:12 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Models and decals (and a bunch of other things as a side-effect) kept pointers to the simulation and called terrain/water to get data. Following D3552, we can replace all those with more appropriate graphics/ call.

This is intended to be part of the greater plan™ to thread the simulation from the rendering, though that's still a fair ways off.

It also incorporates a fix for floating decals, who had incorrectly calculated bounds.

Test Plan

Run the game and check that things still work properly.

Event Timeline

wraitii created this revision.Jan 30 2022, 4:12 PM
Owners added subscribers: Restricted Owners Package, Restricted Owners Package.Jan 30 2022, 4:12 PM

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/7304/display/redirect

Build failure - The Moirai have given mortals hearts that can endure.

Link to build: https://jenkins.wildfiregames.com/job/macos-differential/5605/display/redirect

wraitii published this revision for review.Jan 31 2022, 9:57 AM

(this has dependencies so will fail for now)