Hello community,

here is the log from the commit of package bstone for openSUSE:Factory checked 
in at 2020-07-14 07:56:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bstone (Old)
 and      /work/SRC/openSUSE:Factory/.bstone.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bstone"

Tue Jul 14 07:56:58 2020 rev:9 rq:820460 version:1.2.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/bstone/bstone.changes    2020-07-08 
19:15:34.543656626 +0200
+++ /work/SRC/openSUSE:Factory/.bstone.new.3060/bstone.changes  2020-07-14 
07:59:05.833752262 +0200
@@ -1,0 +2,7 @@
+Fri Jul 10 14:35:57 UTC 2020 - Martin Hauke <[email protected]>
+
+- Update to version 1.2.8
+  Fixed
+  * Disabled episodes 5 and 6 in static build.
+
+-------------------------------------------------------------------

Old:
----
  bstone-1.2.7.tar.gz

New:
----
  bstone-1.2.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bstone.spec ++++++
--- /var/tmp/diff_new_pack.FmxiyD/_old  2020-07-14 07:59:06.509754450 +0200
+++ /var/tmp/diff_new_pack.FmxiyD/_new  2020-07-14 07:59:06.513754463 +0200
@@ -18,7 +18,7 @@
 
 
 Name:           bstone
-Version:        1.2.7
+Version:        1.2.8
 Release:        0
 Summary:        A source port of Blake Stone
 License:        GPL-2.0-or-later

++++++ bstone-1.2.7.tar.gz -> bstone-1.2.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bstone-1.2.7/CHANGELOG.md 
new/bstone-1.2.8/CHANGELOG.md
--- old/bstone-1.2.7/CHANGELOG.md       2020-07-07 19:39:34.000000000 +0200
+++ new/bstone-1.2.8/CHANGELOG.md       2020-07-10 15:58:35.000000000 +0200
@@ -1,6 +1,11 @@
 # BStone changelog
 
 
+## [1.2.8] - 2020-07-10
+### Fixed
+- Disabled episodes 5 and 6 in static build.
+
+
 ## [1.2.7] - 2020-07-07
 ### Fixed
 - Extraction of compressed texts.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bstone-1.2.7/src/3d_menu.cpp 
new/bstone-1.2.8/src/3d_menu.cpp
--- old/bstone-1.2.7/src/3d_menu.cpp    2020-07-07 19:39:34.000000000 +0200
+++ new/bstone-1.2.8/src/3d_menu.cpp    2020-07-10 15:58:35.000000000 +0200
@@ -6203,4 +6203,13 @@
 {
        VL_FadeIn(0, 255, vgapal, 10);
 }
+
+void menu_enable_all_episodes()
+{
+       for (auto i = 1; i < 6; ++i)
+       {
+               NewEmenu[i].active = AT_ENABLED;
+               EpisodeSelect[i] = 1;
+       }
+}
 // BBi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bstone-1.2.7/src/3d_menu.h 
new/bstone-1.2.8/src/3d_menu.h
--- old/bstone-1.2.7/src/3d_menu.h      2020-07-07 19:39:34.000000000 +0200
+++ new/bstone-1.2.8/src/3d_menu.h      2020-07-10 15:58:35.000000000 +0200
@@ -169,5 +169,7 @@
 void CP_ViewScores(
        std::int16_t temp1);
 
+void menu_enable_all_episodes();
+
 
 #endif // BSTONE_3D_MENU_INCLUDED
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bstone-1.2.7/src/CMakeLists.txt 
new/bstone-1.2.8/src/CMakeLists.txt
--- old/bstone-1.2.7/src/CMakeLists.txt 2020-07-07 19:39:34.000000000 +0200
+++ new/bstone-1.2.8/src/CMakeLists.txt 2020-07-10 15:58:35.000000000 +0200
@@ -1,5 +1,5 @@
 cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
-project(bstone VERSION 1.2.7 LANGUAGES CXX)
+project(bstone VERSION 1.2.8 LANGUAGES CXX)
 
 
 #
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bstone-1.2.7/src/jm_free.cpp 
new/bstone-1.2.8/src/jm_free.cpp
--- old/bstone-1.2.7/src/jm_free.cpp    2020-07-07 19:39:34.000000000 +0200
+++ new/bstone-1.2.8/src/jm_free.cpp    2020-07-10 15:58:35.000000000 +0200
@@ -1227,21 +1227,13 @@
 
 // --------------------- Other general functions ------------------------
 
-extern CP_itemtype NewEmenu[];
-extern std::int16_t EpisodeSelect[];
-
-
 void CheckForEpisodes()
 {
        const auto& assets_info = AssetsInfo{};
 
        if (assets_info.is_aog_full())
        {
-               for (int i = 1; i < 6; ++i)
-               {
-                       NewEmenu[i].active = AT_ENABLED;
-                       EpisodeSelect[i] = 1;
-               }
+               menu_enable_all_episodes();
        }
 }
 


Reply via email to