DaemonEngine / Daemon

The Dæmon game engine. With some bits of ioq3 and XreaL.
https://unvanquished.net
BSD 3-Clause "New" or "Revised" License
299 stars 61 forks source link

cgame can mess up rendering of the console #1210

Open slipher opened 3 months ago

slipher commented 3 months ago

On @DolceTriade's server, the console scales up in size if I hover the mouse over the Lucifer Cannon in the armory menu while the console is open. Observe how the text on the left-hand side is cut off by the edge of the window.

unvanquished_2024-06-26_021112_000

I don't know how he did it, but my first guess is the RmlUi matrix transform API. Cgame shouldn't be able to alter rendering of the console.

There's probably at least 3 bugs at play here:

DolceTriade commented 3 months ago

https://github.com/Unvanquished/Unvanquished/assets/1097524/9f410400-ef70-41e8-bdfb-4745d344aee8

Attached is a video. Likely a bug in our transform code.

An interesting thing is that it doesn't scale with all of the items, just that specific one. It happens with that specific position with the circle menus I tested.

Can repro on the The Lab Experiments | EU server.

DolceTriade commented 3 months ago

This is only partially addressed.