1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/games/pinball/files/patch-src::EyeBehavior.cpp
Mark Linimon 2867c8f355 Update to 0.3.1. Changes:
* Menu disappear" and other bugs fixed.
 * Additions to the Tux-table.
 * Ogg files instead of midi files as midi had compability problems.
 * Some tools and bug fixes in table editor.

Also, mark as BROKEN for the Allegro case.  The website says that
the Allegro version is always a bit behind in development and has
more bugs than the SDL/OpenGL version; the maintainer adds that it's
just completely broken now.  If you're using Allegro, you will want
to avoid upgrading.

PR:		ports/60192
Submitted by:	Thierry Thomas <thierry@pompo.net> (maintainer)
2003-12-17 09:31:35 +00:00

19 lines
629 B
C++

--- src/EyeBehavior.cpp.orig Thu Nov 20 17:46:17 2003
+++ src/EyeBehavior.cpp Thu Dec 11 21:02:38 2003
@@ -56,6 +56,7 @@
EmAssert(table->getBall(2) != NULL, "Ball3 group NULL");
EmAssert(this->getParent() != NULL, "Parent group NULL");
+#if EM_USE_SDL
// shortcuts for changing view F1, F2, F2, F4 // now F5 F6 F7 F8
// I changed to F5 F6 F7 F8 to use the Alt+F4 quit shortcut //!rzr
if (Keyboard::isKeyDown(SDLK_F5)) {
@@ -67,6 +68,7 @@
} else if (Keyboard::isKeyDown(SDLK_F8)) {
Config::getInstance()->setView(3);
}
+#endif
// the nudge code is here ----------------
if (m_iNudgeTick < 1) {