Commit Graph

324 Commits (c2eba9c7dfbdcc11070979f50509cee934fedc26)

Author SHA1 Message Date
cutealien 1a98841268 IWriteFile::write now returning size_t.
Interface is now like fwrite (from standard c-lib). 
Also sizeToWrite parameter changed from u32 to size_t.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5334 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-08 20:31:15 +00:00
cutealien 14a41bbc61 Update to libpng 1.6.23 (from 1.6.21).
Vendors and 1.8 branch updated.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5314 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-09 09:19:03 +00:00
cutealien 666feee11e Merge branch releases/1.8 revisions r5302:r5310 into trunk:
- Tests on Unix now have a short pause between switching drivers to avoid certain X11 errors.
 - Fix CEnumAttribute::getInt() which could crash  (thx @ luthyr for reporting)
 - No longer try to run tests for drivers not supported on a platform


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5311 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-08 20:41:42 +00:00
cutealien 2c64159436 Merge branch releases/1.8 revisions 5286:5301 into trunk:
- Deprecate CMatrix4::transformBox
 - Fix CSceneCollisionManager::getPickedNodeBB which could sometimes miss collisions.
 - Get lights and renderTargetTexture tests working again on Windows 10


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5302 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-05-27 19:35:22 +00:00
nadro 64c70e416d - Removed test for lock->modify->unlock mipmaps (this feature is no longer supported in the engine).
- Added test for lock->modify->unlock cubemap.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5280 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-14 21:48:42 +00:00
cutealien 3393d907fe Update scene test files.
(Scene serialization had been extended in the past)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5273 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-09 15:01:41 +00:00
nadro c0e1680f2e - Changed method name from:
bool IVideoDriver::setRenderTarget(IRenderTarget* target, ...);
 to:
 bool IVideoDriver::setRenderTargetEx(IRenderTarget* target, ...);
- Replaced some deprecated methods in tests.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5223 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-17 14:42:09 +00:00
nadro 3fe418bc41 - Removed texture IDs parameter from IVideoDriver::setRenderTarget method. Performance gain was too low to keep this parameter available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5152 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-16 08:47:55 +00:00
nadro 07a7d9ee2e - Added clear buffer flags.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5151 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-15 18:20:06 +00:00
cutealien 7f8604ca93 Merge branch releases/1.8 revisions 5140:5149 into trunk:
- Add warning in tests when stabilizing screenshots fails 
(Note - it still fails sometimes, just less now with trying to get a good screenshot)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5150 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-06 20:48:42 +00:00
nadro eef7353833 - Added projects for Visual Studio 2014. Due to a problems with Windows7.1 SDK on Windows 10 those projects are recommended for users of this OS.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5148 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-01 22:59:08 +00:00
cutealien b3ba72ab74 Merge branch releases/1.8 revisions 5129:5140 into trunk:
- Set the platform SDK for VS2010 and VS 2012 throughout to Windows7.1SDK
- Fix the fix for compiling on GCC5


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5141 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-20 11:19:26 +00:00
cutealien 19435a22f4 - Fix: CGUIImage no longer scales wrong when working with textures which don't have the original image size.
- Fix CSoftwareTexture2 calculation for OriginalSize of ITexture. It had returned the changed texture size instead of the original one.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5138 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-09-16 21:11:30 +00:00
cutealien c6eec21cec Cameras return again an empty boundingbox (at 0,0,0) instead of returning the frustum boundingbox. Thx @robmar for reporting this.
You can still access the frustum boundingbox through the frustum itself.
Also CSceneCollisionManager collision functions ignore now empty collision boxes.
This means cameras no longer show up in the node-collision of the SceneCollisionManager.
Tests have been adapted correspondingly.
Note that this behavior was once before changed in Irrlicht (rev. 345). But it was one of many changes and there was no documentation or log-message about why anyone would like
the cameras to show up in node-collisions based on their frustum boundingbox. Without any hints about the why I decided to change it back as it's just confusing.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5094 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-19 19:55:07 +00:00
cutealien df7fd7873e Remove D3D8 tests.
Move ECOLOR_FORMAT enums added in r4984 to the end (adding in them in the middle can mess with serialization).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5092 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-15 21:04:01 +00:00
cutealien ce863d1037 Update test drawVertexPrimitives
- new media for OpenGL-drawVPL_h. This test is about finding out if things changed, and this result has been like it is now at least since 1.8
- required match can be reduce for this test, as minor aliasing artifacts always are different between cards and don't matter here.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5090 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 16:08:54 +00:00
cutealien 9fc25d9648 Update tests media.
- viePortText has improved according to Thomas
- flyCircleAnimator... again brightness differences (maybe due to latest material fixes). If that comes up again will have to investigate further.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5088 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-11 13:20:41 +00:00
cutealien 69810d0e1a Fix bug in atof test. Thx @cerf for reporting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5087 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-10 16:37:25 +00:00
cutealien 3871ba4ae5 Remove D3D8 test media.
No longer needed due to dx8 removal.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5085 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 20:30:31 +00:00
cutealien 0d767d4206 Update test-media for 2dmaterial test and burnings
(new result looks better, media just didn't get updated when it was changed).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5084 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-09 12:22:55 +00:00
cutealien a1cf2945fe Update test-media for a test where the result is fine.
This is only about position of image elements and it failed because elements are now a little brighter. Probably due to some fix in the driver at some point, but not related to this test.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5075 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-06 14:54:51 +00:00
nadro ed12a085f3 - Removed old IVideoDriver::setRenderTarget method.
- Fixed OpenGL RTT.
- Fixed compilation issues in some unit tests.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5072 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-31 19:07:17 +00:00
cutealien 77ec2c2bc3 Remove DX8 references from tests.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5069 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-23 20:44:22 +00:00
nadro ae476a0dc3 - Updated changes.txt.
- Removed project files for Dev-C++ and Visual Studio 2008 and older.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5022 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-01-11 20:20:12 +00:00
nadro 1300c4df95 - Added Visual Studio 2013 project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5021 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-01-11 20:11:21 +00:00
cutealien f591a5acde Merge branch releases/1.8 revisions 4828:4923 into trunk:
- Fix bug with multiple SetPixelFormat calls.
- Fixed bug related to memory release in PNG image loader. Thanks elephoenix for it.
- Fix crash in CGUIListBox when users pressed end key folled by any other key in an empty, focused list box (thanks at porcus for report and patch).
- Fix use of enabling defines for wal2 (halflife) image loader. Thanks to hendu for noticing.
- Fix proper screenshot creation in test by inserting the stabilizeScreenBackground call.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4925 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-17 16:00:52 +00:00
cutealien bf42d8d61b Fix serializing colors as strings and add a general test for serializing attributes as strings.
Had been 2 bugs in CColorAttribute playing together:
First was that getString was not overloaded so it used the CNumbersAttribute values instead.
Second was that setString used the wrong check when it got a number-array string, so the fallback for those strings had failed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4812 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-29 15:59:53 +00:00
cutealien 2b685cfd24 Link to X11 on c::b project file for tests (got changed recently in other project files).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4811 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-04-29 15:13:31 +00:00
hybrid 7e28379c42 Add new test file to project files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4695 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-18 23:19:46 +00:00
cutealien 1e828d9a08 Add tests for mergeFilename.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4681 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:17:50 +00:00
hybrid 2892e70174 Add some error checking in test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4665 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-13 20:05:16 +00:00
hybrid c4d80bece3 Indentation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4664 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-13 20:03:49 +00:00
hybrid 6c7ac760d4 Fix some indentation and white spacing before parantheses
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4493 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-04-04 16:31:34 +00:00
hybrid a01095adfe Add getRadius method for aabbox3d, as suggested by hendu
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4474 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-03-07 16:57:55 +00:00
cutealien 15bd95977a Add _IRR_COMPILE_WITH_XML_ define to allow compiling Irrlicht without xml (patch written by curaga)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4423 dfc29bdd-3216-0410-991c-e03cc46cb475
2013-01-02 23:13:21 +00:00
hybrid ae25bdf202 Merged from 1.8 branch, revisions 4345-4378. All release fixes since the branch to 1.8, and some fixes after that. Now commencing development on this branch, and only bug fixes on the others.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4379 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-20 18:31:33 +00:00
hybrid 0a2330890a Bump copyright to 2012
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4320 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 23:38:54 +00:00
cutealien a87bb3a063 - Fix a bunch of off-by one errors in irr::core::string in functions equals_substring_ignore_case, findFirst, findFirstChar, findNext, findLast, findLastChar, replace, remove and removeChars. This prevents some potential memory access errors, find functions no longer try to find the \0, replace no longer replaces the \0 and remove no longer tries to remove it (which did remove the last character instead).
- Fix a few new warnings in gcc.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4308 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-06 19:49:45 +00:00
hybrid 4e1426e465 Remove event handling in device constructor. Seems it was not really the cause for the problems, only the missing size update of the d3d9 driver. To avoid complications, only the least change was left in.
Also improved the userclipplane test to really show errors in case of the original problem.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4303 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 23:45:53 +00:00
hybrid 4b6531eb17 Anonymous namespace for test code to avoid name clashes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4301 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 11:22:50 +00:00
hybrid 9f81024521 Test was using wrong size of screen
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4300 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 11:22:16 +00:00
hybrid ecc6ea3884 First try for MSVC2012 project files. conversion seems to have worked, though some warnings for 64bit targets were shown.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4298 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-22 23:14:16 +00:00
cutealien a83a87594a Replacing matrix4::setRotationRadiansLH and setRotationRadiansRH by setRotationRadians. Old functions had left handed and right handed just the wrong way round and contained an additional bug that did lead to wrong rotations (mixing up y,z). A single function for this is enough (people can just flip the axis) and this way people who already used the old functions (which only got added in trunk) don't just get new behavior but some compile error. Thanks to Randajad for finding the error with the wrong results, giving a testcase and insisting that there's really a bug when I didn't see it on first try :-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4295 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-20 11:22:05 +00:00
hybrid d9f9a2ca50 Add list of test casses with numbers for easier access to single tests. We can also add some descriptions there.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4293 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 17:07:08 +00:00
hybrid 79ba8079f6 Add two new test cases for user clip planes and drawVertexPrimitive
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4292 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 17:05:01 +00:00
hybrid 8d628796f9 Added default parameter to getMatrix
Change matrix pointer access to direct array operator access.
Add some test cases for quaternion methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4280 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 11:32:27 +00:00
cutealien 14a4a07e66 Add documentation and some compile-tests for matrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4231 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-07 10:31:09 +00:00
cutealien 238f3b7bd8 Fix string::replace which failed replacing substrings at the end when the replacement was longer (thx @ zerochen for reporting). Corresonding tests added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4230 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-07 09:14:59 +00:00
cutealien 27879dd9a7 - User can now set characters used for decimal point in fast_atof for localisation.
- Update changes.txt

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4224 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-29 17:04:18 +00:00
cutealien d4ee640740 Use another solution to ensure first animation frame is at start. Solution yesterday had the trouble that it was no longer possible to use setCurrentFrame before otherwise. Tests b3dAnimation and md2Animation working again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4217 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-27 13:54:33 +00:00