Commit Graph

1881 Commits (d432f415a2c20b8125bf63518460d12659a545e8)

Author SHA1 Message Date
cutealien 5de816e573 - Avoid one call to OutputDebugStringA in logging (OutputDebugStringA got very slow when debugging since VS2010)
- Demote a few logging outputs in COBJMeshFileLoader from ELL_INFORMATION to ELL_DEBUG.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3918 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-13 10:57:06 +00:00
hybrid 5c67d339b4 Fix LZMA uncompression. Added test case to ensure proper decoding.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3914 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 23:38:59 +00:00
hybrid 480c284703 Add ARB_framebuffer_object extensions support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3913 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 14:43:00 +00:00
hybrid fa754dd47b Add normals recalculation in case it is missing in the ply file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3911 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 13:33:35 +00:00
hybrid afa978f2a5 Merge from 1.7 branch, revisions 3877-3908. Fix for getSphericalCoordinateAngles, some warnign fixes, md2 normal fix, several GUI fixes, isPointInside fix, zip endianess fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3909 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-08 21:50:10 +00:00
hybrid 5d7b7931e6 Fix rendering with only index buffers. Basically, this is now removed, because d3d seems not to support this. Hence we can only render with hw buffers, if both vertex and index buffers are enabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3908 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 17:04:10 +00:00
hybrid 65383f9fb9 Enable VBOs for water node.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3907 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 15:52:05 +00:00
hybrid 4486cee370 Thanks to Auria, this fix makes octree work with mixed lightmap meshes (i.e. meshes which mix meshbuffer types). Most b3d files do this, and now work properly with octree support. The fix is right now not perfect, because of incomplete tangent vertex creation in case this vertex type is also used. But fixing also this issue would mean a huge rework of the octree, which has to wait for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3906 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-07 07:31:53 +00:00
cutealien 62057f1ea2 CGUISpinBox range does now also use decimal places to avoid getting endless loops in setValue/verifyValueRange.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3902 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-09 14:34:25 +00:00
hybrid 5d5bbe11b7 Apply changes to fix issues with dynamic libs handling as suggested by mgiuca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3899 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-04 22:50:44 +00:00
cutealien ac15f6e1ee Change editbox colors once more.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3897 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-01 10:16:55 +00:00
cutealien 8a7245c103 Update Makefile documentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3895 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-29 14:57:59 +00:00
cutealien 9120aebe73 Add early-out in collision for empty selectors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3893 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-28 11:22:06 +00:00
cutealien 875abd25f3 Collada writer sets now set and input_set for TEXCOORD input and bind as some Collada tools want that (doesn't care yet about second UV-set, but also does not make it worse).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3892 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-27 10:03:11 +00:00
cutealien 471df3f0ab CSceneCollisionManager::getScreenCoordinatesFrom3DPosition uses now getCurrentRenderTargetSize instead of getScreenSize.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3891 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-26 14:29:56 +00:00
cutealien 8a6371c6ca Add serialization for CGUIComboBox::MaxSelectionRows
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3884 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-20 09:28:19 +00:00
cutealien 0d5d30acaf Add IGUIComboBox::setMaxSelectionRows and IGUIComboBox::getMaxSelectionRows
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3883 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-20 09:16:34 +00:00
cutealien 029b18658b Change editbox-colors to make them look similar to what we had in 1.7 (before background drawing had been fixed editboxes had used a mix of 5 different colors).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3882 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-13 21:35:55 +00:00
bitplane d6025d6362 Fixed a memory leak in CIrrDeviceStub, reported by Reiko
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3878 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-11 13:36:31 +00:00
cutealien 1e90e2d9b3 Merge revision 3848-3875 from 1.7 branch:
- EMIE_MOUSE_WHEEL messages now handled correctly in several gui-element when wheel isn't just 1.0 or -1.0
- Fix serialization for CBillboardSceneNode, it had missed 2 color
- Fix 'k' in bigfont.png
- Recalculate FrameRect and ScrollPos in CGUIEditBox when AbsoluteRect gets changed


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3876 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-07 21:56:31 +00:00
cutealien e373bc4cf4 Merged revision 3847 from 1.7 branch. Fix problems in textwrapping in CGUIStaticText. Did use wrong size and did ignore last word of the text. NOTE: this will need some more work now in trunk as trunk supports by now right-to-left text which probably needs similar fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3874 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-07 21:34:10 +00:00
cutealien 009a6bfc92 ColladaMeshWriter: switch y to (1-y) in UV's as Collada is right-handed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3870 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-30 11:10:08 +00:00
hybrid 1c495448f2 Getting onto a patch from an anonymous poster, I've added some else branches to avoid too large redundant code parts after unconditional returns. These might at least raise some unwanted warnings, though I don't know why an error would occur.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3869 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-27 08:37:56 +00:00
cutealien 4533956fab ColladaMeshWriter: Add light export. Meshname handling cleaned up.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3868 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-23 17:40:27 +00:00
cutealien 98b7d10ec9 Scenemanager switches from type ESNT_UNKNOWN to type ESNT_SCENE_MANAGER.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3867 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-23 12:55:31 +00:00
cutealien ffa921055e Fix compling on 64-bit. Remove warning. Add header to c::b project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3866 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-22 20:51:07 +00:00
cutealien 84291fd165 ColladMeshWriter: Unified functions in IColladaMeshWriterProperties some more. Can now export reflection and refraction and more flexible color-mapping (which means all effects can now be written). Also some fixed some schema-breaking when writing node-id's.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3865 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-22 19:49:14 +00:00
hybrid f64b0063a1 Add access and changeability to internal Randomizer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3864 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 22:02:18 +00:00
hybrid f331031395 Allow seed value in Randomizer::reset
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3863 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:58:59 +00:00
cutealien caac1b4505 - Add getActiveFont to all elements which have setOverrideFont for cleaner code
- Add getOverrideFont to all elements which have setOverrideFont to have a consistent interface


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3861 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:41:10 +00:00
cutealien f5a2be6e11 Oops, I did accidentally use 'auto' in Irrlicht code. Better wait until c++0x usage is a little more common ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3860 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 18:56:14 +00:00
cutealien 87f8637183 - add overloaded map::getValue which can return a reference
- simplified IColladaMeshWriterProperties interface
- ColladaMeshWriter can now write complete scenes as well as just writing single meshes.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3859 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 17:04:43 +00:00
cutealien 7d101163aa IGUIEditBox: Added setDrawBackground. Crash-fix with wordwrapping and spaces. Remove bug with spaces getting added to the end of each line. Add missing serialization for Border.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3857 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-20 20:36:07 +00:00
cutealien dd3ef0fdd7 CGUISkin::draw3DSunkenPane no longer ignores fillBackGround in non-flat mode. Also borderlines are no longer drawn overlapping to avoid ugly corners.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3856 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-19 22:52:18 +00:00
cutealien 3d930cba96 Add missing implementation for CDummyTransformationSceneNode::clone (thx @ Voxel for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3854 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 21:18:31 +00:00
cutealien 6d9fa7d053 Make IParticleSystemSceneNode::doParticleSystem public to allow rendering outside scenegraph.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3853 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 21:09:46 +00:00
cutealien 6296a1c1ff ColladaMeshWriter - add infrastructure to export transparent textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3851 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-15 15:28:02 +00:00
cutealien ac6e07f87d Make ColladaMeshWriter more flexible by giving user more control over several settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3850 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-15 10:47:42 +00:00
cutealien 71d1c79dc5 CFileSystem::getRelativeFilename:
- don't try to return relative filename to other partition on Windows (c:, d:)
- handle path with different upper/lowercase on Windows.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3844 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-10 11:15:45 +00:00
cutealien 35cca397b9 ColladaMeshWriter: switch to relative filenames for textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3842 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-09 20:15:03 +00:00
cutealien cd88467987 Ensure image names in ColladaMeshWriter conform to xs:NCName scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3841 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-09 19:35:50 +00:00
cutealien 596ae90bdb - ColladaFileLoader respects now namespaces in materials when searching for texture-images.
- ColladaMshWriter does now write texture-data as well.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3840 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-09 16:55:15 +00:00
hybrid 7b5fa07671 Merged revisions 3729-3829 from 1.7 branch. Fixed serialization of camera nodes, fix array::erase, fix mem leaks in example 22, fix interpolation in SColorf, fix crash in collada loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3830 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-09 06:45:29 +00:00
hybrid 24e069488e Fix axis swizzle which was broken since my last larger change of the HL mesh loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3829 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 23:36:15 +00:00
cutealien 21509dd2ef Avoid crash in .mdl loader on 64bit unix systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3824 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 15:31:48 +00:00
cutealien d79c51324e Fix color writing in ColladaMeshWriter (Collada needs floats not integers).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3822 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 10:17:59 +00:00
hybrid 68bbf21e64 Fix shader version calculation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3820 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 21:53:55 +00:00
hybrid b2f1c1ffd7 Fix attribute value for maximal lights. Add video driver feature flag for texture matrix support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3818 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 20:12:26 +00:00
cutealien dabb165279 Reworked collada exporter somewhat so it no longer breaks the xml schema:
- blinn attributes have to ordered on writing 
- there is no flow="OUT" in accessor - param so I removed it (maybe that was from an older collada version?)
- material-name is without #
- input attribute is called offset not idx 
Also a little cleanup to avoid redundant code.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3817 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 19:11:28 +00:00
hybrid 23bb72ab6a Properly add the fix sent in by balrog, was formerly only partially applied.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3810 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 20:32:07 +00:00
hybrid a959a76b0c Unify incompatible parameter types, mentioned by balrog
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3809 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 20:19:17 +00:00
hybrid 34d1b8b827 Some patches from balrog
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3808 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 19:13:47 +00:00
hybrid db42c16874 Only indentation changes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3780 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 21:34:40 +00:00
hybrid 3f697ffe81 Fix typo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3779 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 20:33:48 +00:00
hybrid a6e94cc3e9 Changed name and signature of getOperationSystemVersion, which is now correctly called getOperatingSystemVersion. Also changed the internal type and OSOperator creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3778 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 20:18:54 +00:00
hybrid 45914a477d Remove unused or elsewhere included libs from all targets
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3777 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:51:37 +00:00
hybrid edade62497 Some unicode fixes by Nalin et al.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3775 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:18:00 +00:00
hybrid 93764466ab Fix ifdef nesting. The linking against winmm was wrongly placed in an else branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3774 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 17:51:26 +00:00
cutealien 1869d1ec6c Added IGUITabControl::insertTab, IGUITabControl::removeTab, IGUITabControl::clear and IGUITabControl::getTabAt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3773 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 13:31:33 +00:00
cutealien 30cf180d28 Fix crash in CFileSystem::getRelativeFilename
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3771 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-31 12:22:06 +00:00
hybrid eba0f91834 Fix d3d9 adapter reference, found by yoran.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3769 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-30 15:15:58 +00:00
hybrid d245db3a98 Move sw driver render support methods out of cimage class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3767 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-29 00:04:41 +00:00
hybrid 0c7e433063 Fix mipmap overwriting after manually changing automatically generated mipmaps due to changing the base texture and triggering an auto update of the mipmaps. The auto update cannot be re-enabled afterwards for now, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3766 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-28 23:50:38 +00:00
hybrid 84eeb0e6de Added 32bit support to some more of the mesh manipulator methods. Unfortunately, the cloning methods (createXXX) will require huge code duplication, so I left them unchanged so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3765 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-28 22:54:07 +00:00
cutealien c77bc63189 Replace afxres.h by windows.h in Irrlicht.rc to allow compiling it with VS Express.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3763 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-27 10:22:10 +00:00
hybrid 9ce8dd8631 Fix issues with mipmap locking under OpenGL. For some reason, the texture was wrongly flipped, though correctly rendered. Test cases added and fixed for OpenGL driver, all others were correctly working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3760 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:52:02 +00:00
cutealien cbc8f22484 Sorry, outcommented GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB now as it crashes when set to true on 32-bit Linux and crashes when set to false on 64-bit Linux.
The error is always: "No doublebuffering available." followed by "Fatal error, could not get visual."


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3759 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:37:59 +00:00
cutealien 07a43cfcaa Add pointer-check for cursor before update to avoid crash when window generation failed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3758 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 19:42:57 +00:00
cutealien b5c52236f7 Change GUI-focus on TAB now after the active element got the TAB-key, so the element has a chance to prevent focus-changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3757 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 19:02:31 +00:00
cutealien 1f1df157de glxChooseFBConfig needs pair parameters, I think GLX_FRAMEBUFFER_SRGB initialization was probably meant to be as in this change (crashs otherwise).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3756 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 18:48:09 +00:00
hybrid 49be1f912b Fix image assignment which was lost in recent changes due to copy/paste problem
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3755 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 18:12:26 +00:00
hybrid d542ddaa7a Return 0 screenshot where targets are unsupported. D3D now supports automatic conversion to all basic color formats.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3753 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 22:28:15 +00:00
hybrid cae05e6a69 Fix segfaults in case the image is not created. Add test which simply checks which formats are supported for screenshots.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3752 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 16:39:47 +00:00
hybrid 8d6dd90997 Add proper format support for all possible color formats in screenshot method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3751 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 16:09:58 +00:00
hybrid 4eb8de5f01 Fix typo from recent changes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3750 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 11:47:48 +00:00
hybrid e78a326f2a Remove references to CImage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3749 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 10:53:20 +00:00
hybrid 3df56aee3b Remove references to CImage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3748 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 09:37:26 +00:00
hybrid 2fae98942d Remove some unneeded includes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3747 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 09:23:39 +00:00
hybrid 2603feb226 Fix color ordering
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3745 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-24 08:09:38 +00:00
hybrid 738b571e40 Change screenshot function to allow reading from other render targets as well. This is not yet fully implemented, just an API preparation for further features. Most drivers don't support the extra targets anyway. But it will be also possible to ask for different color formats, which should be possible on all drivers. Passing ECF_UNKNOWN will choose an optimal color format without the need of pixel value adaptions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3744 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-24 07:15:26 +00:00
hybrid 847e4cb038 Add proper unit for video memory output.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3739 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 22:00:55 +00:00
hybrid b1ddb0475d Fix render size update after render target change. Only happened with some render targets.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3737 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 21:29:13 +00:00
hybrid c889104aaf Add output about available video memory to d3d9 driver.
Allow changing zbuffer enable and write in 2d override material.
Introduce NO_CLIP hints to d3d9 and opengl driver for 2d mode. Since we clip all 2d operations manually, it should be safe to tell the driver to disable clipping here. Might help on slower machines and is generally suggested by the hw vendors. We might introduce a mesh flag for this as well in the future, in order to disable clipping for larger geometry as well.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3736 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 16:36:39 +00:00
hybrid 3e1e9eea34 Remove 2d render settings cache completely, as it didn't seem to speed up things, but only introduced complexity and failures. Speed up text rendering under dx again, just as before in OpenGL by skipping too many render state resets. Unified all three setRenderStates2DMode methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3734 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 14:25:30 +00:00
hybrid 1e0b237cc9 Fix cache handling for 2d setup settings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3733 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 11:47:41 +00:00
hybrid 369febf7cb Disable the linearize flag if no SRGB handling. It's probably not necessary then, only in very special cases. But I'm not really sure about this...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3732 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 21:35:44 +00:00
hybrid f7d337d317 Fix 64bit problem with dds loader, not yet tested, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3731 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:11:28 +00:00
hybrid 20c0d588a6 Remove redundant members which are now in Params.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3730 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:10:20 +00:00
hybrid 92f1299cd2 Add flag to enable sRGB correct color calculations (e.g. blend and lighting). This allows for much better color calculations, but requires to change the explicitly defined colors in the code to be converted to linear color space.
Changed many init routines to use SIrrlichtCreationParameters struct instead of many single parameters.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3729 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:07:13 +00:00
lukeph 65120d77b8 -Fixed bugs in new 'blend operation' code, the 'if' checks on EBO_NONE could never return true, so everything was set to blend
-Fixed performance bug in CTerrainSceneNode, noticed that preRenderLODCalculations() is ran every render, instead of just when LOD data is recalculated.
  This increases the frame-rate on 'Terrain Rendering Example 12' from 410fps to 1300fps on my machine.




git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3728 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 17:19:23 +00:00
hybrid 13793ac522 Merged from branch 1.7, revisions 3607-3725. Fix some compilation errors, fix soname in Linux Makefile, calculation fix in vector2d class, CGUIScrollBar event handling fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3726 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-18 21:32:00 +00:00
hybrid f80a8cd066 Fix png loader warning, also reordered transform calls such that only one test requires a late place after the read_update call. Added a test case which tests paletted png file loading and rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3725 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-17 17:48:06 +00:00
hybrid f1440ebbe2 Fix loading of paletted images and other special cases
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3724 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-16 07:29:43 +00:00
cutealien 4f990e2084 Added IGUIListBox::getItemAt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3723 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-15 22:07:31 +00:00
hybrid 52f84ab7e9 Change type for stored and passed lights array. In most situations, only the ISceneNode was used, and the type is not necessarily ILightSceneNode anyway. So generalize this interface and the storage arrays internally.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3722 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 16:46:20 +00:00
hybrid 667a64e566 Fix another const issue with the selector patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3721 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 15:19:19 +00:00
hybrid 0a18c65e90 Add proper compile time define for enabling usage of direct input joystick support (enabled by default)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3720 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-12 12:06:10 +00:00
hybrid 909ae75ff1 Fix debug messages in 3ds loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3719 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-11 10:11:05 +00:00
hybrid 2d3422d0d5 Add correct gamma handling to image loaders
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3718 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-11 10:07:38 +00:00
hybrid 5eaa187004 Fix constness issues of new getSelector method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3716 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-11 09:11:03 +00:00
hybrid 6c1777a8b6 Support relative filenames in serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3713 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:52:13 +00:00
hybrid d2aba0fc2d Fix parent setting in new irr scene loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3712 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:50:57 +00:00
hybrid 652aa8aec1 Enable relative texture names in material serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3711 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:50:08 +00:00
hybrid 29f591f3b0 Add support for relative texture names in atrributes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3710 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:47:49 +00:00
hybrid 07de425732 Support relative filenames in serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3709 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:42:24 +00:00
hybrid 649dfc93a1 Fix linker settings in vc9 project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3708 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-08 21:47:51 +00:00
hybrid 8a9d63615c Add triangle selector methods to get back single selectors from meta triangle selector. Submitted by LexManos
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3707 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-08 21:46:44 +00:00
hybrid e13d17c2e1 Fix linker settings for joystick stuff etc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3706 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-07 21:50:07 +00:00
hybrid 9fb936b1a6 Add support for DirectInput joystick handling. Thanks to axpnumtheory for the patch.
The code needs to be cleaned up a little more. But it seems to work properly and is the preferred solution according to MSDN. Both solutions will be kept in the code, the choice define will be moved to IrrCompileConfig later.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3705 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-06 23:22:30 +00:00
hybrid 24ffdaf20c Move joystick stuff into separate class
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3704 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-06 21:18:49 +00:00
hybrid 44c9d5393f Fix signed/unsigned warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3703 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 22:46:34 +00:00
hybrid c28f47bb3b Added scaling draw2dimage method to burnings video. This fix is based on code submission from Auria.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3701 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 14:25:34 +00:00
hybrid 8165f8447e Slight cleanup, bringing some things towards Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3696 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 21:39:15 +00:00
hybrid 2463db9b5a Fix count value to 0 if extension is unsupported or context is gone. Fixes a bug found by hendu.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3695 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 19:29:16 +00:00
hybrid 68f10e784d Check if low-level texture for RTT was created, otherwise return nullptr to signal failure in RTT creation. Thanks to stefbuet for pointing out this problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3693 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 23:02:57 +00:00
hybrid 7b4ef0e489 Fix setting of filter modes in mipmap cases.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3689 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 12:26:25 +00:00
hybrid 9b1953ab33 Minor fixes for array fixing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3688 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-29 22:43:30 +00:00
hybrid 56057e046e Fix regression, where very long words introduced an empty line
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3687 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-29 22:18:02 +00:00
hybrid f36090db01 Finally change d3d drivers over to the compact parameter passing version
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3683 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 15:49:16 +00:00
hybrid 430894045b Add new extensions (although unsupported) also to d3d8 driver, with nearest match to min/max blend.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3681 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:47:16 +00:00
hybrid 8173e66877 Another exotic extension, which can be emulated by the new AMD extension as well, but is mostly found on ancient SGI machines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3680 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:45:37 +00:00
hybrid 4424ffec5f Support new blend op from recent AMD extension. OpenGL/AMD only for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3679 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:32:37 +00:00
hybrid 1dd826dad5 Update ogl extension headers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3678 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 09:30:37 +00:00
hybrid 5d3424f579 Use new strtoul10 method where appropriate.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3675 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 22:32:47 +00:00
hybrid e1cd83c8b9 Use new strtoul10 method where appropriate.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3674 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 22:29:48 +00:00
hybrid 66649891ab Break text into lines after changing RTL setting. Avoid null pointer access if string is empty. Fixes sent in by Auria.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3668 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 20:33:57 +00:00
hybrid 20d2f925d1 Use advanced pixelformat chooser for more occasions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3667 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:42:25 +00:00
hybrid f0d8ef93a1 Add function for framebuffer checking
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3666 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:35:49 +00:00
hybrid cd8a7f1aff Unify ogl_extension defines across Linux and Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3665 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:15:45 +00:00
hybrid 579d213a3b rename methods to avoid the create prefix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3664 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:57:01 +00:00
hybrid efa59a497b rename methods to avoid the create prefix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3663 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:55:23 +00:00
hybrid dddac77a75 Add the actual blend equation support for MRTs to the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3662 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:27:49 +00:00
hybrid 8f2de7d521 Add blend equation function for MRTs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3661 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:26:26 +00:00
hybrid e5a7ecb684 Fix syntax error in Linux extension code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3658 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-23 11:03:59 +00:00
hybrid 1f5b75b0a5 Remove _IRR_DEBUG_BREAK_IF in checkFBOStatus to properly proceed without an RTT even in debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3657 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-22 13:18:11 +00:00
hybrid ad3f87b9a9 Remove WIP code. Went through because the other repository also has the declaration of this filed in other files...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3656 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-22 10:08:51 +00:00
hybrid c512692ad0 Fix initialisation of blend equation pointers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3654 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:21:36 +00:00
hybrid 8704030071 Add missing include file in project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3653 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:20:10 +00:00
hybrid 9499db5637 Add support for blend operation field.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3652 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:08:48 +00:00
hybrid c895c0e150 Add implementations for polygon offset in hw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3651 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:54:14 +00:00
hybrid 3eb6688f8c Move SMF loader into proper filter group
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3649 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:51:52 +00:00
hybrid c32eb9fcfe Fix redundant expression and make one variable const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3648 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:51:21 +00:00
hybrid ce755201e0 Fix empty line count.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3647 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:50:38 +00:00
hybrid b3552d3cb5 Remove stray whitespace
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3646 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:48:05 +00:00
cutealien 20b9be8f4b Reduce "Could not load sprite bank" error to ELL_DEBUG (not an error, loading isn't implemented anyway and it's wrong for #Defaultfont).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3644 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-19 11:01:50 +00:00
hybrid 99dbf71a68 According to MSDN, setting the ALPHAOP to disable while COLOROP is active leads to undefined behavior. So I cleaned up the material settings in d3d9 driver and hope that I got all things fixed again. Also inserted some helper functions to reduce the code in the renderers. Changed the alpha behavior of transparent_reflections_2layer (probably...) to match better with OpenGL and description.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3641 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 17:19:33 +00:00
hybrid 4581df2293 Change back previous revision, and order other way round, as that's the OpenGL default
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3640 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 17:06:13 +00:00
hybrid 114e92c88d Reorder texture stage assignments
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3639 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 15:23:57 +00:00
hybrid 7fdd163034 Combine the vsync setting functions into one common extension function. Also added support for more swap_interval methods on X11 systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3638 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 13:38:38 +00:00
hybrid 79b3cc2fe6 Move unused variables into out-commented areas.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3637 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 11:50:53 +00:00
hybrid ae0b10aa7b Fix signedness problem and avoid wrap around if too many triangles are found.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3636 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 11:44:24 +00:00
hybrid 89bafd1256 Fix usage of OpenGL driver with multiple device types compiled in.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3634 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 13:49:05 +00:00
hybrid 42c816b675 Avoid invalid array access if not enough texcoord data is provided.
Fix texture loading for materials with more than one texture.
Choose lightmap material if more than one texture is set in a material. Other material types have to be deduced from other things, not sure about this yet.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3633 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 12:55:39 +00:00
hybrid 3d14880c0d Fix createMeshCopy to apply the original materials to new copy as well, as pointed out by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3631 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-12 11:49:32 +00:00
hybrid b314794eb5 Make FeatureAvailable array accessible to material renderers
New glext.h extension header and one new extension added.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3629 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-30 11:54:39 +00:00
hybrid 9478732cc5 Fix naming scheme for occlusion queries. Since those are not to drop, but are stored in the driver and can be removed by the according removeOcclusionQuery call, the name should be addOcclusionQuery instead of createOcclusionQuery.
Added an example showing a very simple occlusion query setup.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3628 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 23:32:35 +00:00
hybrid 76794587fd Fix vertex color array when used together with VBOs and the vertex_array_bgra extension. Thanks to Auria for pointing out this issue.
Also fixed two warnings mentioned by him.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3627 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 15:33:20 +00:00
hybrid edf7c82eb4 Add framework target to OSX project. Thanks to Auria for providing this patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3626 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 15:07:20 +00:00
hybrid 4d7f18cdee Fix extension check changes also in drawVertexPrimitiveList
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3625 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 14:35:13 +00:00
hybrid ae6c49d287 Fix problem with new vertex_array_bgra extension on OSX. Thanks to Auria for online debugging this issue.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3624 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 14:11:09 +00:00
hybrid 6990bb1d82 Change bbox calculation, avoiding too large bboxes.
Clean up patch creation phase.
Change height map interpretation to lightness instead of luminance. It's faster and more natural for height maps.
Reordered structures to keep pointers at the top.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3623 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-24 00:46:20 +00:00
hybrid c84fd53f13 Fix HSL color class and conversions from/to RGB classes.
Fix Color selection dialog. It's now fully usable and gives correct results. The color display ring could be reworked.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3616 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 21:44:28 +00:00
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