Juliano Leal Goncalves
bb2dfdfb73
🚚 Rename 'ItemStruct' to 'Item'
5 years ago
Anders Jenbo
a207644d88
Rename HaveAudio to HasAudio
5 years ago
Anders Jenbo
ba595451ec
Fix build warning
5 years ago
Anders Jenbo
7cb73a6717
Minimize impact of NOSOUND
5 years ago
Anders Jenbo
bee8388c20
Fix inaccurate gameplay with NOSOUND
5 years ago
Juliano Leal Goncalves
28134d099c
🚚 Rename 'PkPlayerStruct' to 'PlayerPack'
5 years ago
Juliano Leal Goncalves
01823e1324
♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
5 years ago
Juliano Leal Goncalves
05d206720a
♻️ Replace 'icursW' and 'icursH' globals with single 'icursSize'
5 years ago
Juliano Leal Goncalves
317ebcdd3e
♻️ Replace 'icursW28' and 'icursH28' globals with single 'icursSize28'
5 years ago
Juliano Leal Goncalves
a469f7906e
♻️ Replace 'cursW' and 'cursH' globals with single 'cursSize'
5 years ago
Juliano Leal Goncalves
b80859c021
♻️ Leverage 'Rectangle.Center' in 'FocusOnCharInfo' function implementation
5 years ago
Juliano Leal Goncalves
5525c72a31
♻️ Leverage 'Rectangle.Center' in 'AttrIncBtnSnap' function implementation
5 years ago
Juliano Leal Goncalves
6c21638bee
♻️ Leverage 'Point' in 'SetCursorPos' function
5 years ago
Juliano Leal Goncalves
f90d3239e5
✨ Add 'Center()' method on 'Rectangle'
5 years ago
Juliano Leal Goncalves
222817af23
✨ Add divide by int operator to 'Size' struct
...
To be used in several places for finding the "center" of rectangles, for example
5 years ago
Juliano Leal Goncalves
3251171a5c
♻️ Leverage 'Point' in 'xpbar.DrawBar' function
5 years ago
Juliano Leal Goncalves
20d356a6eb
♻️ Leverage 'Point' in art_draw functions
5 years ago
Juliano Leal Goncalves
bbf529c65a
🚚 Rename 'PlayerStruct' to 'Player'
5 years ago
Anders Jenbo
4044fadeb5
Clean up some players references
5 years ago
obligaron
02900c8fa5
Demo: Fix rendering jittering
5 years ago
obligaron
09fcb40948
Allow debug commands from command line (with + prefix)
5 years ago
Anders Jenbo
eb04c5f554
Fix GCC 6.2 builds
5 years ago
Anders Jenbo
de01f15398
Make debug compatible with GCC 6.2
5 years ago
qndel
a9fbf91524
CalcStatDiff cleanup
5 years ago
qndel
9e1cdb4a82
CheckChrBtns cleanup
5 years ago
qndel
1ad950e088
FocusOnCharInfo cleanup
5 years ago
obligaron
369829164d
DebugCmdResetLevel: Use stoul for parameter seed parsing
5 years ago
obligaron
d954a9751c
Log executed debug commands with result
5 years ago
obligaron
cc881a1c85
Add "seedinfo" debug command
5 years ago
obligaron
ec54654bee
Debug command restart can now set a specific seed
5 years ago
obligaron
2a6e5712de
Disable hardware cursor for demo playback
5 years ago
Gleb Mazovetskiy
032eaf7491
External iterators for player items
...
Implements external iterators for player items.
5 years ago
Anders Jenbo
cb2831aae6
Fix possible teleport positiosn
...
There should only be 36 possible as 4 3x3 areas direciton N/E/S/W
5 years ago
Anders Jenbo
7ff4261252
Correct hellfire towners being loaded in diablo
...
Fixes #2723
5 years ago
qndel
51157c3744
remove unused param comment ( #2737 )
5 years ago
qndel
770f3a2f20
unify ranged and melee pierce
5 years ago
qndel
8436e1f641
Merge pull request #2711 from qndel/show_coords
5 years ago
Anders Jenbo
3d8d5e32e0
Clean up AddRune ( #2732 )
5 years ago
Anders Jenbo
3b019fbc13
Clean up points in missiles.cpp
5 years ago
Anders Jenbo
866bc56008
Clean up remaning usages of Missiles[]
5 years ago
Anders Jenbo
bf706f2fbb
🐛 Fix Phasing not working in Lazarus' camber
...
Previously an improper check was being done to see if the player was
located on the 3 teleporting pads in the level. Even if fixng this the
spell would not work correctly if the layer was standing on the pads
when casting the spell.
Simply use TARGET_BOTH to indicate that it should not be random and send
the player to the given destination
5 years ago
Anders Jenbo
4fd2e2dc97
🐛 Fix Phasing teleporting to invalid locations
...
Phasing could end up attempting to teleport to hunreds of random
location and still fail to find a valid target and send the player in to
a wall or outside the map.
This is fixed by first finding all valid locations within range and then
picking one of them at random.
Valid targets is a 13x13 area around the player minus the inner 7x7
In total there can be no more then 120 valid tiles and on average there
should be 75 avalible.
5 years ago
staphen
1d50db0246
Nintendo Switch: Remove link to rdimon library to fix file truncation
5 years ago
Gleb Mazovetskiy
1d48dd095d
Scale hardware cursor bilinearly
...
Make the hardware cursor blurry like the rest of the screen.
5 years ago
qndel
9aee0360a0
stop shops reroll on load ( #2693 )
5 years ago
BC Ko
147f68c15f
missile generic variable documentation
5 years ago
BC Ko
536121f038
rename _miVar# to var#
5 years ago
Robin
62a33c61d9
objects: deduplicate logic in OperateShrineGloomy using ForEachItem function
5 years ago
Gleb Mazovetskiy
097dbbc6d8
Debug: Fix save logging
5 years ago
Anders Jenbo
cf4989bcbb
[hellfire] Fix monsters being unable to hit at close range
...
This seams to have been done to better align the magic missile fired by
the bonedeamon, but for all other monsters the alignment is less ideal
and they become unable to hit there enemy at close range.
5 years ago