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
obligaron
7656014f19
Add OptionEntry Test Barbarian
4 years ago
obligaron
43841477bc
Add OptionEntry Test Bard
4 years ago
obligaron
e6320090ac
Add OptionEntry Cow Quest
4 years ago
obligaron
a69cd0db2a
Add OptionEntry Theo Quest
4 years ago
obligaron
31f0b91783
Add OptionEntry Run in Town
4 years ago
obligaron
f02264f69c
Implement settings menu
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
Anders Jenbo
6e63354cd1
Remove safe guards around strings own the input for
4 years ago
Anders Jenbo
799f1763af
Performce UTF8 aware limited string copies
4 years ago
Anders Jenbo
36112cd83e
Increase buffer size to handle Japanese translations
4 years ago
Gleb Mazovetskiy
3e1ea708a9
Increase "Delete Hero" dialog title buffer size
4 years ago
Gleb Mazovetskiy
c438cc6097
Increase difficulty description buffer size
...
Fixes #3551
4 years ago
Gleb Mazovetskiy
fa90679416
game_assets.* -> assets.*
4 years ago
Gleb Mazovetskiy
b8affd5fe5
Fix a few build warnings
4 years ago
Gleb Mazovetskiy
731377aca6
Net: Show "Unknown network error" as intended
4 years ago
Gleb Mazovetskiy
e9a9daa794
DrawString: Stop allocating
...
Switch to a state-machine UTF-8 decoder from the branchless one.
This allows us to avoid copying the string on every `DrawString` call.
4 years ago
Gleb Mazovetskiy
3d308983a8
Migrate to libmpq
...
libmpq is a much simpler alternative to StormLib for reading MPQ archives.
We use our own fork of libmpq: https://github.com/diasurgical/libmpq
Impact:
* DevilutionX is now a lot more portable. Unlike StormLib, libmpq only
needs platform-specific code for Windows.
* Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only).
* RAM usage is **300 KiB** lower than StormLib.
* Stripped release linux_x86_64 binary is **32 KiB** smaller.
* Amiga build now hangs instead of crashing.
4 years ago
Gleb Mazovetskiy
fe0009708d
ArtDraw: Bounds-check top and left
...
This fixes the glitch when a line leaves the viewport in the scrolling
quest text.
Refs #3388
4 years ago
Gleb Mazovetskiy
a1125e83d7
ArtDraw: Bounds-check top and left
...
This fixes the glitch when a line leaves the viewport in the scrolling
quest text.
Refs #3388
4 years ago
Gleb Mazovetskiy
9dd0474a52
DrawArt: Fix bounds check ( #3395 )
...
The bounds checks were performed against the global screen dimensions
instead of the output buffer dimensions.
Also includes some minor cleanup of DrawArt.
Fixes #3388
4 years ago
Gleb Mazovetskiy
117695489b
DrawArt: Fix bounds check ( #3395 )
...
The bounds checks were performed against the global screen dimensions
instead of the output buffer dimensions.
Also includes some minor cleanup of DrawArt.
Fixes #3388
4 years ago
Gleb Mazovetskiy
4e8c2e3644
Fix line endings in a few files
4 years ago
obligaron
851ed8d557
Start attract mode only if a intro is present
4 years ago
Anders Jenbo
0fa49c4f84
Fix typo
4 years ago
Anders Jenbo
fdd5d2c0d6
Make start screen behave more in line with other similar menus
...
Double clicking a menu list was not intuitive and could leave some
people confused about how to progress from the very first screen.
This is unfortunatly more important then having a nice preview when
using arrow keys to high light the other option :(
4 years ago
Anders Jenbo
5342cd87a8
Update support text and translations there of
...
Fixes #3284
4 years ago
Anders Jenbo
444b07e46d
Add license notice
4 years ago
Anders Jenbo
73e749f491
Adjust dialog font metrics
4 years ago
Anders Jenbo
f0cc7adbdf
Show error dialog when ZeroTier fails
...
Fixes #2708
4 years ago
obligaron
fbc6c40459
Credits/Support: calculate text width
4 years ago
Anders Jenbo
53032b5926
Increate allowed text length in multiplayer menu
4 years ago
Anders Jenbo
34e6c200bb
Add Shareware indicator to Hellfire menu
4 years ago
staphen
ffbbcc6d62
Support unencrypted multiplayer games with no password
4 years ago
Anders Jenbo
16ef261270
[touch] Do not require double clicks when using touch
4 years ago
obligaron
49c351d3e9
Allow playing intro in spawn if diabdat_mpq is present
4 years ago
obligaron
5a9b4ba743
Extras menu: fix ESC doesn't return to main menu
4 years ago
obligaron
f51768a567
Add the possibility to switch to shareware
4 years ago
obligaron
1d0f4cb13d
Add new Extras menu with the possibility to switch game
4 years ago
obligaron
95b7380ae9
Startup game (diablo or hellfire) can be selected.
4 years ago
Anders Jenbo
11e37e972a
Port essential parts to use SDL abstraction for file access
4 years ago
Anders Jenbo
62aa9c1c02
Remove unused variables
4 years ago
ephphatha
a13cb6ec7e
Providing a basic template specialisation approach to using enums as flags only for certain types.
...
Now hopefully works with GCC 6?
4 years ago
Anders Jenbo
50c65abec0
Word wrap text in main menu dialogs
5 years ago
Anders Jenbo
f291235dcd
Fix error message font color
5 years ago
Anders Jenbo
ae90193136
Game discovery over ZeroTier
5 years ago
ephphatha
67d85dea42
Display hosts version when failed to join game due to mismatch
5 years ago