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
Anders Jenbo
8b09e0a89a
Update bug_report.yml
1 year ago
staphen
a2365c754e
[MinGW] Do not deploy files to /usr/cmake
1 year ago
Anders Jenbo
aa174a01bc
Update building.md
1 year ago
staphen
fff1594fd5
Update SOL2
1 year ago
Oleksandr Kalko
ad9558e31b
Improve metainfo
...
* Add branding colours
* Rewrite summary, previous one failed as too techincal
1 year ago
staphen
b9d79b4314
Do not process vision for remote players when they are between dungeon levels
1 year ago
staphen
9bd6dc23f8
Update libzt
1 year ago
staphen
420b569d49
Update cache version of Linux CI build scripts
1 year ago
wkdgmr
3970aae755
Update Dockerfile to fix D1GraphicsTool install step
1 year ago
staphen
d92bdd248f
Fix SDL2_EXEC_PREFIX so CPACK can find SDL2.dll
1 year ago
staphen
8d44de25fa
Make ears usable
1 year ago
Anders Jenbo
348c8230a6
Update to SDL2 2.32.0
1 year ago
Oleksandr Kalko
3ff0ee1b16
Update metainfo
...
#7728 but for master
1 year ago
staphen
5643cf8266
Don't delete items during lag spike
1 year ago
staphen
9d8990a97e
Use vanilla default brightness as default for brightness setting
1 year ago
Oleksandr Kalko
d7e2288964
Upgrade SDL2 for MSVC
1 year ago
Anders Jenbo
a298451c22
Upgrade SDL2 to 2.30.12
1 year ago
Eric Robinson
13a5ae4b0b
Replace Gamma Adjustment with Brightness Adjustment
1 year ago
Mr-Bajs
b03688faca
Update sv.po
1 year ago
Gleb Mazovetskiy
a44f0b0082
Add more UTF-8 tests
1 year ago
Gleb Mazovetskiy
2ff7fb03d1
Replace hoehrmann_utf8 with SheenBidi
1 year ago
Gleb Mazovetskiy
b259f5e0e5
Add SheenBidi dependency
1 year ago
obligaron
a3eea0fb88
MSVC: Enable Edit & Continue in debug builds
1 year ago
obligaron
8572535bd7
Allow lua debug quick messages in singleplayer
1 year ago
obligaron
ee42d2ab66
Add missiles to tile data debug command
1 year ago