hybrid
af6caf86cb
Some changes towards the new shadow algos. Not yet fully changed, only adapted some interface changes and local improvements.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3948 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 22:26:26 +00:00
hybrid
d55550abb4
Only reindent and reorder
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3947 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 22:24:50 +00:00
cutealien
7f80317b90
Fix CBillboardTextSceneNode::OnAnimate to call base-class OnAnimate again (thanks at Erelas for bugreport+testcase).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3945 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-17 16:12:44 +00:00
cutealien
86c043ea52
All gui-elements now use "SColor" instead of "const SColor&" to unify interfaces somewhat (it doesn't really matter which way it's done - the only bad solution is doing it different in every second function). I don't dare changing the one occurrence of "const SColor&" in IGUISkin as skins are so often overloaded and so changing that would break too much user-code, will do that once IGUISkin is more seriously reworked. Sorry for anyone already overloading gui-elements IGUIEditBox, IGUIListBox, IGUIStaticText - you will have to change that as well. But I think in the long run it's better having this at least a little less inconsistent.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3941 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 17:35:47 +00:00
cutealien
cbdbf04487
Messed up last check-in somewhat. Now all getColor functions in statictext avoid const& (which is OK as SColor is just a long).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3940 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 16:58:15 +00:00
cutealien
e03bb4929f
Add getBackgroundColor, isDrawBackgroundEnabled and isDrawBorderEnabled to IGUIStaticText (thx 4 patch from Nalin).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3939 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 08:41:26 +00:00
hybrid
5a663375b4
Remove calls to getVideoDriver by direct member access. Found by REDDemon.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3936 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-08 11:40:27 +00:00
hybrid
9a6c5fc747
Add flag to avoid duplicated skinning in one frame for the same mesh and animation frame. Needs to be checked if all cases where a setting has changed and skinning needs to be applied, has been properly marked and resets the flag.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3934 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-06 14:43:47 +00:00
hybrid
fb9d9e0b42
Switch debug messages to ELL_DEBUG. Rename a helper function
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3933 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-04 23:17:34 +00:00
hybrid
29162bc2d4
Constification of statements. Add some bbox recalculations
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3932 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-04 23:05:05 +00:00
hybrid
c6a8682ce6
Update trunk with missing files from libpng, and copy pnglibconf.h from scripts directory.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3931 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-28 23:37:30 +00:00
hybrid
6ee5963381
Merge trunk with new versions of jpeglib and libpng
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3929 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-28 23:03:44 +00:00
hybrid
39e76d36d2
Fix mem leak found by gbox.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3921 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-18 21:20:25 +00:00
cutealien
f9b538f9ee
- Added ISceneNodeAnimatorCameraFPS::getKeyMap and a new ISceneNodeAnimatorCameraFPS::setKeyMap.
...
- CSceneNodeAnimatorCameraFPS uses now SKeyMap instead of SCamKeyMap (structs were identical which was confusing and there wasn't any explanation in comments, so I decided to simplify it).
- Add some workaround to MeshViewer to show how we can currently fix the FPS-cam when users to alt-tab while moving. We can improve that some day when we have focus-events, but this works for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3920 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-14 14:07:54 +00:00
hybrid
c40df30f9d
Update to latest headers and extensions from OpenGL
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3919 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-14 00:00:43 +00:00
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