382 Commits (c91feb71f9d3cfc9c69adf6650a74104e31798a4)

Author SHA1 Message Date
ThomasChr c91feb71f9 make light objects unseen when saving level change data, because level change data (instead of real save data) does not save light source and if the light objects will be marked as seen there lights won't be created and they stay dark 3 years ago
obligaron b87711bc08 Reintroduce Player::spellFrom to seperate teleport cursor from queued spell 3 years ago
Eric Robinson 81e3c7abaa
Remove fixed bugfix comments, apply golem fix 3 years ago
obligaron eeca953615 Introduce UpdateHellfireFlag to set missing CF_HELLFIRE flag 3 years ago
Gleb Mazovetskiy 957bd03b98 Remove `FMT_COMPILE` in "cold" places 3 years ago
Eric Robinson f75f66d54b
Add `playerdat` (#5763) 3 years ago
Gleb Mazovetskiy 98294e0ad5 Optimize `MissileData`: 32 bytes -> 24 3 years ago
KPhoenix d813f13700 `enum spell_id` -> `enum class SpellID` 3 years ago
KPhoenix 7947b99511 Implement new enum class 3 years ago
Eric Robinson ef3a57b7d9
`enum spell_type` -> `enum class SpellType` (#5674) 3 years ago
Eric Robinson 30c1991039
`enum _mai_id` -> `enum class MonsterAIID` (#5683) 3 years ago
DakkJaniels d683039bdd
stop shaking camera if dead diablo loaded from save. (#4149) 3 years ago
Gleb Mazovetskiy 6d274c9547 `UNPACKED_SAVES`: Saves without MPQs 3 years ago
KPhoenix 8db521727d
`enum missile_id` -> `enum class MissileID` 3 years ago
Anders Jenbo a29fc3a074 Correct casing for Player::isWalking() 3 years ago
Gleb Mazovetskiy ec12d7ce44 Player: Optimize to save 40 bytes 3 years ago
Mikołaj Piróg 4cff046ba9
Replace toHitSpecial member with a function & fix wrong arguments being passed (#5337) 4 years ago
Mikołaj Piróg 5e340d3261
Replace level member with a member function in monster (#5336) 4 years ago
Mikołaj Piróg 32b3333bfb
Exp overflow fix (#5070) 4 years ago
Stephen C. Wills c91702ffbc
Don't use MyPlayer in SaveHotkeys() (#5292) 4 years ago
qndel ef5a4de227 typos + code cleanup 4 years ago
obligaron 2493f06116 ActorPosition: Remove offset, offset2 and velocity 4 years ago
obligaron 1cfd1ca99d Fix double casting bug - use separated info for casted and queued spells 4 years ago
obligaron ca1949a87f Don't recalculate leveltype (from currlevel) in SaveGameData 4 years ago
Gleb Mazovetskiy b21ebffaf2 Clean up player graphic loading 4 years ago
ephphatha 975eb3674b Add helper to check if a monster belongs to a player 4 years ago
Anders Jenbo d1189388f5 Use user by reference 4 years ago
Gleb Mazovetskiy 04c3d85179 Remove `MAX_PATH` 4 years ago
Gleb Mazovetskiy 7ad0ec925f Reduce sizes of Monster (goal)Vars 4 years ago
Mikołaj Piróg 262fa9ac2d
Rename MonsterData members (#5000) 4 years ago
ephphatha 1337ff6ea2 Add check if a monster potentially has leashed minions 4 years ago
ephphatha 4fef842b0b Remove use of ID/index from PlaceGroup 4 years ago
ephphatha 1e0f2c149c Add getLeader helper for monsters in a pack 4 years ago
Gleb Mazovetskiy 33ac2cca8e ♻️ Make Monster counters `size_t` 4 years ago
Anders Jenbo 38113c0ad8 Convert monster_goal in to a scoped enum 4 years ago
Anders Jenbo 2d21fc372e Remove more miniwin code 4 years ago
Anders Jenbo 6a8fd04067
Use player by references (#4938) 4 years ago
Stephen C. Wills 4398c1e06a
Use absolute coordinates for temp position when north-walking (#4937) 4 years ago
Cesar Canassa e538acb248
📝 Fixes Doxygen warnings (#4904) 4 years ago
Mikołaj Piróg 15989609a8
Members' name changes and comments in Monster struct (#4861) 4 years ago
obligaron 3c571bf64b
Avoid overflow of tickCounterOfCurrentFrame (#4893) 4 years ago
aetn23 bf568fe480 Remove assert to check if value is in bounds 4 years ago
Mikołaj Piróg dda0b96ea5
Remove #defines in player.h and add constexpr where applicable (#4896) 4 years ago
k-bar 26de74f4a2
AnimationInfo class correct style (#4870) 4 years ago
Gleb Mazovetskiy 6949a6f418 Monster: Remove MType/MData pointers 4 years ago
obligaron a6132a1aa8 Ensure that no overflow happens when loading (invalid) data 4 years ago
Andrew James ace09d5f45
Address int-arithmetic-overflow in loadsave.cpp (#4853) 4 years ago
Mikołaj Piróg 7cab074aa5
Correct members' names in monster.h (#4850) 4 years ago
Gleb Mazovetskiy 3178dd5158
Replace most uses of `sprintf` with `fmt` (#4837) 4 years ago
k-bar c2432d23e8 Berserk light fix 4 years ago