Gleb Mazovetskiy
bb95e0c337
cl2_render: Use memset when rendering outline
...
A minor cleanup that replaces the for-loop rendering for a fill run
with memsets.
5 years ago
Anders Jenbo
9e2206a673
Format code
5 years ago
obligaron
e99af6cbb1
Remove old positioning logic for manashield and reflect
5 years ago
obligaron
86e1d488e6
Draw Reflect Icon similiar to Manashield
5 years ago
Anders Jenbo
6acb49bea4
Render quest and menu text using common text rendering
5 years ago
Jmgr
0e7ada15fc
Apply new format to ngexttext translations
5 years ago
Jmgr
bbd39aa513
Replace sprintfs with strcpy for translatable strings
5 years ago
Jmgr
6e85cde978
Update format strings
5 years ago
Jmgr
0c27e756f7
Add fmt::format
5 years ago
staphen
635f760815
Add options for DISABLE_TCP and DISABLE_ZERO_TIER.
5 years ago
obligaron
1c21607ccf
Use new stand animation for cast in town
5 years ago
obligaron
11f8c952e5
CheckNewPath: Use correct player for repeated attack check
5 years ago
staphen
1dd5245158
Fix camera jerking when changing direction on controller.
5 years ago
obligaron
a295586636
Support changing animation data on-the-fly even if the number of frames differ
5 years ago
Anders Jenbo
4c6ddc79a1
Clean up text render
5 years ago
Anders Jenbo
fd96bb9ab5
Render chat messages using common text rendering
5 years ago
Anders Jenbo
a03a2c2634
Render chat panel using common text rendering
5 years ago
Anders Jenbo
d723ebce1a
Render help text using common text rendering
5 years ago
Anders Jenbo
44b58c4970
Clean up L5dflags flags
5 years ago
Trihedraf
f2186d4d10
Change Multiplier if RunInTown Enabled to Fix Stuttering.
5 years ago
obligaron
417a3f124a
DrawPlayerHelper: Use correct player offset
5 years ago
Gleb Mazovetskiy
2f3fa76320
Fix gkd350h build
...
Works around a GCC bug on some platforms:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97044
5 years ago
staphen
d89221b15e
Close Cathedral Map when B button is pressed on the controller.
5 years ago
staphen
4c39ac4402
Fix crash when using Town Portal on controller.
5 years ago
obligaron
1c77a22735
Fix movement with hold mouse button and stand animation
5 years ago
obligaron
7b16fafbff
track_process: Player by reference
5 years ago
Gleb Mazovetskiy
c79ec673f4
♻️ Implement std's Lockable for SDL mutex wrapper
...
Rather than rolling our own lock guard, implement the requirements for
using `std::lock_guard` et al and use that.
5 years ago
Anders Jenbo
a11bc61ea8
♻️ Render spellbook text via DrawString
5 years ago
Anders Jenbo
2600b44141
Remove old help text
...
The help for the shareware version appears to be an older and more verbose version that simply was never updated (both are unchanged between 1.00 and 1.09).
5 years ago
Vladimir Olteanu
0c7c71d579
Cleanup of items.cpp ( #1967 )
...
- Apply Point where applicable
- Deduplicate vendor logic
- Add comment about unhanded edge case in GetSuperItemLoc
- Initialize some variables at deceleration
5 years ago
obligaron
55fa72d138
When changing items hot-swap the hero animation data and don't start a new animation
5 years ago
obligaron
4d2ac0502a
Add new GetOffsetForWalking helper and use it for player drawing and camera
5 years ago
obligaron
4de25cd2ea
Introduce PlayerStruct.IsWalking()
5 years ago
obligaron
be13a0f727
Point: Add operator* float and operator-
5 years ago
obligaron
19615c6976
AnimationInfo: Add GetAnimationProgress()
5 years ago
thebigMuh
7fbcfeb35c
Adding text rendering flag to adjust spacing to fit horizontally
...
Now also works for multiline strings
5 years ago
Trihedraf
2544bec7f3
Fix PWD ini check for GCC 5.5
5 years ago
Trihedraf
de3f30623b
if Writeable diablo.ini in PWD use that and save saves to PWD
5 years ago
Trihedraf
38cf99a423
Add IsWriteable to file_util.cpp
5 years ago
Anders Jenbo
34744c068f
♻️ Consitantly use %i and not %d
5 years ago
arcas
6502a3ca4d
Adding resources for translation ( #1973 )
5 years ago
Stefan Mielke
30bfe45781
One pixel was not being calculated on the X axis when trying to find for an inventory slot to put the item.
5 years ago
obligaron
1385e47518
Fix UnitTests in DEBUG (Accessed not initialized ItemAnimations)
5 years ago
obligaron
76103eeb7f
Replace C++ RUN_TEST define with gbQuietMode
5 years ago
obligaron
6fb1b0fed9
Seperate main(...) for binary and tests
5 years ago
Anders Jenbo
18aa04fa4f
♻️ Use common text rendering for store menus
5 years ago
qndel
610d5319bd
swap if in drawing inventory items ( #1968 )
5 years ago
qndel
89c40eaa7b
inventory items rendering cleanup ( #1938 )
5 years ago
Gleb Mazovetskiy
8ac9047b4f
🧹 Clean up CEL outline clipping
...
A simpler structure based on the CL2 implementation.
5 years ago
staphen
b580b635eb
Optimize blended transparency calculations at the end of Poisoned Water Supply.
5 years ago