366 Commits (7154ec15af4bbc940d20945e0b60a38fd912dff3)

Author SHA1 Message Date
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
Anders Jenbo d82f2ebc9e Pass players by reference instead of an index 4 years ago
Anders Jenbo 0d27761ac2 Make _oAnimFlag a boolean 4 years ago
obligaron ceb08d783f Introduce Player::plrIsOnSetLevel 4 years ago
obligaron d0c14fe92f Introduce Player::setlevel 4 years ago
obligaron 19749420b5 Introduce Player::isOnActiveLevel 4 years ago
obligaron 7afe7d2a70 Save Methods in loadsave gets MpqWriter passed 4 years ago
Gleb Mazovetskiy 779ccaca17 Overhaul translation fetching 4 years ago
Anders Jenbo 1203514383 Clean up use of currlevel 4 years ago
staphen a2fe3a981e Fix issues with ears due to translation 4 years ago
Anders Jenbo 54cd839cf6 Clean up drlg tests 4 years ago
Andrew James 1047e408bd
Simplify logic of UpdateMissilePos using helpers from 4620 (#4621) 4 years ago
qndel 354e329644 Players[MyPlayerId] -> MyPlayer 4 years ago
Anders Jenbo 0645d9b2a1 Correct missing hellfire level mapping in leveltype 4 years ago
ephphatha 64a2c41b2c Set clang-tidy config for MethodCase option 4 years ago
DakkJaniels dad46e1905
Item special effect enum (#4129) 4 years ago
ephphatha 7e7798fd2b Add function to mark an item as empty 4 years ago