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
hybrid
dde320c493
Remove destructor, it's already called by default this way.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3862 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-21 21:57:00 +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
hybrid
438baffc3e
Fix some warnings from recent gcc versions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3852 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-16 12:06:27 +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
hybrid
f22fe54680
Add another test for pixel exact 2d rendering
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3826 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 17:06:44 +00:00
hybrid
0c18bf9e8a
Add output to test macros
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3825 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 17:05:49 +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
hybrid
87aae4f760
Relax screenshot test for loaded scene. Due to the animator start the scene looks different each time.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3823 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-08 11:58:44 +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
606168737c
Debugged the quat test. Was just a float inaccuracy. Fixed now by using a less picky test.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3821 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 22:11:08 +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
3f47f80798
Added two macros to call tests for all drivers, or for all hw drivers, with just one call.
...
Added tests to check whether the driver supports the necessary features, and stop early if it does not make sense.
Fixed line endings for testXML.cpp
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3819 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-07 21:09:32 +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
cutealien
4ed280b783
Make sure gcc-win32 can still be compiled without directX
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3797 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-06 11:44:55 +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
e236fbdf67
Fix Filename type in attribute struct to support unicode strings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3776 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 19:26:18 +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
37a6fef54a
Fix transparent shaders, seems that the base setup does not fix all blend mode settings properly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3770 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-31 09:31:56 +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
hybrid
1e321bc0ff
Add test case to ensure that terrain nodes fit nicely together - when correctly placed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3764 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-27 17:02:48 +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
8202d6dc92
Add also a lock and write test for level 0, in order to check mipmap updates problems reported on the forum. Works all as expected.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3762 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 21:01:14 +00:00