Skip to content

Improve face drawing utility#810

Merged
lahm86 merged 1 commit intoLostArtefacts:masterfrom
lahm86:improve-face-util
Jul 22, 2025
Merged

Improve face drawing utility#810
lahm86 merged 1 commit intoLostArtefacts:masterfrom
lahm86:improve-face-util

Conversation

@lahm86
Copy link
Collaborator

@lahm86 lahm86 commented Jul 22, 2025

Checklist

Description

Updates the utility that draws room face indices on textures and writes back to the level (for fixing OG texture issues). TR1 used to always draw a solid background whereas TR2/3 drew on top of the actual texture (I can't remember why). The option to draw solid or on top can be passed as an arg now for 1-3, and defaults to off.
Also improves the appearance by adding a border, centering the text on quads and drawing it in each corner for triangles for better readability chance.

E.g. image

Copy link

@rr- rr- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool!

@lahm86 lahm86 merged commit 2b7e95c into LostArtefacts:master Jul 22, 2025
1 check passed
@lahm86 lahm86 deleted the improve-face-util branch July 22, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants