Changing version globally to v5.16.3, minor changes.
This commit is contained in:
parent
392882fb97
commit
276a9fd77f
|
@ -1,6 +1,6 @@
|
|||
package Rsaves;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -91,7 +91,6 @@ sub diff_boolean_flag_like {
|
|||
for ( my $i = 0 ; $i < scalar @$initial ; $i++ ) {
|
||||
my $flag_ini = $initial->[$i];
|
||||
my $flag_end = $final->[$i];
|
||||
say $i;
|
||||
if ( ( !!$flag_ini->{value} ) == ( !!$flag_end->{value} ) ) {
|
||||
next;
|
||||
}
|
||||
|
|
|
@ -137,6 +137,7 @@ sub offer_to_edit_the_new_file {
|
|||
});
|
||||
$confirm_button->signal_connect('clicked' => sub {
|
||||
$main_window->open_file($file);
|
||||
$main_window->focus();
|
||||
$confirm->close;
|
||||
});
|
||||
$confirm->set_titlebar(Gtk4::Label->new('Open the restored file'));
|
||||
|
|
|
@ -280,6 +280,11 @@ sub start_editing_file {
|
|||
|
||||
}
|
||||
|
||||
sub focus {
|
||||
my $self = shift;
|
||||
$self->_win->present();
|
||||
}
|
||||
|
||||
sub activate_about {
|
||||
my $about = Gtk4::AboutDialog->new;
|
||||
$about->set_program_name('GEmeTool');
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Firered::Flags;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Firered::Vars;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Global;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::MoveAttributes;
|
||||
|
||||
use v5.36.0;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
@ -364,7 +364,8 @@ $move_attributes->[$Rsaves::Constants::Global::MOVE_WATER_PULSE]{pp} = 20;
|
|||
$move_attributes->[$Rsaves::Constants::Global::MOVE_DOOM_DESIRE]{pp} = 5;
|
||||
$move_attributes->[$Rsaves::Constants::Global::MOVE_PSYCHO_BOOST]{pp} = 5;
|
||||
|
||||
sub get_move_attributes ($move_identifier) {
|
||||
sub get_move_attributes {
|
||||
my ($move_identifier) = @_;
|
||||
return $move_attributes->[$move_identifier];
|
||||
}
|
||||
our @EXPORT_OK = (qw/get_move_attributes/);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Ruby::Flags;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Ruby::Global;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.1;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package Rsaves::Constants::Ruby::Vars;
|
||||
|
||||
use v5.34.1;
|
||||
use v5.16.3;
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
|
Loading…
Reference in New Issue