obligaron
918122ecb1
UiListItem can have individual UiFlags
4 years ago
obligaron
adfdb1e54f
Refactored UiList ViewPort Logic
4 years ago
Vladimir Olteanu
14eae23441
Spell list: always draw hotkeys
...
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
4 years ago
Gleb Mazovetskiy
4742ba8ff5
GitHub CI: Allow triggering release actions manually
4 years ago
staphen
405df0cb89
Update libsmackerdec
4 years ago
Gleb Mazovetskiy
137752fdfc
Remove files accidentally added in #3585
4 years ago
Gleb Mazovetskiy
8d1708358f
Extract spell list and book into separate files
...
Moves the spell list/book UI from `control.cpp` code into separate files.
4 years ago
staphen
25afdee39b
Replace libsmacker with libsmackerdec
4 years ago
ephphatha
b8b220311a
Remove AvailableItems, no longer required
4 years ago
ephphatha
18658f6a42
Remove duplicate argument to DeleteItem
4 years ago
ephphatha
baa1cd65c5
Make FindGetItem return an index into ActiveItems
...
This allows the calling code in DeltaLoadLevel to behave the same as every other use of DeleteItem, making it possible to remove the duplicate argument and ensure that the ActiveItems/AvailableItems arrays are treated appropriately.
4 years ago
ephphatha
f60cc3bfd9
Update calls to DeleteItem to use ActiveItems inline
...
This highlights how all (except one) call sites duplicate the i argument. With the exception of the use in msg.cpp this can be treated as a offset into activeItems and doesn't care about the real index.
4 years ago
ephphatha
1d560601f2
Remove duplicated argument to InvGetItem
...
This was obscuring efforts to track how ActiveItems and Items are referenced, hopefully can switch back to the Item& soon.
4 years ago
ephphatha
55a52b82c2
Use unsigned types for Items array indexes consistently
...
Actual type used varied based on context, this addresses some type conversion warnings.
4 years ago
ephphatha
84302c45f3
Extract common logic for saving items to a save file
...
This was duplicated for saving from the menu and transitioning to a new level
4 years ago
ephphatha
71e39dda6f
Extract common logic for loading items from a save
...
This was duplicated for loading a save from the menu and transitioning to a new level
4 years ago
Gleb Mazovetskiy
f7461fd01d
Update zh_CN translation
4 years ago
Gleb Mazovetskiy
1ef5e5c5f8
Update Japanese translation
4 years ago
Gleb Mazovetskiy
1eb6e2bac0
Improved spell book layout
4 years ago
Oleksandr Kalko
be83555126
UK TL: Items
4 years ago
Gleb Mazovetskiy
cad526305c
Update CJK translations from source
...
To make diffs more managable.
4 years ago
nsm53project
1793ed22ab
Update Korean Translation
...
Sync translation files
Weapons
4 years ago
M0Rf30
09d5beceb3
Update Italian localization
4 years ago
staphen
8dbcd32a50
Adjust libmpq file I/O buffer size for 3DS
4 years ago
staphen
4ee3e7c26b
Update libmpq
4 years ago
qndel
30a28fd21e
fix displaying unique stats
4 years ago
Anders Jenbo
6e63354cd1
Remove safe guards around strings own the input for
4 years ago
Dominus Iniquitatis
d96fac49ac
Russian translation fixes
4 years ago
Anders Jenbo
799f1763af
Performce UTF8 aware limited string copies
4 years ago
Anders Jenbo
da37e73ec3
Sync translation files
4 years ago
Anders Jenbo
9d4a5f4890
Clean up item name generation
4 years ago
obligaron
1ed4490497
Remove Player.deathFrame and deathdelay and fix death by object animation
4 years ago
ephphatha
c206b7cce8
Return Utf8DecodeError when passed an incomplete code point
...
Also ensure that len set in all code paths, otherwise it leads to a call to remove_prefix with garbage.
4 years ago
KPhoenix
c52a107eb8
Prevent Spell Targeting Players with Friendly Mode enabled
...
Prevents players from targeting each other with spells in the same way that players are prevented from targeting each other with weapons when Friendly Mode is enabled
4 years ago
BuildTools
84646188ad
Correct polish translation for thorns
...
Previous pl string literally translated to english would say:
"1-3 damage returns to you"
Considering that it is thorns affix, I am guessing
the attacker means the enemy of the player, NOT the player him/herself.
The corrected pl string is equal to english one
and it is almost the same as thorns affix
translation from diablo 2.
4 years ago
obligaron
677303cba9
Reduce use of view globals in game menu
4 years ago
Anders Jenbo
36112cd83e
Increase buffer size to handle Japanese translations
4 years ago
Anders Jenbo
69b4a64a8f
Fix OOB in ItemSpaceOk
...
Fixes #3557
4 years ago
Anders Jenbo
95fef934c1
Correctly cut up lines
...
Fixes #3558
4 years ago
ThomasChr
cbda2c848d
When blocking with staff (only monk) also decrease durability as with a shield
4 years ago
ThomasChr
0f1bd30e65
Change log message to correct function name
4 years ago
Gleb Mazovetskiy
dbdae7b389
Fix the divider line position in the help menu
...
Fixes #3552
4 years ago
Gleb Mazovetskiy
3e1ea708a9
Increase "Delete Hero" dialog title buffer size
4 years ago
Gleb Mazovetskiy
c438cc6097
Increase difficulty description buffer size
...
Fixes #3551
4 years ago
Bubio
a3378f9982
Update Japanese Translations
4 years ago
Anders Jenbo
9a93e473f9
Align CJK text on spell icons
4 years ago
Gleb Mazovetskiy
e29c1d05a2
Improve Help screen layout + fix CJ
4 years ago
Gleb Mazovetskiy
4f64b87330
Fix talk/store text overlap for Chinese and Japanese
...
We ensure that selectable lines are placed at the same vertical
coordinates but space out unselectable text lines at the cost
of reduced heigh of empty space between the store items.
We also have to move the back button in scrollable lists to the
lower right.
This can definitely be improved further but at least it solves
the problem for now.
Refs #3162
4 years ago
Bubio
dd0e4a571d
Update Japanese Translations
...
"Fuzzy" removed.
Adjustment of minor wording
4 years ago
Anders Jenbo
da05319909
Correct OnNewLevel validation
4 years ago