Commit Graph

2766 Commits (5b156c1dca6663fcb7983b660beb927e1bc2defc)

Author SHA1 Message Date
hybrid 31e8ed045a Convert CAttributes Parameter member to dynamic memory allocation, as it is reference counted.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4385 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-27 00:44:19 +00:00
cutealien 1965979541 Add getters IGUIButton::isDrawBorderEnabled and IGUIButton::isDrawBackgroundEnabled
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4384 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-26 16:23:58 +00:00
hybrid 9e20d967b8 Merged 1.8 branch, revision 4380, compile fix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4381 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-11-23 11:54:36 +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 36ad2bb93e Merge from 1.7 branch. revisions 4319-4343. Compiler problem and STL loader fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4344 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-30 14:57:54 +00:00
cutealien 8537ca8eb7 - CMatrix4<T>::getInverse working now with FLT_MIN instead of ROUNDING_ERROR_f32 which fixes a bug reported by amin here: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=47422
NOTE: There's a good chance that this should be changed in more places where iszero is used, as that check is often about avoiding a division by 0. 

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4343 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-30 10:03:25 +00:00
Nadro 4797bbcaad - Fixed infinity default value for static meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4334 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-18 23:50:31 +00:00
hybrid 64e4fe5717 Add shadow interface to static meshes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4333 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-18 23:19:45 +00:00
hybrid 10139e71fe Remove unused variables.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4330 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-18 08:38:29 +00:00
hybrid b61b29f52b Bug fix for render state updates
Unification of d3d8 and d3d9 implementation

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4329 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-16 23:53:46 +00:00
cutealien 3d892c5096 Remove redundant code-line (thx @ chronologicaldot for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4328 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-16 10:35:59 +00:00
Nadro b6f902f13f - decreased default infinity value from 10000.0f to 1000.0f.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4327 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-15 21:12:53 +00:00
Nadro 40933b9ef6 - Fixed problem with a wrong type of GL_DEPTH_COMPONENT on MacOSX.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4326 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-11 16:02:01 +00:00
Nadro b5539bdfe6 - Fixed a problem with ZFail shadows, when back cap was behind of far plane.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4325 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-10 23:23:09 +00:00
Nadro 18d6f0c7cf - Fixed alt+tab issue under fullscreen OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4324 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-05 17:07:22 +00:00
Nadro f8d77add00 - Added missing methods for Cg interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4323 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-03 18:25:19 +00:00
cutealien 5a265656cc Fix compiling with _IRR_WCHAR_FILESYSTEM on MinGW. Thx @ alexzk for reporting. Note that I tested this with gcc 4.7.0 and only compiling is tested.
Also added some documentation that UNICODE must be set as well for compiling with _IRR_WCHAR_FILESYSTEM ('cause I always forget to set that at first otherwise...).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4322 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-03 10:51:20 +00:00
cutealien cbe3f1ac70 Add skin-constants to control push-button behavior better.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4321 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-10-01 16:31:34 +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
hybrid c0f9e06dff Merged revisions 4208-4318 from 1.7 branch. Aliasing fix for CAttributeImpl only.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4319 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-30 22:33:11 +00:00
lukeph e7c904e299 typo reported by KroArtem
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4318 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-25 10:03:20 +00:00
Nadro 3cf4e010f0 - Fixed shadows issue in example no. 8.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4317 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-20 14:12:11 +00:00
Nadro 0942a6d360 - Fixed some minor problems with zfail shadow volumes (problem with an infinite matrix still exist).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4316 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-20 02:50:48 +00:00
Nadro ff51e31363 - Fixed ZFail shadows problem related to second - unnecessary shadow on the scene (only minor problems related to less depth exist).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4315 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 14:37:47 +00:00
Nadro be047b4885 - Backward shift shadow pass as the last render pass (it was changed rev4312).
- Fixed reset material issues in D3D9 driver which solve shadow bug issue visible in example no. 8 (small, movable shadow bug still exist).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4314 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 07:50:58 +00:00
Nadro f84412dc66 - Fixed D3D9 shadow bug visible in Example no. 8.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4313 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-18 06:27:52 +00:00
hybrid 0755c18c3b Fix problem with 64bit systems, due to wrong return types used. Problem still persists with mingw, where the return type is used as before and is kept via ifdef.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4312 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-17 21:41:52 +00:00
cutealien b607c3afa9 Allow preventing Collada export for lights and cameras now same way as for other nodes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4310 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-14 12:39:24 +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
cutealien 74d18ec67e Fix crash with null-driver in combination with IrrDeviceLinux caused by my last check-in. Thx @ all reporting that.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4307 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-05 19:17:57 +00:00
cutealien ebc16c6e72 Release inviscursor in IrrDeviceLinux. Thanks @hendu for reporting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4306 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-09-02 18:44:29 +00:00
hybrid 5f509b2185 Oops, actually three file formats with two enabling defines. Fixed now for both (LMP and WAL).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4305 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-24 20:29:34 +00:00
hybrid 3bd9de3070 Fixing compile time enabler guards for the image loaders. Bug, i.e. missing parts, found by hendu.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4304 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-24 20:17:27 +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
cutealien 8443d2d16c Avoid crash we got now due to recent change in messagehandling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4302 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 20:18:45 +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 af7b86ea77 Last project file for old msvc
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4299 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-23 09:32:51 +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
hybrid 487248fe9f Remove vc7 project files completely
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4297 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-22 23:10:46 +00:00
cutealien 83b118c396 Collada exporter now writes cameras.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4296 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-21 17:15:12 +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
cutealien efa93883e2 Remove code causing compile warning on gcc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4294 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-19 19:19:56 +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 1ea1bbaa7a Fix user clip planes. For D3D only a security measure in case plane3d changes. For OpenGL we fixed the user clip planes to world coords now. This is coherent with D3D usage and more natural. Bug fix suggested by heda.
I've also removed the clip plane upload from the projection matrix setting. I don't think it's needed there. At least my test cases don't need it. If someone finds a problem with this change, please report in the forum.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4291 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 15:19:46 +00:00
hybrid eaeb461d67 Move system message handling into own function
Process events and resize operation upon startup once to initialize everything, fixing user clip planes which are defined before first device->run()

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4290 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 14:51:12 +00:00
hybrid d869aa5dd4 Revert changes from last two commits regarding odd alignment
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4289 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-17 12:42:48 +00:00
hybrid 6978f503e6 Skip rendering of lines, points, polygons, and triangle fans, as these lead to crahses due to wrong access to the vertex lists. A fix would need major rewrite of the vertex cache, or at least some other render methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4288 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 22:43:53 +00:00
hybrid 27aae0477c I think this one is better. Guess I should've searched for a test case...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4287 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-15 20:23:21 +00:00