Enable changing the video settings in-game.

This commit is contained in:
Michael Thomas 2006-04-02 22:08:18 +00:00
commit ebb92ee3c3
2 changed files with 18 additions and 1 deletions

12
abe-1.1-settings.patch Normal file
View file

@ -0,0 +1,12 @@
diff -Naur --exclude '*.swp' abe-1.1/src/Menu.c abe-1.1.new/src/Menu.c
--- abe-1.1/src/Menu.c 2005-03-05 08:20:04.000000000 -0800
+++ abe-1.1.new/src/Menu.c 2006-04-02 15:04:37.000000000 -0700
@@ -116,7 +116,7 @@
if(n == SOUND_ENABLED || n == MUSIC_ENABLED)
return sound_loaded;
else
- return 0;
+ return 1;
}
void

View file

@ -1,6 +1,6 @@
Name: abe
Version: 1.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Scrolling, platform-jumping, ancient pyramid exploring game
Group: Amusements/Games
@ -8,6 +8,7 @@ License: GPL
URL: http://abe.sourceforge.net/
Source0: http://dl.sourceforge.net/abe/abe-1.1.tar.gz
Source1: %{name}.png
Patch0: abe-1.1-settings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: SDL-devel >= 1.2.3, SDL_mixer-devel >= 1.2.3
@ -19,6 +20,7 @@ vaguely in the style of similar games for the Commodore+4.
%prep
%setup -q
%patch -p1
%build
%configure --with-data-dir=%{_datadir}/%{name}
@ -63,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/pixmaps/*
%changelog
* Sun Apr 2 2006 Wart <wart@kobold.org> 1.1-2
- Enable changing the video settings (BZ #187589)
* Sat Mar 4 2006 Wart <wart@kobold.org> 1.1-1
- Update to 1.1