svn commit: r446702 - in head/games/openmw: . files
Tobias Kortkamp
tobik at FreeBSD.org
Wed Jul 26 23:03:59 UTC 2017
Author: tobik
Date: Wed Jul 26 23:03:57 2017
New Revision: 446702
URL: https://svnweb.freebsd.org/changeset/ports/446702
Log:
games/openmw: Update to 0.42.0
- Drop the gamecontrollerdb.txt patch since controller mappings cannot
be shared reliably between FreeBSD systems [1]
- Drop patch for inverting the joystick Y-axis based on the invert
mouse setting
Changes: https://github.com/OpenMW/openmw/releases/tag/openmw-0.42.0
PR: 218289 [1]
Deleted:
head/games/openmw/files/patch-files_gamecontrollerdb.txt
Modified:
head/games/openmw/Makefile
head/games/openmw/distinfo
head/games/openmw/files/patch-apps_openmw_mwinput_inputmanagerimp.cpp
Modified: head/games/openmw/Makefile
==============================================================================
--- head/games/openmw/Makefile Wed Jul 26 23:02:06 2017 (r446701)
+++ head/games/openmw/Makefile Wed Jul 26 23:03:57 2017 (r446702)
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= openmw
-PORTVERSION= 0.41.0
+PORTVERSION= 0.42.0
DISTVERSIONPREFIX= openmw-
-PORTREVISION= 7
CATEGORIES= games
MAINTAINER= tobik at FreeBSD.org
Modified: head/games/openmw/distinfo
==============================================================================
--- head/games/openmw/distinfo Wed Jul 26 23:02:06 2017 (r446701)
+++ head/games/openmw/distinfo Wed Jul 26 23:03:57 2017 (r446702)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482715659
-SHA256 (OpenMW-openmw-openmw-0.41.0_GH0.tar.gz) = a3e1c7d060dc461b9b63ceb5d9ec56b90c1bdcbfd37f0c7c7310c38ec7e3e21d
-SIZE (OpenMW-openmw-openmw-0.41.0_GH0.tar.gz) = 4884093
+TIMESTAMP = 1501104139
+SHA256 (OpenMW-openmw-openmw-0.42.0_GH0.tar.gz) = f133f7494182cc379cb77f0fb663d2f2d95560a199af8e78d58324da29d6c71a
+SIZE (OpenMW-openmw-openmw-0.42.0_GH0.tar.gz) = 4961643
Modified: head/games/openmw/files/patch-apps_openmw_mwinput_inputmanagerimp.cpp
==============================================================================
--- head/games/openmw/files/patch-apps_openmw_mwinput_inputmanagerimp.cpp Wed Jul 26 23:02:06 2017 (r446701)
+++ head/games/openmw/files/patch-apps_openmw_mwinput_inputmanagerimp.cpp Wed Jul 26 23:03:57 2017 (r446702)
@@ -1,6 +1,6 @@
---- apps/openmw/mwinput/inputmanagerimp.cpp.orig 2016-08-15 09:27:54 UTC
+--- apps/openmw/mwinput/inputmanagerimp.cpp.orig 2017-06-29 22:52:28 UTC
+++ apps/openmw/mwinput/inputmanagerimp.cpp
-@@ -119,11 +119,12 @@ namespace MWInput
+@@ -122,11 +122,12 @@ namespace MWInput
SDL_ControllerDeviceEvent evt;
evt.which = i;
controllerAdded(mFakeDeviceID, evt);
@@ -15,28 +15,3 @@
}
}
-@@ -389,6 +390,8 @@ namespace MWInput
- {
- float xAxis = mInputBinder->getChannel(A_MoveLeftRight)->getValue()*2.0f-1.0f;
- float yAxis = mInputBinder->getChannel(A_MoveForwardBackward)->getValue()*2.0f-1.0f;
-+ if (mInvertY)
-+ yAxis *= -1;
- float zAxis = mInputBinder->getChannel(A_LookUpDown)->getValue()*2.0f-1.0f;
- const MyGUI::IntSize& viewSize = MyGUI::RenderManager::getInstance().getViewSize();
-
-@@ -456,13 +459,13 @@ namespace MWInput
- {
- triedToMove = true;
- mPlayer->setAutoMove (false);
-- mPlayer->setForwardBackward (1);
-+ mPlayer->setForwardBackward (mInvertY ? -1 : 1);
- }
- else if (yAxis > .5)
- {
- triedToMove = true;
- mPlayer->setAutoMove (false);
-- mPlayer->setForwardBackward (-1);
-+ mPlayer->setForwardBackward (mInvertY ? 1 : -1);
- }
-
- else if(mPlayer->getAutoMove())
More information about the svn-ports-head
mailing list