Gleb Mazovetskiy
f7b5fbbdc7
Enable D-Pad / Left stick navigation in stores
5 years ago
Gleb Mazovetskiy
5977679e60
Handle D-Pad / Left stick in UI every frame
...
Previously this was handle as part of `game_logic`, reducing
responsiveness and making it impossible to run where `game_logic`
isn't running, e.g. stores.
5 years ago
Gleb Mazovetskiy
21565ec756
Controller: Move stick click handlers out of !game_menu
...
Fixes clicks on dialog items
5 years ago
pionere
79ed3c897b
[diablo] 🐛 Better direction calculation
...
Rinos would have a slight inclination to move in the 4 main cardinal
directions.
Also missiles should more ofthen show the correct angle compared to
movment.
5 years ago
Anders Jenbo
932d093433
✅ Test GetDirection
5 years ago
pionere
a841be2708
✅ Test CrawlTable
5 years ago
Anders Jenbo
ac9ae2e062
🐛 Fix loading of sorceror graphics
...
This also detangles some of the hellfire wip classes and duplicate
tables
5 years ago
Anders Jenbo
8f09cc3034
[diablo] 🐛 Correct spelling of Sorcerer
...
Fixes #1074
5 years ago
Gleb Mazovetskiy
2e21e7ab0e
CMake: libsodium FetchContent CMake 3.13 compat
...
This commit serves 2 purposes:
1. Fixes CMake 3.13 compatibility when using
` -DDEVILUTIONX_SYSTEM_LIBSODIUM=OFF` (fixes #1222 ).
2. Ensures we do not build targets that are not depended on by us,
by passing `EXCLUDE_FROM_ALL` to `add_subdirectory`.
5 years ago
Anders Jenbo
a46c522882
🐛 Fix check in HasRoomForGold
5 years ago
Anders Jenbo
4de1c05c17
✅ Test more item type generation
5 years ago
Gleb Mazovetskiy
0f46e9c4c1
Thumb stick / DPad repeating navigation in DiabloUI, gmenu, and quest log ( #1206 )
5 years ago
Vítězslav Dvořák
0e6abe4266
Debian package build problem #1218 - do not use paths in filesystem to obtain app version and commit id
5 years ago
Anders Jenbo
cc47080074
🐛 Correctly calculate the player _pDamageMod when creating a new hero
...
Fixes #140
5 years ago
Anders Jenbo
c3456e7dbd
[diablo] 🐛 Fix incorrect dirt tiles in lavepools
...
Fixes #477
5 years ago
Anders Jenbo
6a7c8f24f4
♻️ Use if instead of switch for bool cases
5 years ago
Anders Jenbo
3a660f6f6c
♻️ Align MI_LightningWallC with MI_FirewallC
5 years ago
Anders Jenbo
38fdf34c14
💄 Apply code style
5 years ago
Anders Jenbo
a01cafbf69
🚨 Apply spell_id
5 years ago
Anders Jenbo
1d537e0a93
🚨 Add missing cases to most switches
5 years ago
Anders Jenbo
31467cc949
♻️ Remove all usage of basic WIN32 types
...
Note that several WinAPI types are still in use (misc.h)
5 years ago
Anders Jenbo
1bd8fb281a
♻️ Don't do calculations unless needed
5 years ago
Anders Jenbo
83e783a796
🔥 Remove ITYPE_FOOD (unused)
5 years ago
Anders Jenbo
8dfff1c75d
👷 Enable additional warnings for Clang
5 years ago
Anders Jenbo
58e0b00e74
♻️ Pass privitives by value
5 years ago
Gleb Mazovetskiy
41f7162e98
Hellfire: Better error if some MPQs are missing
...
Makes the issue more obvious.
5 years ago
Gleb Mazovetskiy
a545d0ce1c
CMake: An option to build libsodium from source
...
Adds an option to build libsodium from source instead of using the
system-provided one.
This is useful on systems that do not provide libsodium, or for testing
changes to libsodium along with devilutionx (by specifying
`-DFETCHCONTENT_SOURCE_DIR_LIBSODIUM`).
This also allows us to configure sodium to our liking when building it from source,
such as `SODIUM_MINIMAL`, which reduces the x64 release binary size from 4.3 MiB to 4.1 MiB.
5 years ago
Gleb Mazovetskiy
378a99bfd5
OpenDingux/build.sh: Minor fix
5 years ago
Gleb Mazovetskiy
415bea0efe
Look for all MPQs in PWD and global share
...
Follow-up to #1196
5 years ago
Gleb Mazovetskiy
7ddabe188a
Update 3rdParty/Radon
...
From 9203ff8b02
5 years ago
Gleb Mazovetskiy
70d1d633bd
Get rid of SCREEN_X / SCREEN_Y
...
GlobalOutputBuffer() now returns a clipped subregion
5 years ago
Gleb Mazovetskiy
0c2284a091
Respect sfx_STREAM in PlaySFX
...
Changes audio playback of sounds with the `sfx_STREAM` flag, such as towner lines, to stream.
5 years ago
Semperfis96
cd8d26ac8f
Rename sync_word_6AA708 to sgnMonsterPriority in Source/sync.cpp for clarity ( #1202 )
5 years ago
Anders Jenbo
729ae7bccf
📝 Remove Devilution specific instructions
5 years ago
Gleb Mazovetskiy
997650aa5d
Stream music instead of loading it all at once
...
RAM usage (my beefy desktop):
* Town: 176 MiB -> 121 MiB
* Cathedral: 191 MiB -> 138 MiB
Performance: 1170 FPS -> 1150 FPS
5 years ago
Anders Jenbo
60cc8b0df4
🚨 Correct type of event_types
...
Fixes #1197
5 years ago
Gleb Mazovetskiy
c52505388b
Install devilutionx.mpq on Linux
...
1. Installs devilutionx.mpq on Linux.
2. Falls back to finding it in the install location.
5 years ago
Gleb Mazovetskiy
dc47832877
OpenDingux/RetroFW: Copy devilutionx.mpq
5 years ago
Anders Jenbo
b59b1179a1
🚨 Resolve remaning c-style warnings
5 years ago
Anders Jenbo
43639b6d37
🐛 Do not pickup gold if inventory is full
5 years ago
Anders Jenbo
32b663ad3d
🐛 Correct rendering and functionality of the progressbar
...
This fixes the following issues:
- Missing text shadows
- Missing button graphics
- White boarder
- Not responding to controller input
- Button not giving visual feedback
- Clicking anywhere cancles
5 years ago
Anders Jenbo
c899cabf98
🐛 Block direction in PlayerMHit
5 years ago
Gleb Mazovetskiy
f9a87c2c74
Always prefill player name if controller is active
5 years ago
Gleb Mazovetskiy
3cac99ed20
Add default names for Bard and Barbarian
...
Barbarian names taken from later Diablo lore.
Bard simply reuses Rogue names.
5 years ago
Anders Jenbo
3077208b8b
♻️ Clean up automap.cpp
5 years ago
Anders Jenbo
17803d5923
♻️ Apply proper types to PlayerStruct
5 years ago
Gleb Mazovetskiy
b6db4d02da
Clean up CapturePix
5 years ago
Gleb Mazovetskiy
d6f73b576c
Fix screenshotting
...
Broken by afa3a6bf27
5 years ago
Anders Jenbo
2e3bb9206d
🐛 Fix uninitialized values for items generated in a loop
...
Fixes #1121
5 years ago
Gleb Mazovetskiy
3363e8f8f3
Remove extern C from engine.h
...
The headers don't actually work with C as they're now.
A better long-term solution should be able to use idiomatic C++ throughout
and expose things to other languages via a separate C API layer.
Fixes #1178
5 years ago