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
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
Anders Jenbo
da05319909
Correct OnNewLevel validation
4 years ago
staphen
9413d0046b
Increase stack size on 3DS
4 years ago
Anders Jenbo
64e0f65f38
Fix MonsterMHit check for petrified monsters
4 years ago
Anders Jenbo
9ea6d9c9d1
Tweak Hangul font width
4 years ago
Anders Jenbo
a6f17fe072
Adjust width of CJK and Hangul fonts
4 years ago
Gleb Mazovetskiy
fa90679416
game_assets.* -> assets.*
4 years ago
Gleb Mazovetskiy
720d210d95
utils/mpq* -> mpq/*
4 years ago
Gleb Mazovetskiy
213abdda71
debug.cpp Fix `-Wswitch`
4 years ago
Anders Jenbo
5e97bfa1e8
Adjust to new CJK font width
4 years ago
Oleksandr Kalko
11e2cc181d
Fix missing punctuation in Help screen ( #3520 )
4 years ago
staphen
08e4e8c254
Implement virtual gamepad activation/deactivation
4 years ago
staphen
40cc894630
Force VIRTUAL_GAMEPAD=OFF when USE_SDL1=ON
4 years ago
qndel
4072bd351f
fix debug display in town
4 years ago
ephphatha
87651aa2f5
Check the item at the target position before searching all items
4 years ago
Gleb Mazovetskiy
3aa8149d3e
`PrintMonstHistory`: Fix string manipulation
...
The code previously assumed that there is an ASCII separator after each
resistance type.
Different languages may use something else entirely. Relaxes the
assumption to any single code point to avoid producing malformed
UTF-8.
4 years ago
Thomas Christlieb
b16aa93f27
do not allow quickload when talking to towner ( #3479 )
4 years ago
staphen
dd901e3c2c
Do not disable backlight on o2DS
4 years ago
qndel
1110927057
make berserked monsters fight each other
4 years ago
qndel
6dbe9109b2
make durability int again ( #3467 )
4 years ago
qndel
18c0b1858f
use DUR_INDESTRUCTIBLE ( #3468 )
4 years ago
Gleb Mazovetskiy
f45270e9ab
`RenderString`: Fix width calculation after \n
...
Fixes #3456
4 years ago
Gleb Mazovetskiy
bc9031ad54
WordWrapString: Fix state after starting a new line
...
After starting a new line, we restart the processing from the line break
position, so we need to set `nextCodepoint` correctly.
Fixes #3449
4 years ago
Gleb Mazovetskiy
e3dc241c2f
Correctly handle ZWSP in WordWrapString
4 years ago
Gleb Mazovetskiy
23406b6fc5
Replace mpqapi.h with the MpqWriter class
...
This is a cleanup, heading in the direction of allowing us to reuse
some of the code between reading and writing MPQs.
4 years ago
Gleb Mazovetskiy
c3d2d7e3cb
Move LoggedFStream to its own file
4 years ago
Gleb Mazovetskiy
b8affd5fe5
Fix a few build warnings
4 years ago
Gleb Mazovetskiy
731377aca6
Net: Show "Unknown network error" as intended
4 years ago
Andrew James
8104432db4
Use object reference (and self-id lookup) for BreakBarrel
4 years ago
Gleb Mazovetskiy
40b1dc7a12
WordWrap: Require whitespace to break after Latin punctuation
...
This fixes cases such as `github.com`.
As we now require a space after Latin punctuation, we can remove
the list of Latin punctuation symbols and break on the space itself.
We still disallow linebreaks between consecutive fullwidth punctuation
symbols.
4 years ago
Gleb Mazovetskiy
e1dc7df3a5
Fix crash in `WordWrapString`
...
Fixes #3433
4 years ago
Anders Jenbo
56170b3372
Clean up id normalization
4 years ago
Gleb Mazovetskiy
b7beb2fbe9
Optimize `DrawHalfTransparentBlendedRectTo`
...
`DrawHalfTransparentBlendedRectTo` takes up a significant chunk of time
when rendering store and quest dialogs.
Optimize the function to read 2 pixels at a time and write 4 pixels at a
time.
4 years ago
ephphatha
335b0b9349
Use crawl table based search for item checks
...
fixes #3207
4 years ago
ephphatha
07843bd007
Separate search and spawn logic for AddRune
4 years ago
ephphatha
93425deb92
Separate search and effect logic for berserk
4 years ago
ephphatha
a79d1fa9f7
Separate search and effect logic for mana trap
4 years ago
ephphatha
aedb1c5526
Separate search and spawn logic for teleport
4 years ago
ephphatha
9201a27b99
Separate search and spawn logic for town portal
4 years ago
ephphatha
ef02982465
Tidy up guardian spawn routine
4 years ago