Anders Jenbo
098e9a34ca
Poormans profiler
3 years ago
Anders Jenbo
8e16037fef
Enable pentium level support
3 years ago
Gleb Mazovetskiy
7f7158f1d1
Windows 9x MinGW build
3 years ago
Andrew James
bb16b93836
move definition of non-templated function to cpp file ( #6620 )
3 years ago
ephphatha
3fda0586bd
Add support for parsing fixed point decimal strings
3 years ago
ephphatha
f3de9d6e71
Use dedicated error enum for parsing failures
3 years ago
Gleb Mazovetskiy
040c4fe82f
Generalize support for Windows without wchar APIs
...
Replaces `NXDK` ifdefs that relate to the lack of wchar APIs
with the more general `DEVILUTIONX_WINDOWS_NO_WCHAR` ifdefs.
This should make it much easier to port to Windows 98.
3 years ago
Gleb Mazovetskiy
6d43898fad
Fix unused variable warnings for resampler name
...
If a resampler was not enabled, we'd get an unused variable warning:
warning: unused variable 'ResamplerSpeex' [-Wunused-const-variable]
constexpr char ResamplerSpeex[] = "Speex";
3 years ago
KPhoenix
95d2e9bd42
Update automap.cpp
3 years ago
Anders Jenbo
c4d2518741
Update links to assets to always point to the latest version
3 years ago
Anders Jenbo
3d3af0e946
Update links in README.txt
3 years ago
Anders Jenbo
b6d1dff737
Update link in 3ds.md
3 years ago
Anders Jenbo
f03b535f22
Update links in installing.md
3 years ago
Anders Jenbo
c9858c3c99
Fix spelling of fallthrough
3 years ago
Vinícius Ferrão
dff46af2de
Fixes testing characters from Hellfire showing up in Diablo
...
This commit restricts the use of Test Barbarian and Test Barb to the
Hellfire expansion only.
Signed-off-by: Vinícius Ferrão <vinicius@ferrao.net.br>
3 years ago
Eric Robinson
d63fa514ab
Automap: Pentagram ( #6606 )
3 years ago
Gleb Mazovetskiy
92cca421f9
Automap: Minor cleanups
3 years ago
Anders Jenbo
c2766d5da9
Fix warnings in automap.cpp
3 years ago
Gleb Mazovetskiy
4d0341afb5
net: Replace `packet_exception` with `tl::expected`
...
The network code still has ways to go to get rid of exceptions,
this is but a small first step.
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
3 years ago
KPhoenix
ec8a9c8e61
Lava
3 years ago
Eric Robinson
c754d95ecc
Fix various Automap drawing issues ( #6555 )
3 years ago
Gleb Mazovetskiy
78af369e6e
net: Remove template parameter for cdwrap
...
1. There is no reason for cdwrap to be templated, it can simply store
the factory function reference instead.
2. Marks overriden virtual functions as `override` instead of `virtual`.
3 years ago
Eric Robinson
0f3c74af33
Avoid rounding issues in automap and allow an extra zoom out step
3 years ago
Gleb Mazovetskiy
e049bbb7a4
Add `AutomapTile#hasAnyFlag`
...
For use in #6555
3 years ago
Gleb Mazovetskiy
cf925d1edc
Replace tuples with structs
...
Structs are more readable because the fields have names.
3 years ago
DakkJaniels
3d3cc31ebb
add missing continue
3 years ago
DakkJaniels
aba9d79a1a
Fix spawn and spawnu ( #6594 )
3 years ago
dependabot[bot]
6c51496c61
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Gleb Mazovetskiy
43dbd8cb57
Bump libfmt
...
Hopefully we'll be able to get rid of the custom nxdk fork soon.
3 years ago
Gleb Mazovetskiy
b83637add8
Use a C array for transparency LUT for debug perf
...
In a debug build, `std::array` accesses are function calls.
Timedemo on my machine:
* Before: 45.39 seconds 141.3 FPS
* After: 40.20 seconds 159.5 FPS
3 years ago
Gleb Mazovetskiy
b28bbd65ad
Fix some compilation warnings
...
```
data_file_test.cpp:37:20: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wdangling-else]
37 | if (!result.endOfFile())
| ^
```
```
Source/engine/render/dun_render.cpp:1126:6: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
1126 | void RenderTile(const Surface &out, Point position,
```
3 years ago
Gleb Mazovetskiy
b64ee0e190
Use `if constexpr` in clx/dun_render
3 years ago
Gleb Mazovetskiy
6df7955dc1
Bump GoogleTest
3 years ago
Gleb Mazovetskiy
57dbe12915
Remove Debug /O2 for MSVC
...
Fixes: '/RTC1' and '/O2' command-line options are incompatible
3 years ago
Gleb Mazovetskiy
16a6fc62e1
Deduplicate some of the MPQ handling
...
Reuse libmpq functions where possible instead of our own.
3 years ago
Gleb Mazovetskiy
0f77cc3797
Force-inline methods to improve debug build perf
...
This has little or no effect on the optimized build
but significantly improves performance of the headless debug build
`timedemo_test` on my machine goes from 3s to 2s.
3 years ago
Gleb Mazovetskiy
a51abc4826
Compile some files with -O2 even in Debug mode
...
These files are responsible for most of the runtime in Debug mode.
Apply some optimizations to them even in Debug mode to get reasonable performance.
Timedemo on my machine goes from 40s down to 25s.
3 years ago
Anders Jenbo
0a78af4bf8
Show save notification for exactly 1 sec
3 years ago
staphen
7e489a88af
Load stash data based on gbIsHellfire, not gbIsHellfireSaveGame
3 years ago
qndel
a4c4fd6c9b
fix inspect on players where one name is a substring of another
3 years ago
Gleb Mazovetskiy
49c5aea845
.github/workflows: Ignore changes in docs/ for CI
3 years ago
Gleb Mazovetskiy
37375a74a0
github-codespaces.md: Explain codespace reuse
3 years ago
Gleb Mazovetskiy
2e8b036ab6
github-codespaces.md: Improve documentation
3 years ago
Gleb Mazovetskiy
1156b46714
Set up default settings for a GitHub Codespace
3 years ago
staphen
a151219b9b
Don't validate creation flags on gold
3 years ago
michaelneverwins
5b7865b45b
Add "$@" to devilutionx.sh to pass command-line arguments to devilutionx executable
3 years ago
Gleb Mazovetskiy
9bbc138b0f
Simplify `ColumnDefinition` using C++20 features
...
1. Default comparison: https://en.cppreference.com/w/cpp/language/default_comparisons
2. Parentheses initialization for aggregate types
3 years ago
Gleb Mazovetskiy
c2ad6da733
Add DEVILUTIONX_DISPLAY_TEXTURE_FORMAT
...
Some platforms, such as PS2, can benefit from a different texture
format. Makes the texture format a CMake setting.
3 years ago
Vinícius Ferrão
2644ec73af
Add Crippling Shrines from Hellfire ( #6273 )
3 years ago
Gleb Mazovetskiy
affae57254
RG99: Run from disk rather than from /opk squashfs
...
Turns out the squashfs mount has some non-trivial RAM overhead.
Copy the game to local storage and run from there to avoid the overhead.
This completely eliminates long 0 FPS periods when running the demo for PGO.
It may be possible to reduce the overhead by setting
CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE kernel setting to 1.
3 years ago