Commit Graph

125 Commits (934b4cfd2264d32887143d0a82762b5f1717c41b)

Author SHA1 Message Date
hybrid 0ca3ba3744 Merged revisions 3089-3138 from 1.7 branch. Full merge, all changes from 1.7 beta phase up to now are included.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3139 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-08 11:46:38 +00:00
hybrid a8229b3f10 Merged from 1.6 branch, revisions 2936:3075. Several bugfixes for GUI, containers, file system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3076 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 10:56:30 +00:00
cutealien fdfc470b38 Improving array::insert speed by kicking out lots of memory construction calls, but hopefull still leaving all the important ones in places. Does double the speed but is still twice as slow as std::insert unfortunately.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 20:17:18 +00:00
cutealien a0b9cea740 Fix recently introduced bug that caused irrlicht to sort the array on each search (instead of just when unsorted).
Also test 33 writeImageToFile currently fails when compiled with optimizations, but probably the test needs to lower requiredMatch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3063 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 13:24:53 +00:00
cutealien 28a04fbd42 Renamed OctTree to Octree
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3062 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 22:10:53 +00:00
cutealien 1a876af375 Allow getting a ConstIterator from a non-const core:list
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3061 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 18:43:12 +00:00
cutealien 6eb1fa1e6e Add swap functions to irrMath and to the core classes.
Deprecate map::isEmpty() and replace it with map::empty() to make it similar to other base classes.
Rename array-test and add tests for list and map.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3060 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 16:55:15 +00:00
cutealien f0752acdc7 A proposal for fixing the problem with the textures being re-loaded with folder-file-archives.
See bug id 2912581:  http://sourceforge.net/tracker/?func=detail&aid=2912581&group_id=74339&atid=540676
More details described on bug-page.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3043 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 09:25:55 +00:00
hybrid 3553813721 Fix some tests, add new test for loading textures from FileFolders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3041 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 01:01:32 +00:00
cutealien e7afb972b8 Add xml-serialization to the serializeAttributes test. Add comment to readAttributeFromXML that userPointers are intentionally set to 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3033 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 01:32:44 +00:00
cutealien 8bebbdbbc2 - Fixed serialization of stringw-arrays again and learned another lesson of "be very careful when changing const's".
- Added test for serialization
- Added operator != for quaternion.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3026 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 04:39:25 +00:00
cutealien 7e91fcb00f Simplyfy SNamedPath
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3020 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 22:45:39 +00:00
cutealien 59721e0d34 SNamePath cleaned up, minor bugfixes, documentation update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3009 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 20:42:45 +00:00
cutealien 58764ce8b9 - Keep filenames additionally to internally used names for meshes, fonts, textures and sprites to fix problems with uppercase-filenames on Linux.
- Adapt MeshCache interface to make the difference between names and filenames more clear. Old functions behave the same, but are deprecated.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3004 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 04:52:15 +00:00
hybrid e699ab8889 Add test for mesh cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2988 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 11:42:18 +00:00
hybrid 6ffcba6836 Fix test compilation. Add check for decryption support being enabled. Add meaningful message if trying to load an encrypted file without decryption support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2987 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 11:08:05 +00:00
hybrid 04be1cd5f3 Fix aes loader, seems like no tables won't work. Added test to ensure proper decryption.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2982 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-04 18:42:07 +00:00
cutealien 0e21f80e5a - CStringWArrayAttribute can use const-ref instead of full copy
- Put E_ATTRIBUTE_TYPE in own header EAttributes.h
- Put IAttribute in own header IAttribute.h


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2969 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-02 16:02:41 +00:00
cutealien 622bd16ba1 SceneNodeAnimatorFollowSpline can now loop and pingpong.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2966 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 18:26:52 +00:00
hybrid be53718e91 Fix flattenFilename method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2952 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 17:34:54 +00:00
cutealien f2e91f0e7c Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
already or broken after 1.6).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2950 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 15:08:16 +00:00
cutealien 09b4f29944 Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
caused because operator= and copy-constructor where not called because the the second template parameters 
was not used in those function declarations and so only functions for the default parameter had been 
created. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2949 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:51:59 +00:00
cutealien 9e1eb1e6ca Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
assignment would otherwise depend on allocation strategy which isn't a good idea. Also some problems due to 
default template parameters which got ignored in copy-constructor and operator= which caused those functions 
not to be called. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2946 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:11:27 +00:00
hybrid 883db0f081 Make sure our path names use '/' instead of '\\'
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2913 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:50:51 +00:00
hybrid 76c4b0f813 Add access to miplevels in addTexture, texture->lock, and texture->regenerateMipMapLevels.
This allows to create custom mipmap textures manually, or provide them from certain image formats that come with precalculated mipmaps.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2912 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:24:31 +00:00
hybrid 755a2c4a1d Change image usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2904 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 16:54:01 +00:00
hybrid 9cda111b6a Add duplicated archive mounting test, fix some precision problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2881 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:41:45 +00:00
hybrid 5cdb8fb1d4 Add new checks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2862 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 18:36:57 +00:00
hybrid 944b00d082 Add some more tests docs, and revert some value changes which need different treatment.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2851 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 19:49:36 +00:00
hybrid 9af18d89bc Fix tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2850 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 17:57:30 +00:00
hybrid 49901d26ab Fix output of the correct test number for sub-process
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2846 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 14:24:01 +00:00
hybrid 4577afdbea Avoid the many hanging processes. Add some more tests and output.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2845 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 13:45:16 +00:00
hybrid d905e24317 Make sure that matrix multiplication and rotation concatenation are the same.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2841 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-11 00:34:14 +00:00
hybrid 9223972c94 Fix DirectX issues in tests, start with vector3d comparison tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2840 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 23:51:30 +00:00
hybrid 2d3032c566 Some new tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2838 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 18:27:01 +00:00
hybrid 007094898f Slightly reordered the test cases based on resource usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2824 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 09:14:12 +00:00
hybrid 6e1bab9989 Add some more archive testing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2821 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 17:06:39 +00:00
hybrid bcf09b2ee4 Filesystem cwd patch for virtual file systems, by IPv6.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2806 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 16:06:19 +00:00
hybrid 107fb67d31 Added test case by vitek, currently commented out as it does not go through.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2805 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:29:01 +00:00
hybrid ecd1072080 Add rtt test case from stefbuet.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2798 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:58:55 +00:00
hybrid 95b4283a27 Split method suggested by obscurusnox added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2792 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 23:52:33 +00:00
hybrid 68a7f4b11a Add rogerborg's irrString assignment allocation patch and a testcase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2787 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 16:45:39 +00:00
hybrid f2145fd200 Added bbox testing for skinned meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2769 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:56:14 +00:00
hybrid 275874afb1 Merged from 1.6 branch, revisions 2684:2747. Windows serialization fix. Memleak in STL and LWO loader fixed. CursorControl under Windows fixed. CE compilation fixed. Example 21 for Linux fixed. IFileSystem and IFileList additions. Toolbar::addButton fixed. Device::run fixed. Anti-Aliasing on debug rendering disabled. Documenation updated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2748 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 18:06:57 +00:00
hybrid b410b526b7 PAK archive reader patch and test, submitted by Carmen Wick.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2741 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 12:38:30 +00:00
cutealien 45b86c8e63 Update c::b project file for tests
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2734 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:38:49 +00:00
hybrid 0114348e5d Add dx9 screenshot
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2732 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:18:29 +00:00
hybrid 259332ce8f Add test for correct rendering of bsp example with all drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2731 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 15:57:15 +00:00
monstrobishi a897201597 - Set default tolerance for s32 core::equals to 0 (Was 1).
- Added tests to vector2d and vector3d regression tests for 0 to 1 equally using the s32 data type (Related to previous change).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2707 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-02 21:15:17 +00:00
hybrid 64ad07a38e Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00