Fix tests triangle3d:
- triangle3d::isPointInsideFast now using some epsilon to catch all points on the borders.
- triangle3d::getIntersectionOfPlaneWithLine calculates now with higher precision for more exact results.
- triangle3d::isOnSameSide (used by isPointInside) calculates now with higher precision and uses some epsilon to make it work with larger integers and less floating point troubles. Slightly slower now.


git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4183 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix screenshots under Linux/OpenGL for formats ECF_R5G6B5 (failed before) and ECF_R8G8B8 (red and blue where switched). Note that R5G6B5 still has strange results when writing to file. But that's due to a bug in color-conversion, which is fixed already in 1.7 and will be merged to trunk soon.


git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4185 dfc29bdd-3216-0410-991c-e03cc46cb475
Enable screenshot test.


git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4186 dfc29bdd-3216-0410-991c-e03cc46cb475
Remove test isPointInsideWithSinglePrecision as triangle3d::isPointInside now rather includes more border points than risking to miss some anyway.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4187 dfc29bdd-3216-0410-991c-e03cc46cb475
Merge from 1.7 branch, revisions 4090-4187. Device fixes, serialization bug fix, some compilation warnings. Bug in color conversion fixed, and some demo fixes.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4188 dfc29bdd-3216-0410-991c-e03cc46cb475
Merge in version 1.2.7 of zlib from vendor branch.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4190 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix framebuffer postfix absence when not using extension pointers. Just use the so far only for OSX used version without _ARB postfix. Fix BlendEquationIndexed code which was wrongly copy-pasted.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4191 dfc29bdd-3216-0410-991c-e03cc46cb475
Oops, typo in Windows code due to merge.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4192 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix constness of operators

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4194 dfc29bdd-3216-0410-991c-e03cc46cb475
Add simple include files for easy alignment packing of data structures

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4195 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix pack and unpack include file to properly work under MSVC as well. Needs to suppress warning as we don't have the push and pop together anymore.
Fix push and pop usage - some files forgot to add the define, so effectively not work under gcc with special architectures - and move all files to use the new include files.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4196 dfc29bdd-3216-0410-991c-e03cc46cb475
Avoid memory allocation and return value testing in one line

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4197 dfc29bdd-3216-0410-991c-e03cc46cb475
Make Iterator types friend to each other

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4198 dfc29bdd-3216-0410-991c-e03cc46cb475
Make float to double conversions for explicit string conversions also explicit and this better visible. Fixes compilation issues with DMC

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4199 dfc29bdd-3216-0410-991c-e03cc46cb475
Add support for MAX_COMBINED_TEXTURES, which allows more texture support than with the original fixed pipeline texture check under OpenGL. Now, more than 4 textures should also work with newer gfx cards and drivers, which often only support 4 fixed pipeline textures.
Moreover, now you can also set more than the maximal texture layers defined in IrrCompileConfig, simply by calling setTexture in the driver. The MAX_MATERIAL_TEXTURES thus only defines how many textures and configurations are stored in material properties. Currently only used under OpenGL.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4200 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix by Auria for starting the animated meshes only at first OnAnimate instead of at random times and animation frames.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4206 dfc29bdd-3216-0410-991c-e03cc46cb475
Ignore another .layout file.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4207 dfc29bdd-3216-0410-991c-e03cc46cb475
Merge revisions 4188-4208 from release branch 1.7 into trunk: 
- Update changes.txt 
- Change include order to get example 21 compiling on MinGW.
- Fix linker path in example 16 for C::B project file (linker path was in include path section). 
- Link with opengl32 and gdi32 in Example 14 in C::B. 
- Remove --no-export-all-symbols which got recently added to the windows build as that flag is not known by gcc on Windows. 


git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4209 dfc29bdd-3216-0410-991c-e03cc46cb475
Remove D3DCREATE_MULTITHREADED from d3d8driver again (no one uses that anyway anymore and it caused compiled troubles).

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4210 dfc29bdd-3216-0410-991c-e03cc46cb475
Fix dx8 init to use the params scheme as the other drivers do. This change reverts the last commit and fixes the problem in a different way.

git-svn-id: https://irrlicht.svn.sourceforge.net/svnroot/irrlicht/trunk@4211 dfc29bdd-3216-0410-991c-e03cc46cb475