1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 17:15:21 +02:00
Commit Graph

29 Commits

Author SHA1 Message Date
SmallJoker
b6a23b1bcc CGUITTFont: Clean up, unify and comment draw code (#16380)
These changes were initially made to improve performance. However,
on modern hardware, these changes turned out to make no difference.

This commit unifies the calculations in 'draw' and 'getDimension' and
adds comments to make it more understandable.
2025-09-10 20:23:45 +02:00
Lars Müller
61551cfc3a Remove irr namespace (#16309) 2025-07-09 10:35:52 +02:00
sfan5
03affa1bbb Some minor code cleanups 2025-04-08 22:24:37 +02:00
Lars Müller
547e1476bb Allow overriding fonts via media files (#15606)
Co-authored-by: sfan5 <sfan5@live.de>
2025-01-19 20:42:40 +01:00
sfan5
c49ff76955 IGUIFont / CGUITTFont code cleanups (#15581) 2024-12-23 12:49:47 +01:00
Lars Müller
fef28aced9 Irrlicht: Get rid of obsolete setDebugName (#15541)
Co-authored-by: sfan5 <sfan5@live.de>
2024-12-14 17:03:08 +01:00
sfan5
58ccf0ba82 Fix some smaller issues with texture/image handling 2024-11-16 16:54:22 +01:00
DS
e5d321d286 Cleanup headers in irr/include/ (#15181) 2024-10-18 10:58:32 +02:00
ALi.w
f2ab887644 Fix getDimension throwing error if there is \r at end of line (#15299) 2024-10-17 19:39:11 +02:00
grorp
70e169f165 Drop fixed pipeline lighting stuff (#15165) 2024-09-18 12:18:28 +02:00
sfan5
19a58745c9 Avoid copies when working with EnrichedString 2024-08-28 15:38:02 +02:00
sfan5
5280863300 Set VBO hints in more places 2024-02-29 17:20:49 +01:00
sfan5
e3cc26cb7c Irrlicht support changes (#14383) 2024-02-19 21:14:47 +01:00
sfan5
61d0f613df Hand roll UTF-16 conversion in CGUITTFont (#14121) 2023-12-19 20:18:43 +01:00
Caleb Butler
3a4bf14c20 Replace all core::unicode::ustring with std::u32string (#13775) 2023-10-02 13:43:38 +02:00
Gregor Parzefall
307e380f30 Refactor the way you set material properties
Instead of using SMaterial::setFlag, you now set them directly on SMaterial or SMaterialLayer.
2023-07-20 22:15:47 +02:00
Gregor Parzefall
3552537fc4 Fix that transparent text still draws a text shadow (#13649)
Makes fade out animations of text more pleasant to look at.
2023-07-17 20:45:56 +02:00
Abdou-31
d1b80b462e Fix typos and en_US/en_GB inconsistency in various files (#12902) 2022-11-09 11:57:19 -05:00
Nathanaël Courant
622d857bed Update my name 2022-06-16 21:38:32 +02:00
paradust7
2742fef458 Fixes needed to use irrArray backed by std::vector (#12263) 2022-05-22 00:11:49 +02:00
paradust7
273bfee9a1 Use std::map instead of core::map (#12301) 2022-05-18 12:31:49 +02:00
ShadowNinja
7993909fab Spacing fixes 2022-04-08 14:55:21 +01:00
sfan5
024d47e0d3 CGUITTFont optimizations (#11136) 2021-04-02 00:20:16 +02:00
sfan5
1e4913cd76 Irrlicht support code maintenance 2021-03-31 13:15:47 +02:00
sfan5
8d89f5f0cc Replace fallback font nonsense with automatic per-glyph fallback (#11084) 2021-03-29 19:55:24 +02:00
Jean-Patrick Guerrero
66b5c08664 Fix deprecated calls with Irrlicht 1.9 2021-03-16 23:27:15 +01:00
sfan5
0f74c7a977 Fix double free caused by CGUITTFont code
This partially reverts commit 2072afb72b.
fixes #10920
2021-02-06 13:34:56 +01:00
k.h.lai
2072afb72b Fix memory leak detected by address sanitizer (#10896) 2021-02-02 20:56:24 +01:00
Loïc Blot
16938adfc0 Merge cguittfont lib in irrlicht change folder. (#6016)
* Merge cguittfont lib in irrlicht change folder.

This remove hack and static lib for FreeType
2017-06-20 17:18:34 +02:00