staphen
af5dc9ccb6
Add item graphics to store menus
3 years ago
Gleb Mazovetskiy
0f8d5c1cce
Discord: Re-enable for MinGW builds
3 years ago
Gleb Mazovetskiy
cd7d74b55c
Discord: Additional patches
...
1. Replaces `#include <Windows.h>` with `#include <windows.h>`
for compatibility with case-sensitive file systems (e.g. MinGW
cross-compilation on a Linux host).
2. Adds missing `#include <cstdint>` to `cpp/types.h`.
3. Fixes calling convention for callback lambdas.
3 years ago
Gleb Mazovetskiy
40ab1c372f
Fix Discord linking on Windows
...
Fixes #5694
3 years ago
Gleb Mazovetskiy
55dc2315bc
Completely remove unused sfx_MISC sounds
3 years ago
Gleb Mazovetskiy
b48d4b2900
Remove uses of blank.wav
...
blank.wav is a 22 KiB 1-second silence that is not needed with
our sound engine.
3 years ago
Gleb Mazovetskiy
2d1773f644
Update RG99 PGO script and add instructions
...
Updates the script for compatibility with `UNPACKED_SAVES` and adds an
instructions document.
3 years ago
staphen
fb76f9ed5a
Update libzt to include compile-time detection for ARMv8a crypto extensions
3 years ago
Gleb Mazovetskiy
27348b49b8
Do not load unused sfx_MISC sound effects
...
There are 40 unused sfx_MISC sound effects.
All sfx_MISC sound effects are loaded into RAM by default.
Avoid loading these unused ones.
3 years ago
Gleb Mazovetskiy
a596c8223d
Reformat sound effects table
3 years ago
Gleb Mazovetskiy
3ab2f49a92
Audio: Avoid creating same-rate resamplers
...
Each resampler allocates an input buffer and an output buffer.
Since we create ~100 audio stream objects (1 per `sfx_MISC` effect),
the memory cost of these buffers adds up.
Avoids creating a resampler when the audio sampler rate matches the
output sample rate. This is mostly the case when the output sample
rate is 22050.
3 years ago
Gleb Mazovetskiy
6b338eac9f
Display path in `LoadAudioFile` error dialog
3 years ago
Gleb Mazovetskiy
6d274c9547
`UNPACKED_SAVES`: Saves without MPQs
...
Reduces rg99 binary size by ~70 KiB.
3 years ago
KPhoenix
8db521727d
`enum missile_id` -> `enum class MissileID`
...
Changes `enum missile_id` to `enum class MissileID`
3 years ago
Gleb Mazovetskiy
f20c58c8a0
SoundSample::SetChunkStream: Log filename on error
3 years ago
Gleb Mazovetskiy
e609574337
CMake: Strip MinSizeRel as well
3 years ago
egonzalez
087571bcf4
Correct translation. Add new items.
3 years ago
Gleb Mazovetskiy
590e354030
Reduce the size of SpellData
...
56 bytes -> 40 bytes
Can be optimized further by reordering the fields and merging some
flags.
3 years ago
KPhoenix
3eed9228ab
Fix alignment
3 years ago
KPhoenix
f52b2cb71f
Enum Class: MagicType
...
Changes enum magic_type to enum class MagicType
3 years ago
Gleb Mazovetskiy
2dd57475a5
Update SDL to the latest SDL2 branch
3 years ago
Gleb Mazovetskiy
f4a3b54fb9
Update Discord SDK
3 years ago
Gleb Mazovetskiy
ff4be220ab
zlib: Add the GitHub mirror
...
Another attempt to fix #5616
3 years ago
Felipe Wannmacher
34077e775c
Renewed uwp certificate ( #5669 )
...
Added new certificate with expiration set for 100 years
3 years ago
Gleb Mazovetskiy
d6409b4490
cpp_format_struct_table: Fix newlines on Windows
3 years ago
Felipe Wannmacher
f25c365c00
fixed issue https://github.com/diasurgical/devilutionX/issues/5661 ( #5665 )
3 years ago
Anders Jenbo
727661b532
Fix code coverage
...
@glebm looks like there is still an issue with coverage not working on Ubuntu 22.04
3 years ago
Gleb Mazovetskiy
b5f8ea7012
Disable Xbox One CI build
...
Temporarily disabled due to https://github.com/diasurgical/devilutionX/issues/5661
3 years ago
KPhoenix
12fc02f7f5
Fix redundancy in AddBoneSpirit function
3 years ago
Gleb Mazovetskiy
b281f0afac
Run tools/cpp_format_struct_table.py
3 years ago
Gleb Mazovetskiy
ae0297006e
A tool to format a struct table
...
Does not support subobjects, i.e. it treats them as a single value.
3 years ago
staphen
0d43f468e5
Improve missile collision interpolation logic
3 years ago
DakkJaniels
e5d96b2242
Removed ability to try and join incompatible ZeroTier games ( #5648 )
3 years ago
Gleb Mazovetskiy
f2fe98d6c4
Bump `cmake_minimum_required` to 3.15
...
DevilutionX already does not build on 3.13 because of libzt.
libzt uses the `TARGET_OBJECTS` generator expression with non-OBJECT
libraries. This is only supported in CMake 3.15+:
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/3178
3 years ago
Gleb Mazovetskiy
83343a2d7e
Update Linux builds to more recent OS versions
3 years ago
Anders Jenbo
e50e21e0e4
Use outline for spell icon texts
3 years ago
Anders Jenbo
0c5fd01067
Change missile_resistance into class DamageType
3 years ago
Anders Jenbo
bb2463862c
Use Position in AddItemToLabelQueue()
3 years ago
Anders Jenbo
a29fc3a074
Correct casing for Player::isWalking()
3 years ago
Anders Jenbo
1a633c5627
Reject games info of unexpected size ( #5646 )
3 years ago
Gleb Mazovetskiy
ff27203d65
Add a script for building a PGO'd binary
3 years ago
Gleb Mazovetskiy
f085af70ca
Add `paths::ConfigPath` to the MPQ search list
...
This mitigates the situation where providing `--save-dir`
result in no ~/.local/share/diasurgical/devilutionx in the search path
3 years ago
Gleb Mazovetskiy
5bf9dfd7ee
Demo mode: Force resolution to that of the demo
3 years ago
Gleb Mazovetskiy
8fe8023542
Create save and config directories
...
If a config directory did not exist, the ini file was
not saved at all.
Only implemented for targets that support `std::filesystem` or `std::experimental::filesystem`.
These are all the targets except nxdk and iOS (only supported on iOS 13+).
3 years ago
Gleb Mazovetskiy
135812a353
rg99: Enable `-fipa-pta`
...
From GCC documentation:
> Perform interprocedural pointer analysis and interprocedural modification and reference analysis.
> This option can cause excessive memory and compile-time usage on large compilation units.
> It is not enabled by default at any optimization level.
Also forces the CMake generation to `make` because `ninja` gets into an
infinite loop for some reason on my laptop.
3 years ago
Anders Jenbo
964d6b2233
Update README.md
3 years ago
obligaron
7a1f962e33
Settingsmenu: Create submenus for each category
3 years ago
staphen
0c4015869c
Remove unused _mdir variable from monster deltas
3 years ago
ephphatha
9da76e0003
Update CheckReflect to return applied damage
...
Instead of modifying the damage value by reference
3 years ago
KPhoenix
a22389613d
Remove No Monster Heal from Fire Arrows
3 years ago