Skip to content

Commit

Permalink
[1.5.1 Linux] Update MiniGL.
Browse files Browse the repository at this point in the history
  • Loading branch information
victords committed Apr 15, 2022
1 parent 0ac53ad commit 5822847
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'
ruby '>= 2.0'

gem 'gosu', '>=1.1.0'
gem 'minigl', '>= 2.3.7'
gem 'minigl', '2.3.7'
2 changes: 1 addition & 1 deletion bundle.rb
@@ -1,6 +1,6 @@
bundle = <<END
gem 'gosu', '>=1.1.0'
gem 'minigl', '>=2.3.5'
gem 'minigl', '2.3.7'
require 'minigl'
require 'fileutils'
Expand Down
2 changes: 1 addition & 1 deletion deb.sh
Expand Up @@ -3,4 +3,4 @@
ruby bundle.rb
mv sb.rb deb/opt/vds-games/super-bombinhas/
cp -r data deb/opt/vds-games/super-bombinhas/
dpkg -b deb super-bombinhas-1.5.0.deb
dpkg -b deb super-bombinhas-1.5.1.deb
2 changes: 1 addition & 1 deletion deb/DEBIAN/control
@@ -1,6 +1,6 @@
Package: super-bombinhas
Priority: optional
Version: 1.5.0
Version: 1.5.1
Architecture: all
Maintainer: Victor David Santos <victordavidsantos@gmail.com>
Installed-Size: 40496
Expand Down
8 changes: 4 additions & 4 deletions form.rb
Expand Up @@ -110,8 +110,8 @@ def initialize(y, text_id, back = false, x = 314, fixed_text = false, &action)
@sound = Res.sound(back ? :btn2 : :btn1)
end

def click
@action.call @params
private def perform_action
super
SB.play_sound @sound
end
end
Expand All @@ -124,8 +124,8 @@ def initialize(x, y, type, &action)
@sound = Res.sound :btn3
end

def click
@action.call @params
private def perform_action
super
SB.play_sound @sound
end
end
Expand Down
2 changes: 2 additions & 0 deletions game.rb
Expand Up @@ -15,6 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with Super Bombinhas. If not, see <https://www.gnu.org/licenses/>.

gem 'minigl', '2.3.7'

require 'rbconfig'
require 'gosu'
require_relative 'menu'
Expand Down
2 changes: 1 addition & 1 deletion menu.rb
Expand Up @@ -406,7 +406,7 @@ def draw
@clouds.each(&:draw)
@title.draw @form.cur_section_index == 1 ? 20 : 50, 20, 0, @form.cur_section_index == 1 ? 1 : 2, @form.cur_section_index == 1 ? 1 : 2
@form.draw
SB.font.draw_text("v1.5.0", 10, 579, 0, 1, 1, 0xff000000)
SB.font.draw_text("v1.5.1", 10, 579, 0, 1, 1, 0xff000000)
end
end
end

0 comments on commit 5822847

Please sign in to comment.