Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement UI decoration rendering with *AnnotationRenderables #17095
This PR implements another significant chunk of preparation for #10382.
The concept of an "Annotation" is introduced to represent overlays drawn in the UI that give the player extra info, but doesn't physically exist in the game world. This covers range circles, target lines, selection boxes / bars, debug overlays and so on. Annotations render at the native screen resolution, and their size is determined by the UI zoom (to be implemented in a future PR) rather than the world zoom.
The goal for testing should be to show that there are no visual regressions compared to bleed. The new behavior will only be useful once we implement the world framebuffer and enable arbitrary zooming. This can be tested using my
There are three obvious questions, which I am deliberately deferring to future PRs: