Anders Jenbo
e05887278b
Add tests for most of the UI ( #8530 )
17 hours ago
Anders Jenbo
6f319978e6
Migrate from libmpq to mpqfs ( #8482 )
...
Co-authored-by: staphen <staphen@gmail.com>
18 hours ago
Anders Jenbo
e6f958be25
Add panel and store transaction tests with UI test fixture ( #8528 )
...
Signed-off-by: staphen <staphen@gmail.com>
Co-authored-by: staphen <staphen@gmail.com>
21 hours ago
Scott Richmond
0ecc3edaed
[QOL] The buy and sell functionality of NPC stores is now visually driven to align with the stash and Diablo 2 style of trading ( #8434 )
...
- Add repair buttons (including “Repair All”) with proper alignment, tooltips, and cursor hit areas
- Improve controller support:
- Fix grid snapping and cursor positioning across panels
- Allow pressing/releasing UI buttons
- Fix item selling and movement between panels (inventory, belt, store)
- Prevent invalid interactions:
- Disable tab/repair navigation while holding items
- Hide unavailable options for non-Smith vendors
- Fix UI issues:
- Item misalignment and snapping
- Floating gold cost display
- Level-up button overlapping store panel
- Fix vendor-specific issues:
- Correct tooltip for non-Smith vendors
- Clean up Adria dialog options
- Fix stability issues:
- Resolve segfault when selling items
- Refactor and cleanup:
- Unify store sell logic
- Remove unused and stale code
- Improve IsPlayerInStore() logic
- General bug fixes and UI interaction improvements
---------
Co-authored-by: Yuri Pourre <yuripourre@users.noreply.github.com>
1 day ago
Trihedraf
afdaa2ac5e
mods/hellfire.mpq build = with devilutionx.mpq
2 months ago
Yuri Pourre
b684fd143c
Adria refill mana as mod
3 months ago
Trihedraf
32a0666201
move floating damage nums to lua mod & add xp mod
3 months ago
Niv Baehr
0802c27532
Draw text line by line ( #8379 )
3 months ago
Shakher-makher
2b3fa84c38
Belarusian translation ( #8381 )
3 months ago
Anders Jenbo
ec540871f7
Bundle Hebrew font
3 months ago
LP
16b96e2c31
Fix broken catacombs wall tile ( #8296 )
...
* Fix broken catacombs wall tile
When tile 15 is followed by tile 1 below, change tile 1 to tile 8
(left corner) to fix a visual glitch in the catacombs.
* Silence fmt catch warnings and guard SaveHelper copy
4 months ago
Yuri Pourre
d8b1f00cb5
Load towners via tsv
4 months ago
LP
f295e67b9f
Add multiplayer event logging
4 months ago
FinnishPottu
df325f6366
Add Finnish translation
4 months ago
Yggdrasill
91dd3bfaa1
Add tests for premium item generation
...
Rename functions
Comments
5 months ago
Gleb Mazovetskiy
db9404dcf6
CMake: Add SDL3_mixer
...
Requires a not-yet-released SDL 3.4.0.
I tried implementing audio with plain SDL and it's too complicated.
5 months ago
Gleb Mazovetskiy
1f939fc18a
CMake: Fix text_render_integration_test with make
...
Turns out, `add_custom_target`'s `DEPENDS` argument can only
refer to outputs of custom commands in the same directory (i.e. the same
CMakeLists.txt scope).
Interestingly, this worked with all generators except parallel
make, so perhaps there some ongoing work in CMake to allow
cross-directory `DEPENDS`.
Works around this limitation by moving tests to the same scope
(`CMakeLists.txt` file) as assets.
5 months ago
Gleb Mazovetskiy
20ad675558
SDL3: Build with sound
...
This doesn't implement full sound support but stubs out most of the
sound code under SDL3, so that we can implement it piecemeal.
Implemented here:
1. Sound device initialization.
2. SVid sound playback.
Does not add a dependency on `SDL_mixer`: SDL3 built-ins
are enough to play SVid audio.
5 months ago
Anders Jenbo
a60768a73f
SDL3: Backport to SDL 3.2.0
6 months ago
Gleb Mazovetskiy
318c2934f2
CMake: Improve asset copying
6 months ago
Gleb Mazovetskiy
c0975bfa8b
Add USE_SDL3 build option
...
This does not actually add SDL3 support but adds enough
CMake stuff to make the following succeed:
```bash
cmake -S. -Bbuild-sdl3 -DUSE_SDL3=ON -DDEVILUTIONX_SYSTEM_SDL3=OFF -DDEVILUTIONX_STATIC_SDL3=ON -DNOSOUND=ON
```
`NOSOUND` is needed because `SDL_audiolib` does not support SDL3.
6 months ago
Trihedraf
cf04264dba
enable iOS ZeroTier
7 months ago
Andrettin
f6b4665e94
Make Player Class Data Data-Driven ( #8167 )
7 months ago
Gleb Mazovetskiy
50ac397013
Add 8-bit video mode for SDL2 and use it in DOS
...
There are still some glitches in screen transitions but that's probably
our fault. We can improve it later.
7 months ago
Gleb Mazovetskiy
09e105ff27
dos: update SDL, disable per-pixel lighting
...
Updated SDL has better keyboard handling, including arrow keys and text
input support.
7 months ago
Gleb Mazovetskiy
d00dedfdd0
dos: get SDL via CMake
...
Now that the DOS SDL supports CMake, this is a much better option that
`configure`, because it lets us easily test out local changes to SDL,
e.g.:
```bash
cmake -S. -Bbuild-dos -DCMAKE_TOOLCHAIN_FILE=CMake/platforms/djcpp.toolchain.cmake \
-DTARGET_PLATFORM="dos" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
-DFETCHCONTENT_SOURCE_DIR_SDL2="${HOME}/diasurgical-SDL"
```
7 months ago
Anders Jenbo
01507d532c
Add basic DOS port ( #8155 )
7 months ago
Andrettin
76feb78b4e
Parse Text/Speech Data from TSV ( #8138 )
7 months ago
Andrettin
0c3fe1345c
Parse Quest Data from TSV
7 months ago
staphen
c265dd1e14
Add dependency to prevent trim from deleting intermediate lang files
8 months ago
Andrettin
d7404c070c
Simplified ParseMonsterId() by using the magic_enum library
8 months ago
staphen
b4020e82e8
Automatically trim retired assets from the build folder
8 months ago
Gleb Mazovetskiy
5f396ba687
Hellfire: Add effects.tsv to the MPQ
8 months ago
qndel
41038717fd
fix hellfire crash on pCursCels2 ( #8086 )
8 months ago
Anders Jenbo
88efadfce8
Make affixes data driven
8 months ago
Anders Jenbo
7b2de562c2
Extract more Hellfire into data
8 months ago
Anders Jenbo
108cf4b42d
Load spell icon based on data ( #8072 )
8 months ago
Gleb Mazovetskiy
424cbe10dd
Update to SheenBidi v2.9.0
10 months ago
Trihedraf
e4661706c1
Fix WinXP ( #8004 )
11 months ago
Gleb Mazovetskiy
1c50914630
amiga.cmake: Remove -Wno-attributes
...
Now that Amiga is on GCC 13, we no longer need this.
11 months ago
Gleb Mazovetskiy
9c971c50b0
amiga.cmake: Remove -fexceptions
...
We no longer use exceptions anywhere in the codebase
11 months ago
Anders Jenbo
3b18dd35d9
Move some Hellfire differences to data files ( #7943 )
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
11 months ago
Anders Jenbo
3fb8be385b
Add support for MPQ packed mods and turn Hellfire into one
11 months ago
staphen
3309a6f997
Workaround for deprecation of old CMake versions
1 year ago
Eric Robinson
aca06e898a
Menu text revision ( #3902 )
1 year ago
staphen
7d89c45944
Turn off per-pixel lighting by default on low power systems
1 year ago
Gleb Mazovetskiy
791fea477f
Bump CI to Ubuntu 22.04 and minimum CMake to 3.22
...
Ubuntu 20.04 is going EOL in May.
Ubuntu 22.04 CMake is 3.22.
Debian stable CMake is 3.25.
Debian oldstable (EOL in 2026) has CMake 3.25 in bullseye-backports.
1 year ago
Gleb Mazovetskiy
2ff7fb03d1
Replace hoehrmann_utf8 with SheenBidi
1 year ago
Gleb Mazovetskiy
b259f5e0e5
Add SheenBidi dependency
1 year ago
staphen
7f7924da1c
Explicitly define gamepad type for console platforms
1 year ago