Commit Graph

1959 Commits (5e4d495dcc08e6a2a060ecf60ef696f0b28e1499)

Author SHA1 Message Date
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
bitplane 34ccfb68d8 Renamed IGUIElement::bringToBack to sendToBack, like in Win32 SDK
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3554 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-12 19:48:13 +00:00
hybrid 2ed9d27731 Add all changes that I added over the last year or so ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3553 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-12 00:25:06 +00:00
cutealien f8655a2d5d Send EGET_ELEMENT_CLOSED event when context menues should be closed (thx @ Mloren for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3550 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-10 20:28:23 +00:00
hybrid 4d7a3a3ac8 Log what failed in the last render
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3549 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-08 16:48:46 +00:00
hybrid d21c24b15e Fix directory recognition in ZIP reader. Added tests for findFile with and without directories.
Fix warning message in CAnimatedMeshSceneNode
Change C-cast to reinterpret in CIrrDeviceLinux

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3548 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 23:55:58 +00:00
bitplane 316183d828 Oops, typo in GUIEditor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3547 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 19:00:13 +00:00
bitplane 67fdef56fb Extra file in GUI editor project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3546 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 18:48:41 +00:00
bitplane 4fc3ef98cd Added root GUI element type. Added tree view to GUI editor, from Armen
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3545 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 18:46:12 +00:00
hybrid 1ab25bd37b Fix reading zip files with incomplete local file headers. These require proper support for the central directory, which is now implemented. Thanks to hiker for supplying such a file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3544 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 16:33:15 +00:00
hybrid dc29ec07e8 Fix skinnedMesh test for current dwarf mesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3543 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 11:38:48 +00:00
hybrid 394aedad69 Fix scene files to reflect relative texture names, and disabled the according test until the texture deserialization is actually fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3542 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 11:13:59 +00:00
bitplane 37dce51ed5 Fixed scrollbars in GUI editor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3541 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 00:47:30 +00:00
hybrid 271754f497 Comment fixed
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3540 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 00:28:19 +00:00
hybrid 146d7c2613 Fix bone-vertex IDs to be correctly indexing into the global vertex array. Before, mixed mesh/bone sections broke the correct relation. Thanks to Auria for finding and fixing the bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3539 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 00:06:52 +00:00
hybrid 28dd252160 Add random number generator frand() for interval [0..1] which fixes many issues with current usage of rand() in the particle emitters. Thanks to vitek for the initial ideas, CuteAlien for the new method suggestions, and Auria for bringing this up again.
TODO: Test cases, which would need a public interface to this class first...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3538 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-06 17:13:40 +00:00
cutealien a8f35e0d0b Make sure we can link again without _IRR_COMPILE_WITH_SKINNED_MESH_SUPPORT_ (reported by Yoran)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3537 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-06 13:42:01 +00:00
hybrid fdcdf60e0b Add a test for proper file loading from archives, despite two files in the archive have the same name.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3536 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-05 18:09:58 +00:00
hybrid ad14e9c0f7 Add warning message if element size does not match size of read components.
Move debug messages into ELL_DEBUG space.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3535 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-04 17:41:04 +00:00
hybrid a8be8a8c02 Merge from 1.7 branch, revisions 3515-3533. createImage memleak fixed. TGA loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3534 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 22:38:16 +00:00
hybrid f1cc2dca01 Fix writeScene change in order to write the given node and its descendants, not only the list of children to the scene file.
Add support for loading a scene file as childs of a given node. This will ignore the scene attributes and load all nodes of the scene, storing them as children of a given parent node. The rest will stay as before, including the default behavior to load scene attributes and all nodes directly into the scene manager.
Test cases added for both methods loadScene and saveScene. In order to find a node in the example scene from tutorial 15 I have added a name and ID to one of the scene elements.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3532 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 17:54:10 +00:00
hybrid 080a2ebab3 Add support for saving only part of the scene into a .irr file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3531 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 14:38:51 +00:00
hybrid 2ac770878b Add version information to dll
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3530 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 12:26:37 +00:00
hybrid 16cf9f58b9 Add a method to get a relative filename, based on an given base directory.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3529 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 00:16:35 +00:00
hybrid 7e0decbdd2 Move debug log output to ELL_DEBUG type
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3528 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-01 19:06:45 +00:00
hybrid 263951a8b1 Fix doxygen comment
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3527 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-01 19:03:45 +00:00
hybrid 9f6d50804a Fix setMesh for skinned meshes, as reported by wing64. The joints cache was not updated, and hence the node reported and returned wrong joints.
Added support for resetting the transition time to 0.
Fixed some method names (correct camel case, create replaced by add, upper case fixed) in skinnedMesh.cpp

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3526 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-30 14:49:19 +00:00
hybrid 49fc81f564 Show debug messages (ELL_DEBUG) as default when compiled with debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3525 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-30 14:43:35 +00:00
hybrid ba5b899c62 Correct readme for mdl file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3524 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-29 15:57:48 +00:00
hybrid 149d9ec814 Fix OpenGL texture matrix setup, found by pc0de. Sorry for the inconvenience, was probably very late when I changed that code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3523 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 19:12:50 +00:00
hybrid 3d8dab6ae1 Add default values for createPlaneMesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3522 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 19:10:23 +00:00
hybrid 92892c4fd5 Fix result variable aggregation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3521 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 17:11:14 +00:00
cutealien 481f550313 Add some getters to IGUIImage: getImage, getColor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3520 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-27 20:33:56 +00:00
hybrid a204bb3543 Real fix for the MRT problem. Last time only parts of the problem were fixed. Now, all RTT states should be fixed again. Also, test results are commited and work for both drivers.
Also changed the FBODepthTexture implementation in that it will not create another FBO, but only the depth/stencil texture or renderbuffer.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3519 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-23 13:49:37 +00:00
hybrid 5acaa94c20 Fix MRT disabling under OpenGL. Thanks to wing64 for noting this error.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3518 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-23 12:00:49 +00:00
hybrid f70257d23b Fixed the reference images, which have changed due to the text position changes in the 1.7 branch. We are using long texts, hence an empty line had been added in the beginning. This was wrong and fixed in the 1.7 branch already. Now our test had to be fixed as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3516 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-21 16:28:37 +00:00
hybrid 1ad3c74407 Merge from 1.7 branch, revisions 3449-3513. createImage fixed. Many GUI fixes. Saved particles can be loaded again. Volume light, skydome and water scene node updates. Let hw mapping hint be loaded. D3D reset fix, now terrain scenes can resize screens again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3514 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-19 19:39:20 +00:00
cutealien 8f41c9bf9f Fix compiling on Linux (was just a namespace thing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3511 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-15 19:52:29 +00:00
hybrid d9c9de5158 Add a new texture lock mode for write-only access. The lock method has changed for this. Support is only implemented under OpenGL so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3510 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:32:54 +00:00
hybrid 54ff5773af Relax some test criteria
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3509 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:29:14 +00:00
hybrid c4b6a33726 Disabled the opengl test for reflection transparent material.
Fixed the reflection transparent material under OpenGL to use vertex alpha.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3507 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 23:04:13 +00:00
hybrid 91426a212c New test for filtering 2d renders through 2dmaterial.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3506 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 21:41:16 +00:00
cutealien 7988585f8c Improve docs for IGUIFileOpenDialog.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3505 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 18:30:41 +00:00
cutealien 16eabd0442 Make sure FileOpenDialog in example 21 is readable again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3504 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 16:54:18 +00:00
cutealien cee8c4fbb5 - Add function IParticleSystemSceneNode::clearParticles
- Speedup deleting of particles


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3503 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 16:46:47 +00:00
hybrid f6c17ba8b5 Relax some comparisons, due to low driver settings.
Fix rtt test, which failed on systems without fbo support.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3502 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 00:06:13 +00:00
hybrid 4eeafca144 Enable test for projection matrix. I have removed the projection matrix tweak from OpenGL driver, as it does not seem to have any effect. At least no good one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3501 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 17:11:30 +00:00
hybrid 6b18375616 Fix bug which showed up when RTT and text were used in the same scene. I have removed the old RTT checks in 2d methods, and placed a global fix for the texture matrix into the 2d mode setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3500 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 16:52:12 +00:00
hybrid 5fdbe503b5 Last updates for proper window closing after a test has run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3499 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 16:19:34 +00:00
hybrid cfd8e9412d Add a test which tries to reproduce a bug mentioned by REDDemon. Works correctly here, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3498 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 10:33:11 +00:00