KPhoenix
00e8d8d75b
Add Save Game confirmation
3 years ago
Anders Jenbo
15ed246239
Merge branch 'master' of github.com:diasurgical/devilutionX into development
3 years ago
Eric Robinson
9277aa72de
Fix Floating Numbers after death ( #6505 )
3 years ago
KPhoenix
cb5537083d
Fix right click during dialogue
3 years ago
Eric Robinson
e60a4dca3e
Close Towner window when clicking outside ( #6504 )
3 years ago
KPhoenix
cb1c99acc6
Update feature_request.yml
3 years ago
Eric Robinson
cc03d56635
Update bug_report.yml ( #6498 )
3 years ago
Eric Robinson
29d4ff28ae
Create feature_request.yml ( #6497 )
3 years ago
ephphatha
32c3316743
Load experience data from file
...
Also added an iterator based API, though it's not useful for this use-case. Might be nice in the future?
The field/record iterators is single-pass input iterators with shared state.
To avoid rescanning fields unnecessarily parseInt currently can only be called once, it would be possible to make these iterators bidirectional with a bit of extra state (holding onto the start pointer)
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
3 years ago
ephphatha
996841e82e
Restore level 50 experience cap from Diablo
3 years ago
ephphatha
8ed451b051
Move AddPlrExperience to class member function of Player
3 years ago
ephphatha
e6890cc5cc
Move MaxCharacterLevel to playerdat and add helpers for the various uses
3 years ago
ephphatha
14639cd096
Replace _pNextExper with getter method
...
No real need to persist this value
3 years ago
ephphatha
da76e131e4
Add getter/setter for character levels to ensure _pNextExper stays synced
3 years ago
ephphatha
d92d152576
Use unsigned type for character levels
3 years ago
ephphatha
486f5ca3e8
Replace ExpLvlsTbl global with helper function
3 years ago
Gleb Mazovetskiy
caa4c2cc34
debian-cross-aarch64-prep.sh: Support `file` paths
...
These `file` paths are used to define mirrors on the GitHub Runner Image
for Ubuntu 20.04 and 22.04.
This should fix the flaky aarch64 build.
3 years ago
Gleb Mazovetskiy
c98e9f5409
debian-cross-aarch64-prep.sh: Support `file` paths
...
These `file` paths are used to define mirrors on the GitHub Runner Image
for Ubuntu 20.04 and 22.04.
This should fix the flaky aarch64 build.
3 years ago
Stephen C. Wills
7b06703842
Add tests for net player validation ( #6492 )
3 years ago
Slava "nerfur" Voronzoff
eadfb85bc1
Update building.md
...
Updating OpenBSD related command for installing dependencies with proper packages to build
libpng -> png
googletest -> gtest
3 years ago
Gleb Mazovetskiy
4a4735e908
`string_view`-based asset lookup
...
Changes asset lookup functions to use `std::string_view` instead of
`const char *`.
This required new APIs in libmpq, added in
https://github.com/diasurgical/libmpq/pull/13 .
3 years ago
Gleb Mazovetskiy
9ae72f0269
Remove `PointsInRectangle` factory functions
...
These are no longer needed in C++17 thanks to CTAD.
3 years ago
Anders Jenbo
02ca96ba67
Bump Android build chain to the latest from Google to not upset them
3 years ago
Gleb Mazovetskiy
ba4def9382
Use utils/algorithm/container.hpp in more places
3 years ago
Gleb Mazovetskiy
ebe8c6e576
Add `tl::expected` and use it in `ParseInt`
...
`std::expected` has been standardized for C++23.
3 years ago
Gleb Mazovetskiy
cbf51cd5ab
`DrawStringFormatArg`: Use `std::variant`
3 years ago
Oleksandr Kalko
8bcf520263
Android upgrades
...
* Upgrade Gradle and Android plugin
* Change `compileSdkVersion` since it's deprecated
* Change `task` to `tasks.register` on Android Studio suggestion
3 years ago
Gleb Mazovetskiy
9e8465e152
Clean up spell book rendering
3 years ago
staphen
ab1af87bc9
Fix issues with light offset calculation
3 years ago
KPhoenix
ba6cc56ae8
None to Empty
3 years ago
KPhoenix
6dde0f8a23
Add enum class for spell icons
3 years ago
Gleb Mazovetskiy
26f42520fa
Fix unused variable warnings
3 years ago
Gleb Mazovetskiy
d262589021
Support `const` inventory iterators
...
Previously, inventory iterators could only be used with non-const
objects, leading to suboptimal const correctness.
Adds support for `const` objects to inventory iterators via
C++17 CTAD.
3 years ago
Gleb Mazovetskiy
ecdf7380a8
PushAulibDecoder: Support 8-bit samples directly
...
Previously, we converted 8-bit audio to 16-bit, and then to float.
Eliminates the 8->16 conversion step.
Also optimizes the 16-bit conversion a bit.
3 years ago
Gleb Mazovetskiy
d5446f2f01
Use `std::variant` in `StringOrView`
...
We also add a direct string move-assignment (`operator=(std::string &&)`),
which results in better codegen.
As a consequence, we have to replace `= {}` assignments with `= StringOrView {}`
because `= {}` is now ambiguous.
3 years ago
Anders Jenbo
14cb2d9155
Update VERSION to 1.6.0
3 years ago
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
3 years ago
Gleb Mazovetskiy
8ebe2e0290
Fix -Wsign-compare warnings
3 years ago
Gleb Mazovetskiy
5960b20509
Remove a stray __cplusplus >= 201703L check
3 years ago
Gleb Mazovetskiy
e9b5ec77f9
Remove AppendStrView
3 years ago
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
3 years ago
Gleb Mazovetskiy
f2c42924fe
Fix SDL.h includes
3 years ago
Gleb Mazovetskiy
5cc1f98b8d
Remove utils/stdcompat/invoke_result_t.hpp
3 years ago
Gleb Mazovetskiy
14540164a7
Remove utils/stdcompat/optional.hpp
3 years ago
Gleb Mazovetskiy
62d067b653
Remove utils/stdcompat/abs.hpp
3 years ago
Gleb Mazovetskiy
74755c8be7
Remove utils/stdcompat/cstddef.hpp
3 years ago
Ivan Epifanov
45f7c2084c
Update vita readme
3 years ago
Anders Jenbo
cb40f28d54
Update Vita MP support status
3 years ago
Gleb Mazovetskiy
53db86ee9a
Use `std::from_chars` instead of `std::stoi`
...
Adds a `ParseInt` function which uses `std::from_chars`.
From `std::from_chars` documentation:
> Unlike other parsing functions in C++ and C libraries,
> std::from_chars is locale-independent, non-allocating, and non-throwing.
Co-authored-by: Andrew James <ephphatha@thelettereph.com>
3 years ago
Gleb Mazovetskiy
52e55b43be
vcpkg.json: Update builtin-baseline
...
This is the version that is currently installed on GitHub Actions.
3 years ago