OpenXRay / xray-16

Improved version of the X-Ray Engine, the game engine used in the world-famous S.T.A.L.K.E.R. game series by GSC Game World. Join OpenXRay! ;)
https://discord.gg/sjRMQwv
Other
2.9k stars 455 forks source link

Restored mirroring of texture feature for `CUIStatic` #1690

Closed Hrusteckiy closed 4 weeks ago

Hrusteckiy commented 1 month ago

Using: in node of element based on CUIStatic class type mirror="b", b is one of mirroring modes.

b - both, mirror by vertical and horizontal; v - vertical, mirror by vertical; h - horizontal, mirror by horizontal. It was a removed feature from SHoC, because the developers could not agree on its using(example was in trade window XML, , but in the wrong place).

There are examples of using this: image image image

How the trade window looks without mirroring and with it: image image