Backport form ogl-es branch. Turns out Android NDK doesn't have clocale.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5337 dfc29bdd-3216-0410-991c-e03cc46cb475
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
(corresponding change to IWriteFile::write is planned for next days)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5333 dfc29bdd-3216-0410-991c-e03cc46cb475
We have to temporarily change LC_CTPYE, but did change LC_ALL. That could in some situations (maybe when LC_CTYPE and LC_NUMERIC where not identical?) lead to LC_NUMERIC (and probably others) being changed afterwards.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5330 dfc29bdd-3216-0410-991c-e03cc46cb475
Thanks @Wol101 for reporting.
Note... compiling not tested due to lack of test-system...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5329 dfc29bdd-3216-0410-991c-e03cc46cb475
- documentation changes
- jpg loader can now load more jpg formats.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5326 dfc29bdd-3216-0410-991c-e03cc46cb475
- 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
Thanks to all people who reported and to JLouisB and kinkreet for the patches:
- Gravity is now fps independent
- Values of gravity now like documented (wasn't 1 unit = 1m before, had been 1m = current frames per second, so maybe 100 units = 1m).
Note that jump-values for fps-camera must also change when adapting gravity!
Several examples got adapted for new ranges
- Pausing timer now pauses animator. Also doesn't reset values anymore with pauses.
- Clones no longer have 1000 times the gravity of original animator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5305 dfc29bdd-3216-0410-991c-e03cc46cb475
I used another patch which complicates the code somewhat, but old solution was too slow for my taste.
This should now speedup CTriangleSelector for animated meshes which call updateFromMesh regularly.
Also a fix: CTriangleSelector no longer resets it's boundingbox to 0,0,0 (that caused too large meshbuffers when a meshbuffer was not around 0), so basically also just a speedup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5304 dfc29bdd-3216-0410-991c-e03cc46cb475
- 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
Seems that Irrlicht uses u,v,w, OpenGL uses s,t,r and Collada uses s,t,p
Files written by older Irrlicht can still be read (aka reader still supports wrap_r)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5297 dfc29bdd-3216-0410-991c-e03cc46cb475
- Add -U__STRICT_ANSI__ option to c::b project files to allow compiling with -std=c++11 and add an error when trying to compile with Irrlicht with __STRICT_ANSI__
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5285 dfc29bdd-3216-0410-991c-e03cc46cb475
(still can't control those cameras without cursor certainly).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5272 dfc29bdd-3216-0410-991c-e03cc46cb475
- Added cube maps support to PVR file loader.
- Added support for load cube maps directly via IVideoDriver::getTexture call.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5259 dfc29bdd-3216-0410-991c-e03cc46cb475
- Get rid of some "misleading-indentation" warnings in gcc6
- Fix some compile warnings in aes which got handled as errors by some c++11 compilers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5253 dfc29bdd-3216-0410-991c-e03cc46cb475
- Randomizer now returns range 0..randMax as documented and no longer 1..randMax as it did before. randMax got reduced by 1.
- Using now same random numbers as std::minstd_rand0. Not sure if the others were wrong, but documentation mentioned they are for mixed linear congruential generator from L'Ecuyer and as far as I can see we don't use that (that one mixes 2 calculations). We seem to use just a linear congruential generator. (I'm no expert on all this, just what it looks like from net articles).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5243 dfc29bdd-3216-0410-991c-e03cc46cb475
Probably something which will happen now a lot, would be nice if someone would update the ogre loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5242 dfc29bdd-3216-0410-991c-e03cc46cb475
- Improved IRenderTarget::setTexture warnings.
- Minor improvements for textures in D3D9 and OpenGL drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5241 dfc29bdd-3216-0410-991c-e03cc46cb475
If one of them is needed again please write 'friend class COpenGLCacheHandler' instead of 'friend COpenGLCacheHandler' as
older gcc compilers (4.4.7) won't accept it otherwise.
Thanks @umen for reporting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5226 dfc29bdd-3216-0410-991c-e03cc46cb475