Commit Graph

1619 Commits (2f8b537d25bcf2038dc15ff94e3f007a0fa305b6)

Author SHA1 Message Date
hybrid 980aeffa6c Fix strange bugs when limits are wrongly set.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3611 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-19 15:23:17 +00:00
hybrid 6ab1996733 Fix rand value of radius to float value (range 0..1) instead of integer rand (which gives values up to some million). Bug found by tmyke
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3609 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-13 23:45:35 +00:00
hybrid 418b861827 Merge from 1.7 branch, revisions 3559-3607. Fixed for GUI clipping, PCX loader, and OSX project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3608 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-13 19:15:48 +00:00
hybrid e902058263 Support for Unicode SHY dynamic hyphen elements for better word wrapping of long lines. Patch provided by Auria
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3605 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-08 23:29:27 +00:00
hybrid e04a7b161b Fix OBJ reader which could run over end-of-file or line ends due to some minor bugs in the parser. Fix prepared by tonic
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3604 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-08 23:24:22 +00:00
cutealien a4dc43f581 Added IGUITable::getColumnWidth
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3603 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-06 16:23:51 +00:00
cutealien 884b7de39c Font removing still not working as it should, but at least should no longer crash when re-loading the same font and probably will re-load a font correctly now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3600 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-21 17:22:10 +00:00
hybrid ad3572a10c Fix change to new lock mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3599 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-20 12:26:33 +00:00
bitplane db10a745f2 Added struct packing in gcc to halflife loader, it didn't fix the bug though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3594 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-14 16:00:45 +00:00
bitplane c9a101c044 Fix valgrind complaints about uninitialized variables in RTL patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3592 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-11 08:13:52 +00:00
bitplane 128d1e8fe8 Fixed bug 3017433, billboard text node should generate stuff in OnAnimate, not OnRegisterSceneNode
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3591 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-06 04:49:26 +00:00
bitplane 62c41e4d3e Fixed a bug in the mount-point reader where directories were not added to the list of full file names, causing the list of names and full names to go out of sync. Bug ID 3103053, reported by maragnus
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3590 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-06 04:05:35 +00:00
hybrid a29b60d456 Fix lower case name of include file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3588 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 16:22:21 +00:00
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 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
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
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 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 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 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 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 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
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 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 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
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 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 0fc4c3e777 Avoid setting texture settings when no texture is active
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3496 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 00:01:52 +00:00
hybrid 68b6a2fd2a Fix ATI_draw_buffers support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3494 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-08 00:37:09 +00:00
hybrid 195c746018 Add driver attribute element for AntiAliasing level. This allows to check whether the driver has AA enabled, and which level.
Fix AA setup for OpenGL under windows, where the extension was missing and no error came up due to unsupported feature request. Now, the driver recognizes the missing support and properly sets AA to 0.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3491 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 17:58:11 +00:00
hybrid 884ede4efd Fix transformation matrices for OpenGL rendering after setRenderTarget.
Fix draw2DImage into RTT in BurningsVideo
Let ViewPorts unchanged if illegal viewport was given.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3490 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 16:21:43 +00:00
hybrid 014272f2c1 Fix the text scene node placing in viewports. The problem was, that the calculation took the absolute viewport dimension into account, while rendering into the viewport requires the screenwidth to be taken. Hence, the text was usually misplaced. The collision method can still be used for this mixed mode calculation (get screen coordinate during viewport rendering, use it for full screen rendering), but requires an additional parameter.
Software drivers don't support 2d rendering into viewports, so they still fail to properly position text (or other 2d things) into a viewport.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3489 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 15:22:58 +00:00
hybrid eff82803d3 The checkbox color seems to have changed. Please check if this was intended!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3488 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 15:23:49 +00:00
hybrid af86f53958 Avoid access to StencilBuffer if it is non-existent.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3487 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 14:02:07 +00:00
hybrid d1a4b28847 Avoid duplicated render state resets in 2d mode under OpenGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3486 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 13:54:10 +00:00
hybrid fbde0c7fc8 Fix mrt disabling, also avoid duplicated enabling for all rtts. Both affects only OpenGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3485 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 13:53:00 +00:00
hybrid e2fddfe5a6 Fix file search, bug found by Sylence
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3484 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-05 23:45:11 +00:00
hybrid e877b786c7 Patch by Auria, which allows to render text in gui static text elements over the element clip area. This makes handling of changing text simpler. As default, this feature is turned off.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3483 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-05 15:19:51 +00:00
hybrid 8b5ed2bc5f Change addShadowVolumeSceneNode to replace the current shadow completely. This allows to change the shadow parameters, such that a call to addShadowVolumeSceneNode will always result in the correct shadow. Note that redundant calls to this method will be quite expensive now, so avoid them.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3477 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-04 23:45:21 +00:00
cutealien ac1d878aac Add IGUIEnvironment::removeFont (requested regularly).
Note: Currently we still will have the font-texture for CGUIFont's in the cache afterward.
But that needs a more general mechanims that allows cleaning up textures easier when the last one has been removed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3465 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-02 22:14:44 +00:00
cutealien 7e20fd0d06 - Use SW_SHOWNORMAL instead of SW_SHOW in first ShowWindow (recommended by msdn)
- Fix problem that NULL device did steal focus away from other devices when created.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3461 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-25 10:53:45 +00:00
hybrid bdb55248e7 Fix mem leak found by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3460 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-25 09:33:02 +00:00
hybrid 2fe0df7686 Update opengl headers to OpenGL 4.1, add extensions to glext handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3459 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 23:50:02 +00:00
hybrid 4e586c7a9f Update to bzip2 1.0.6, libpng 1.4.4 and lzma from 9.20 SDK
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3458 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 22:30:16 +00:00
cutealien 1e69bb99bc Functions in IMeshCache expecting IAnimatedMesh* parameters removed as similar functions with IMesh* can be used since a while. Fixes also problems when IAnimatedMesh* got upcasted to IMesh*. (thx @ Greenya for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3457 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 21:28:15 +00:00
hybrid 22e391f814 Merged from 1.7 branch, revisions 3421-3447. Fix for Attributes, documentation fixes, disabled menu handling, treeview disabling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3448 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 22:57:26 +00:00
cutealien c9694ad3c5 Fix compile errors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3446 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 14:21:50 +00:00
hybrid 031838cbb8 Fix blend state propagation for MRTs to OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3445 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:36:30 +00:00
hybrid 8aa814a7c7 Add 64bit targets for msvc2010, supplied by Josh Brown
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3444 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:09:28 +00:00
hybrid 96f77300e2 Fix possible infinite loop due to testing an unsigned for >=0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3443 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:04:25 +00:00
cutealien 8b71ff58b4 The following functions will now use a "ISceneNode *" instead of a "const ISceneNode *":
ITriangleSelector::getSceneNodeForTriangle, ISceneNodeAnimatorCollisionResponse::getCollisionNode, ISceneCollisionManager::getCollisionPoint and ISceneCollisionManager::getCollisionResultPosition.
As collision functions often are followed by changing node positions users where so far forced to using const_casts (found by Greenya).
(This will lead once more to many post about correct getCollisionResultPosition usage, but can't be helped - those consts were too restricitive, sorry)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3442 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-21 00:23:09 +00:00
cutealien 43fa6a674f - ParticleFadeOutAffector::setFadeOutTime can no longer be set to invalid values
- ParticleFadeOutAffector uses now throughout u32 for fadeOutTime (found by greenya)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3439 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:45:45 +00:00
cutealien 90c021e123 - Add missing access function CParticleSystemSceneNode::getAffectors() (seen by B@z)
- Add missing setters/getters for particle emitters (seen by B@z)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3438 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:21:34 +00:00
cutealien 243356035d IGUITabControl::setActiveTab should only take IGUITab* and not IGUIElement* (thx to greenya for finding)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3434 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 23:52:23 +00:00
cutealien 3897efe381 - Add new skin-colors: EGDC_GRAY_WINDOW_SYMBOL, EGDC_EDITABLE, EGDC_GRAY_EDITABLE, EGDC_FOCUSED_EDITABLE
- Make sure disabled state is extended to sub-elements.
- Fix that icons in tabcontrol get also affected immediately by skin-changes
- Make disabled state for several elements more visible


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3433 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 23:36:13 +00:00
hybrid 61d232290f Fix cleanup in case of a failed visual creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3432 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 20:17:52 +00:00
cutealien 45752ab653 Bugfix: XML-Reader from ANSI->wchar_t should no longer mess up characters above 127
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3429 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-14 12:06:24 +00:00
cutealien 059af2899e Changing compile settings for VS10 in debug builds, now using: _ITERATOR_DEBUG_LEVEL=0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3428 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-14 09:18:04 +00:00
hybrid cc927f36c4 Fix method names of localtime for old MSVC versions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3427 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-08 08:27:33 +00:00
hybrid 2e5f0eebe4 Fix outdir setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3424 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:56:09 +00:00
hybrid d12a775318 Fix uninitialized member. Was working ok, but is still no good.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3423 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:28:01 +00:00
hybrid a72fe29f29 Avoid mipmaps by default, when rendering 2d elements
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3422 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:27:10 +00:00
hybrid 2db72f3aa9 Remove unused code fragment
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3421 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:24:32 +00:00
cutealien 4a5a8ef7f4 Bugfix: don't clear cursors in linux-device after the display has been closed already. Fixes crashes on application shutdown with more than one device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3418 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-19 21:11:39 +00:00
hybrid e12988e77a Fix collada loader bug, which tried to access non-existing textures. Found by Sylence.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3416 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-17 11:19:10 +00:00