Anders Jenbo
005e7dcc23
chore: clang-tidy cleanup part 1
2026-04-03 22:57:48 +02:00
Eric Robinson
5937734b85
Move *dat files to tables dir
2026-01-05 20:14:23 +01:00
Eric Robinson
8d693507ae
Fix OperateShrineCostOfWisdom ( #8398 )
2026-01-03 21:57:29 +00:00
Eric Robinson
43edea4a37
Fix NaKrul book sequence
2025-12-08 13:03:35 +00:00
Eric Robinson
58be0fc570
Fix NaKrul Quest
2025-12-08 13:02:46 +00:00
Eric Robinson
bc0d60bff7
Add Player hasNoMana helper
2025-12-03 00:40:21 -05:00
Eric Robinson
7e8173e6ff
Add Player hasNoLife helper ( #8302 )
2025-12-03 05:12:42 +00:00
obligaron
78a3edb719
Change MonsterTrapHit and MonsterMHit from index to Monster reference
2025-11-02 20:25:13 +01:00
Gleb Mazovetskiy
a99cc9b40a
SDL3: Some more migration
2025-10-09 01:28:37 +01:00
staphen
cd18ec35fb
Fix compiler warnings: NUM_MAX_CLASSES not handled in switch
2025-10-01 04:32:48 +02:00
Andrettin
d87c0dcf8a
Player Class Flags ( #8173 )
2025-09-07 04:36:57 +02:00
Anders Jenbo
1c76897f2c
Apply simple const rules using clang-tidy
2025-08-16 01:21:36 +02:00
Nick Wicked
120993c9a9
Fix Automap movement being hardcoded to right stick on gamepad ( #7921 )
2025-08-14 23:19:08 +02:00
Anders Jenbo
5fce934bdc
Fix linting
2025-08-12 23:04:44 +02:00
Anders Jenbo
7b2de562c2
Extract more Hellfire into data
2025-07-21 00:42:33 +02:00
Gleb Mazovetskiy
ee16071761
Untangle pathfinding dependencies
...
1. Makes `path.cpp` concerned solely with the pathfinding algorithm.
2. Turns `path_test` into a standalone test.
2025-01-25 08:14:34 +00:00
Gleb Mazovetskiy
d94bc424df
sgOptions -> GetOptions()
...
In C++, globals initialization order accross translation units is not
defined. Accessing a global via a function ensures that it is initialized.
This will be needed for #7638 , which will statically initialize change
handlers after the Options object has been initialized.
2025-01-13 11:57:25 +00:00
Gleb Mazovetskiy
d7647d6c63
More dependency untangling
...
1. Moves more assets-related stuff from `init` to `engine/assets`.
2. Removes `SDL_audiolib` dependency from `soundsample.h`.
3. Cleans up some unused/missing includes.
2025-01-09 18:19:44 +00:00
Gleb Mazovetskiy
a7651f15d9
Extract HeadlessMode from diablo.h
...
Untangles some dependencies.
Many places that use `HeadlessMode` do not need all of `diablo.h`.
2025-01-09 12:21:26 +00:00
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
2025-01-08 09:54:56 +09:00
Andrew James
1412e25eff
Allow for item drop rates up to 255 ( #7533 )
2024-11-12 12:38:28 +01:00
Gleb Mazovetskiy
7b0558146e
Async load: Handle errors
2024-11-10 13:49:01 +01:00
Anders Jenbo
e949f41d83
Clean up selection type
2024-09-15 09:35:25 -04:00
qndel
24f108f193
fix many typos ( #7322 )
2024-08-09 21:13:42 +02:00
Gleb Mazovetskiy
90732aa7be
Migrate objdat.cpp data to TSV
2024-08-05 20:40:02 +01:00
matheusgomes28
7848ab731e
Splitting CheckInvPaste() into smaller functions ( #6984 )
2024-04-20 11:30:51 +02:00
Eric Robinson
a4d8aea921
Clean up: AddShrine() [Second attempt] ( #7094 )
2024-04-20 06:19:52 +02:00
Eric Robinson
0ac30d101d
Refactor TileHasAny() ( #7085 )
2024-04-19 08:04:26 +02:00
staphen
9e682afe13
Rename glSeedTbl
2024-03-06 05:43:34 +01:00
staphen
8603696538
Avoid the use of SetRndSeed() in AddStoryBook()
2024-02-15 01:22:47 +01:00
staphen
706bc43f13
Isolate shrine RNG from global RNG state
2024-02-15 01:22:47 +01:00
obligaron
7c1688ba5b
Fix MSVC warnings in objects.cpp
2023-12-05 22:14:00 +01:00
obligaron
b42b72221f
Use PlayerAtPosition at more places
2023-12-05 20:40:30 +01:00
Anders Jenbo
34adaa66e7
Fix object layer height when loading in set levels
2023-12-02 20:29:50 +01:00
obligaron
42e1b82a91
Use GetDunSize in loops
2023-11-28 17:24:18 +01:00
obligaron
79a43dc1de
Introduce AddMissile overloads specific for player and monster
2023-11-26 13:36:28 +01:00
Anders Jenbo
bb2e189327
Convert _sfx_id in to class enum
2023-11-02 14:34:24 +01:00
Gleb Mazovetskiy
09ab58343c
Migrate gold drop/withdrawal to text_input
...
With this, all text input is handled in a unified way.
2023-10-24 20:11:04 +01:00
qndel
ad3a20692c
add trap sound to trapped chests
2023-10-15 14:27:14 +02:00
Gleb Mazovetskiy
88bbf4f913
Improve DiabloMsg handling
...
1. Simplified implementation.
2. Now adjusts the box size to fit the content (e.g. when wrapping
failed or when there are too many lines).
2023-10-14 09:45:24 +01:00
Gleb Mazovetskiy
d1d27c8368
Rename error -> diablo_msg
2023-10-14 09:45:24 +01:00
Vinícius Ferrão
2644ec73af
Add Crippling Shrines from Hellfire ( #6273 )
2023-09-03 01:42:59 +02:00
Gleb Mazovetskiy
5355146d51
Use structured bindings
2023-08-29 12:56:49 +01:00
Anders Jenbo
15ed246239
Merge branch 'master' of github.com:diasurgical/devilutionX into development
2023-08-26 01:09:03 +02:00
ephphatha
8ed451b051
Move AddPlrExperience to class member function of Player
2023-08-24 05:46:44 +02:00
ephphatha
da76e131e4
Add getter/setter for character levels to ensure _pNextExper stays synced
2023-08-24 05:46:44 +02:00
Gleb Mazovetskiy
9ae72f0269
Remove PointsInRectangle factory functions
...
These are no longer needed in C++17 thanks to CTAD.
2023-08-20 15:37:28 +09:00
Gleb Mazovetskiy
ba4def9382
Use utils/algorithm/container.hpp in more places
2023-08-19 19:57:11 +09:00
Gleb Mazovetskiy
8c1a847f41
Remove utils/stdcompat/string_view.hpp
2023-08-14 09:59:14 +01:00
Gleb Mazovetskiy
62d067b653
Remove utils/stdcompat/abs.hpp
2023-08-14 01:54:29 +01:00