-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Update irrlicht to latest dev version
Update android ogles irrlicht branch to latest version
- Loading branch information
Sapier
authored and
sapier
committed
Dec 30, 2015
1 parent
a6c4b37
commit f2bca11
Showing
6 changed files
with
49 additions
and
265 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- irrlicht.orig/source/Irrlicht/COGLESDriver.h 2015-12-13 17:46:54.541872125 +0100 | ||
+++ irrlicht/source/Irrlicht/COGLESDriver.h 2015-12-13 17:49:40.477866266 +0100 | ||
@@ -39,8 +39,8 @@ | ||
|
||
class COGLES1Driver : public CNullDriver, public IMaterialRendererServices, public COGLES1ExtensionHandler | ||
{ | ||
- friend COGLES1CacheHandler; | ||
- friend COGLES1Texture; | ||
+ friend class COGLCoreCacheHandler<COGLES1Driver, COGLES1Texture>; | ||
+ friend class COGLCoreTexture<COGLES1Driver>; | ||
|
||
public: | ||
//! constructor | ||
--- irrlicht.orig/source/Irrlicht/COGLES2Driver.h 2015-12-13 17:46:54.537872126 +0100 | ||
+++ irrlicht/source/Irrlicht/COGLES2Driver.h 2015-12-13 17:48:38.993868437 +0100 | ||
@@ -45,8 +45,8 @@ | ||
|
||
class COGLES2Driver : public CNullDriver, public IMaterialRendererServices, public COGLES2ExtensionHandler | ||
{ | ||
- friend COGLES2CacheHandler; | ||
- friend COGLES2Texture; | ||
+ friend class COGLCoreCacheHandler<COGLES2Driver, COGLES2Texture>; | ||
+ friend class COGLCoreTexture<COGLES2Driver>; | ||
|
||
public: | ||
//! constructor |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
--- irrlicht.orig/include/IEventReceiver.h 2014-06-03 19:43:50.433713133 +0200 | ||
+++ irrlicht/include/IEventReceiver.h 2014-06-03 19:44:36.993711489 +0200 | ||
@@ -375,6 +375,9 @@ | ||
// Y position of simple touch. | ||
s32 Y; | ||
|
||
+ // number of current touches | ||
+ s32 touchedCount; | ||
+ | ||
//! Type of touch event. | ||
ETOUCH_INPUT_EVENT Event; | ||
}; | ||
--- irrlicht.orig/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2014-06-03 19:43:50.505713130 +0200 | ||
+++ irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2014-06-03 19:45:37.265709359 +0200 | ||
@@ -315,6 +315,7 @@ | ||
--- irrlicht.orig/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2015-12-13 17:46:54.573872124 +0100 | ||
+++ irrlicht/source/Irrlicht/Android/CIrrDeviceAndroid.cpp 2015-12-13 17:58:05.981848417 +0100 | ||
@@ -372,6 +372,7 @@ | ||
event.TouchInput.ID = AMotionEvent_getPointerId(androidEvent, i); | ||
event.TouchInput.X = AMotionEvent_getX(androidEvent, i); | ||
event.TouchInput.Y = AMotionEvent_getY(androidEvent, i); | ||
+ event.TouchInput.touchedCount = AMotionEvent_getPointerCount(androidEvent); | ||
|
||
device->postEventFromUser(event); | ||
} | ||
@@ -326,6 +327,7 @@ | ||
@@ -383,6 +384,7 @@ | ||
event.TouchInput.ID = AMotionEvent_getPointerId(androidEvent, pointerIndex); | ||
event.TouchInput.X = AMotionEvent_getX(androidEvent, pointerIndex); | ||
event.TouchInput.Y = AMotionEvent_getY(androidEvent, pointerIndex); | ||
+ event.TouchInput.touchedCount = AMotionEvent_getPointerCount(androidEvent); | ||
|
||
device->postEventFromUser(event); | ||
} | ||
--- irrlicht.orig/include/IEventReceiver.h 2015-12-13 18:09:51.701823498 +0100 | ||
+++ irrlicht/include/IEventReceiver.h 2015-12-13 18:09:58.061823273 +0100 | ||
@@ -389,6 +389,9 @@ | ||
// Y position of simple touch. | ||
s32 Y; | ||
|
||
+ //! number of current touches | ||
+ s32 touchedCount; | ||
+ | ||
//! Type of touch event. | ||
ETOUCH_INPUT_EVENT Event; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters