Commit Graph

2184 Commits (dd3ef0fdd7b02378ae19dcb5c17e55fa07e30d9f)

Author SHA1 Message Date
hybrid cfe5161530 Fix pathname type to support unicode names. Fix by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3587 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 13:37:18 +00:00
bitplane 5ea3a40831 Added method to add an archive from an IReadFile pointer. Added FileToHeader, a tool for embedding a collection of IReadFiles into a user app. Described a way to make single file portable applications using it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3586 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 00:44:08 +00:00
hybrid 777ea0199c Adding a new flag and new text break for support of right-to-left text in StaticText elements. Patch from Auria and STK project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3585 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 23:15:11 +00:00
hybrid 658cc28240 Fix compilation with all skinned mesh loaders disabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3583 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:47:06 +00:00
hybrid f683efa7b0 Move some more variables into the loops.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3582 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:44:05 +00:00
hybrid b89b2978ba Make sure some win32 defines exist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3581 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:16:32 +00:00
hybrid 9bf2410e60 Compile guard for function which is only available for WindowsXP and later.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3580 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:07:48 +00:00
bitplane 7543da637a Added ISceneManager::createSceneNodeAnimator to create an animator by name, so scene loaders don't need to worry about how the animator factories are used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3579 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 06:56:26 +00:00
bitplane b25ed6a92f Fixed a bug introduced when reversing the order of the animators, fixed the Makefile so "make install" symlinks from the soname to the binary, removed an unused variable from HL loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3578 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 02:53:31 +00:00
bitplane d80141a60b Changed version number in makefile
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3577 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 01:53:20 +00:00
bitplane b49e5daa6d Add SMF mesh loader to easily editable projects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3576 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-01 14:27:02 +00:00
bitplane d9798dafe7 Added SMF loader, supporting 3D World Studio meshes. Originally written by Joseph Ellis
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3575 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-31 10:43:08 +00:00
bitplane d41aeab701 Moved some stuff out of IAnimatedMesh and back into CAnimatedMeshHalfLife where it should live
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3574 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-28 16:13:48 +00:00
hybrid 9024527eba Fix vc10 project to properly compile the scene loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3573 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-24 08:09:37 +00:00
bitplane 1cd81a4f89 Cause change event for EGET_EDITBOX_ENTER in spinbox, reported by ceyron
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3571 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 12:14:24 +00:00
bitplane fc4a65a579 Fix a crash when creating XMLWriter with bad file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3570 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 09:15:56 +00:00
bitplane bbf770a0b7 Fix a crash where the root element gets selected
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3569 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 09:15:16 +00:00
bitplane e451fa41c2 The loader selection process now consistently checks loader lists in reverse order, so new loaders added to Irrlicht override the internal ones. This applies when adding external mesh, image, scene and archive loaders, image writers, plus node, animator and GUI element factories.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3568 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 08:50:15 +00:00
bitplane 07bc66af6c Renamed ISceneLoader::isALoadableFileType to isALoadableFileFormat to match the archive and image loader interfaces. Added getters for mesh, scene and archive loaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3567 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 05:47:50 +00:00
bitplane 901dac358a Added scene loader interface and moved the .irr loading code out to CSceneLoaderIrr. In future can support scene formats properly rather than loading them as meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3566 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 20:12:17 +00:00
bitplane 6eaddbf1b9 Order the list of mesh loaders so that the least commonly used ones are at the bottom of the stack, may give a small performance boost when loading many models from a zip file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3565 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 15:34:06 +00:00
bitplane ff9e6edd8a Added getMesh docs for irrMesh, lwo, md3, mdl, ply and stl formats, plus some ISkinnedMesh info to the skinned mesh loader docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3564 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 14:48:19 +00:00
hybrid cd700608ca Add test case for getRotations which tests consecutive x rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3563 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 10:29:09 +00:00
hybrid fade354bcd Fix compilation without fbos.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3559 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:59:07 +00:00
hybrid c7d6ea0ecd Merge from 1.7 branch, revisions 3535:3557. MS3D optimization and changes update. Skipping date updates which have been made in this repository already.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3558 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:48:40 +00:00
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