staphen
e39c19f85e
Only sync monster animations after both monsters and missiles are loaded
3 years ago
obligaron
d46aa0e2bc
Always check for uniqueType in TalktoMonster
3 years ago
staphen
60e3c32437
Sync monster animation data after loading Stone Curse missiles
3 years ago
ephphatha
8f90f975c4
Always spawn at Farnham when returning from an arena level
3 years ago
staphen
5be3d76104
Validate item prices and revert oil effects in Diablo
3 years ago
qndel
ddd0f1b051
dont always force staff recharge to change spell
3 years ago
qndel
5e47dd57db
refresh staff after using stone shrine
3 years ago
obligaron
aa354849ee
Fix stone curse shows the wrong animation & infinite petrify
3 years ago
obligaron
805c323063
Sync Jersey's Jersey Quest
3 years ago
obligaron
d2cf2083a2
Sync Na-Krul Quest
3 years ago
obligaron
e94deb7438
Sync Defiler Quest
3 years ago
obligaron
bac8535564
Sync Little Girl Quest
3 years ago
obligaron
c29f7a1fbf
Sync Grave Matters Quest
3 years ago
obligaron
31fe55a161
Prevent hellfire quests from disapearing from quest log
3 years ago
Anders Jenbo
83a984d019
Add widescreen crypt loadscreen
3 years ago
DakkJaniels
e485493a3d
Fix print screen for different print screen key bindings ( #6060 )
3 years ago
obligaron
1e8230b9b1
Move Gharbad talk logic (spawn item) to TalktoMonster
3 years ago
obligaron
3f195ae29b
Use CMD_SPAWNITEM to spawn Ghardbards first item
3 years ago
obligaron
deee72b0bc
Move Zhar talk logic (spawn item) to TalktoMonster
3 years ago
obligaron
e1082126a3
Use CMD_SPAWNITEM to spawn Zhars first book
3 years ago
obligaron
d055aa5cbd
Sync break crux correctly
3 years ago
staphen
bf9331733e
[Vita] Use SDL_RegisterEvents() to assign custom event type
3 years ago
Gleb Mazovetskiy
750cebc561
Delay reinitializing hwcursor until fade 1
...
With fade 0 the cursor is never visible because everything is black.
While this is a very minor optimization, it works around
one of the instances of a bug in certain drivers as seen in #5618 .
3 years ago
ephphatha
143b6a40f1
apply clang-format
3 years ago
Andrew James
1b7608ea3b
Map from _talker_id to towner pointer when using gossip option ( #6136 )
3 years ago
Gleb Mazovetskiy
346ff443f7
Fix hwcursor re-enabling when reducing window size
3 years ago
Gleb Mazovetskiy
a8f1d74bc4
Log an error if `SDL_CreateColorCursor` fails
3 years ago
Gleb Mazovetskiy
f2d730a52f
Delay hardware cursor reinit until it is visible
...
We previously reinitialized the hardware cursor during fade in even if
it was not visible (e.g. fading into the credits screen).
3 years ago
Gleb Mazovetskiy
2cf15cebc8
Add optional debug logging for hwcursor
...
To help debug hardware cursor issues
3 years ago
qndel
3920aaa9f1
fix displaying difficulty indicator on hero selection ( #6118 )
3 years ago
qndel
df8362a1cd
fix walking animation getting stuck
3 years ago
obligaron
bb1e2e7399
Fix golem scroll does not create a targeting cusor
3 years ago
qndel
88e7c8feec
get rid of hardcoded ALT in variable/function name
3 years ago
obligaron
abdec47a85
Multiplayer: Sync Lazarus death correctly
3 years ago
qndel
c362808165
debug path command ( #6101 )
3 years ago
staphen
874fa6b8d3
Fix monster light offset after walk animation ends
3 years ago
ephphatha
9987bb6be2
Avoid unnecessary item initialisation and copy
3 years ago
ephphatha
6b21728440
Inline single use function InvPutItem
3 years ago
ephphatha
4f3c70aa95
Move PlaceItemInWorld to items.h/cpp
...
Seems like a more appropriate home
3 years ago
ephphatha
06f6ff78f2
Extract common logic for a player dropping an item
...
The other class of use appears to be items spawned from NPCs or being dropped on death which shouldn't consider the CornerStone. Need to sort those later
3 years ago
ephphatha
eac22b935d
Make functions that create and place an item in the world more similar
3 years ago
Anders Jenbo
1d90730b0a
Correct use of local instead of global lightTableIndex
...
It looks like this was mistakenly using LightTableIndex instead of lightTableIndex. Found by @qndel
3 years ago
qndel
3500dc1861
code cleanup
3 years ago
Gleb Mazovetskiy
5bf0b8bc96
Add more missing <cstdint> includes
...
https://github.com/diasurgical/devilutionX/pull/6095 only added includes
for `uint32_t`, this PR also adds the includes for the remaining
integral types.
3 years ago
Gleb Mazovetskiy
4fa3732526
Add missing <cstdint> includes
...
Done with the following script:
```ruby
Dir["Source/**/*.{h,c,cc,cpp,hpp}"].each do |path|
v = File.read(path)
next if !v.include?("uint32_t") || v.include?("cstdint")
lines = v.lines
line_num = if lines[2].start_with?(" *")
lines.index { |l| l.start_with?(" */") } + 3
else
3
end
lines.insert(line_num, "#include <cstdint>\n")
File.write(path, lines.join(""))
end
```
then fixed-up manually
3 years ago
ephphatha
c3a8a95813
use stdlib lcg type
3 years ago
ephphatha
3bbb80d849
Introduce temporary function to advance the global rng state and discard results
3 years ago
ephphatha
b98e5fcfad
split logic responsible for advancing global generator state to a dedicated function
...
Exposing this also allows updating the engine test case to avoid peeking at the engine state after a roll, also will be useful for setting item/object seeds
3 years ago
ephphatha
03e35988f1
Dedupe OnRespawnItem/OnSpawnItem
...
Both methods were exactly the same apart from the use of temporaries for swapped message params.
3 years ago
staphen
22dacbd819
Load deltas after saving pre-lighting data
3 years ago