Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into fix_some_unisolid_i…
Browse files Browse the repository at this point in the history
…ssues
  • Loading branch information
Brockengespenst committed Jul 30, 2024
2 parents 1d70137 + 5a50578 commit b40ee01
Show file tree
Hide file tree
Showing 562 changed files with 13,360 additions and 31,368 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
submodules: recursive

- name: Clone SDL Android repo
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Build in FreeBSD
if: ${{ matrix.vm_os == 'freebsd' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gnulinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Install 64-bit dependencies
if: ${{ matrix.arch == 64 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Install macos dependencies
if: ${{ matrix.os == 'macos-12' }}
Expand Down
22 changes: 17 additions & 5 deletions .github/workflows/scripting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ on:
push:
branches: [ "master" ]
paths:
- src/scripting/*.hpp
- src/*
- tools/scripting_docs_gen/*
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -56,31 +57,42 @@ jobs:
cmake --version
mkdir build
cd build
cmake .. -DBUILD_SCRIPTING_DOCUMENTATION=ON
cmake .. -DBUILD_DOCUMENTATION_WITH_SCRIPTING=ON
make
- name: Generate scripting reference
working-directory: tools/scripting_docs_gen/build
run: |
doxygen docs/scripting/Doxyfile
doxygen docs/Doxyfile
rm ../../../wiki/Scripting*.md
./ScriptingDocsGen --dir docs/scripting/doxygen/xml \
./ScriptingDocsGen --dir docs/doxygen/xml \
--home ../../../wiki/templates/ScriptingHome.md \
--page ../../../wiki/templates/ScriptingPage.md \
--output ../../../wiki
- name: Check for changes
working-directory: wiki
run: |
REF_UPDATED=true
if git diff --exit-code; then
REF_UPDATED=false
fi
echo "REFERENCE_UPDATED=$(echo $REF_UPDATED)" >> $GITHUB_ENV
- name: Install SSH key
if: ${{ env.REFERENCE_UPDATED == 'true' }}
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.wiki_repo_key }}
known_hosts: ${{ secrets.wiki_repo_hosts }}

- name: Push changes to wiki
if: ${{ env.REFERENCE_UPDATED == 'true' }}
working-directory: wiki
run: |
git --version
git status
git config --global user.email "supertux-bot"
git config --global user.email "SuperTux-bot@users.noreply.github.com"
git config --global user.name "SuperTux Bot"
git add .
git commit -m "Update scripting reference (SuperTux/supertux@${{ github.sha }})"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu-touch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Install clickable
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Install emscripten tools
run: |
Expand Down
47 changes: 41 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
# Fetch the whole tree so git describe works
fetch-depth: 0
submodules: true
submodules: recursive

- name: Use cached dependencies
id: cache-dependencies
Expand Down Expand Up @@ -104,21 +104,56 @@ jobs:
run: |
"./$Env:BUILD_TYPE/run_tests.exe"
- name: Package
- name: Package MSI Installer
shell: pwsh
working-directory: build
env:
BUILD_TYPE: ${{ matrix.build_type }}
run: |
cpack -C $Env:BUILD_TYPE
mkdir upload
mv *.msi upload/
if ($LASTEXITCODE -ne 0)
{
$code = $LASTEXITCODE
type ./_CPack_Packages/win64/WIX/wix.log
exit $code
}
else
{
mkdir upload
mv *.msi upload/
}
- uses: actions/upload-artifact@v4
- name: Upload MSI Installer
uses: actions/upload-artifact@v4
with:
name: "windows-${{ matrix.arch }}-${{ matrix.build_type }}${{ matrix.glbinding == 'ON' && '-glbinding' || '' }}-installer"
path: build/upload/*.msi
if-no-files-found: ignore

- name: Package Portable Archive
working-directory: build
env:
BUILD_TYPE: ${{ matrix.build_type }}
run: |
mkdir -Force SuperTux-${{ github.sha }}-portable
cmake --install . --config $Env:BUILD_TYPE --prefix .\SuperTux-${{ github.sha }}-portable
# Because github puts assets in zips, if you upload a zip,
# it will upload another zip. I have disabled this code because
# of that, but in case you wanted to know how to generate a portable release,
# here it is.
<#
cpack -C $Env:BUILD_TYPE -G ZIP
mv *.zip SuperTux-${{ github.sha }}-portable/
#>
- name: Upload Portable Package
uses: actions/upload-artifact@v4
with:
name: "windows-${{ matrix.arch }}-${{ matrix.build_type }}${{ matrix.glbinding == 'ON' && '-glbinding' || '' }}-portable"
path: build/SuperTux-${{ github.sha }}-portable
if-no-files-found: ignore

- uses: anshulrgoyal/upload-s3-action@master
if: matrix.release && env.CI_KEY != null
env:
Expand Down Expand Up @@ -147,5 +182,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: 'build/upload/SuperTux-*'
files: 'build/upload/SuperTux-*.msi'
draft: true
9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "external/tinygettext"]
path = external/tinygettext
url = https://github.com/SuperTux/tinygettext.git
[submodule "external/squirrel"]
path = external/squirrel
url = https://github.com/albertodemichelis/squirrel.git
[submodule "external/sexp-cpp"]
path = external/sexp-cpp
url = https://github.com/SuperTux/sexp-cpp.git
Expand All @@ -19,9 +16,9 @@
[submodule "external/fmt"]
path = external/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "tools/miniswig"]
path = tools/miniswig
url = https://github.com/WindstilleTeam/miniswig
[submodule "external/glm"]
path = external/glm
url = https://github.com/g-truc/glm.git
[submodule "external/simplesquirrel"]
path = external/simplesquirrel
url = https://github.com/SuperTux/simplesquirrel
10 changes: 2 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ include(SuperTux/ProvideOpenAL)
include(SuperTux/ProvideOggVorbis)
include(SuperTux/ProvidePhysfs)
include(SuperTux/ProvideCurl)
include(SuperTux/ProvideSquirrel)
include(SuperTux/ProvideSimpleSquirrel)
include(SuperTux/ProvideTinygettext)
include(SuperTux/ProvideSDL2_ttf)
include(SuperTux/ProvideDiscord)
Expand All @@ -187,7 +187,6 @@ include(SuperTux/ProvideOpenGL)
include(SuperTux/BuildVersion)
include(SuperTux/BuildDocumentation)
include(SuperTux/BuildMessagePot)
include(SuperTux/BuildMiniswigWrapper)

## Build list of sources for supertux binary
file(GLOB SUPERTUX_SOURCES_C RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} external/obstack/*.c external/findlocale/findlocale.c)
Expand All @@ -205,10 +204,6 @@ list(SORT SUPERTUX_SOURCES_C)
list(SORT SUPERTUX_SOURCES_CXX)
list(SORT SUPERTUX_RESOURCES)

if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/src/scripting/wrapper.cpp)
set(SUPERTUX_SOURCES_CXX ${SUPERTUX_SOURCES_CXX} ${CMAKE_CURRENT_SOURCE_DIR}/src/scripting/wrapper.cpp)
endif()

## On Windows, add an icon
if(WIN32)
if(MINGW)
Expand Down Expand Up @@ -269,8 +264,7 @@ endif()

## Link supertux binary with squirrel and other libraries

target_link_libraries(supertux2_lib PUBLIC LibSquirrel)
target_link_libraries(supertux2_lib PUBLIC LibSqstdlib)
target_link_libraries(supertux2_lib PUBLIC LibSimpleSquirrel)
target_link_libraries(supertux2_lib PUBLIC LibTinygettext)
target_link_libraries(supertux2_lib PUBLIC LibSexp)
target_link_libraries(supertux2_lib PUBLIC LibSavePNG)
Expand Down
Binary file added data/images/creatures/ghosttree/hudlife.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion data/images/engine/editor/objects.stoi
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,10 @@
(icon "images/engine/editor/stalactite_ice_yeti.png"))
(object
(class "dart")
(icon "images/creatures/darttrap/granito/root_dart_left.png"))
(icon "images/creatures/darttrap/granito/root_dart_left.png"))
(object
(class "bigsnowball")
(icon "images/objects/big_snowball/big_snowball.png"))
)

(objectgroup
Expand Down
Binary file added data/images/objects/big_snowball/big_snowball.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions data/images/objects/big_snowball/big_snowball.sprite
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
(supertux-sprite
(action
(name "default")
(hitbox 6 6 87 84)
(images "big_snowball.png"))

(action
(name "particle")
(hitbox 2 2 29 28)
(images "big_snowball_particle.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 modified data/images/objects/platforms/big.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 modified data/images/objects/platforms/small.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 modified data/images/objects/platforms/vertical-wood.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 modified data/images/objects/platforms/wood-fivetiles.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 modified data/images/objects/platforms/wood-tiny.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions data/levels/bonus1/ar.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2023
# IAN RODRÍGUEZ Lorenzo, 2023
# Israa Zamzami, 2018
# Hasan Nahleh <[email protected]>, 2019
msgid ""
Expand All @@ -12,7 +12,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2023\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2023\n"
"Language-Team: Arabic (http://app.transifex.com/arctic-games/supertux/language/ar/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/az.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2023
# IAN RODRÍGUEZ Lorenzo, 2023
msgid ""
msgstr ""
"Project-Id-Version: SuperTux\n"
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2023\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2023\n"
"Language-Team: Azerbaijani (http://app.transifex.com/arctic-games/supertux/language/az/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Translators:
# Ariadna Pascual <[email protected]>, 2016
# Catalanoic <[email protected]>, 2016
# 111More1, 2022
# IAN RODRÍGUEZ Lorenzo, 2022
# 76352799d6904fac47e3a0fa3ed5fd59_334826e <af5856938576e19ac7f099472ce1a9b6_234157>, 2014
# Yael Codesal, 2016
msgid ""
Expand All @@ -14,7 +14,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2022\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2022\n"
"Language-Team: Catalan (http://app.transifex.com/arctic-games/supertux/language/ca/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/el.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2022
# IAN RODRÍGUEZ Lorenzo, 2022
# I will not tell you that <[email protected]>, 2015
# Vangelis Nomikos <[email protected]>, 2013-2014
# Vangelis Skarmoutsos (SkarmoutsosV) <[email protected]>, 2016
Expand All @@ -13,7 +13,7 @@ msgstr ""
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2022\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2022\n"
"Language-Team: Greek (http://app.transifex.com/arctic-games/supertux/language/el/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/et.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2023
# IAN RODRÍGUEZ Lorenzo, 2023
msgid ""
msgstr ""
"Project-Id-Version: SuperTux\n"
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2023\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2023\n"
"Language-Team: Estonian (http://app.transifex.com/arctic-games/supertux/language/et/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/eu.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2023
# IAN RODRÍGUEZ Lorenzo, 2023
# Mielanjel Iraeta <[email protected]>, 2018
msgid ""
msgstr ""
"Project-Id-Version: SuperTux\n"
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2023\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2023\n"
"Language-Team: Basque (http://app.transifex.com/arctic-games/supertux/language/eu/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
4 changes: 2 additions & 2 deletions data/levels/bonus1/fr_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
# This file is distributed under the same license as the SuperTux package.
#
# Translators:
# 111More1, 2022
# IAN RODRÍGUEZ Lorenzo, 2022
# Jean-Philippe L'Étoile <[email protected]>, 2019
msgid ""
msgstr ""
"Project-Id-Version: SuperTux\n"
"Report-Msgid-Bugs-To: https://github.com/SuperTux/supertux/issues\n"
"POT-Creation-Date: 2024-03-03 03:26+0100\n"
"PO-Revision-Date: 2013-08-10 23:04+0000\n"
"Last-Translator: 111More1, 2022\n"
"Last-Translator: IAN RODRÍGUEZ Lorenzo, 2022\n"
"Language-Team: French (Canada) (http://app.transifex.com/arctic-games/supertux/language/fr_CA/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down
Loading

0 comments on commit b40ee01

Please sign in to comment.