Anders Jenbo
b68ad9394b
🚨 Fix warning about reaches end of non-void
...
Techinically this coudn't happen, unless someone added another monster
type
5 years ago
Gleb Mazovetskiy
ca1786828b
.clang-tidy: Document run-clang-tidy
...
Turns out clang-tidy comes with a Python script that makes running
it very easy and parallelizes the checks.
https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
5 years ago
Trihedraf
33e550ceb6
Build an AppImage for Linux on CircleCi
5 years ago
Gleb Mazovetskiy
3fb2d21f3a
Add a .clang-tidy config
...
1. Provides additional warnings and **can apply some automatic fixes**.
2. Suggest consistent identifier naming based on the Google Style Guide.
5 years ago
Gleb Mazovetskiy
8670034717
CMake: Fix sodium static build
...
The 4th argument to `cmake_dependent_option` is when to enable the option, not when to disable it like I'd thought.
https://cmake.org/cmake/help/latest/module/CMakeDependentOption.html
5 years ago
Yuri Pourre
e07f5aeacf
♻️ extract Controller class ( #1236 )
5 years ago
Anders Jenbo
d2a10a717e
♻️ Renmae "Enable All Quests for Single Player" to !"Randomize Quests"
5 years ago
Anders Jenbo
9edea1b968
🔧 Make network port configurable
5 years ago
Juliano Leal Goncalves
1bf3fd6f35
🚩 Add ini toggle for displaying monster type. Disabled by default.
5 years ago
Juliano Leal Goncalves
1a8e09a7f5
✨ Expose monster types on monster info
5 years ago
Gleb Mazovetskiy
50663f5e5c
Fix right stick motion with the FPS limiter off
...
1. Moves right stick movement handler to run on every frame.
2. Changes hi-res accumulators to `float` to ensure they're always
incremented.
3. Avoid calling `SetCursorPos` within the same SDL tick:
this caused SDL to process all controller events before mouse events
(out-of-order).
(1) also makes right-stick-as-mouse work in `gmenu`.
5 years ago
Gleb Mazovetskiy
a33596c923
docs/CHANGELOG.md: Document gamepad improvements [ci skip]
5 years ago
Gleb Mazovetskiy
1ab18d8b1b
Move plrctrls_every_frame(); to ProcessInput
5 years ago
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
Yuri Pourre
012015b93a
Fix filename comment ( #2216 )
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