130 Commits (4a5d7a69678be409ad22deb78bd9459c684dcca1)

Author SHA1 Message Date
Niv Baehr 4a5d7a6967
Fix crash on ZWSP 2 months ago
Niv Baehr 0802c27532
Draw text line by line (#8379) 3 months ago
Gleb Mazovetskiy c31258b0f5 text_render: Support per-glyph overrides 6 months ago
Gleb Mazovetskiy 79b74f6f72 Add `AsHexPad2` to `utils/str_cat` 7 months ago
Anders Jenbo 1c76897f2c Apply simple const rules using clang-tidy 7 months ago
Gleb Mazovetskiy d3248e969a Untangle more dependencies 8 months ago
staphen f0a1a63cb4 Reload SFX when changing language setting 8 months ago
Gleb Mazovetskiy 8c6b2853ca Make light render benchmark standalone 9 months ago
Gleb Mazovetskiy b4fbaf1419 text_renderer: Simplify GetLineHeight 1 year ago
Gleb Mazovetskiy 5a14cc57f3 text renderer: colors layout fix + improved tests 1 year ago
Eric Robinson 76407ff41f Adjust x-start with UiFlags::KerningFitSpacing 1 year ago
Gleb Mazovetskiy 04896c1687 text_render: Readjust kerning on each new line 1 year ago
Gleb Mazovetskiy aa47c40553 text_render: Fix `GetLineStartX` for `AlignCenter` 1 year ago
Gleb Mazovetskiy 88a9a0656d Move option change handlers out of `options.cpp` 1 year ago
Gleb Mazovetskiy c31836eab8 Split up `engine.{h,cpp}` 1 year ago
Gleb Mazovetskiy a49b1f2d58 Extract Is{Any,None}Of out of engine.hpp 1 year ago
Gleb Mazovetskiy e9c29fa806 Switch to ankerl::unordered_dense 2 years ago
Gleb Mazovetskiy 27206cd1d7 Load font variant for Turkish 2 years ago
obligaron 95940a4c7e Fix MSVC warnings in engine\render\* 2 years ago
Gleb Mazovetskiy e02dc1f9dd Console input: Word-wrap-related cursor fixes 2 years ago
Gleb Mazovetskiy b30b712cbb Lua: Add basic autocomplete in the console 2 years ago
Gleb Mazovetskiy dbfa204944 Lua: Set `warn` function 2 years ago
Gleb Mazovetskiy 17d5f05ada Fix some compilation warnings 2 years ago
Gleb Mazovetskiy 3ea4996367 Add a basic Quake-style console 2 years ago
Gleb Mazovetskiy 55b0fc5c26 Text inputs: Selection, copy, cut 2 years ago
Gleb Mazovetskiy e5881688f4 `text_render`: Replace optional args with struct 2 years ago
Gleb Mazovetskiy fdb5738815 Add cursor support to DiabloUI and chat 2 years ago
staphen 61e51f2349 Additional cleanup for WordWrapString() 2 years ago
staphen 99bf0e4e3c Insert newline for words longer than width in WordWrapString() 2 years ago
Gleb Mazovetskiy cbf51cd5ab `DrawStringFormatArg`: Use `std::variant` 3 years ago
Gleb Mazovetskiy 8c1a847f41 Remove utils/stdcompat/string_view.hpp 3 years ago
Gleb Mazovetskiy 14540164a7 Remove utils/stdcompat/optional.hpp 3 years ago
Gleb Mazovetskiy 7a5e5f73e6 Support language-specific font variants 3 years ago
Gleb Mazovetskiy 8101e2c0ba Add `c_any_of` and friends 3 years ago
Gleb Mazovetskiy d6b7949dab Fonts: Use pre-cropped CLX sprites 3 years ago
Anders Jenbo e8910bb3d7 Do not crash on missing fonts 3 years ago
Gleb Mazovetskiy 4fa3732526 Add missing <cstdint> includes 3 years ago
Gleb Mazovetskiy 957bd03b98 Remove `FMT_COMPILE` in "cold" places 3 years ago
Gleb Mazovetskiy f7580f188c Fix multiline `DrawStringWithColors` alignment 3 years ago
Anders Jenbo c99f7cf644
Floating numbers (#5639) 3 years ago
Anders Jenbo e50e21e0e4 Use outline for spell icon texts 3 years ago
Gleb Mazovetskiy 7a3882722e Text rendering and chat input fixes 3 years ago
Gleb Mazovetskiy 5ac54027dc Text rendering: Clip text to the given rect 3 years ago
Gleb Mazovetskiy 9db80ef5d7 Assets: Load files directly for UNPACKED_MPQS 3 years ago
Gleb Mazovetskiy 41f43ea3f5 Support unpacked MPQs from devilutionx-mpq-tools 3 years ago
staphen 5de080541a Ensure that the last line of text does not exceed the lower bounds of the rectangle in DrawString() 4 years ago
staphen e580c26a1f Ensure that vertically aligned text does not exceed the upper bounds of the rectangle in DrawString() 4 years ago
Gleb Mazovetskiy 6327e713e0 Lowercase all file paths 4 years ago
Gleb Mazovetskiy 9b65eca49b Remove `Art` and related functions 4 years ago
Gleb Mazovetskiy d71a54dba8 Render main panel buttons as CLX 4 years ago