From 9acd3dbc9b3caac072dfc970ea8722a2214449d7 Mon Sep 17 00:00:00 2001 From: Muzychenko Andrey <33288308+k4zmu2a@users.noreply.github.com> Date: Wed, 29 Dec 2021 09:46:09 +0300 Subject: [PATCH 1/3] Bumped version to 2.0.1. Added Flathub link. --- README.md | 2 ++ SpaceCadetPinball/winmain.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 81e61b8..ef6d217 100644 --- a/README.md +++ b/README.md @@ -67,6 +67,8 @@ To cross-compile for Windows, install a 64-bit version of mingw and its `SDL2` a Some distributions provide a package in their repository. You can use those for easier dependency management and updates. +This project is available as Flatpak on [Flathub](https://flathub.org/apps/details/com.github.k4zmu2a.spacecadetpinball). + ### On macOS * **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages. diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index c728af9..8e42d32 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -898,7 +898,7 @@ void winmain::a_dialog() ImGui::Separator(); ImGui::TextUnformatted("Decompiled -> Ported to SDL"); - ImGui::TextUnformatted("Version 2.0"); + ImGui::TextUnformatted("Version 2.0.1"); if (ImGui::SmallButton("Project home: https://github.com/k4zmu2a/SpaceCadetPinball")) { #if SDL_VERSION_ATLEAST(2, 0, 14) From 583262d221f4cc6a43301cf6f78484fea25f8b5c Mon Sep 17 00:00:00 2001 From: Kowalski Dragon Date: Wed, 29 Dec 2021 12:26:49 +0100 Subject: [PATCH 2/3] Update SpaceCadetPinball.metainfo.xml (#116) --- Platform/Linux/SpaceCadetPinball.metainfo.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/Platform/Linux/SpaceCadetPinball.metainfo.xml b/Platform/Linux/SpaceCadetPinball.metainfo.xml index 5d8ebcb..e544ca8 100644 --- a/Platform/Linux/SpaceCadetPinball.metainfo.xml +++ b/Platform/Linux/SpaceCadetPinball.metainfo.xml @@ -28,6 +28,21 @@ + + +

First bug fix release of cross-platform port.

+

Main highlights:

+
    +
  • Improved Linux support: install target, icons, desktop shortcut, alternative data paths.
  • +
  • Improved game controller support.
  • +
  • High precision sleep mode for ~0 frame time jitter.
  • +
  • Integer image scaling mode.
  • +
  • 3DPB <-> FT data switch option, for easier data-set changes when both are available.
  • +
  • FT demo data support.
  • +
  • Bug fixes.
  • +
+
+

First release of cross-platform port.

@@ -63,4 +78,4 @@ cadet - \ No newline at end of file + From d8ee1b9bfeee21d3981a40e735411393392bc1f6 Mon Sep 17 00:00:00 2001 From: Nicola Smaniotto Date: Wed, 29 Dec 2021 12:28:03 +0100 Subject: [PATCH 3/3] fix install directories (#115) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d788701..ae4deea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -221,8 +221,8 @@ endif() if(UNIX AND NOT APPLE) include(GNUInstallDirs) install(TARGETS "${PROJECT_NAME}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}") - install(FILES "/Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications") - install(FILES "/Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") + install(FILES "Platform/Linux/${PROJECT_NAME}.desktop" DESTINATION "share/applications") + install(FILES "Platform/Linux/${PROJECT_NAME}.metainfo.xml" DESTINATION "share/metainfo") foreach(S 16 32 48 128 192) install(FILES "${PROJECT_NAME}/Icon_${S}x${S}.png" DESTINATION "share/icons/hicolor/${S}x${S}/apps" RENAME "${PROJECT_NAME}.png")