From 5caf2b40453941898bf530d2e9690e5e5fc12ada Mon Sep 17 00:00:00 2001 From: hybrid Date: Thu, 8 Sep 2011 22:15:27 +0000 Subject: [PATCH] Merge from trunk, revisions 3831-3909. All fixes and additions from the last three month. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@3910 dfc29bdd-3216-0410-991c-e03cc46cb475 --- changes.txt | 45 +- .../16.Quake3MapShader/Quake3MapShader.cbp | 4 +- examples/23.SMeshHandling/SMeshHandling.cbp | 6 +- include/ESceneNodeTypes.h | 3 + include/ICameraSceneNode.h | 3 + include/IEventReceiver.h | 2 +- include/IGUIButton.h | 9 + include/IGUIComboBox.h | 6 + include/IGUIEditBox.h | 12 + include/IGUISpinBox.h | 1 + include/IGUIStaticText.h | 9 +- include/IParticleSystemSceneNode.h | 5 + include/ISceneManager.h | 2 +- include/ITimer.h | 5 - include/IrrlichtDevice.h | 17 + include/irrMap.h | 189 +- include/irrlicht.h | 1 + include/quaternion.h | 14 +- include/triangle3d.h | 26 +- include/vector2d.h | 2 +- include/vector3d.h | 20 + media/bigfont.png | Bin 21217 -> 21272 bytes source/Irrlicht/CAnimatedMeshMD2.cpp | 92 +- source/Irrlicht/CAnimatedMeshSceneNode.cpp | 18 +- source/Irrlicht/CBillboardSceneNode.cpp | 2 + source/Irrlicht/CColladaFileLoader.cpp | 50 +- source/Irrlicht/CColladaFileLoader.h | 9 +- source/Irrlicht/CColladaMeshWriter.cpp | 2004 +++++++++++++---- source/Irrlicht/CColladaMeshWriter.h | 115 +- source/Irrlicht/CD3D9Driver.cpp | 29 +- .../CDummyTransformationSceneNode.cpp | 19 + .../Irrlicht/CDummyTransformationSceneNode.h | 4 + source/Irrlicht/CFileSystem.cpp | 90 +- source/Irrlicht/CGUIButton.cpp | 20 +- source/Irrlicht/CGUIButton.h | 6 + source/Irrlicht/CGUIComboBox.cpp | 30 +- source/Irrlicht/CGUIComboBox.h | 7 + source/Irrlicht/CGUIEditBox.cpp | 178 +- source/Irrlicht/CGUIEditBox.h | 15 + source/Irrlicht/CGUIListBox.cpp | 2 +- source/Irrlicht/CGUIModalScreen.cpp | 9 +- source/Irrlicht/CGUIScrollBar.cpp | 2 +- source/Irrlicht/CGUISkin.cpp | 77 +- source/Irrlicht/CGUISpinBox.cpp | 11 +- source/Irrlicht/CGUISpinBox.h | 1 + source/Irrlicht/CGUIStaticText.cpp | 97 +- source/Irrlicht/CGUIStaticText.h | 7 +- source/Irrlicht/CGUITable.cpp | 2 +- source/Irrlicht/CGUITreeView.cpp | 2 +- source/Irrlicht/CIrrDeviceStub.cpp | 67 +- source/Irrlicht/CIrrDeviceStub.h | 11 + source/Irrlicht/COctreeSceneNode.cpp | 98 +- source/Irrlicht/CParticleSystemSceneNode.h | 6 +- source/Irrlicht/CSceneCollisionManager.cpp | 5 +- source/Irrlicht/CSceneManager.cpp | 2 +- source/Irrlicht/CSceneManager.h | 2 +- source/Irrlicht/CWaterSurfaceSceneNode.cpp | 12 +- source/Irrlicht/CZipReader.cpp | 14 +- source/Irrlicht/Irrlicht-gcc.cbp | 7 +- source/Irrlicht/Irrlicht10.0.vcxproj | 1 + source/Irrlicht/Irrlicht10.0.vcxproj.filters | 3 + source/Irrlicht/Makefile | 28 +- source/Irrlicht/os.cpp | 4 +- source/Irrlicht/os.h | 2 +- tests/2dmaterial.cpp | 470 ++-- tests/md2Animation.cpp | 85 +- tests/media/Burning's Video-md2Normals.png | Bin 0 -> 6405 bytes tests/screenshot.cpp | 2 +- tests/terrainSceneNode.cpp | 49 +- tests/testQuaternion.cpp | 43 +- tests/testUtils.h | 8 +- tests/triangle3d.cpp | 181 ++ tools/FileToHeader/FileToHeader.layout | 4 +- 73 files changed, 3264 insertions(+), 1119 deletions(-) create mode 100644 tests/media/Burning's Video-md2Normals.png diff --git a/changes.txt b/changes.txt index 17ce35e0..34eaedae 100644 --- a/changes.txt +++ b/changes.txt @@ -1,5 +1,27 @@ Changes in 1.8 (??.??.2011) + - Add IGUIComboBox::setMaxSelectionRows and IGUIComboBox::getMaxSelectionRows + + - Scenemanager switches from type ESNT_UNKNOWN to type ESNT_SCENE_MANAGER. + + - Add getActiveFont to all elements which have setOverrideFont for cleaner code + + - Add getOverrideFont to all elements which have setOverrideFont to have a consistent interface + + - IGUIEditBox: added missing serialization for Border + + - IGUIEditBox: remove bug that added spaces to the end of each line + + - IGUIEditBox: fix crash that happened when wordwrapping was enabled, spaces were entered beyond the border and then cursor-key was pressed. + + - IGUIEditBox::setDrawBackground added. + + - CGUISkin::draw3DSunkenPane no longer ignores fillBackGround in non-flat mode. Also borderlines are no longer drawn overlapping to avoid ugly corners. + + - CDummyTransformationSceneNode::clone() added. + + - IParticleSystemSceneNode::doParticleSystem now public to allow rendering outside scenegraph. + - Renamed IOSOperator::getOperationSystemVersion to getOperatingSystemVersion. Changed return type from wchar_t to core::stringc, as that's the internal representation the name is built on. - Added IGUITabControl::insertTab, IGUITabControl::removeTab, IGUITabControl::clear and IGUITabControl::getTabAt @@ -12,7 +34,7 @@ Changes in 1.8 (??.??.2011) - Added ISceneManager::createSceneNodeAnimator to create animators by name - - The Makefile now creates a symlink from the soname to the binary name during install. Binary compatibility is only confirmed between minor releases, so the only useful symlink is from libIrrlicht.so.1.8 to libIrrlicht.so.1.8.0; others should rightly fail. + - The Makefile now creates a symlink from the soname to the binary name during install. Binary compatibility is only confirmed between same minor releases. - Added SMF mesh loader, loads meshes from 3D World Studio. Originally written by Joseph Ellis @@ -266,6 +288,27 @@ The following names can be queried for the given types: ----------------------------- Changes in 1.7.3 (??.??.2011) + + - editbox no longer moves text into next line when it fails wrapping creating senseless empty lines which mess up scrolling. + + - Fix crash in editbox when scrolling up with empty first lines caused by textwrapping. + + - triangle3d::isPointInside can now work with larger integers, old version failed already with values in the 3-digit range. It got also faster. (thx @ Eigen for report + testcase and REDDemon for patch proposal). + + - Fix focus problem when removing an unfocused modal dialog reported by Reiko here: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=44358 + + - Add integer template specialization for vector3d::getSphericalCoordinateAngles which rounds angles to nearest integer now. + + - Recalculate FrameRect and ScrollPos in CGUIEditBox when AbsoluteRect gets changed (thx @ serengeor for report + testcase) + + - Fix 'k' in bigfont.png (thx @ Scrappi for reporting) + + - fix serialization for CBillboardSceneNode, it had missed 2 color (thx for finding + patch from pc0de) + + - EMIE_MOUSE_WHEEL messages now handled correctly in several gui-element when wheel isn't just 1.0 or -1.0 (thx @ Reiko for reporting) + + - Fix problems in Textwrapping in CGUIStaticText. Did use wrong size and did ignore last word of the text (thx @ Reiko for bugreport) + - Fix crash in collada (.dae) loading - Fix memory-leaks in example 22 MaterialViewer diff --git a/examples/16.Quake3MapShader/Quake3MapShader.cbp b/examples/16.Quake3MapShader/Quake3MapShader.cbp index 62a6ce80..0ed9bcb8 100644 --- a/examples/16.Quake3MapShader/Quake3MapShader.cbp +++ b/examples/16.Quake3MapShader/Quake3MapShader.cbp @@ -24,8 +24,8 @@