staphen
1f6b94459a
Cleanup for weapon explosions
10 months ago
Eric Robinson
e538b457bf
Refactor Missile direction/frame group handling
10 months ago
obligaron
3a1eb6bed7
Decouple Golems from Players and use SpawnMonster for Golem
11 months ago
obligaron
fee7f4749f
Introduce FindGolemForPlayer and use goalVar3 to track golem <-> player relation
11 months ago
Eric Robinson
7fd701a761
Fix Rage ( #7873 )
11 months ago
KPhoenix
6112ca46e6
Fix PVP Bow damage
1 year ago
staphen
492ffbb9e9
Don't darken flame wave after it reaches full brightness
1 year ago
staphen
eac6c3526c
Natural Fire Wall light expansion
1 year ago
Eric Robinson
fc0d8b0f3d
Fix Viper Lunge ( #7763 )
...
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
1 year ago
Gleb Mazovetskiy
ee16071761
Untangle pathfinding dependencies
...
1. Makes `path.cpp` concerned solely with the pathfinding algorithm.
2. Turns `path_test` into a standalone test.
1 year ago
Gleb Mazovetskiy
3bb1d685af
Extract current input mode into its own library
...
Removes a transitive dependency on the entire plrctrl from options.
1 year ago
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.
1 year ago
Gleb Mazovetskiy
a7651f15d9
Extract `HeadlessMode` from `diablo.h`
...
Untangles some dependencies.
Many places that use `HeadlessMode` do not need all of `diablo.h`.
1 year ago
Gleb Mazovetskiy
c31836eab8
Split up `engine.{h,cpp}`
...
Untangles dependencies by splitting up `engine.{h,cpp}` into 3 files:
1. `primitive_render`
2. `ticks` -- only contains `GetAnimationFrame` for now.
3. `GetWidth2` renamed to `CalculateSpriteTileCenterX` and moved to `levels/dun_tile.hpp`.
1 year ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
staphen
f20c6bf74a
Check missile source type to determine death reason
1 year ago
staphen
6215de6e76
Compute monster toHit on the fly
1 year ago
Eric Robinson
9f197f5ebc
Rename Missile::_mirange to Missile::duration ( #7214 )
1 year ago
Eric Robinson
cdd22626b4
Fix Knockback direction ( #7093 )
2 years ago
Eric Robinson
109c3b165c
Bugfix/Refactor: Min-Max Damage Range Calculations ( #7022 )
2 years ago
Eric Robinson
6396af1ff5
Cleanup panel code (Part 2) ( #7421 )
2 years ago
Eric Robinson
c138d29952
Fix Wall Spells on objects ( #7364 )
2 years ago
Eric Robinson
520bf5d9bd
Fix visually overlapping sprites for wall spells ( #7208 )
2 years ago
Gleb Mazovetskiy
bb6787ccf7
Rename `MissileData` fields to match the TSV
2 years ago
Gleb Mazovetskiy
624afafe58
Extract Crawl to a library
...
Also adds a test and a benchmark
2 years ago
Gleb Mazovetskiy
5ff588d402
Fix some compilation warnings
2 years ago
staphen
af07b71127
Fix crash loading game with Search missile
2 years ago
matheusgomes28
7848ab731e
Splitting CheckInvPaste() into smaller functions ( #6984 )
2 years ago
Eric Robinson
0ac30d101d
Refactor TileHasAny() ( #7085 )
2 years ago
KPhoenix
2f9c75e911
Clean up: ProjectileTrapDamage()
...
Removed unused function parameter
2 years ago
obligaron
423150b457
Introduce SpawnMonster
2 years ago
obligaron
b42b72221f
Use PlayerAtPosition at more places
2 years ago
obligaron
fae6b3d817
Change Player::getId() and MyPlayerId to uint8_t
2 years ago
obligaron
75f68e1b8f
Introduce Player::occupyTile
2 years ago
obligaron
81d738e303
Introduce Monster::occupyTile
2 years ago
obligaron
79a43dc1de
Introduce AddMissile overloads specific for player and monster
2 years ago
Gleb Mazovetskiy
17f95a04da
Migrate missile sprite data to txtdata
2 years ago
Gleb Mazovetskiy
c5a5dc9f5c
Fix a few MSVC warnings
2 years ago
Anders Jenbo
bb2e189327
Convert _sfx_id in to class enum
2 years ago
ephphatha
c1f3dcb705
Use safer versions of random number functions instead of GenerateRnd
3 years ago
Gleb Mazovetskiy
62e9aa0448
`MissilePosition`: Use `WorldTilePosition`
...
Reduces struct size and makes the types of coordinates more obvious.
3 years ago
ephphatha
da76e131e4
Add getter/setter for character levels to ensure _pNextExper stays synced
3 years ago
Gleb Mazovetskiy
9e8465e152
Clean up spell book rendering
3 years ago
Gleb Mazovetskiy
c19bfe87fa
Remove utils/stdcompat/algorithm.hpp
3 years ago
Gleb Mazovetskiy
62d067b653
Remove utils/stdcompat/abs.hpp
3 years ago
Gleb Mazovetskiy
999f44cf07
Point: Safer `operator-`
...
1. Require both operands to have the same signedness to avoid surprises.
2. Only allow unary negation on signed points.
Fixes #6409
Also fixes a potential bug in the sound position calculation.
3 years ago
staphen
21af333d90
Fix missiles passing through enemies on SW/NE diagonal
3 years ago
staphen
36186ca9b5
Don't extrapolate missile position in collision interpolation logic
3 years ago
obligaron
09bc43b0ed
Ensure warp and teleport target position is free
3 years ago
Gleb Mazovetskiy
de081b7080
Fix a few compilation warnings
3 years ago