Trihedraf
04cc99cbde
LuaEvent > lua:: named functions. +lua_event.cpp
2 weeks ago
Panagiotis Georgiadis
57fbdff0a2
Add Dreamcast platform support
...
Signed-off-by: Panagiotis Georgiadis <pgeorgia@redhat.com>
Made-with: Cursor
2 weeks ago
Trihedraf
32a0666201
move floating damage nums to lua mod & add xp mod
2 months ago
Eric Robinson
15f2ac4272
Fix statting on death crash ( #8308 )
3 months ago
Eric Robinson
72174930fb
Prevent targeting dead players ( #8393 )
3 months ago
Eric Robinson
e6032a69a8
Split control.cpp ( #8347 )
3 months ago
Eric Robinson
553faae5c4
Fix Player Targeting ( #8313 )
3 months ago
Eric Robinson
dd7a06365c
Remove unused CMD_ATTACKXY
3 months ago
Eric Robinson
ff936c9920
Add more usage of hasNoLife
3 months ago
Eric Robinson
e5e6804e49
Add Monster hasNoLife helper ( #8304 )
3 months ago
Eric Robinson
7e8173e6ff
Add Player hasNoLife helper ( #8302 )
3 months ago
Gleb Mazovetskiy
1bbe8bfe08
SDL3: Even more migration
5 months ago
staphen
cd18ec35fb
Fix compiler warnings: NUM_MAX_CLASSES not handled in switch
6 months ago
Gleb Mazovetskiy
3bcc869d85
Replace fmt with utils/str_cat in a few places
...
`fmt::format_to` is overkill for our simple formatting needs.
6 months ago
Andrettin
d87c0dcf8a
Player Class Flags ( #8173 )
6 months ago
Andrettin
f6b4665e94
Make Player Class Data Data-Driven ( #8167 )
6 months ago
Anders Jenbo
1c76897f2c
Apply simple const rules using clang-tidy
7 months ago
Anders Jenbo
6a4c5e42ec
Clean up const and shadow variables
7 months ago
Nick Wicked
120993c9a9
Fix Automap movement being hardcoded to right stick on gamepad ( #7921 )
7 months ago
Stephen C. Wills
a563b65642
Fix compiler warnings ( #8098 )
7 months ago
Doink Oink
c62a19e299
Party Information Panel ( #7877 )
7 months ago
Anders Jenbo
7b2de562c2
Extract more Hellfire into data
8 months ago
staphen
bbc728a327
Remove overzealous validation logic in spell message handlers
9 months ago
staphen
88b39dc97d
Make use of SDL_UserEvent::code instead of SDL_Event::type
10 months ago
staphen
308399e31e
Fix errors where Monster::enemy references garbage memory
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
staphen
0f35bd8ce2
Fix compiler warning in Player::RemoveInvItem()
12 months ago
chasedjones88
b47d97f14c
Rebase of #7876 - Shift item order when selling to keep consistent window order ( #7886 )
...
* Shift item order when selling instead of using last item to fill the slot
Player has items i1, i2, i3, picked up in that order.
Previous Behavior:
1. Sell window at vendor shows i1, i2, i3.
2. Player sells i1
3. i3 is last in list and replaces i1
4. Sell window now shows i3, i2.
New Behavior:
1. Sell window at vendor shows i1, i2, i3.
2. Player sells i1
3. i2/i3 are shifted in index position down to fill the gap left by previous index.
4. Sell window now shows i2, i3.
* Remove whitespace
12 months ago
Eric Robinson
aca06e898a
Menu text revision ( #3902 )
1 year ago
staphen
c798253587
Use constexpr for length of item names
1 year ago
Eric Robinson
173c662723
Remove CalcPlrStaff()
1 year ago
Gleb Mazovetskiy
3e6b501d82
Fix pathfinding and increase player path limit
...
The previous implementation didn't behave quite like A-* is supposed to.
After trying to figure out what's causing it and giving up,
I've reimplemented it in a straightforward manner.
Now it seems to work a lot better.
Also increases maximum player path length to 100 steps.
We still only store the first 25 steps in the save file for vanilla
compatibility.
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
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.
1 year ago
staphen
7a6a6a6c32
Don't send spell level in spell casting network message
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
b76feb2be3
Extract game mode out of init.cpp
...
Untangles some dependencies
1 year ago
Gleb Mazovetskiy
a49b1f2d58
Extract Is{Any,None}Of out of engine.hpp
...
Untangles some of the dependencies
1 year ago
Eric Robinson
cfac786daf
Make invalid items unusable ( #7506 )
1 year ago
Eric Robinson
228aa7e210
Revise Teleport Target ( #7531 )
...
* Revise teleport target
---------
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
1 year ago
Gleb Mazovetskiy
f7a93f4cd3
Improve `dev.display.path()`
...
1. Do not draw foliage with the pause trn.
2. Display the number of steps.
3. If the tile is not walkable (allowed for destination tile), display
the number of steps in yellow.
1 year ago
Andrew James
c7abf2f778
Extract logic from CheckInvCut/AutoPlaceItemInInventory ( #7494 )
...
* Remove unnecessary namespace
* Extract FindSlotUnderCursor
* Split logic for finding a space in the inventory to dedicated functions
1 year ago
Eric Robinson
baaa906583
Remove CheckCheatStats() ( #7461 )
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
KPhoenix
b0cb1b92ed
Bugfix: Corruption item power
2 years ago
Eric Robinson
fc457388fd
Removes the logic that mimics the Hellfire oversight
2 years ago