Eric Robinson
f5d430fbf1
Stores - Unhardcode shop values
...
Use constexpr instead of #define, and unhardcode values used in towner stores.
1 year ago
Eric Robinson
56fc060c89
Stores - Rename Global Vars
1 year ago
Eric Robinson
8eddf55c3f
Stores - IsPlayerInStore() ( #7843 )
1 year ago
Eric Robinson
681a066bfb
Character Panel Number spacing ( #7706 )
1 year ago
Eric Robinson
aca06e898a
Menu text revision ( #3902 )
1 year ago
staphen
371421bfd7
Check for MonsterMode::Death in isPossibleToHit()
1 year ago
Eric Robinson
23ae869389
Cleanup itemdat.tsv
1 year ago
staphen
492ffbb9e9
Don't darken flame wave after it reaches full brightness
1 year ago
staphen
eac6c3526c
Natural Fire Wall light expansion
1 year ago
staphen
f68a00d347
Extend edge lights to infinity when rendering per-pixel light buffer
1 year ago
staphen
390d7600a3
Fix debug command for talking to towners
1 year ago
staphen
29372a68fe
Remove translation from pad buttons to keys in spellbook
1 year ago
Eric Robinson
5cee9dd06a
Cap Resampling Quality
1 year ago
staphen
7d89c45944
Turn off per-pixel lighting by default on low power systems
1 year ago
staphen
47a1f98f36
[3DS] Fix async loading
1 year ago
staphen
fec72f87aa
Swap offsets in distance formula for light cones
1 year ago
staphen
e602321d5f
Don't assume output surface pitch is the same as width
1 year ago
staphen
7a9c822326
Fix light rendering issue in case 13 of marching squares
1 year ago
staphen
b83f006671
Bleed per-pixel light up when rendering walls
1 year ago
staphen
e06d88aaca
Use signed integers for interpolation in marching squares algorithm
1 year ago
staphen
ec9f8ff685
Fix issue with Hellfire items morphing when transferred to Diablo
1 year ago
Stephen C. Wills
0b4f3b4732
Introduce subtile lighting into the software renderer ( #7807 )
1 year ago
staphen
5a03f1e555
Deploy text render fixtures to the build directory
1 year ago
Gleb Mazovetskiy
b4fbaf1419
text_renderer: Simplify GetLineHeight
1 year ago
Gleb Mazovetskiy
527b7e35a4
text_renderer: Add overflow tests
1 year ago
Gleb Mazovetskiy
d5fce58d95
codecov.yml: Pass CODECOV_TOKEN
...
A token is required to upload coverage for protected branches.
1 year ago
staphen
234606ad9d
Validate player/item names coming from save file
1 year ago
staphen
c798253587
Use constexpr for length of item names
1 year ago
Gleb Mazovetskiy
5a14cc57f3
text renderer: colors layout fix + improved tests
...
1. Fixes DrawStringwithColors kerning fit handling and newline handling.
2. Splits tests into one file per function call, making it easier to compare diffs and add new tests.
Also adds `--update_expected` argument to update the expected files with actual results.
1 year ago
Gleb Mazovetskiy
4f151c7e24
Fix Tiger app icon
...
png2icns produces a 128x128 icon that isn't compatible with OSX Tiger.
Uses a patched version of png2icns to produce the correct icon.
Here is the output of icns2png -l AppIcon_128.icns.
Before:
```
Extracting icons from AppIcon_128.icns...
Icon family size is 22560 bytes (including 8 byte header)
Listing icon elements...
'is32' 16x16 32-bit icon (1024 bytes compressed to 710)
's8mk' 16x16 8-bit mask (256 bytes)
'il32' 32x32 32-bit icon (4096 bytes compressed to 2448)
'l8mk' 32x32 8-bit mask (1024 bytes)
'ih32' 48x48 32-bit icon (9216 bytes compressed to 4418)
'h8mk' 48x48 8-bit mask (2304 bytes)
'ic07' 128x128 32-bit icon (65536 bytes compressed to 11336)
```
After:
```
Extracting icons from AppIcon_128.icns...
Icon family size is 42420 bytes (including 8 byte header)
Listing icon elements...
'is32' 16x16 32-bit icon (1024 bytes compressed to 710)
's8mk' 16x16 8-bit mask (256 bytes)
'il32' 32x32 32-bit icon (4096 bytes compressed to 2300)
'l8mk' 32x32 8-bit mask (1024 bytes)
'it32' 128x128 32-bit icon (65536 bytes compressed to 21690)
't8mk' 128x128 8-bit mask (16384 bytes)
```
1 year ago
Oleksandr Kalko
08b4a816ad
Fix license for Flatpak
...
Thank you to @bbhtt for the suggestion
1 year ago
Gleb Mazovetskiy
8dc0f039f9
Add a text rendering integration test
...
This shows that we still have some issues with draw string with colors +
kerning fit but that's OK as we don't use that currently.
1 year ago
Eric Robinson
76407ff41f
Adjust x-start with UiFlags::KerningFitSpacing
...
When using KerningFitSpacing with centered or right-aligned text,
adjust the horizontal start position after changing the spacing.
Co-authored-by: Gleb Mazovetskiy <glex.spb@gmail.com>
1 year ago
Eric Robinson
173c662723
Remove CalcPlrStaff()
1 year ago
staphen
e21efc26aa
Trigger deactivate event for virtual gamepad
1 year ago
staphen
6eb6e5716e
Unlock gamepad state during loading screens
1 year ago
Gleb Mazovetskiy
e289667707
Android: Bump NDK to 28.0.13004108
...
R28 was released 3 weeks ago and is now preinstalled on GitHub CI runners.
https://github.com/android/ndk/releases/tag/r28
1 year ago
Gleb Mazovetskiy
1e6c85bb56
switch.yml: Update CMake
1 year ago
Gleb Mazovetskiy
791fea477f
Bump CI to Ubuntu 22.04 and minimum CMake to 3.22
...
Ubuntu 20.04 is going EOL in May.
Ubuntu 22.04 CMake is 3.22.
Debian stable CMake is 3.25.
Debian oldstable (EOL in 2026) has CMake 3.25 in bullseye-backports.
1 year ago
Gleb Mazovetskiy
778b61c1f4
3ds.yml: Update CMake
1 year ago
Gleb Mazovetskiy
4e4cdf4d0c
Update SheenBidi and use the new decoding function
...
Use the `SBCodepointDecodeNextFromUTF8` function
introduced in https://github.com/Tehreer/SheenBidi/pull/33
1 year ago
Gleb Mazovetskiy
c58ca790c3
Fix CMake warning
...
The DEPENDS argument is not supported for add_custom_command(TARGET)
1 year ago
Oleksandr Kalko
cee38198eb
Update Ukrainian translation ( #7787 )
...
* Update from code
* Ukrainian TL updates
* Translate new and updated strings
* Fix Naj's Light Plate TL
* Fix wrong apostrophe in Wounded Townsman dialogue (this caused it to not render)
* Reword Wirt's dialogue
* Change "unusual item damage" TL to better reflect what it's doing
Thank you to @Maderator3000 for spotting these
1 year ago
Maderator3000
8dd1ddc65b
Update ru.po ( #7785 )
1 year ago
Gianluca Boiano
ad18ebc671
Update Italian localization ( close #7783 ) ( #7784 )
1 year ago
Oleksandr Kalko
0c38179808
Upgrade VCPKG commit for SDL2 2.32.0
...
This catches up SDL version for MSVC
1 year ago
Eric Robinson
fc0d8b0f3d
Fix Viper Lunge ( #7763 )
...
Co-authored-by: Stephen C. Wills <staphen@gmail.com>
1 year ago
obligaron
949f5bce60
Enable CTRL + Mouse scroll wheel for map zoom
1 year ago
staphen
2d27363228
Use padmapper input names for item descriptions
1 year ago
staphen
8f2154faca
Update gamepad scroll descriptions to match logic in plrctrls
1 year ago