Andrew James
1b7608ea3b
Map from _talker_id to towner pointer when using gossip option ( #6136 )
3 years ago
Anders Jenbo
c990369d25
Fix building ASIO on macos
3 years ago
Gleb Mazovetskiy
346ff443f7
Fix hwcursor re-enabling when reducing window size
3 years ago
Gleb Mazovetskiy
afd01a0dda
nxdk: Bump libfmt to our port of fmt-10.0.0
3 years ago
Gleb Mazovetskiy
78f542b611
OpenDingux / Miyoo: Disable system libfmt
...
libfmt soversion changes frequently.
Disable the system (SDK) version for wider compatibility.
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
Gleb Mazovetskiy
3e2a26a195
Bump libfmt to 10.0.0
3 years ago
Gleb Mazovetskiy
d5a78f6b9e
Update RetroFW SDK
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
328a65424d
Add cases for non-arrow missiles
3 years ago
ephphatha
f90e969108
Use multiple samples instead of specific seeds to test missile rotations
...
This is a visual effect, shouldn't need to be repeatable from a specific starting seed (even in multiplayer?)
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
Gleb Mazovetskiy
b90ae7890a
Automate macOS x86_64 release
...
Also cleans up CPack files in other workflows after building (to avoid saving them to cache)
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
staphen
9c3b005c2c
Sync multiplayer door state in ObjChangeMap
3 years ago
Stephen C. Wills
acae4d0ee9
Fix state of doors after ObjChangeMapResync ( #6085 )
3 years ago
obligaron
a632d733c3
Update gbActive correctly when minimizing the app
3 years ago
Gleb Mazovetskiy
8896a34a13
Overhaul version handling
...
Stop using git for the version tag.
The new process is as follows:
1. The `VERSION` file contains the version.
For release, it should contain "1.5.0".
Immediately after the release, it should be changed to "1.6.0-dev".
2. The build type is included in the version string unless it is
"Release". The commit hash is now included into the version string
whenever the `VERSION` file has a suffix (i.e. 1.5.0-dev rather than
just 1.5.0). The full version string for development builds now
looks like this: `1.5.0-dev-Debug-b102dccf8`.
This means we longer need git or `-DVERSION_NUM` to get a sensible version number.
The in-development versions are now always clearly indicated with the
`-dev` suffix no matter how DevilutionX was built.
3 years ago
ephphatha
3a7ae732cd
use unsigned types for item seeds
3 years ago
ephphatha
b7b9996290
Remove global gossip variables and Towner::seed
...
Replace this with a direct reference to the chosen gossip topic when towners are init.
3 years ago
obligaron
2570c2d240
Don't recalculate player position when loading a game
3 years ago
staphen
b62acb088d
Fix width of Monk bow animation
3 years ago
ephphatha
b102dccf81
Fix OOB array access when spawning arena pots
...
calling this with a full inventory would write past the end of InvList, potentially causing a crash or data corruption.
3 years ago
staphen
defc52f9a4
Fixes for book lever synchronization
3 years ago
staphen
49574084e7
Use SDL_SetWindowDisplayMode() to resize fullscreen windows
3 years ago
staphen
5995e7da38
Fix OOB vector access when toggling fullscreen in settings menu
3 years ago
Gleb Mazovetskiy
9021e3b89e
Automate Linux x86_64 release
...
Also adds `discord_game_sdk.so` to the Linux release builds.
3 years ago
ephphatha
655a5da53e
Make the poison water quest visible in the log when the level is cleared
...
Just in case the player skips talking to pepin and clears the whole quest, make the entry visible in the log.
3 years ago
ephphatha
61e90a592e
Play Pepin's quest intro dialog if the player skips the intro
...
If the player discovers and enters the poison water set level before talking to Pepin the poison water quest does not appear in the quest log and his first set of dialog doesn't play. Handle this case specifically to ensure the player gets the message and can see progress.
3 years ago
Trihedraf
63ef6e7bb9
Instructions for installing WSL
3 years ago