Commit Graph

347 Commits (master)

Author SHA1 Message Date
hybrid 65e3d8b4e0 Wrong driver type used
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4110 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-19 23:15:03 +00:00
cutealien 86e5345306 - XML-reader now preserves all whitespace. So even newlines are now returned as EXN_TEXT nodes. Old behavior was dropping those, but it handled unix-style newlines badly and should rather have preserved all whitespace or none. Preserving no whitespace could be useful feature for the future.
- XML documentation updated where documentation and implementation had been different.
- c::b Linux now compiling engine with -fno-exceptions like the Makefile. Should probably use no-rtti as well, but haven't figured out how to do that without getting warnings for every c-file.
- tests now compiling with -fno-exceptions and defines _IRR_STATIC_LIB_ plus _DEBUG
- new function xmlCompareFiles in testUtils to replace binaryCompareFiles for tests with xml-files as binaries always broke with different wchar_t sizes.
- test ioScene now working on Linux-32


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4092 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 19:43:51 +00:00
cutealien 78201934a2 Updated scene.irr files for the ioScene test. I couldn't figure out why the original .irr files where ever used - even going back to the first version when they were created (r3532) those files never worked. But going through the differing values by hand all attributes with different values from the old test-irr's did write the correct value to xml (aka as it was in memory in the scenenodes) so I use now the resulting .irr file as we currently get it. More changes (Linux) for this test coming later, but ioScene test passes now on Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4089 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 17:18:44 +00:00
cutealien 9c8790136c More fixed to make line2d work with integers this time in intersectWith and getClosestPoint.
I've renamed test line2dIntersect to testLine2d and added new tests there (lazy).
Similar fixes for integers should be done in line3d, but can't do that now, so has to wait.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4076 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-13 15:16:46 +00:00
cutealien d6cca9e7bc Fix CTriangleBBSelector.h which had been broken when CTriangleSelector::getTriangle behaviour had been improved (it's overloaded getTriangle no longer got called). Tests collisionResponseAnimator and sceneCollisionManager do now pass again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4075 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-12 22:19:28 +00:00
cutealien 4c5827936b Fix leaks in several tests. Current test results (WinXP/VS10): 53 passing, 10 failing, 3 don't run through (collisionResponseAnimator, sceneCollisionManager, screenshot).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4074 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-12 11:47:11 +00:00
cutealien 9184ea4c47 Merged revisions 4057-4071 from 1.7 branch.
- GUIEditor attributes have now scrollbar to be editable
- Remove warning when compiling line2d::intersectWith with other types than f32.
- CodeBlocks tests project file now compiling also on Linux.
- Slightly more lenient comparison in test textureRenderStates


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4072 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-11 13:07:07 +00:00
cutealien d9f49f04f8 Adding missing test-file to VS project file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4069 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-10 11:39:21 +00:00
hybrid 40480a7822 Merged revisions 4001-4056 from 1.7 branch. Keycode updates, fix compilation errors, vector normalize error case fixed, joystick safety fixes, editbox updates, meshviewer modal window fix, isPointInsideFast changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4057 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-01 23:29:32 +00:00
hybrid 314d53a31a Fix billboard error which used the wrong width for top and bottom width of trapezoid billboards. The reason is the use of cross-product, which flips the vertical axis used in calculations. Properly documented in the code now, API now works as expected. Bug and fix provided by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4030 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-06 14:26:04 +00:00
hybrid 03b27ab5b9 remove using statements
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4011 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-04 00:45:38 +00:00
hybrid ad82f725be Add billboard test, which shows also why the non-uniform billboards fail at a certain point.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4003 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-12-03 16:49:43 +00:00
cutealien 6f1db5fc41 - Add vector2d and dimension2d attributes (both already had incomplete parts of implementations for some reason)
- Add tests for vector2d and dimension2d attributes
- Test currently failing on Win32-VS: collisionResponseAnimator, sceneCollisionManager, screenshot

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3996 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-29 22:56:28 +00:00
hybrid 31664bce48 Add triangleSelector improvements suggested by rogerborg. Plain triangle selector also needed an additional inverse matrix application, but now works as the octree case. Test cases also added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3973 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-28 16:27:32 +00:00
hybrid 5ea792721f Fix proper place of drop.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3972 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-25 15:33:43 +00:00
hybrid f6662bffdd git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3915 dfc29bdd-3216-0410-991c-e03cc46cb475 2011-09-10 10:16:23 +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 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 5ba7ae5afd Fix rotationFromTo as suggested by AgentD, using the from vector instead of the current values from the quaternion. After all, this quaternion has nothing to do with from or to so far, so the values contained there are rather arbitrary. Moreover, I'm normalizing the quaternion before returning it, as it is a rotation quaternion, which should be a unit quat. Test cases are also extended. For now only in trunk, may be backported after further testing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3905 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-08-30 14:13:45 +00:00
hybrid 8cb3aebfd0 Fix warnings, layout, and return value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3871 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-07-01 22:57:55 +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
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 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
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
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 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 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 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
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
hybrid c6a42a3b2d Add correct screenshots for mipmap render test, forgot to add this in last commit
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3761 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:53:09 +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
hybrid be4fae0335 Fix comments
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3754 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-25 22:29:53 +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 5a7032e420 Add test vector from forum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3742 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-22 20:40:30 +00:00
hybrid d43cb8b531 Another inaccuracy we need to handle
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3738 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-20 21:59:13 +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 426d9c82ba Test case fixed with latest changes for relative texture names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3714 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:53:53 +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 de109a1f6a Re-enable tests with burnings video. Fix some whitespaces.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3700 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 00:02:57 +00:00
hybrid 2f8b537d25 Remove redundant code from quaternion class
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3699 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-04 15:09:43 +00:00
hybrid 138dd5020d Remove WIP disabling of test cases.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3697 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-03 07:12:45 +00:00
hybrid 81e59495bf Fix some problems with gimbal lock in quaternion to Euler method. Not yet completely going through the test, I guess it's a euler order problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3694 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 16:24:44 +00:00
hybrid 73d2385d9c Add RTT format check, after an idea from Stefbuet
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3692 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 22:59:37 +00:00
hybrid 4d1cd9ee13 Added a test case for 2d filtering, provided by Auria from STK team. Fixed a bug in the OpenGL render settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3691 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 21:54:59 +00:00
hybrid 2fb61c695a Add a test case for correctly aligned pixel rendering. Not yet working for Direct3d
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3690 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 17:30:28 +00:00
hybrid da9ec64a9a Relax test threshold
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3686 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 22:18:54 +00:00
hybrid a00b6408b5 Fix warnings about deprecated methods. Fix bug with unsupported driver causing a test error.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3684 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 16:10:20 +00:00
hybrid 4de19ba5b3 Fix typos in output.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3671 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 21:16:14 +00:00
hybrid 82beebebf4 Revert Makefile changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3670 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 21:14:55 +00:00
hybrid 7b52ef6f49 Fix some warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3669 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 21:13:16 +00:00
hybrid ed26bc8b78 Add test case for polygon offset (depth bias)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3655 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:24:35 +00:00
hybrid 9260fbdbea Add tests for strtol10 and modify threshold for other test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3635 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 22:27:34 +00:00
hybrid cd700608ca Add test case for getRotations which tests consecutive x rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3563 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 10:29:09 +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
hybrid 4d7a3a3ac8 Log what failed in the last render
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3549 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-08 16:48:46 +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
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 dc29ec07e8 Fix skinnedMesh test for current dwarf mesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3543 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 11:38:48 +00:00
hybrid 394aedad69 Fix scene files to reflect relative texture names, and disabled the according test until the texture deserialization is actually fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3542 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 11:13:59 +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 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 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 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
hybrid 92892c4fd5 Fix result variable aggregation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3521 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 17:11:14 +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 f70257d23b Fixed the reference images, which have changed due to the text position changes in the 1.7 branch. We are using long texts, hence an empty line had been added in the beginning. This was wrong and fixed in the 1.7 branch already. Now our test had to be fixed as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3516 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-21 16:28:37 +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 54ff5773af Relax some test criteria
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3509 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:29:14 +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
hybrid 91426a212c New test for filtering 2d renders through 2dmaterial.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3506 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 21:41:16 +00:00
hybrid f6c17ba8b5 Relax some comparisons, due to low driver settings.
Fix rtt test, which failed on systems without fbo support.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3502 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 00:06:13 +00:00
hybrid 4eeafca144 Enable test for projection matrix. I have removed the projection matrix tweak from OpenGL driver, as it does not seem to have any effect. At least no good one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3501 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 17:11:30 +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 5fdbe503b5 Last updates for proper window closing after a test has run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3499 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 16:19:34 +00:00
hybrid cfd8e9412d Add a test which tries to reproduce a bug mentioned by REDDemon. Works correctly here, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3498 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 10:33:11 +00:00
hybrid 8cf6ce43d6 Make viewPort test a little less tight
Add more driver tests to let mrt test go through on systems which don't support MRT

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3493 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-08 00:35:47 +00:00
hybrid 8c6c657ef4 Fix more device->drop calls to properly remove the window as well under windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3492 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 18:16:42 +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
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
hybrid 3a66a00b68 Add a test case for mrt usage. Based on code by wing64.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3414 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:26:03 +00:00
hybrid bb44b62433 Add some closeDevice calls to reduce the open windows after tests have run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3411 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 07:24:33 +00:00
hybrid 69bc11c8f5 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3409 dfc29bdd-3216-0410-991c-e03cc46cb475 2010-09-13 11:24:14 +00:00
hybrid d6eb580f95 Add a generic attribute interface for querying video driver attributes which are not necessarily of type bool. This interface allows to check certain supported features, such as the number of user clip planes, supported lights and textures, MRTs, and other things. The interface might change in the future, but it's fully functional already. The supported attributes are listed in the API docs of the function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3408 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:19:42 +00:00
hybrid 56010f2fd0 Add gui image for 2dmaterial test. Enable anti-aliasing in aa test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3406 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:05:32 +00:00
hybrid c11c87f20c Fix getRotationDegrees in matrix class as noted by drewbacca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3400 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 17:03:54 +00:00
hybrid e08e256fdc Fix docs for collision manager API, wrong return value was given.
Change default blend mode in OpenGL to SRC_ALPHA,ONE_MINUS_SRC_ALPHA
Use less precision in 2dmaterial test.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3399 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 15:03:27 +00:00
hybrid 6f27d721ef Rename test file and adapt project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3398 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 12:02:49 +00:00
hybrid da27ae4f3f Fix vertex alpha blending, as found by darktib
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3396 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 10:41:31 +00:00
hybrid 8aa6c92bb5 Added a RealTimeDate structure, which can be queried for time and date in human readable form.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3395 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 08:22:52 +00:00
hybrid b645fdb2d3 Add test case for proper file name handling in mountpoint reader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3394 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:26:40 +00:00
hybrid 1bfa7d2480 Add folder for archive tests
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3393 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:17:44 +00:00
hybrid b9d6265969 Allow to add folder archives with names without trailing slash. Added test to make sure the possible variants are checked.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3392 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:03:53 +00:00
hybrid d46ccdbb38 Correct test image.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3391 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 22:56:32 +00:00
hybrid bde7b62fef Add some more tests and fix a problem with transparency in the transparent_refelction_2_layers material as found by xDan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3390 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 21:56:01 +00:00
hybrid 7e236b0192 Merged from trunk, revisions 3366-3387. A few bug fixes all over the place.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3388 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 19:33:06 +00:00
hybrid 307eb89955 Add some more tolerance for execution on IntelHD graphics cards.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3383 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 14:08:42 +00:00
hybrid ba5f014c15 Remove non-existing files from project list. This avoids the dumb "need to recompile" dialogs in MSVC 2010. Also cleaned up some more things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3382 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 17:35:38 +00:00
hybrid 1fcf0461fe Add the other msvc 2010 project and solution files. Fix all configurations to work as expected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3381 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 16:51:14 +00:00
hybrid d4c81c4427 Merged from 1.7 branch, revisions 3358-3364. This was the revert of the win32 device change, which caused most test fails, and a few test updates. Moreover, updated the reference screenshots for burnings video tests. These all seemed to be correct (just the lights test was a little strong?)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3365 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 15:47:00 +00:00
cutealien 3c0e2b8204 Fix compiling on linux/gcc.
Fix crash in cursors when null-device was used.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3363 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 12:07:57 +00:00
hybrid 4493f9de4d Fix function name change from libpng update.
Fix warnings in test suite.
Disable XML reader check which was marked as still open.
Most tests don't go through, due to wrong image size (probably from changes in Win32 device, which now takes a larger render size than actually used).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3360 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 11:00:28 +00:00
hybrid e8fa33e154 Merged from 1.7 branch, revisions 3300-3357. Huge number of bug fixes, mostly in GUI and serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3358 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 22:45:45 +00:00
cutealien a716532bb0 Make sure tests run through again. Also cleaned them up a little removing the memory-leaks.
Many tests for burnings-renderer fail atm, but probably just because renderer was improved and tests would need new reference images.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3351 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 20:29:07 +00:00
cutealien 19dd5282a7 Fix bug in string::replace found and patched by Nalin.
See https://sourceforge.net/tracker/?func=detail&aid=2997065&group_id=74339&atid=540676


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3286 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-05 11:44:13 +00:00
hybrid 9e9e55a903 Merged revisions 3218-3270 from branch 1.7. Many bugfixes, mainly in GUI and device, a few mesh loader fixes. Octree culling bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3271 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-03 22:21:50 +00:00
hybrid b3ab720d03 Warning fix by maxim, and add multiplication order in docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3245 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 23:25:15 +00:00
hybrid 7a4c4a4a5e Added some test cases for getRotationDegrees submitted by fabietto, also fixed the method to clamp values for asin to [-1,1].
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3228 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-18 13:03:05 +00:00
hybrid a23436f955 Merged revisions 3199-3217 from 1.7 branch. Fix collision problem in aabbox3d and some compile problems due to API changes. Fixed some minor mem leaks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3218 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-12 15:13:11 +00:00
hybrid 55a3220a1b Add test for string operator+= and fix for long type parameters. Bug and fix found by loneboco.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3211 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-08 00:04:26 +00:00
hybrid 8f5a1f6f23 Change shadow node to use core::array
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3208 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 14:57:19 +00:00
hybrid 20c762c5e8 Add test for self-shadowing
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3207 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 12:16:07 +00:00
hybrid 7260791edc Add test for stencil shadows with normal projection matrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3206 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 11:54:50 +00:00
hybrid a7b73dbf51 New test for orthogonal Cameras.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3205 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-06 23:29:21 +00:00
hybrid 303e5c16dc Add a test for different light effects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3204 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-06 17:05:49 +00:00
hybrid 96310b964d Merged revisions 3172:3197 from 1.7 branch. Some more bug fixes and doc updates from the 1.7 beta phase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3198 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-02 20:53:57 +00:00
hybrid 675fd7637e Merge revisions 3139:3171 from 1.7 branch. Many new tests and bug fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3172 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 16:53:15 +00:00
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