obligaron
db392c84b0
Add OptionEntry Shareware and remove specials from settingsmenu
4 years ago
obligaron
b5ab9758d0
Replace gbSpawned with gbIsSpawn
4 years ago
obligaron
88ffa9f98a
Options: Move Diablo/Hellfire option to StartUp and integrate in Settings Dialog
4 years ago
obligaron
20fbd46886
Add OptionEntryFlags::NeedDiabloMpq/NeedHellfireMpq
4 years ago
ephphatha
680281e76c
Add support for older versions of windows
4 years ago
ephphatha
68f3270086
Try load the translation in the users language on windows
4 years ago
Gleb Mazovetskiy
e07c9eee03
Fix chat message overlap in CJK
4 years ago
Gleb Mazovetskiy
1b8939d70c
Safer chat message handling
4 years ago
obligaron
945ee04f62
Add OptionEntry Language
4 years ago
obligaron
b3740012b0
Add init_language_archives() to reinitalize lang_mpq
4 years ago
obligaron
0ac065dbaa
Make LanguageInitialize() reentry capable
4 years ago
obligaron
ae826d922f
Add OptionEntryFlags::RecreateUI
4 years ago
obligaron
8fc2fcd9e9
Move Intro Options to StartUp-Section and add a "Once"-Option
4 years ago
obligaron
629f7277b1
Add OptionEntryEnum::SetValue
4 years ago
obligaron
bcc20a2c90
Allow to customize shown splash in diablo.ini
4 years ago
Gleb Mazovetskiy
868289dc17
Add missing <cstring> includes
4 years ago
Gleb Mazovetskiy
37c7a2237b
.clang-format: Remove duplicate SortIncludes entry
4 years ago
obligaron
16253cafad
Move OptionEntry::operator*() to header
4 years ago
Gleb Mazovetskiy
95988ae4d8
help.cpp: Fix `-Wunused-const-variable`
...
Source/help.cpp:102:15: warning: unused variable 'ContentPaddingTop' [-Wunused-const-variable]
Source/help.cpp:103:15: warning: unused variable 'ContentOuterHeight' [-Wunused-const-variable]
4 years ago
Gleb Mazovetskiy
3ad49d59a6
selhero.cpp: Fix `-Wpessimizing-move`
...
Source/DiabloUI/selhero.cpp:488:27: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
4 years ago
Gleb Mazovetskiy
e74cb8388f
Settings menu: Set line height for description
...
Fixes #3603
4 years ago
Bubio
52203cece4
Fixed incorrect description of Show FPS and FPS Limiter option
4 years ago
Bubio
6a087ce350
Fix long translations causing the options menu to crash.
4 years ago
Gleb Mazovetskiy
74b2c03793
Link `SDL2::SDLmain` correctly
...
The `SDL_main.h` header defines `main` to be `SDL_main` *when needed
by the target platform. This header must be included before defining
`main`.
The `SDL2::SDLmain` library should be linked only to the executable, not
to `libdevilutionx`.
4 years ago
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
Anders Jenbo
3fd926d544
BUGFIX: check for dObject OOB
4 years ago
qndel
3df3a81f50
golem addmonster bugfix
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