Anders Jenbo
20eb12570f
Add catacombs widescreen ( #5889 )
3 years ago
Anders Jenbo
28ea755e32
Add churche widescreen
3 years ago
Gleb Mazovetskiy
e35595a1eb
StrCat improvements
...
1. Use `fmt::format_int` directly instead of parsing a format string.
2. Use `AppendStrView`.
3. Define the varargs versions using fold expressions when available.
4. Add tests.
3 years ago
obligaron
36ecc50fcb
Always use infravision in Arenas
3 years ago
Gleb Mazovetskiy
0950750ed9
Avoid dependency on fmt/chrono
...
We only used it in one place and it doesn't work on Amiga GCC-6 with the
latest libfmt.
Also handles the case where `localtime` returns `nullptr`.
3 years ago
obligaron
4cdd7ff2d9
Replace ReturnLevel/LevelTyp/LvlPosition
3 years ago
obligaron
f4b2fee532
Transform Lazarus portal position to world space earlier
3 years ago
obligaron
b3a3d520dd
When using a portal to a setmap also set setlvltype, cause it's needed to load areana correctly
3 years ago
Gleb Mazovetskiy
957bd03b98
Remove `FMT_COMPILE` in "cold" places
...
Removes most `FMT_COMPILE` calls.
`FMT_COMPILE` results in better performance but larger code size.
Removes `FMT_COMPILE` calls for places that are called infrequently,
i.e. not on every frame.
RG-99 binary size reduced by ~4 KiB.
3 years ago
obligaron
e64270bfc6
Fix Flash hits north east direction
3 years ago
Gleb Mazovetskiy
f34dbf2aa9
Fix a libfmt compilation error on master
...
`InfoString` is a `StringOrView` and libfmt does not know how to print
that. Pass it a `string_view` instead.
3 years ago
Gleb Mazovetskiy
c858ab4d2c
Fix some compilation warnings
...
also removes a couple of unused filesystem includes
3 years ago
Gleb Mazovetskiy
f2cb9f0fa0
file_util: Implement `RecursivelyCreateDir`
...
With this, we no longer require `std::filesystem` support to create the
save file directory when it does not exist.
Note that by default the save file directory exists because it is
created by SDL, so this is mostly useful on platforms that override the
save directory or use `UNPACKED_SAVES`.
3 years ago
staphen
a55728848e
Fix transcript of Warlord of Blood lore for Monk and Bard
3 years ago
staphen
27dfaeb9dc
Use herosounds for class-specific quest speech IDs
3 years ago
staphen
695949d901
Sync staff charges after recharging
3 years ago
staphen
9af5bf84ba
Arkaine's Valor: Don't check player inventory when processing CMD_OPERATEOBJ
3 years ago
obligaron
63b04045f2
MP: Send delta message for lachdanans death
3 years ago
staphen
d18c75bd05
Don't send monster data while warping
3 years ago
obligaron
6e364f2167
Telekenisis respects Disable Crippling Shrines Setting
3 years ago
obligaron
a629aa9153
Disable corner stone of the world in multiplayer
3 years ago
obligaron
44de539afb
Introduce CronerStoneStruct::isAvailable()
3 years ago
obligaron
55bf5348c4
Multiplayer: Prevent trapped doors to fire twice
3 years ago
obligaron
adeeae2c52
Add option to enable singleplayer quests in multiplayer
3 years ago
obligaron
0d2e43daa8
Add search monster/item/object debug commands
3 years ago
obligaron
cd89372512
Introduce Object::name()
3 years ago
obligaron
60d9f35d5a
Make SearchAutomapItem parameterizable
3 years ago
staphen
c7766cfc96
Fix the path used for streaming in LoadAudioFile()
3 years ago
staphen
02694d27bb
Remove extra spaces from Monk/Bard quest text to match other classes
3 years ago
staphen
f6fd519561
Remove references to Bard-specific speech IDs
3 years ago
obligaron
6a5210e14a
Multiplayer: Enable Lachdanan Quest
3 years ago
Anders Jenbo
454efdc2c1
Re arange UI files
...
¨
3 years ago
obligaron
3a31539c7e
Multiplayer: Enable Warlord of Blood Quest
...
Update Source/quests.h
Co-authored-by: qndel <stefan551@o2.pl>
3 years ago
staphen
929544b20f
Move initialization of gbIsHellfire back to DiabloInit()
3 years ago
obligaron
76528246d7
Multiplayer: Enable Zhar the Mad Quest ( #5823 )
3 years ago
obligaron
31b0f2147a
Multiplayer: Enable Gharbad the Week Quest
3 years ago
Gleb Mazovetskiy
5c3f14d661
Fix crash with locale=ja and missing fonts.mpq
3 years ago
staphen
3c144c7967
Perform some basic initialization before loading game data
3 years ago
staphen
5e832e75d9
Fix alignment for 2x2 armor sprite in the chest slot
3 years ago
obligaron
fbdc2d7900
Skip rendering on low-end devices
3 years ago
staphen
58b48e17ea
Fix OOB access when accessing stash
3 years ago
ikonomov
49894785b5
Update stash.cpp
3 years ago
Gleb Mazovetskiy
ca3ba14f82
msg.cpp: Always set `spellFrom`
...
Note that in a few places it is always being set to 0.
This is probably wrong and should instead be passed in the network
message as a parameter.
For now, this at least fixes the crash observed in #5791 .
3 years ago
staphen
928d00e9a8
Revert "Fine -> Sturdy"
...
This reverts commit 99a37a4113 .
3 years ago
Gleb Mazovetskiy
1a1a282d9a
Use C FILE instead of C++ streams throughout
...
Reduces binary size by ~2 KiB and may improve compatibility with oddball
systems (e.g. PS2).
3 years ago
staphen
076da2aefe
Relax latency requirements for online games
3 years ago
Gleb Mazovetskiy
e67ea9b006
Make `MissilesData` const
...
Instead of temporarily modifying `MissileData` around certain calls,
pass the arguments from the outside.
3 years ago
Gleb Mazovetskiy
e9e67b3971
Load combined missile CLX in UNPACKED_MPQS mode
...
Companion PR:
https://github.com/diasurgical/devilutionx-mpq-tools/pull/8
3 years ago
Gleb Mazovetskiy
f7580f188c
Fix multiline `DrawStringWithColors` alignment
...
For center or right alignment, the lines past the first line were
aligned incorrectly. The alignment was based on the width of the
format string.
3 years ago
Gleb Mazovetskiy
e87f68b2b5
Open fewer files concurrently at load time
...
For `MultiFileLoader` and `LoadMultipleCl2Sheet`, we now open one file
at a time.
This can help on platforms that limit the number of concurrently open
files, such as the PS2.
3 years ago