qndel
f8cda02456
apply bounds check function
2021-10-12 01:18:28 +02:00
ephphatha
0f593c17e4
Remove pointless increments of life/mana on level up
...
fixes #3049
2021-10-07 04:35:47 +02:00
obligaron
6b8b6ba77b
Fix OnSpellTile check ( #3021 )
2021-10-06 08:35:59 +02:00
staphen
a7e2abeb72
Restore original Warrior death sound
2021-10-01 06:50:57 +02:00
qndel
873e426952
fix light stealing ( #2992 )
2021-09-30 15:16:41 +02:00
Anders Jenbo
490343ae0c
Fix quater damage in Hellfire
2021-09-30 04:15:08 +02:00
obligaron
0818c55b88
Holding mouse when shift is held shouldn't lock to a target (Spells)
2021-09-27 11:58:51 +02:00
obligaron
16d98d48c3
Fix melee friendly fire when sgOptions.Gameplay.bFriendlyFire is set
2021-09-26 16:26:48 +02:00
Gleb Mazovetskiy
ec13c333a9
Refactor: Use item iterators for scroll checks
...
Refs #2586
2021-09-24 01:56:44 +01:00
obligaron
261403558b
Fix SetPlayerGPtrs with RUN_TESTS definied
2021-09-18 14:38:03 +02:00
Gleb Mazovetskiy
4e1ad7ab65
LoadFile: Avoid opening the file twice
...
Previously we were passing the path to `GetFileSize`, which resulted in
opening and closing the file twice.
2021-09-18 06:44:48 +02:00
obligaron
f9192d2312
Remove debug command line argument -^ (Enable debug tools) and added
...
scrollview debug command
2021-09-17 21:05:31 +02:00
obligaron
c7dec38b96
Player: rename _pVar4 to spellLevel
2021-09-17 21:03:41 +02:00
obligaron
c3c91f6e28
Remove _pVar5 and most uses of BFLAG_PLAYERLR
2021-09-17 21:03:41 +02:00
obligaron
e62aaa562f
Fix missiles don't hit horizontal walking players/monsters
2021-09-17 21:03:41 +02:00
obligaron
f77da8a580
Ensure ScrollInfo is initialized correctly
2021-09-16 19:22:24 +02:00
Juliano Leal Goncalves
9ac324b8e1
🐛 Prevent manipulation of spell type being cast ( #2856 )
...
This prevents frame-perfect manipulated of the spell type after the command has already been sent.
2021-09-13 23:45:51 +02:00
Juliano Leal Goncalves
379a27b64a
♻️ Convert 'ItemType' enum to enum class
...
🎨 Rename 'ItemType' elements to enum class standards
2021-09-13 00:25:49 +02:00
ephphatha
87a33097a0
Rename ScrollDirection enum to follow convention
...
Pretty sure the backing type can be left to the default as well but I haven't had the time to investigate where it's used fully.
2021-09-12 02:27:47 +02:00
ephphatha
b12de6fe12
Use scoped enum for Direction
...
Identified and removed an instance of Direction being used as an argument for a bool parameter
Removed a single-use temporary variable being cast from sprite frame to direction to size_t
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Fix alignment of WalkSettings array
2021-09-12 02:27:47 +02:00
Anders Jenbo
cd79f0204d
🚨 Fix compiler warnings
2021-09-12 01:37:28 +02:00
Anders Jenbo
2d47c12515
Fix charpanel always showing player 0 stats
2021-09-12 01:37:28 +02:00
Juliano Leal Goncalves
32e22a16b3
♻️ Leverage conversion constructor for 'Direction' to 'Displacement'
...
This makes code more consistent overall as we use the same pattern for dealing with Sizes.
2021-09-06 12:57:59 +02:00
Juliano Leal Goncalves
a91074d470
🚚 Rename 'LightStruct' struct to 'Light'
2021-09-06 12:49:48 +02:00
Juliano Leal Goncalves
0d3d4c14f6
🚚 Rename 'Dead' concept to 'Corpse' everywhere ( #2808 )
2021-09-06 12:49:00 +02:00
Juliano Leal Goncalves
940a120bf9
♻️ Replace 'ViewX' and 'ViewY' globals with single 'ViewPosition'
2021-09-04 18:06:28 -04:00
Juliano Leal Goncalves
d225202c34
🚚 Rename 'MonsterClass' members for consistency
2021-09-04 23:37:19 +02:00
Juliano Leal Goncalves
21b481bb46
♻️ Convert 'MonsterClass' enum to enum class
2021-09-04 23:37:19 +02:00
Juliano Leal Goncalves
ef74b6f92d
🚚 Rename 'ObjectStruct' to 'Object'
2021-09-02 05:45:44 +02:00
Juliano Leal Goncalves
20db8d1a11
🚚 Rename 'MonsterStruct' to 'Monster'
2021-09-01 22:26:37 +02:00
Juliano Leal Goncalves
1cd62bbc64
🚚 Rename 'MonsterMode' members for semantic and consistency
2021-09-01 19:15:08 +02:00
Juliano Leal Goncalves
69a7cb66d4
♻️ Convert 'MON_MODE' enum to 'MonsterMode' enum class
2021-09-01 19:15:08 +02:00
qndel
a737d72dd9
Dynamic char panel
2021-08-30 20:33:55 +02:00
Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
2021-08-30 13:40:08 +02:00
Juliano Leal Goncalves
01823e1324
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
2021-08-30 06:45:51 +02:00
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
2021-08-30 06:44:18 +02:00
Anders Jenbo
4044fadeb5
Clean up some players references
2021-08-30 03:26:17 +02:00
qndel
a9fbf91524
CalcStatDiff cleanup
2021-08-29 17:53:13 +02:00
qndel
770f3a2f20
unify ranged and melee pierce
2021-08-28 18:04:22 +02:00
BC Ko
536121f038
rename _miVar# to var#
2021-08-27 12:57:34 +02:00
BC Ko
4df798808e
2435 refactor global variable Items part 2 ( #2673 )
2021-08-26 08:06:48 +02:00
Anders Jenbo
d7c6d8b189
Use proper Direction type for AddMissile midir
2021-08-25 20:24:45 +02:00
qndel
3d92b6eea5
Rewrite manashield into not using a missile
2021-08-25 19:32:10 +02:00
qndel
d76158ca03
reflect without missile! ( #2659 )
2021-08-22 01:32:41 +02:00
Anders Jenbo
d4bd409472
Deduplicate manashild/reflect code
2021-08-21 09:10:53 +02:00
BC Ko
abc00ad107
auto &missile
2021-08-21 03:29:35 +02:00
BC Ko
1a6562e16d
Merge pull request #2648 from bcko/2435_refactor_Missiles_3
2021-08-20 09:53:17 +02:00
qndel
f6bb118cd5
remove reflect on new game ( #2649 )
2021-08-20 09:03:15 +02:00
qndel
7ba878fd4d
fix reflect on loading
2021-08-20 00:55:54 +02:00
Anders Jenbo
4c6a5bab56
Clean up god mode
2021-08-19 20:36:12 +02:00