Gleb Mazovetskiy
1c1467980b
Settings menu: Set line height for description
...
Fixes #3603
4 years ago
Gleb Mazovetskiy
d8c1dadc9e
settingsmenu.{h,cpp}: Fix line endings
4 years ago
Gleb Mazovetskiy
bffd0d9521
Char panel layout improvements
...
1. Increase line height for CJK labels (10->18) to prevent overlap.
2. Increase label width in the right column by 1px (67->68), allowing 3 fullwidth characters to fit on one line.
3. Adjust Base/Now/Gold attribute header positions for CJK.
4. Fix field label/value alignment.
4 years ago
Gleb Mazovetskiy
1de202cfe0
DrawString: Fix IsCJK definition
...
Fix IsCJK to include Hiragana, Katakana, Bopomofo, etc.
4 years ago
Gleb Mazovetskiy
48ddb2ea06
DrawString: Fix line height for tall codepoints
4 years ago
obligaron
6273f700fa
Add some Graphic Settings to Settingsmenu ( #3617 )
4 years ago
obligaron
ff5de056fa
Add all (boolean) Game Settings to Settingsmenu ( #3616 )
4 years ago
obligaron
ba7cd3e1cb
Use DrawStringWithColors in settingsmenu
4 years ago
obligaron
721e05d5e0
Add DrawStringWithColors support to UiListItem
4 years ago
obligaron
d0dcb7f3ce
Remove unused enum entry MAINMENU_REPLAY_INTRO
4 years ago
Anders Jenbo
c2515f4724
Fix number of witch items for Diablo, clean up store spawn code
4 years ago
Gleb Mazovetskiy
1425bec3e4
Add missing GetLineWidth declaration to header
4 years ago
Gleb Mazovetskiy
bffe7dd071
`DrawStringWithColors`: Fix `{}` support
4 years ago
Gleb Mazovetskiy
c57644970f
Move `UiFlags` and `UiPanels` into their own files
...
The first breaks circular dependency between `DiabloUI` and `text_render`.
The latter one moves `UiPanels` to a more appropriate place.
4 years ago
Gleb Mazovetskiy
b4afe50dd1
misc_msg.cpp: include order
4 years ago
ephphatha
917d9a5335
Add comments so clang-format doesn't complain about eol space
4 years ago
Andrew James
4a940b1b07
Remove uses of Items[] as a temporary for other Item variables ( #2924 )
4 years ago
Gleb Mazovetskiy
db7c9d08f5
Move DoSpeedBook to the right header
4 years ago
Gleb Mazovetskiy
af168fd8df
Add `DrawStringWithColors`
...
A way to color parts of the string differently while keeping the color
information out of the string itself.
This is an alternative to #3546 .
4 years ago
obligaron
78c0ec1f49
Pass viewportSize to UiList constructor and calculate height from it
4 years ago
obligaron
e0dfc3f912
options.h fix reorder warnings
4 years ago
Gleb Mazovetskiy
0e63b3ee0b
Update clang-format-check GitHub Workflow
...
Taking this opportunity as we've just done a global reformat and it's
quite small.
4 years ago
Gleb Mazovetskiy
7e1fea6f76
clang-format all files in {Source,test}/
...
Also includes a few manual tweaks to comments and newlines for better results.
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
4 years ago
Gleb Mazovetskiy
9ac78d0352
clang-format: Enable `SortIncludes`
...
We use the value of `true` instead of `CaseSensitive` for compatibility
with older clang-format versions (< 13). They are equivalent.
4 years ago
qndel
7b82c52da9
add _mai_id enums in comment
4 years ago
Vladimir Olteanu
210ea7d18d
Always draw spell hotkey in town
4 years ago
obligaron
d7a0cf8dbe
Add OptionEntry Intro
4 years ago
obligaron
635f378722
Add OptionEntry Experience Bar
4 years ago
obligaron
7656014f19
Add OptionEntry Test Barbarian
4 years ago
obligaron
43841477bc
Add OptionEntry Test Bard
4 years ago
obligaron
0f5fd4a7b1
Add OptionEntry Friendly Fire
4 years ago
obligaron
e6320090ac
Add OptionEntry Cow Quest
4 years ago
obligaron
a69cd0db2a
Add OptionEntry Theo Quest
4 years ago
obligaron
21e04d3352
Add OptionEntry Grab Input
4 years ago
obligaron
31f0b91783
Add OptionEntry Run in Town
4 years ago
obligaron
af4f732ef1
Add OptionEntry Scaling Quality
4 years ago
obligaron
cb6d49e697
Add OptionEntry Item Pickup Sound
4 years ago
obligaron
82b86d9042
Add OptionEntry Auto Equip Sound
4 years ago
obligaron
e1f97603ae
Add OptionEntry Walking Sound
4 years ago
obligaron
f02264f69c
Implement settings menu
4 years ago
obligaron
618f8820cb
*Options implement OptionCategoryBase
4 years ago
obligaron
5e3b54e98e
Introduce OptionEntry/OptionCategory
4 years ago
obligaron
55dea2e39e
Introduce UiFlags::NeedsNextElement
4 years ago
obligaron
5b43d047c6
UiListItem support disabled elements
4 years ago
obligaron
918122ecb1
UiListItem can have individual UiFlags
4 years ago
obligaron
adfdb1e54f
Refactored UiList ViewPort Logic
4 years ago
Vladimir Olteanu
14eae23441
Spell list: always draw hotkeys
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
Gleb Mazovetskiy
137752fdfc
Remove files accidentally added in #3585
4 years ago
Gleb Mazovetskiy
8d1708358f
Extract spell list and book into separate files
...
Moves the spell list/book UI from `control.cpp` code into separate files.
4 years ago
staphen
25afdee39b
Replace libsmacker with libsmackerdec
4 years ago