Commit Graph

516 Commits (master)

Author SHA1 Message Date
nadro 453d24cf2e - Added TextureWrapW field to SMaterialLayer.
- Improved IRenderTarget::setTexture warnings.
- Minor improvements for textures in D3D9 and OpenGL drivers.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5241 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-10 20:37:54 +00:00
cutealien 1aba16d85b Do no longer re-calculate md2 frames when they don't change (thx @npc for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5227 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-28 11:37:41 +00:00
cutealien 6fd8d82d4c Add multibyteToWString wrapper functions around mbstowcs which work with Irrlicht string class.
I had to add a few forward declarations in core::string because I didn't want to add another source-file for this now. If anyone decides to create a irrString.cpp those can be removed again by making multibyteToWString extern instead of static (in VS it would already be possible to avoid them, but gcc does more exact checks for friend linkage specifiers).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5212 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-13 15:34:17 +00:00
cutealien cfa84f1683 Fix: addFileArchive now grab()'s the archive when you pass one in by pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5210 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-12 20:31:43 +00:00
cutealien f6623a32bf Fix: Prevent division by 0 in CGUIScrollBar::setPos
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5209 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-09 22:35:03 +00:00
cutealien 6027c8024b Add missing serialization to CSceneNodeAnimatorCameraFPS and CSceneNodeAnimatorCameraMaya.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5196 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-28 16:49:25 +00:00
cutealien bf7692d465 Merge branch releases/1.8 revisions 5188:5194 into trunk
- Fix serialization of the InputReceiverEnabled flag in CCameraSceneNode


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5195 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-28 13:12:39 +00:00
cutealien 45c550ba54 Fix: File-open dialog now restores the original locale after modifying it internally
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5189 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-23 13:02:57 +00:00
cutealien 013a268e2e Merge branch releases/1.8 revisions 5145:5187 into trunk:
- Fix pasting text from X11 applications to Irrlicht. Thanks @est31 for the patch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5188 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-21 12:25:59 +00:00
cutealien 016c81a9f3 Fix first calculation of the camerascenenode boundingsphere.
FarNearDistance had been used before it was set.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5171 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-08 13:17:13 +00:00
cutealien 1e65f32ea7 Fix bug with ignored opening brace in .X files with DeclData section. Thx @Alin for bugreport and patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5169 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-01 20:57:47 +00:00
nadro fface044dd - Rewritten OpenGL textures cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5154 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-16 15:48:40 +00:00
nadro 07a7d9ee2e - Added clear buffer flags.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5151 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-15 18:20:06 +00:00
cutealien 7f8604ca93 Merge branch releases/1.8 revisions 5140:5149 into trunk:
- Add warning in tests when stabilizing screenshots fails 
(Note - it still fails sometimes, just less now with trying to get a good screenshot)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5150 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-06 20:48:42 +00:00
cutealien b3ba72ab74 Merge branch releases/1.8 revisions 5129:5140 into trunk:
- Set the platform SDK for VS2010 and VS 2012 throughout to Windows7.1SDK
- Fix the fix for compiling on GCC5


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5141 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-20 11:19:26 +00:00
cutealien 19435a22f4 - Fix: CGUIImage no longer scales wrong when working with textures which don't have the original image size.
- Fix CSoftwareTexture2 calculation for OriginalSize of ITexture. It had returned the changed texture size instead of the original one.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5138 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-16 21:11:30 +00:00
cutealien 6e48dfe928 Merge branch releases/1.8 revisions 5125:5127 into trunk:
- Fix compiling with IRR_LINUX_XCURSOR_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5128 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 16:26:05 +00:00
cutealien d72189faf2 Merge branch releases/1.8 revisions 5121:5124 into trunk:
- Fix compiling with -DNO_IRR_COMPILE_WITH_LIBJPEG_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5125 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 14:48:50 +00:00
cutealien acd601edbc Merge branch releases/1.8 revisions 5104:5120 into trunk:
- Fix compiling on GCC5 on MinGW


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5121 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-26 21:04:11 +00:00
cutealien 125e73ef55 Fix skinned meshes not playing their last frame.
Also clarified animation documentation to describe current behavior more exactly.
CSkinnedMesh had returned the last key instead of the number of keys.
Thx to whoever mentioned to me once that our example dwarf is not playing his full animation in the meshviewer.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5118 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-13 21:29:09 +00:00
cutealien 6ac1f8d5db Add IWriteFile::flush interface (thx @ JLouisB for the patch).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5114 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-08 11:42:37 +00:00
cutealien fbd317496c CLightSceneNode::updateAbsolutePosition does now light recalculations. This is to fix using animators with lights.
Thx @chronologicaldot for report.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5111 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-29 00:15:02 +00:00
cutealien 6a3127c8de Fix Collada (dae) export for objects with rotations around more than 1 axis.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5107 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-05 15:03:09 +00:00
cutealien b0988a33a6 Add ISceneNodeAnimatorCameraMaya::setTargetMinDistance and getTargetMinDistance which allow to keep a distance to the zoom target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5106 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-04 08:52:33 +00:00
cutealien 50c2efb3e9 Merge branch releases/1.8 revisions 5000:5101 into trunk:
- Fix loading of .X and .B3D models with non-normalized quaternion rotations


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5102 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-05 17:05:38 +00:00
cutealien 9ee9422a1b Add override font to IGUITreeView (thx @Escen for reminder)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5100 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 19:46:32 +00:00
cutealien b37ff9f619 CGUIComboBox now updates selection-list when font changes while it's open (thx @ rubixcuber for bugreport)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5099 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 18:49:34 +00:00
cutealien e138121a1d CAnimatedMeshSceneNode::setMesh does now set the animation speed again to that of the mesh.
.x meshloader regards now AnimTicksPerSecond (thx @qian for a test-model and bugreport).
CAnimatedMeshSceneNode::setMesh had commented-out the setAnimationSpeed line in version r3526 which was about a joint-cache fix for skinned meshes. But there was no comment about why that line had to be removed or commented out, so my guess is that this was only a test (I hope). And it caused animation-speed values for the meshes to be ignored unless user specified it explicitly while animation range was still changed in setMesh.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5097 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-27 13:01:24 +00:00
cutealien e6c197fa87 Add b3d mesh-writer.
- Interface getMeshType moved from IAnimatedMesh up to IMesh.
- Static b3d mesh-writer written by Hendu, support for animated meshes added by JLouisB, testing and bugfixes by CuteAlien.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5095 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-23 18:11:52 +00:00
cutealien c6eec21cec Cameras return again an empty boundingbox (at 0,0,0) instead of returning the frustum boundingbox. Thx @robmar for reporting this.
You can still access the frustum boundingbox through the frustum itself.
Also CSceneCollisionManager collision functions ignore now empty collision boxes.
This means cameras no longer show up in the node-collision of the SceneCollisionManager.
Tests have been adapted correspondingly.
Note that this behavior was once before changed in Irrlicht (rev. 345). But it was one of many changes and there was no documentation or log-message about why anyone would like
the cameras to show up in node-collisions based on their frustum boundingbox. Without any hints about the why I decided to change it back as it's just confusing.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5094 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-19 19:55:07 +00:00
cutealien 3ef49054a8 Fix a problem in IrrlichtDevice::setResizable that caused window titlebars to hide occasionally under the taskbar in some systems (Ubuntu, Mint).
This was caused by quick calls to XUnmapWindow followed by XMapWindow which some WM's can't handle. 
Adding a long sleep call (~200ms) in between would have been a workaround, but looked ugly as the window is hidden in the meantime.
I found no reference in X11 documentation that unmapping is necessary for this, so I removed those calls now.
Changing the resize flags still works in my tests on Debian and Ubuntu. If it causes problems we have to switch to the ugly hack 
or get certain systems to repair their window managers.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5091 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-14 19:57:45 +00:00
nadro 538751d85c - Added new IRenderTarget interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5068 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-23 19:00:17 +00:00
cutealien ab330c1204 Replace the swprintf and snprintf defines by swprintf_irr and snprintf_irr to avoid conflicts with the standard libraries (and other libraries).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5055 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 22:00:17 +00:00
cutealien db604be111 Xbox support deprecated as we no longer have DirectX 8 now.
I kept the few places in code where the define is checked as those basically didn't matter.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5054 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 21:21:15 +00:00
cutealien 9eccabce40 Support for Direct3D 8 removed.
Missing people with interest in maintaining it. Anyone who still needs DX8 can branch the previous svn version or use Irrlicht 1.8.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5053 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 20:52:35 +00:00
cutealien 0cbb9112a3 _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX removed.
This was a bugfix for VS2003 (in combination with .NET) which we haven't supported in a while.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5050 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:12:12 +00:00
cutealien 2cec5282a8 Remove VS 2005 support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5049 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:01:40 +00:00
cutealien 5a73679b5e WinCE 6 supported removed. It's just too outdated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5047 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 16:52:10 +00:00
cutealien 1fa7e87f5e NVidia CG support removed due to lack of maintenance.
Note, I would have liked to get it compiling again a last time, but it was referring to a class which didn't exists, so I didn't know what to make of that.
NVidia has also stopped supporting this by the way.
No changes for MacOSX project files, so those still might have to be fixed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5046 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-28 20:11:40 +00:00
engineer_apple 15f4951ab6 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5043 dfc29bdd-3216-0410-991c-e03cc46cb475 2015-02-14 21:39:32 +00:00
cutealien 6011b4c01f Add a new core::rect constructor which takes a dimension parameter and set's left-top to 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5036 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-09 15:15:47 +00:00
cutealien c525b00fa2 mtl (obj) format reader and write now regards texture scaling and translation. (thx @thanhle for noticing and patch proposal).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5029 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-01-16 17:00:29 +00:00
nadro ae476a0dc3 - Updated changes.txt.
- Removed project files for Dev-C++ and Visual Studio 2008 and older.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5022 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-01-11 20:20:12 +00:00
cutealien cb81239938 Merge branch releases/1.8 revisions 4923:4997 into trunk:
- Fix compiling on Free BSD (thanks to leper for reporting and patch)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4998 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-12-17 14:18:21 +00:00
nadro 657fad2385 - Added ability to set custom depth/stencil texture for render targets (currently OpenGL only).
- Added new color formats: ECF_D16, ECF_D32, ECF_D24S8 (currently OpenGL only).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4984 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-11-07 21:34:14 +00:00
cutealien acff12d139 Can now enable/disable backround drawing for IGUITable and IGUIProfiler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4968 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-10-14 18:29:18 +00:00
cutealien 38fd003634 Bugfix: Cloning CBillboardSceneNode now copies colors and sizes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4940 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-21 14:56:22 +00:00
cutealien eca462706d Reverted r4918 (fullscreen window manager on Linux) as it has several problems on KDE which make it behave a lot worse than before.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4932 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-18 12:49:24 +00:00
cutealien c4988bdaaa EditBox works now with numpad on X11 (thx @Hendu for bureport).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4926 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-17 20:06:32 +00:00
cutealien f591a5acde Merge branch releases/1.8 revisions 4828:4923 into trunk:
- Fix bug with multiple SetPixelFormat calls.
- Fixed bug related to memory release in PNG image loader. Thanks elephoenix for it.
- Fix crash in CGUIListBox when users pressed end key folled by any other key in an empty, focused list box (thanks at porcus for report and patch).
- Fix use of enabling defines for wal2 (halflife) image loader. Thanks to hendu for noticing.
- Fix proper screenshot creation in test by inserting the stabilizeScreenBackground call.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4925 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-17 16:00:52 +00:00
nadro 33f25f5dc5 Updated changes.txt.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4923 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-16 18:27:08 +00:00
nadro 8406352417 Fixed issues with setViewPort method under OpenGL. (reported by anontypist)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4919 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-12 18:22:10 +00:00
nadro bca1bb2214 Added support for fullscreen window manager on linux. Patch provided by Deve.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4918 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-12 18:14:15 +00:00
cutealien d86763892c Fixed several selection, highlighting and clipping bugs in CGUITreeview (thx @ AReichl for the patch + test)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4910 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-08-16 11:11:33 +00:00
cutealien aa082cbb6e Removed DllMain from the static windows build (thx @ AReichl for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4904 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-07-17 21:14:23 +00:00
hybrid e85720d85f Commit readme about netwm patch by hendu.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4886 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-27 11:16:58 +00:00
cutealien b337ae06b7 ISceneNode::deserializeAttributes uses now old values for parameters which are not in the attributes (thx @entity for noticing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4872 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-05-15 17:01:24 +00:00
cutealien bb890274bc - Add interface for easier access to scrollbars for IGUIListBox, IGUITreeView and IGUITable
- Add IGUITable::getItemHeight


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4813 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-29 21:42:29 +00:00
cutealien bf42d8d61b Fix serializing colors as strings and add a general test for serializing attributes as strings.
Had been 2 bugs in CColorAttribute playing together:
First was that getString was not overloaded so it used the CNumbersAttribute values instead.
Second was that setString used the wrong check when it got a number-array string, so the fallback for those strings had failed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4812 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-29 15:59:53 +00:00
cutealien b551b18eba Fix IAttributes::setAttribute implementation for textures (did do nothing before).
Bug was caused by CTextureAttribute not overloading the setTexture function correctly.
(compiler warning about that now also gone - just had needed some time to figure out if it's a real bug)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4806 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-29 12:02:58 +00:00
nadro 9bad8de603 - Added separate blending support for both OpenGL and D3D9.
- Added blend factor to SMaterial.
- Improved transparent nodes handling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4794 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-25 01:19:38 +00:00
cutealien 1fa2ba2b61 Add a code profiler (stop-watch style).
- breaks MacOSX build for now (files need to be added there).
- Interface still needs to be discussed, so maybe wait a few days before using this.
- Not yet tested on Windows (will do that tomorrow)
- No VS project files yet for the profiling example (will do that tomorrow)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4791 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-24 22:52:10 +00:00
cutealien c695a21f33 Add override font to IGUITable
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4790 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-24 13:43:23 +00:00
cutealien f7583dc1f9 IGUITable can now disable the active column.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4788 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-23 23:09:25 +00:00
cutealien 5cbc0836d1 IGUIElement::getElementFromPoint now virtual.
Was needed because just having isPointInside virtual doesn't allow controlling sub-element behavior.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4787 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-23 23:00:48 +00:00
cutealien 6c6be32cea Merge branch releases/1.8 revisions 4779 to 4780 into trunk:
- Example 22 no longer select a random texture after loading a new texture (thanks at mongoose7 for reporting).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4781 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-18 12:58:36 +00:00
cutealien 9f4b70a123 Merge branch releases/1.8 revisions 4773 to 4778 into trunk:
- Fix bug in IGUISkin serialization which messed up serialization of the button-pressed offsets (Thanks at @Midnight for reporting).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4779 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-18 12:36:58 +00:00
nadro ea41a9146f - Remove force blending mechanism and improve blending handling in material renderers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4775 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-16 21:31:52 +00:00
cutealien ca6ff4b0fb Merge branch releases/1.8 revisions 4749 to 4772 into trunk:
- IGUIStaticText::getTextHeight returns now the correct height for texts with newlines even WordWrap is not set.
- Crashfix for CGUIEditBox. CGUIEditBox::setMultiLine must break text when changed or other functions like getTextDimension can crash afterward for strings with newline characters.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4773 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-11 16:10:05 +00:00
cutealien 322b1abef1 More behavior control for particles:
- ParticleSystemSceneNode does now affect the particle movement direction by default. Can be disabled to get old behavior.
- Allow interpolating postions which is useful when particles are attached to fast-moving nodes (to avoid regular patterns).
- Invisible behavior flags from check-in yesterday re-implemented with new general behavior flags.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4770 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-10 18:44:49 +00:00
cutealien ca6029b564 Allow more control over particle behavior when the ParticleSystemSceneNode is invisible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4769 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-09 17:59:05 +00:00
cutealien 7d8307b1da - ISceneNodeAnimators can now be disabled and paused.
- Moved StartTime in the ISceneNodeAnimators class instead of derived classes.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4767 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-08 14:39:11 +00:00
cutealien c0df3c33b0 Maya camera no longer get's stuck in "rotating" state when a mouse-up event is lost (thx @ JLouisB for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4762 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-06 10:33:42 +00:00
cutealien 7336c44751 Focus behavior of IGUIEnvironment now controllable (right-click focus, mouse-over focus). Disabled elements no longer get the focus unless users enforce it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4759 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-03 21:07:25 +00:00
cutealien 5b156c1dca Buttons can now now have 7 more image-states, 1 more sprite-state and the sprites are now scaleable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4756 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-02 21:05:39 +00:00
cutealien 50f43d5a3d Spritebanks can now draw scaled sprites.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4754 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-02 16:33:19 +00:00
cutealien fce2b8fdaf Merge branch releases/1.8 revisions 4722 to 4748 into trunk:
- CGUIEditBox and the GUI-Editor now convert pasted text correctly using mbstowcs.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4749 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-01 11:26:54 +00:00
cutealien c5f271b4fc Improved i18n key input for X11. Which means languages like cyrillic work now.
Japanese not yet, but we're even a little closer to that now.
Dead-key handling is not working. I just can't figure it out (X11 documentation and examples make me swear badly).
Users which have language input with dead-keys (like ^) will now have those characters always ignored.
Before it had just printed the characters but set a complete wrong key-code. So dead keys partly better, partly worse.
But this solution is going in the right direction. Either we figure out later why X11 doesn't handle dead-keys or we handle them ourselves.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4743 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-28 17:30:54 +00:00
cutealien 6025e9026c Fix bug that ListBox would not allow to 'tab' to the next element (thx @ FlavourBoat for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4741 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 18:51:19 +00:00
cutealien be8b58503a IGUIEnvironment::getNextElement now public (was only in CGUIEnvironment before).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4737 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 16:42:24 +00:00
cutealien 2c9d9abd57 - Add an overwrite mode to editbox. This is patch #275 provided by Adam (aka kingadami)
https://sourceforge.net/p/irrlicht/patches/275/


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4736 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 00:14:17 +00:00
cutealien ff7eee0801 Add IGUIImages::setDrawBounds/getDrawBounds to allow coding stuff like progress bars.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4734 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 23:28:01 +00:00
cutealien d2d6088917 Add IGUIImages::setSourceRect/getSourceRect to allow using only parts of an image (can also be used to mirror and scroll them).
Thx @Nalin and @StarSonata who both proposed patches for this in the past.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4730 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 13:42:08 +00:00
cutealien 008f14bcdf - Collada dae-loader now set's the vertex colors (thx @sf17k for report and test-models)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4727 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 21:08:54 +00:00
cutealien 0dbead2597 Change the rest of the attributes interfaces to pass parameters by const ref instead of per value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4726 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 20:49:02 +00:00
cutealien 5ee9c208b4 Ensure vector3df and all classes containing a vector3df are passed by reference instead of per value. Thanks @Danyal Zia for the patch (#280).
This is breaking the IAttributes interface - so anyone who derived from that will have to update his implementation. More changes in that interface probably coming later today.
The idea behind the patch is preparing the engine for SSE support.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4725 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 20:14:32 +00:00
cutealien 3401273272 Fix c::b project obj folder names. Some static builds had used the shared folders (thx @ gerdb for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4723 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 23:18:00 +00:00
cutealien bd0b92996e Merge branch releases/1.8 revisions 4685 to 4721 into trunk:
- C::B project files work again on newer Linux-distributions which have cleaned up their dev-lib dependencies.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4722 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 23:07:59 +00:00
cutealien a969bed775 Add some changes I forgot to the changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4709 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 16:08:51 +00:00
cutealien f763315a9b Improve documentation for new texture-loader interface and mention that the old solutions are deprecated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4707 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 13:57:08 +00:00
cutealien bbc215fdc5 Add IMeshTextureLoader interface and replace texture-loading algorithms in most meshloaders.
Previously each meshloader had implemented texture loading independendly. This had caused a lot of redundant codes and behaviour 
between different meshloaders was often different. So we have now one common interface which should be used by all meshloaders.
This also allows deprecating TEXTURE_PATH attributes as those paths can now be set by that interface and for all meshloaders using it.
I have replaced the codes for the 3DS, B3D, CSM, Collada, DMF, LMTS, LWO, MY3D, OBJ, OCT, Ogre, SMF and X meshloader.
Not changed (just using old code) are: MS3D (I forgot that one), CIrrMeshFileLoader (haven't figured out how it works yet).
STL and PLY both don't load textures and need no changes.
MDL, MD3, MD2 and BSP all work a little different (the textureloading there isn't implemented inside the meshloaders). Those could maybe still be adapted.
Stuff still needs a lot more test (unfortunately I don't have test-models for most formats...), but wanted to check it in already to get some feedback.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4703 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-02 00:56:46 +00:00
cutealien eadd14e3cd - CGUICheckBox no longer gives up focus on EMIE_LMOUSE_LEFT_UP (thx @Demre for reporting http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=49598)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4696 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-19 10:43:03 +00:00
cutealien ee19b6b5e8 Bugfix: IGUIElement::addChild now prevents setting an element as it's own child (fixes for example a crash in the GUI-editor).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4694 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-18 12:02:22 +00:00
cutealien e5febe10a7 Merge branch releases/1.8 versions 4616 to 4684:
- Makefile for the new IrrFontTool links now correctly to libfontconfig


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4685 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 12:39:00 +00:00
cutealien 0b89236739 update changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4683 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:19:10 +00:00
cutealien 0b58a6d5d4 Add ISceneNodeAnimator::setStartTime/getStartTime to allow resetting movement animators. This should work for:
CSceneNodeAnimatorFlyStraight, CSceneNodeAnimatorFlyCircle, CSceneNodeAnimatorFollowSpline, CSceneNodeAnimatorTexture.
It's also implemented for CSceneNodeAnimatorRotation, but that one currently resets the StartTime constantly (I don't think 
it has to, but I have no tests written for animators currently so can't change that for now).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4675 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-03 11:58:28 +00:00
cutealien cc2b3716b7 Improve speed for finalizing skinned meshes (removal of unnecessary frames after loading) (thx @ichtyander for the testmodel)
Down from ~20 seconds to ~0,5 seconds :-)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4622 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-03 18:25:53 +00:00
hybrid e0c819b1c1 Merged updates from 1.8.1 release to trunk, revisions 4579-4615.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4616 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-11-28 10:37:09 +00:00
cutealien d8c108d84d Collada loader now instantiates camera nodes which had been ignore so far (thx @NemoStein for the test .dae)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4602 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-11-05 20:04:07 +00:00
cutealien 80512c8385 line2d::intersectWith has a new parameter to allow ignoring intersections with coincident lines
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4586 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-10-16 16:56:13 +00:00
cutealien b09c2a5c2d vector2d::equals now has an tolerance parameter for passing the epsilon (like vector3d has already). Note that this changes the default behavior of vector2d::equals as well as functions using it like the operators for ==, !=, <, >, <=, >= when using vector2d with f64 as the tolerance is increased in that case (for f32 and integer values it shouldn't make any difference).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4584 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-10-08 14:25:13 +00:00
cutealien 70ba312721 Merged revision 4534-4578 from 1.8 branch:
- Fix crash in SoftwareDriver2 when Material was EMT_DETAIL_MAP but texture[1] was not set (Thanks for fix by chronologicaldot)
- Fix issue in CAnimatedMeshSceneNode::clone which cause crash. (reported and fixed by luthyr)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4579 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-08-25 16:14:31 +00:00
cutealien 2e85c10a6a Force CRLF for changes.txt (currently having troubles with svn lineendings)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4578 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-08-25 12:46:40 +00:00
nadro a886744192 - Updated changes text file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4564 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-07-22 20:36:35 +00:00
hybrid 5de4ef87f6 Merged from 1.8 branch, revisions 4393-4484: Compiler issues with certain compilers fixed, localtime bug under windows7 fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4485 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-27 13:43:52 +00:00
cutealien 695abde41d IGUIEnvironment::hasFocus has now a parameter checkSubElements as subelements are usually seen as part of an element. Default unfortunately must be false due to backward compatibility.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4465 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-05 12:32:54 +00:00
cutealien 2659619e1a Add IGUIElement::isTrulyVisible which works like ISceneNode::isTrulyVisible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4462 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-02-27 14:47:26 +00:00
nadro b4c3fa138f - Updated "changes.txt".
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4451 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-26 02:32:16 +00:00
cutealien 3a40f567cf Add function ISceneNode::getTransformedBoundingBoxEdges.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4446 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-17 20:03:52 +00:00
cutealien 1096511f49 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4437 dfc29bdd-3216-0410-991c-e03cc46cb475 2013-01-15 22:24:00 +00:00
cutealien 9736e456db - In IGUICheckBox add: setDrawBackground, isDrawBackgroundEnabled, setDrawBorder, isDrawBorderEnabled
- Some minor function re-ordering in IGUIStaticText


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4433 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-08 18:01:39 +00:00
cutealien ae541ffaf4 - IGUISpinBox now passes on the EGET_BUTTON_CLICKED, EGET_EDITBOX_CHANGED and EGET_EDITBOX_ENTER events from it's sub-elements.
- IGUISpinBox no longer validates values after each character type but only on KEY_ENTER and when losing focus. New behavior can be set with IGUISpinBox::setValidateOn

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4428 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-04 14:35:28 +00:00
cutealien c2d2390e9e IAttributes::getAttributeAs functions now can have a customizable default-parameter to return when attributeName is not found. This makes it easier to work correctly with old serialized data when adding new variables. Also it would probably be worth it passing generally in all serialization the old value as default-parameter, then it can handle missing serialization data as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4427 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-04 12:52:47 +00:00
nadro ba95913a1a - Added next optimizations to OpenGL driver related to blending, alpha testing and cull facing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4426 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-03 19:28:50 +00:00
cutealien 433445cdc2 Add a LeakHunter class which can be enabled with compile-flag _IRR_COMPILE_WITH_LEAK_HUNTER_ to find leaking IReferenceCounted objects.
Will break OSX compiling for now as that project file is not yet updated. I hope other project files are all fixed correctly.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4425 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-03 17:24:30 +00:00
cutealien 15bd95977a Add _IRR_COMPILE_WITH_XML_ define to allow compiling Irrlicht without xml (patch written by curaga)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4423 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-02 23:13:21 +00:00
cutealien ac75fdd5fd - Add functions to set/get cursor character and blinktime to IGUIEditBox
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4418 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-12-30 23:37:10 +00:00
cutealien 7afcfbd12c Calculating values for orthonormal camera on Collada export. Note that I have found no tool yet which can load them, so I have no test so far (CColladaFileLoader also ignores existence of orthographic cameras so far). But the old export was definitely wrong while the new solution should at least work in theory.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4409 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-12-19 12:11:52 +00:00
cutealien 06193571c1 Collada exporter now exports the camera matrix as "lookAt" values. The problem with rotations was that the camera disregards the up-vector in rotations (also using lookAT is probably nicer anyway for cameras). This should likely also be fixed in the camera code. But there's more trouble it seems as for example projection matrix changes also don't register in the near/far values. I've just added a todo there in the Collada export. Meaning that orthographic camera export is still broken (still experimenting how to fix that best).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4407 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-12-18 19:10:28 +00:00
cutealien d8611d8279 Add IColladaMeshWriter::findGeometryNameForNode
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4402 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-12-14 18:26:49 +00:00
cutealien d5f166fd70 Merging 1.8 branch:
- r4389: Fix crashes in CCubeSceneNode::clone and CSphereSceneNode::clone (reported by  marsupial)
- r4387/r4390: fixed getDepthFunction in IQ3Shader which always returned ECFN_EQUAL due to missing break (found by the cppcheck tool)
- r4382: Fix the clipping in the listbox drawing which was only showing the right line of the sunken pane (reported by Mloren and Abraxas).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4391 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-12-03 20:47:54 +00:00
cutealien 1965979541 Add getters IGUIButton::isDrawBorderEnabled and IGUIButton::isDrawBackgroundEnabled
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4384 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-26 16:23:58 +00:00
hybrid ae25bdf202 Merged from 1.8 branch, revisions 4345-4378. All release fixes since the branch to 1.8, and some fixes after that. Now commencing development on this branch, and only bug fixes on the others.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4379 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-20 18:31:33 +00:00
cutealien 5a265656cc Fix compiling with _IRR_WCHAR_FILESYSTEM on MinGW. Thx @ alexzk for reporting. Note that I tested this with gcc 4.7.0 and only compiling is tested.
Also added some documentation that UNICODE must be set as well for compiling with _IRR_WCHAR_FILESYSTEM ('cause I always forget to set that at first otherwise...).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4322 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-03 10:51:20 +00:00
hybrid 0a2330890a Bump copyright to 2012
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4320 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 23:38:54 +00:00
cutealien a87bb3a063 - Fix a bunch of off-by one errors in irr::core::string in functions equals_substring_ignore_case, findFirst, findFirstChar, findNext, findLast, findLastChar, replace, remove and removeChars. This prevents some potential memory access errors, find functions no longer try to find the \0, replace no longer replaces the \0 and remove no longer tries to remove it (which did remove the last character instead).
- Fix a few new warnings in gcc.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4308 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-06 19:49:45 +00:00
cutealien a83a87594a Replacing matrix4::setRotationRadiansLH and setRotationRadiansRH by setRotationRadians. Old functions had left handed and right handed just the wrong way round and contained an additional bug that did lead to wrong rotations (mixing up y,z). A single function for this is enough (people can just flip the axis) and this way people who already used the old functions (which only got added in trunk) don't just get new behavior but some compile error. Thanks to Randajad for finding the error with the wrong results, giving a testcase and insisting that there's really a bug when I didn't see it on first try :-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4295 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-20 11:22:05 +00:00
cutealien 26f44f6f48 quaternion conversions to and from matrix4 no longer invert rotations. Define IRR_TEST_BROKEN_QUATERNION_USE in quaternion.h allows compile-tests to find affected code (see changes.txt for more info). Loaders for b3d, ms3d, ogre and .X just use transposed matrixes now for downward compatibility - meaning if it worked before it still works - if it was broken before it's still broken. Same for CSkinnedMesh. For collada (.dae) loader this fixed previously wrong rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4276 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-14 19:12:49 +00:00
cutealien 41efacc9c1 - CGUIEnvironment::loadGui - loading a gui into a target-element no longer messes up when the gui-file contained guienvironment serialization.
- Improve IGUIEnvironment::loadGui documentation.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4272 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-11 18:23:23 +00:00
cutealien 7dc53232df - Colladawriter now exports materials per node when those are used in Irrlicht
- Colladawriter now writing matrices for node transformations as old solution did not work with CDummyTransformationSceneNode's.
- Colladawriter no longer create an extra node for the scenemanger as <visual_scene> has that job in Collada.
- Colladwriter no longer makes all Scenenodes children of ambient-light as that can be parallel on the same layer instead.
- Colladareader now creates the ambient-light correct instead of creating a point-light for it.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4267 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-03 16:13:41 +00:00
cutealien 2d13027a9c Add IAnimatedMeshSceneNode::getLoopMode (asked for by JLouisB)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4259 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-28 10:32:08 +00:00
cutealien d7b9290902 CSceneNodeAnimatorCameraFPS now resets the key-input when it was disabled (thx @ gerdb for reporting and patch-proposal)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4258 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-27 10:05:31 +00:00
cutealien b316f61dc9 Properly destroy OpenGL resources on linux (thx @curaga for the patch with id 3539332)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4257 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-24 20:25:36 +00:00
cutealien 2de64d5e6c Fix diplay bux in the attribute-panel of the GUIEditor. Fixes bug 3517314 (thx @Darkcoder for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4253 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 16:32:26 +00:00
cutealien d439c11f54 Unify spelling in documentation (color, behavior).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4252 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 12:49:43 +00:00
cutealien b52a040fe6 Allow caching cursor position on X11 to work around slow XQueryPointer calls. Resolves patch 3476712. Thanks @ hendu for reporting and patch-proposal. For more info: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=45525
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4251 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 12:25:32 +00:00
cutealien 614b6894f5 Update changes.txt.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4227 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-02 18:44:43 +00:00
cutealien 27879dd9a7 - User can now set characters used for decimal point in fast_atof for localisation.
- Update changes.txt

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4224 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-29 17:04:18 +00:00
cutealien d59ebca784 Add -fPic in c::b linux fast math shared build (found by teto).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4215 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 20:11:23 +00:00
cutealien c739925fbe Merge revisions 4188-4208 from release branch 1.7 into trunk:
- Update changes.txt 
- Change include order to get example 21 compiling on MinGW.
- Fix linker path in example 16 for C::B project file (linker path was in include path section). 
- Link with opengl32 and gdi32 in Example 14 in C::B. 
- Remove --no-export-all-symbols which got recently added to the windows build as that flag is not known by gcc on Windows. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4209 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 10:52:27 +00:00
hybrid 823bc87bfe Merge from 1.7 branch, revisions 4090-4187. Device fixes, serialization bug fix, some compilation warnings. Bug in color conversion fixed, and some demo fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4188 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-14 22:37:53 +00:00
cutealien 94968c4a8c Fix tests triangle3d:
- triangle3d::isPointInsideFast now using some epsilon to catch all points on the borders.
- triangle3d::getIntersectionOfPlaneWithLine calculates now with higher precision for more exact results.
- triangle3d::isOnSameSide (used by isPointInside) calculates now with higher precision and uses some epsilon to make it work with larger integers and less floating point troubles. Slightly slower now.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4183 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-11 15:24:38 +00:00
cutealien 833ad991dd - Add function equalsByUlp to test for spacing between floating point numbers.
- Allow difference of 1 ULP in fast_atof tests (as that is still correct). Note that this only fixes part of the fast_atof test, the whole tests still fails on 64-bit because test_strtol still fails (that looks more like a real bug).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4179 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-05 11:46:37 +00:00
cutealien a6602ef67d Speedup collada writing.
Speedup xml writing once more and describe how to get rid of the remaining major bottleneck (another time).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4177 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 18:21:01 +00:00
cutealien 176d607f7f cleaner solution for xml-writing speedup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4176 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 16:22:35 +00:00
cutealien ef6296a57b CFileSystem::removeFileArchive now checking for normalized path + corresponding test now evaluated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4136 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-16 16:44:13 +00:00
cutealien 128f5a14e9 Replace asserts in tests with new macro assert_log.
This is done to allow all tests running through even when one has a problem. Otherwise people just comment-out the asserts. The macro will log file, line and assert-test to the tests.log.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4126 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-03 21:27:22 +00:00
cutealien 1746799898 Documentation changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4120 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-26 20:53:56 +00:00
cutealien 4ae5949756 - line2d::getClosestPoint can now also get the closest point on the line additional to only checking for closest point on the line-segment.
- Avoid division by zero in line2d::getClosestPoint when start- and endpoint are identical.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4112 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-21 15:13:41 +00:00
cutealien b994e969ab - Fix font-loading which got broken by fixed xml-loading. Thanks @ pc0de for finding and providing a test and patch.
- Don't crash draw2DSpriteBatch when it get's no textures.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4109 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-19 10:40:55 +00:00