Gleb Mazovetskiy
2efa5e4ee2
CMake: Place tests where everything else is
...
This should hopefully fix DLL lookup on Windows (#3778 )
4 years ago
Anders Jenbo
bd86c37d0d
Add googletest
4 years ago
Gleb Mazovetskiy
9bc9bb6d33
Fix demomode file comments
4 years ago
Gleb Mazovetskiy
1f2d67f98b
Fix demomode line endings
4 years ago
Gleb Mazovetskiy
f48fb47fe1
.gitattributes: Do not let git change line endings
4 years ago
ephphatha
530604c529
Prefer DX11 renderer if running on windows with vsync active
...
This works around a bug in DX9 on Win11.
4 years ago
Anders Jenbo
0d44d955e5
Fix builds for M1 Mac
4 years ago
Gleb Mazovetskiy
076b0c0c05
Overhaul tests
...
1. Adds a `libdevilution_so` target when tests are enabled.
2. Each test file is now a separate binary target linked against `libdevilutionx_so` (can now run tests in parallel).
3. Tests are now defined in a separate `test/CMakeLists.txt` file.
4. Building the tests is now controlled by the standard `BUILD_TESTING` option (defined by CTest).
5. Tests are now built by default.
6. On CI, test errors are now reported.
Also:
* `.clang-format`: Enable SortIncludes in tests
* `path_test.cpp`: Fix -Wsign-compare
4 years ago
Gleb Mazovetskiy
f5d8f513cb
AssetsPath: Default to exe dir
...
Also adds `SetAssetsPath`, for use by tests.
4 years ago
Gleb Mazovetskiy
1210dcc7e4
Clean up CLI argument parsing
4 years ago
Gleb Mazovetskiy
02902e5188
language.cpp: Fix -Wwrite-strings
4 years ago
Gleb Mazovetskiy
d3a523fa0b
paths.cpp: Remove `AppPath`
...
It was redundant.
4 years ago
NikoVP
d3d86fa1d3
Update Bulgarian translation
4 years ago
staphen
c386b04c10
[3DS] Adjust video flags to force hardware surface
4 years ago
Adam Heinermann
1484b4d8cf
Implement Discord rich presence ( #3711 )
4 years ago
Trihedraf
652f14506b
Add ProMotion support for iPhone 13 Pros
4 years ago
Gianluca Boiano
c2cd6b3ac2
Update Italian localization
4 years ago
Gleb Mazovetskiy
afc0017cef
CMake: Move assets to Assets.cmake
4 years ago
Gleb Mazovetskiy
eb557e598b
tools/segmenter/README.md: Windows instructions
4 years ago
staphen
d4a13bd669
Improve CMake logic for version suffix
4 years ago
Joerg Wissen
45c634213c
Fixed typo in Reju potion pickup ( #3757 )
4 years ago
qndel
d2ba033d84
fix collision of bodies in butcher chamber/hell
4 years ago
ephphatha
8b07f27bde
Remove CowOffsets, always treat cows as 4 tile sprites
4 years ago
obligaron
7b2f651bb2
Allow QuickMessages to contain multiple entries/lines
4 years ago
obligaron
e852fc18d4
Support MultiKey entries in ini
...
Support MultiKey entires in ini
4 years ago
ephphatha
a1652bd5d6
Interleave non-regional fallback locales after last regional variation
4 years ago
ephphatha
c0ec4a845a
Restore fallback for non-regional translation
...
Also adds an explicit check for en given this the base translation for the application and will never have a .mo/.gmo file.
4 years ago
ephphatha
5fa9213adc
Handle multiple language preferences on windows
...
This removes the fallback functionality to non-regional translation files as I was unsure how best to handle that.
4 years ago
obligaron
8a4d4b6375
Add OptionEntries for Audio
4 years ago
obligaron
9e6aa7c8d6
Add OptionEntries for Poition Pickup
4 years ago
obligaron
51869f464e
Add OptionEntryInt
4 years ago
staphen
8becd18c88
[Android] Hide the Upscale option in the settings menu
4 years ago
Bubio
f9d1ab5913
Fixed iOS build description
...
Sorry, I made a mistake.
4 years ago
Bubio
f382a8b2ed
Update iOS Build Descriptions.
...
- Correct the path of CMAKE_TOOLCHAIN_FILE to the correct one.
4 years ago
obligaron
b2750c99e7
Call SyncPortals() only once for a level load
4 years ago
Anders Jenbo
6d346c7e18
Use std::string in PrintItemPower
4 years ago
Anders Jenbo
af08a99691
Perform item requirement check when entering vendors
4 years ago
ephphatha
bda0a0624b
Replace some usages of Item.statFlag
4 years ago
ephphatha
3598ee313c
Remove StoreStatOk, replace with calls to CanUseItem
4 years ago
ephphatha
6e2751649a
Move ItemMinStats to a member function on Player
4 years ago
Gleb Mazovetskiy
0d63be4be4
`make_src_dist`: Add a top-level directory
...
Addresses a request by @jpalus to place the archive contents into a top-level directory.
(https://github.com/diasurgical/devilutionX/pull/3589#issuecomment-981084124 )
The directory looks like this: `devilutionx-src-1.3.0-7154522bf`.
4 years ago
staphen
bd0470994a
Initialize golems before objects
4 years ago
Gleb Mazovetskiy
e0783d250d
3rdParty/libpng: SKIP_INSTALL_ALL
...
We do not need to create any install targets when using libpng from
source.
4 years ago
Gleb Mazovetskiy
d99dd678e2
storm_svid: Cleanup video rendering code
...
1. Removes adjustments to `orig/system_palette`.
They're not needed because videos have a separate render loop.
For an in-game movie, the caller sets the palette after the movie.
2. Splits some of `SVidPlayContinue` code into functions
(`UpdatePalette` and `BlitFrame`).
3. Adds a separate config variable for SDL1 SVid video mode.
E.g. on rg99 there isn't enough video RAM for double-buffering
the main game but we can do it for the videos.
4 years ago
Gleb Mazovetskiy
b71814b07b
CMake: Remove upgrade code
...
Follow-up to 75222ccef8
4 years ago
obligaron
f2f764ed68
Fix Knockback checks wrong position when a monster is moving
4 years ago
obligaron
f58a42ca97
Check that monsters aren't placed in doors
4 years ago
SimonCeder
e0a14fd3e4
translated the new lines
4 years ago
Gleb Mazovetskiy
437d4ed1e5
`make_src_dist`: Add a `--fully_vendored` flag
...
With this flag (off by default), all of the dependencies are packaged
into the source archive (including SDL2 etc).
Useful for building on machines without an internet connection.
4 years ago
Gleb Mazovetskiy
401d0ff33f
DiabloUI: Handle mouse wheel in SDL 1.2
4 years ago