Commit Graph

2234 Commits (1741e3e4d118ef952be93084d3d119f1fc6202b7)

Author SHA1 Message Date
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 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 44e73315e9 Add comment about strange color conversions also to CColorConverter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5116 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-11 10:04:48 +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 a5325964eb Do return references local statics instead of references to 0 in error cases (was undefined in c++).
Thx @floriang for reporting at http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=50877



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5112 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-30 21:49:29 +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 520f1f27cf Use %u instead of %d for unsigned integers in printf in a few places.
Found by VS code analysis.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5109 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-12 22:10:27 +00:00
cutealien 4919ac1926 Fix copy-paste bug in DDS image loader (could have caused problems in images where height > width).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5108 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-12 21:21:45 +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 89640518bf Tiny comment fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5105 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-27 20:23:56 +00:00
cutealien 8db0549ea7 Merge branch releases/1.8 revisions 5101:5103 into trunk:
- Fixed compilation issues with OSX SDK 10.10+


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5104 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-11 10:56:00 +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 6fc71dfd38 Remove compile warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5098 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-28 22:30:44 +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 a5911bc765 Fix compiling with _IRR_COMPILE_WITH_BURNINGSVIDEO_ disabled. Thx @SLC for reporting.
That dreadFun function looks rather suspiciously like some test which doesn't belong into Irrlicht anyway... 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5096 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-25 15:52:29 +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 1ba2963ee2 Cast away some warnings on 64-bit.
(checked ranges of available values - casts look fine there).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5093 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-17 13:17:24 +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 cc6cae2e68 - Fixed issue related to D3D9 device lost and broken blending. Thanks CuteAlien for report this bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5080 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-07 22:13:57 +00:00
nadro b99b829863 - Fixed issue related to D3D9 device lost and broken render targets. Thanks CuteAlien for report this bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5078 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-07 20:27:26 +00:00
nadro 9c337089f8 - Fixed issue with null pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5077 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-06 21:41:49 +00:00
cutealien d2169fc4a5 Add a new flag for controlling zbuffer writing to SMaterial.
In 4774 we tried fixing zwriting for shader materials as those are ignored in SMaterial::isTransparent.
This affected too many existing projects and made it hard to still write to zbuffer in some situations where it was necessary. So trying now another approach which brings back old functionality mostly, but allows users to have more fine-control with a new flag. Using an enum instead of bool for the new flag as it's foreseeable that more options might be necessary for this in the future.
Note: Several tests are currently failing, but they did that before, so that has to be debugged on it's own.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5076 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-06 15:20:06 +00:00
nadro b23954ebef - Fixed issue with simplified IVideoDriver::setRenderTarget method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5074 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-01 17:33:52 +00:00
cutealien a0e403fcdc Add setRenderTarget interface taking an ITexture back in as wrapper.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5073 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-01 11:01:19 +00:00
nadro ed12a085f3 - Removed old IVideoDriver::setRenderTarget method.
- Fixed OpenGL RTT.
- Fixed compilation issues in some unit tests.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5072 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-31 19:07:17 +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 36ffff0b7c Fix some warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5067 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-23 16:34:16 +00:00
cutealien 1eca00f330 Fix project filters for VS 2012 which didn't get updated in recent Irrlicht dead-wood cutting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5057 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 22:08:46 +00:00
cutealien 70bc36d37e Remove xbox project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5056 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 22:02:13 +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 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 a4bb55c839 Fix compiling burnings on non-windows systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5052 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:57:43 +00:00
cutealien ab00c9db09 Update minimal compiler support to Microsoft Visual Studio 9.0 and remove some workarounds for earlier versions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5051 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:34:55 +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
cutealien d07ee3de17 Fix compiling with _IRR_WCHAR_FILESYSTEM and UNICODE. Thanks @Foaly for report and bugfix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5045 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-26 18:12:41 +00:00
cutealien d352d8cf4f Fix compiling of DirectX 8.
NOTE: This is likely the last change to DX8 in trunk, as it's going to be removed now. Just wanted to get it working again before removing.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5044 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-25 21:45:49 +00:00
engineer_apple e9f4916ec6 XBOX classic WIP
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5042 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-12 00:00:23 +00:00
engineer_apple c416a800b7 enable joystick only on _IRR_COMPILE_WITH_JOYSTICK_EVENTS_
reason: compile error on win71+vs2013

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5041 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-11 23:58:22 +00:00
engineer_apple af48d4e056 fix:wrong software shader used for alpha-blending
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5040 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-11 23:50:38 +00:00
engineer_apple 05839bee51 correct mipmap generation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5039 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-11 18:51:46 +00:00
engineer_apple f56e7fb5b4 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5038 dfc29bdd-3216-0410-991c-e03cc46cb475 2015-02-11 18:50:24 +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