Commit Graph

3099 Commits (39c039302372d9cab39c4553f18b6b61f4a1969c)

Author SHA1 Message Date
cutealien 39c0393023 core::string::split now handles ignoreEmptyTokens=false correct (as documented)
Thanks @manni63 for bugreport: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=51551&p=299375#p299375


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5341 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-27 19:46:09 +00:00
cutealien e064db1355 Bugfix: Previously when some material had a texture matrix and another didn't those materials were still considered identical. Which had prevented correct switching between materials with and without texture matrices.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5340 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-26 12:35:35 +00:00
cutealien da3c88d0e1 Fix some compile warnings which were caused by recent interface changes in file reader/writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5339 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-20 15:47:00 +00:00
cutealien 1d95a1605c Include locale.h insteads of clocale.
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
2016-09-10 13:20:03 +00:00
cutealien 7d4d485e23 Update changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5335 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-08 20:32:37 +00:00
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 1756e4700d IReadFile::read now returning size_t (like fread in c-lib) instead of s32. Also sizeToRead parameter changed from u32 to size_t.
(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
2016-09-07 22:01:04 +00:00
cutealien d3ac819504 Fix several bugs in multibyteToWString. This also fixes pasting.
Add clear function to strings.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5332 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-08-24 21:18:42 +00:00
cutealien d4204168c6 Ensure saveScene always uses dot's (and not commas) for floating point numbers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5331 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-08-22 10:20:31 +00:00
cutealien 7ffdbb728a Fix accidental changing of locale in file-open dialog. Thanks @Mel for bug-report and test-case.
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
2016-08-22 10:15:16 +00:00
cutealien bbfb73b97d Move keycodes on OSX out of the _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ part as otherwise it won't compile when _IRR_COMPILE_WITH_JOYSTICK_EVENTS_ is not set.
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
2016-08-14 14:31:44 +00:00
cutealien 808240cf98 SceneCollisionManager now using const camera pointers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5328 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-08-13 15:56:49 +00:00
cutealien bff50c751d Spelling fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5327 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-08-13 12:50:06 +00:00
cutealien c8e0683827 Merge branch releases/1.8 revisions r5315:r5325 into trunk.
- 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
2016-07-19 20:30:59 +00:00
cutealien b92ecca89c Update docs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5322 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-09 17:51:46 +00:00
nadro a101d17d06 - Fixed mipmaps rendering in Burning's driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5318 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-09 13:38:33 +00:00
cutealien 413316708c Merge branch releases/1.8 revisions r5311:r5314 into trunk
- Update libpng to 1.6.23 (from 1.6.21)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5315 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-07-09 09:36:42 +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 1c6a9c68cb Minor type improvement (thx @ luthyr for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5306 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-06-19 18:28:23 +00:00
cutealien fb49a86eb6 Several fixes for SceneNodeAnimatorCollisionResponse, based on http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=33098&p=290746
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
2016-06-04 19:54:19 +00:00
cutealien 960be376dd CTriangleSelector now supports 32-bit meshbuffers. Thanks @Wol101 for reporting and patch-proposal.
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
2016-05-30 20:21:23 +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
cutealien 39f9b8fa49 Fix: Collada reader/writer now uses wrap_p for third texture wrap value instead of invalid wrap_r (thx @Yoran for bugreport).
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
2016-05-17 10:23:27 +00:00
nadro 3c57e01700 - Fixed issue with support 8+ textures in D3D9.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5295 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-04-02 10:51:33 +00:00
cutealien c279615ab8 Get rid of some warnings in timer initialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5294 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-30 20:30:59 +00:00
cutealien d7a700e44f Several getter functions in IAttributes made const (thx @Erik Schultheis for the patch)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5293 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-27 01:07:44 +00:00
cutealien 955307e574 Merge branch releases/1.8 revisions 5277:5284 into trunk:
- 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
2016-03-17 21:18:16 +00:00
nadro 2b18a9ae19 - Fixed positioning of 2D elements in OpenGL. Test drawRectOutline passed. Thanks CuteAlien for report this issue.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5282 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-15 20:02:57 +00:00
nadro 909e7ca9c3 - Added support for cubemap lock in OpenGL.
- Enabled cubemaps feature in D3D9.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5281 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-15 00:05:21 +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
nadro c6f5e6d972 - Replaced ITexture::lock 'mipmapLevel' param by 'layer' param.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5279 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-13 19:37:13 +00:00
cutealien 9f88ed7d1b Merge branch releases/1.8 revisions 5252:5277 into trunk (just an update for changes.txt)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5278 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-12 16:49:39 +00:00
cutealien 818d593012 Update libpng to 1.6.21 (from 1.6.10)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5276 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-12 16:28:37 +00:00
nadro 82b5708ff9 - Fixed crash when app call IImage::setMipMapsData method and Irrlicht is compiled as DLL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5275 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-10 22:13:04 +00:00
nadro 2bc9c09347 - Minor improvements for IImage/CImage classes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5274 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-10 19:34:16 +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
cutealien e7b23792f8 Prevent crashes in fps and maya camera animators when the device has no CursorControl
(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
2016-03-07 20:53:30 +00:00
nadro 49b00b631a - Removed unnecessary path from OSX example projects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5271 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-07 11:13:26 +00:00
cutealien e4f59b2d49 Fix: CTriangleSelector no longer ignores meshbuffer transformations from skinned meshes.
Thanks @AlexAzazel for report and test-model.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5270 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-06 19:00:04 +00:00
cutealien 34ffc48cd5 Prevent copying CDynamicMeshBuffer (it doesn't support that, so hiding copy constructor).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5269 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-03 14:39:32 +00:00
cutealien a91c279ab9 Fix display of debug normals for skinned meshes with meshbuffer transformations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5268 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-03-01 23:04:08 +00:00
nadro 2ed02b0b60 - Fix for the previous commit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5266 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-23 18:53:07 +00:00
nadro f1ee66d89a - Fixed memory leak in CD3D9Texture. Thanks CuteAlien for report that and provide a patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5265 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-23 18:47:04 +00:00
cutealien e517481f5f Fix compiling with gcc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5263 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-18 22:59:13 +00:00
nadro 8e8bb14a03 - Fixed render targets handling in ITexture::lock for OpenGL driver (floating point, depth and stencil formats not supported).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5262 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-18 22:19:17 +00:00
nadro 3283251abb - Added to PVR loader support for following uncompressed formats:
* ECF_A1R5G5B5
 * ECF_R5G6B5
 * ECF_R8G8B8
 * ECF_A8R8G8B8

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5261 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-14 20:59:43 +00:00
nadro 56ebb84c57 - Fixed issue with mipmaps in OpenGL.
- Fixed issue with cube maps filtering in OpenGL.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5260 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-14 17:23:38 +00:00
nadro d72c407efa - Fixed issue with DXT file formats in D3D9.
- 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
2016-02-14 16:59:04 +00:00
nadro deacb5b919 - Prepared interface for loading multiple images from file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5258 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-14 00:46:43 +00:00