Skip to content

Commit

Permalink
Merge branch 'upstream_master' into prerelease18-8
Browse files Browse the repository at this point in the history
  • Loading branch information
sjrc6 committed Dec 8, 2024
2 parents eb8b54f + e89f029 commit 1851f6e
Show file tree
Hide file tree
Showing 106 changed files with 8,191 additions and 1,450 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,3 +216,64 @@ jobs:
with:
name: ddnet-${{ matrix.os }}
path: release/artifacts

build-android:
runs-on: ubuntu-24.04
env:
CARGO_HTTP_MULTIPLEXING: false
steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Prepare
run: |
sudo apt-get update -y
sudo apt-get install cmake ninja-build openjdk-21-jdk p7zip-full curl glslang-tools openssl
cargo install cargo-ndk
rustup target add armv7-linux-androideabi
rustup target add i686-linux-android
rustup target add aarch64-linux-android
rustup target add x86_64-linux-android
mkdir ~/Android
cd ~/Android
mkdir Sdk
cd Sdk
mkdir ndk
cd ndk
wget --quiet https://dl.google.com/android/repository/android-ndk-r26d-linux.zip
unzip android-ndk-r26d-linux.zip
rm android-ndk-r26d-linux.zip
cd ~/Android/Sdk
mkdir build-tools
cd build-tools
wget --quiet https://dl.google.com/android/repository/build-tools_r30.0.3-linux.zip
unzip build-tools_r30.0.3-linux.zip
rm build-tools_r30.0.3-linux.zip
mv android-11 30.0.3
cd ~/Android/Sdk
mkdir cmdline-tools
cd cmdline-tools
wget --quiet https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
unzip commandlinetools-linux-11076708_latest.zip
rm commandlinetools-linux-11076708_latest.zip
mv cmdline-tools latest
yes | latest/bin/sdkmanager --licenses
- name: Build
env:
TW_KEY_NAME: /home/runner/DDNet.jks
TW_KEY_ALIAS: DDNet-Key
run: |
export TW_KEY_PW="$(openssl rand -base64 32)"
keytool -genkey -v -keystore "$TW_KEY_NAME" -keyalg RSA -keysize 2048 -validity 10000 -alias "$TW_KEY_ALIAS" -storepass "$TW_KEY_PW" -dname "CN=DDNet CI, OU=DDNet, O=DDNet"
mkdir build-android
scripts/android/cmake_android.sh all DDNet org.ddnet.client Release build-android
mkdir artifacts
mv build-android/DDNet.apk artifacts
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ddnet-android
path: artifacts
7 changes: 4 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1133,11 +1133,10 @@ set(EXPECTED_DATA
audio/wp_switch-02.wv
audio/wp_switch-03.wv
autoexec_server.cfg
background_noise.png
blob.png
censorlist.txt
communityicons/none.png
console.png
console_bar.png
countryflags/AD.png
countryflags/AE.png
countryflags/AF.png
Expand Down Expand Up @@ -1409,7 +1408,6 @@ set(EXPECTED_DATA
editor/automap/round_tiles.rules
editor/automap/water.rules
editor/automap/winter_main.rules
editor/background.png
editor/checker.png
editor/cursor.png
editor/cursor_resize.png
Expand Down Expand Up @@ -1847,6 +1845,7 @@ set(EXPECTED_DATA
themes/winter.png
themes/winter_day.map
themes/winter_night.map
touch_controls.json
wordlist.txt
)

Expand Down Expand Up @@ -2422,6 +2421,8 @@ if(CLIENT)
components/tclient/verify.h
components/tooltips.cpp
components/tooltips.h
components/touch_controls.cpp
components/touch_controls.h
components/voting.cpp
components/voting.h
gameclient.cpp
Expand Down
Binary file added data/background_noise.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed data/console.png
Binary file not shown.
Binary file removed data/console_bar.png
Binary file not shown.
Binary file removed data/editor/background.png
Binary file not shown.
101 changes: 98 additions & 3 deletions data/languages/arabic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ Leak IP
No server selected
==

Online players (%d)
Online friends (%d)
==

Online clanmates (%d)
Expand All @@ -1367,7 +1367,13 @@ Click to remove this player from your friends list.
Click to remove this clan from your friends list.
==

None
Add friends by entering their name below or by clicking their name in the player list.
==

Add clanmates by entering their clan below and leaving the name blank.
==

Offline friends and clanmates will appear here.
==

Are you sure that you want to remove the player '%s' from your friends list?
Expand Down Expand Up @@ -1505,6 +1511,80 @@ Dummy is not allowed on this server
Please wait…
==

Edit touch controls
==

Close
==

Save changes
==

Error saving touch controls
==

Could not save touch controls to file. See local console for details.
==

Unsaved changes
==

Discard changes
==

Are you sure that you want to discard the current changes to the touch controls?
==

Are you sure that you want to reset the touch controls to default?
==

Import from clipboard
==

Are you sure that you want to import the touch controls from the clipboard? This will overwrite your current touch controls.
==

Export to clipboard
==

Direct touch input while ingame
==

[Direct touch input]
Disabled
==

[Direct touch input]
Active action
==

[Direct touch input]
Aim
==

[Direct touch input]
Fire
==

[Direct touch input]
Hook
==

Direct touch input while spectating
==

Error loading touch controls
==

Could not load touch controls from file. See local console for details.
==

Could not load default touch controls from file. See local console for details.
==

Could not load touch controls from clipboard. See local console for details.
==

Loading…
==

Expand Down Expand Up @@ -1748,7 +1828,10 @@ Always show own player's hook collision line
Always show other players' hook collision lines
==

Hook collision line width
Width of your own hook collision line
==

Width of others' hook collision line
==

Hook collision line opacity
Expand All @@ -1769,6 +1852,9 @@ Something hookable
A Tee
==

Preview 'Hook collisions' being pressed
==

Show finish messages
==

Expand Down Expand Up @@ -1933,6 +2019,15 @@ Eyes
Loading sound files
==

Aim
==

Active: Fire
==

Active: Hook
==

Moved ingame
==

Expand Down
116 changes: 106 additions & 10 deletions data/languages/azerbaijani.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Gokturk 2024-08-29 23:39:00
# Gokturk 2024-09-29 19:24:00
# Gokturk 2024-11-04 11:35:00
# Gokturk & seishiroon 2024-12-03 16:35:00
##### /authors #####

##### translated strings #####
Expand Down Expand Up @@ -1159,9 +1160,6 @@ Leak IP
No server selected
== Heç bir server seçilmədi

Online players (%d)
== Onlayn oyunçular (%d)

Online clanmates (%d)
== Onlayn klandaşlar (%d)

Expand All @@ -1178,9 +1176,6 @@ Click to remove this player from your friends list.
Click to remove this clan from your friends list.
== Bu klanı dostlarınızın siyahısından silmək üçün klikləyin.

None
== Yox

Are you sure that you want to remove the player '%s' from your friends list?
== '%s' oyunçu dostlarınız siyahısından silmək istədiyinizə əminsiniz?

Expand Down Expand Up @@ -1483,9 +1478,6 @@ Show local player's key presses
Hook collision line
== Qarmaq izi

Hook collision line width
== Qarmaq izinin qalınlığı

Hook collision line opacity
== Kanca çizgisi opaklığı

Expand Down Expand Up @@ -1942,4 +1934,108 @@ Eyes
== Göz

Some fonts could not be loaded. Check the local console for details.
== Bəzi yazı fontları yüklənə bilmir. Ətraflı məlumat üçün əsas konsolu yoxlayın
== Bəzi yazı fontları yüklənə bilmir. Ətraflı məlumat üçün əsas konsolu yoxlayın.

Online friends (%d)
== Onlayn dostlar (%d)

Add friends by entering their name below or by clicking their name in the player list.
== Aşağıya ad yazaraq və ya oyunçu siyahısından adlarına tıklayaraq dost əlavə edin.

Add clanmates by entering their clan below and leaving the name blank.
== Klan yoldaşlarınızı klan adını aşağıya yazaraq və ad hissəsini boş buraxaraq əlavə edin.

Offline friends and clanmates will appear here.
== Oflayn dostlar və klan yoldaşları burada görünəcək.

Edit touch controls
== Toxunuş idarəetmələrini düzəlt

Close
== Bağla

Save changes
== Dəyişiklikləri yadda saxla

Error saving touch controls
== Toxunuş idarəetmələri saxlanılarkən xəta baş verdi

Could not save touch controls to file. See local console for details.
== Toxunuş idarəetmələrini fayllara yadda saxlamaq mümkün olmadı. Ətraflı məlumat üçün konsola baxın.

Unsaved changes
== Yadda saxlanılmamış dəyişikliklər

Discard changes
== Dəyişiklikləri ləğv et

Are you sure that you want to discard the current changes to the touch controls?
== Toxunuş idarəetmələrindəki dəyişiklikləri ləğv etmək istədiyinizə əminsinizmi?

Are you sure that you want to reset the touch controls to default?
== oxunuş idarəetmələrini varsayılan parametrlərə qaytarmaq istədiyinizə əminsinizmi?

Import from clipboard
== Panodan içəri idxal et

Are you sure that you want to import the touch controls from the clipboard? This will overwrite your current touch controls.
== Toxunuş idarəetmələrini panodan idxal etmək istədiyinizə əminsinizmi? Bu, mövcud idarəetmələrin üzərinə yazılacaq.

Export to clipboard
== Panoya ixrac et

Direct touch input while ingame
== Oyun içində olarkən birbaşa toxunuş girişi

[Direct touch input]
Disabled
== Deaktiv edilib

[Direct touch input]
Active action
== Aktiv hərəkət

[Direct touch input]
Aim
== Aim

[Direct touch input]
Fire
== Atəş

[Direct touch input]
Hook
== Qarmaq

Direct touch input while spectating
== İzləmə rejimində olarkən birbaşa toxunuş girişi

Error loading touch controls
== Toxunuş idarəetmələri yüklənərkən xəta baş verdi

Could not load touch controls from file. See local console for details.
== Toxunuş idarəetmələrini fayllardan yükləmək mümkün olmadı. Ətraflı məlumat üçün konsola baxın.

Could not load default touch controls from file. See local console for details.
== Varsayılan toxunuş idarəetmələrini fayllardan yükləmək mümkün olmadı. Ətraflı məlumat üçün konsola baxın.

Could not load touch controls from clipboard. See local console for details.
== Toxunuş idarəetmələrini panodan yükləmək mümkün olmadı. Ətraflı məlumat üçün konsola baxın.

Width of your own hook collision line
== Öz qarmağınızın toqquşma xəttinin qalınlığı

Width of others' hook collision line
== Başqalarının qarmaqlarının toqquşma xəttinin qalınlığı

Preview 'Hook collisions' being pressed
== ‘Qarmaq toqquşmaları’ basılarkən önizləmə

Aim
== Aim

Active: Fire
== Aktiv: Atəş

Active: Hook
== Aktiv: Qarmaq
Loading

0 comments on commit 1851f6e

Please sign in to comment.