Commit Graph

516 Commits (master)

Author SHA1 Message Date
cutealien 4d59133e49 Add functions IGUIButton::getClickShiftState and IGUIButton::getClickControlState to get shift/ctrl key-state when a button was clicked. Thanks @StarSonata for patch (long time ago...).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5545 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-10-19 21:00:50 +00:00
cutealien 06efc9a196 Add function ISceneManager::clearAllRegisteredNodesForRendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5544 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-10-02 15:00:19 +00:00
cutealien 24ebe17b75 Merge branch releases/1.8 revisions r5396 through r5529 into trunk:
- CFileSystem::getAbsolutePath no longer wrongly converts an empty filename to "/" on unix platforms.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5530 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-08-24 13:56:22 +00:00
cutealien 2c50d344fe Add function IVideoDriver::queryTextureFormat to allow checking if a driver supports textures with a specific color format.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5523 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-08-21 13:53:01 +00:00
cutealien 51961da07d ISceneManager::getMesh can now creates meshes with alternative cache-names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5483 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-06-11 10:04:00 +00:00
cutealien 99e870e2f6 Add line-numbers when printing opengl errors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5474 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-06-07 14:58:46 +00:00
cutealien 5bfba69e9d Simplify ALLOC_STRATEGY_DOUBLE in arrays somewhat.
Increasing the constant to add elements always instead of having an extra-check for small numbers.
Behavior is similar to old one (adding 4 elements more for most numbers).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5468 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-06-02 15:11:55 +00:00
cutealien 966712c571 Add alternavive BoundingBox calculation for BillboardSceneNode which can take in a camera node. Thx @Seven and @JacKDuRdEn for bugreports.
There are still some problems (and even bugs) with all this, but fixing those will take more time. I documented some of the problems in code.
Also switched to using a MeshBuffer in the billboard (mainly because it's nicer for the emscripten port).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5452 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-22 17:29:16 +00:00
cutealien fabd6cda44 - FPS camera now supports keyboard rotation.
- Base FPS-camera movement on last position of mouse instead of always center (works better on platforms where cursor-placement is not allowed).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5448 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-21 14:29:07 +00:00
cutealien be5b9d675e Octrees with other vertex types than EVT_2TCOORDS can now also use VBO's.
(untested, but should work).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5436 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-19 17:10:59 +00:00
cutealien 6355bc18b7 Add IOctreeSceneNode interface to control parameters like VBO usage and polygon clipping checks for octree scene nodes.
This was already possible, but needed users to set some defines and recompile Irrlicht.
As before it's only implemented for the EVT_2TCOORDS vertex format (others will follow soon).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5434 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-19 16:28:24 +00:00
cutealien de1bbfdc50 - Add support for different geometric primitivs to meshbuffers.
Thanks @gerdb for patch proposal (http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=45999)
Note: Original patch got mostly lost (except the parts posted in the forum). So not sure how close my implementation is to that one. I also simply ignore some of the problems mentioned in that thread. So yeah - meshmanipulator and meshwriters can and will mess up when other primitive types are set for now. It's documented and feature is still useful - other parts can be adapted over time (or ignored, also no big problem).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5425 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-14 19:48:24 +00:00
cutealien 278dc39029 UserEvent now usize size_t for UserData fields to avoid cutting number on some platforms.
Fix some warnings.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5417 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-12 16:22:35 +00:00
cutealien 41722cee0d Improve speed of draw3DBox on D3D9.
Thanks @zerochen for patch (https://sourceforge.net/p/irrlicht/patches/256)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5396 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-02 15:53:50 +00:00
cutealien f28e0ba53c Update speed of draw3DBox (OpenGL). Thanks @zerochen for patch (https://sourceforge.net/p/irrlicht/patches/256)
(DirectX part still open, will apply that another day).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5389 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-01 23:07:20 +00:00
cutealien 49cc0f54ad Merge branch releases/1.8 revisions r5369:r5387 into trunk.
- Fix bug in cursor positions when compiled with newer Windows SDK's (v110 in VS2012) and running on Systems >= Windows Vista in windowed mode.
- IOSOperator::getSysteMemory() no longer returns incorrect values with >2GB.
- Spelling fixes and documenation


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5388 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-04-01 16:26:31 +00:00
cutealien 7c7ddbb06a Support more keys on OSX "[]\". Thanks @neoascetic for patch (#313).
Link: https://sourceforge.net/p/irrlicht/patches/313/


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5375 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-22 22:56:03 +00:00
cutealien 2882711b7f Add ITextSceneNode::setFont.
IBillboardTextSceneNode has now it's own type (was using same type as ITextSceneNode before). See Bug #197.
But serialization of both text-nodes still not working (needs font-serialization).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5373 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-20 17:00:36 +00:00
cutealien 83be80032b Add access functions to IBillboardTextSceneNode (getText, getFont).
Fix IBillboardTextSceneNode::setTextColor which did only set an unused variable. It now maps to setColor instead.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5372 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-20 16:35:22 +00:00
cutealien 51115e14a1 Add access functions to ITextSceneNode (getText, getTextColor, getFont).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5371 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-20 12:58:01 +00:00
cutealien c942f356fe Try harder to move Window to custom WindowPosition set in SIrrlichtCreationParameters on X11.
Thx@ Hernan Ezequiel Di Giorgi for the patch (#304).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5369 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-19 19:24:34 +00:00
cutealien 021485e272 Merge branch releases/1.8 revisions r5363:r5367 into trunk:
- Increase KEY_KEY_CODES_COUNT to fix problem with laptop keyboards which return the keycode 0xff for the function key.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5368 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-03-16 22:42:01 +00:00
cutealien 7a9080481c Merge branch releases/1.8 revisions r5360:r5362 into trunk:
- Fix bug when calling activateJoysticks on windows several times


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5363 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-02-01 18:25:45 +00:00
cutealien fef1ec00e7 Merge branch releases/1.8 revisions r5347:r5360 into trunk.
- Fix bug in fast_atof when reading floating point numbers with more than 16 digits past the dot.

Also minor change in .obj loader to add (slightly inexact but still useful) line-numbers internally for debugging.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5361 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-01-27 00:37:53 +00:00
cutealien c2eba9c7df Fix bug in virtual filessystem which prevented createFileList from working. Thx @Cube for reporting a problem.
Froum-thread here: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=51688
Note, this is not the bug reported there... just another bug which was shown by that test-code.
What was going wrong is that createFileList created a default-path named "/" instead of "" and when comparing paths later no file was in this path
because our archives don't start with a "/" for the root directory.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5359 dfc29bdd-3216-0410-991c-e03cc46cb475
2017-01-22 23:17:51 +00:00
cutealien 1073bff853 Fix CMetaTriangleSelector and allow creating octrees for single meshbuffers.
CMetaTriangleSelector had been (even more) broken after last check-in,sorry. Now fixed again.
Making octrees triangle selector return meshbuffer information would be possible, but not without some cost or larger rewrite. So instead I've added another workaround - it's now possible to create octress for single meshbuffers. If that makes sense for speed is something users have to check per scene (slower than using a single octree obviously), but at least it's now possible in case someone needs it.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5352 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-12-07 13:30:02 +00:00
cutealien a1d75811f0 core::string::split now adds delimiter to token before delimiter when keepSeparators is true. That way we never end up with 2 tokens for an original string with a single character.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5348 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-10-31 15:37:24 +00:00
cutealien 5962caf6aa Merge branch releases/1.8 revisions r5326:r5346 into trunk.
- Fix crash in eventhandling when calling remove() on a contextmenu while it has focus.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5347 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-10-28 10:17:35 +00:00
cutealien 28d2756b27 Bugfix: SMesh::recalculateBoundingBox() does now ignore empty boundingboxes of meshbuffers instead of adding them.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5345 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-10-20 14:01:41 +00:00
cutealien 85e14866a6 IIrrXMLReader::getAttributeValueAsInt and IIrrXMLReader::getAttributeValueAsFloat can now return a custom default-value when the attribute is not found.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5342 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-09-30 13:56:24 +00:00
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 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 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 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 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 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
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
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 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 adc89d1c0c Merge branch releases/1.8 revisions 5195:5252 into trunk
- 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
2016-02-04 22:59:52 +00:00
cutealien b0839b90a3 Clarify changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5244 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-12 20:20:21 +00:00
cutealien db9dfd00dc - Resetting Randomizer with 0 or no longer breaks it (will be set to 1). Same for other numbers for which it wasn't defined.
- 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
2016-01-12 20:15:33 +00:00
nadro 453d24cf2e - Added TextureWrapW field to SMaterialLayer.
- 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
2016-01-10 20:37:54 +00:00
cutealien 1aba16d85b Do no longer re-calculate md2 frames when they don't change (thx @npc for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5227 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-28 11:37:41 +00:00
cutealien 6fd8d82d4c Add multibyteToWString wrapper functions around mbstowcs which work with Irrlicht string class.
I had to add a few forward declarations in core::string because I didn't want to add another source-file for this now. If anyone decides to create a irrString.cpp those can be removed again by making multibyteToWString extern instead of static (in VS it would already be possible to avoid them, but gcc does more exact checks for friend linkage specifiers).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5212 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-13 15:34:17 +00:00
cutealien cfa84f1683 Fix: addFileArchive now grab()'s the archive when you pass one in by pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5210 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-12 20:31:43 +00:00
cutealien f6623a32bf Fix: Prevent division by 0 in CGUIScrollBar::setPos
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5209 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-09 22:35:03 +00:00
cutealien 6027c8024b Add missing serialization to CSceneNodeAnimatorCameraFPS and CSceneNodeAnimatorCameraMaya.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5196 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-28 16:49:25 +00:00
cutealien bf7692d465 Merge branch releases/1.8 revisions 5188:5194 into trunk
- Fix serialization of the InputReceiverEnabled flag in CCameraSceneNode


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5195 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-28 13:12:39 +00:00
cutealien 45c550ba54 Fix: File-open dialog now restores the original locale after modifying it internally
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5189 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-23 13:02:57 +00:00
cutealien 013a268e2e Merge branch releases/1.8 revisions 5145:5187 into trunk:
- Fix pasting text from X11 applications to Irrlicht. Thanks @est31 for the patch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5188 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-21 12:25:59 +00:00
cutealien 016c81a9f3 Fix first calculation of the camerascenenode boundingsphere.
FarNearDistance had been used before it was set.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5171 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-08 13:17:13 +00:00
cutealien 1e65f32ea7 Fix bug with ignored opening brace in .X files with DeclData section. Thx @Alin for bugreport and patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5169 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-11-01 20:57:47 +00:00
nadro fface044dd - Rewritten OpenGL textures cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5154 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-10-16 15:48:40 +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
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 6e48dfe928 Merge branch releases/1.8 revisions 5125:5127 into trunk:
- Fix compiling with IRR_LINUX_XCURSOR_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5128 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 16:26:05 +00:00
cutealien d72189faf2 Merge branch releases/1.8 revisions 5121:5124 into trunk:
- Fix compiling with -DNO_IRR_COMPILE_WITH_LIBJPEG_


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5125 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-29 14:48:50 +00:00
cutealien acd601edbc Merge branch releases/1.8 revisions 5104:5120 into trunk:
- Fix compiling on GCC5 on MinGW


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5121 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-26 21:04:11 +00:00
cutealien 125e73ef55 Fix skinned meshes not playing their last frame.
Also clarified animation documentation to describe current behavior more exactly.
CSkinnedMesh had returned the last key instead of the number of keys.
Thx to whoever mentioned to me once that our example dwarf is not playing his full animation in the meshviewer.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5118 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-13 21:29:09 +00:00
cutealien 6ac1f8d5db Add IWriteFile::flush interface (thx @ JLouisB for the patch).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5114 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-08-08 11:42:37 +00:00
cutealien fbd317496c CLightSceneNode::updateAbsolutePosition does now light recalculations. This is to fix using animators with lights.
Thx @chronologicaldot for report.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5111 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-07-29 00:15:02 +00:00
cutealien 6a3127c8de Fix Collada (dae) export for objects with rotations around more than 1 axis.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5107 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-05 15:03:09 +00:00
cutealien b0988a33a6 Add ISceneNodeAnimatorCameraMaya::setTargetMinDistance and getTargetMinDistance which allow to keep a distance to the zoom target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5106 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-06-04 08:52:33 +00:00
cutealien 50c2efb3e9 Merge branch releases/1.8 revisions 5000:5101 into trunk:
- Fix loading of .X and .B3D models with non-normalized quaternion rotations


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5102 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-05 17:05:38 +00:00
cutealien 9ee9422a1b Add override font to IGUITreeView (thx @Escen for reminder)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5100 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 19:46:32 +00:00
cutealien b37ff9f619 CGUIComboBox now updates selection-list when font changes while it's open (thx @ rubixcuber for bugreport)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5099 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-05-04 18:49:34 +00:00
cutealien e138121a1d CAnimatedMeshSceneNode::setMesh does now set the animation speed again to that of the mesh.
.x meshloader regards now AnimTicksPerSecond (thx @qian for a test-model and bugreport).
CAnimatedMeshSceneNode::setMesh had commented-out the setAnimationSpeed line in version r3526 which was about a joint-cache fix for skinned meshes. But there was no comment about why that line had to be removed or commented out, so my guess is that this was only a test (I hope). And it caused animation-speed values for the meshes to be ignored unless user specified it explicitly while animation range was still changed in setMesh.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5097 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-27 13:01:24 +00:00
cutealien e6c197fa87 Add b3d mesh-writer.
- Interface getMeshType moved from IAnimatedMesh up to IMesh.
- Static b3d mesh-writer written by Hendu, support for animated meshes added by JLouisB, testing and bugfixes by CuteAlien.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5095 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-23 18:11:52 +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 3ef49054a8 Fix a problem in IrrlichtDevice::setResizable that caused window titlebars to hide occasionally under the taskbar in some systems (Ubuntu, Mint).
This was caused by quick calls to XUnmapWindow followed by XMapWindow which some WM's can't handle. 
Adding a long sleep call (~200ms) in between would have been a workaround, but looked ugly as the window is hidden in the meantime.
I found no reference in X11 documentation that unmapping is necessary for this, so I removed those calls now.
Changing the resize flags still works in my tests on Debian and Ubuntu. If it causes problems we have to switch to the ugly hack 
or get certain systems to repair their window managers.



git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5091 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-04-14 19:57:45 +00:00
nadro 538751d85c - Added new IRenderTarget interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5068 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-23 19:00:17 +00:00
cutealien ab330c1204 Replace the swprintf and snprintf defines by swprintf_irr and snprintf_irr to avoid conflicts with the standard libraries (and other libraries).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5055 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 22:00:17 +00:00
cutealien db604be111 Xbox support deprecated as we no longer have DirectX 8 now.
I kept the few places in code where the define is checked as those basically didn't matter.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5054 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 21:21:15 +00:00
cutealien 9eccabce40 Support for Direct3D 8 removed.
Missing people with interest in maintaining it. Anyone who still needs DX8 can branch the previous svn version or use Irrlicht 1.8.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5053 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 20:52:35 +00:00
cutealien 0cbb9112a3 _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIX removed.
This was a bugfix for VS2003 (in combination with .NET) which we haven't supported in a while.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5050 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:12:12 +00:00
cutealien 2cec5282a8 Remove VS 2005 support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5049 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 17:01:40 +00:00
cutealien 5a73679b5e WinCE 6 supported removed. It's just too outdated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5047 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-03-01 16:52:10 +00:00
cutealien 1fa7e87f5e NVidia CG support removed due to lack of maintenance.
Note, I would have liked to get it compiling again a last time, but it was referring to a class which didn't exists, so I didn't know what to make of that.
NVidia has also stopped supporting this by the way.
No changes for MacOSX project files, so those still might have to be fixed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5046 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-28 20:11:40 +00:00
engineer_apple 15f4951ab6 git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5043 dfc29bdd-3216-0410-991c-e03cc46cb475 2015-02-14 21:39:32 +00:00
cutealien 6011b4c01f Add a new core::rect constructor which takes a dimension parameter and set's left-top to 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5036 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-02-09 15:15:47 +00:00
cutealien c525b00fa2 mtl (obj) format reader and write now regards texture scaling and translation. (thx @thanhle for noticing and patch proposal).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5029 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-01-16 17:00:29 +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
cutealien cb81239938 Merge branch releases/1.8 revisions 4923:4997 into trunk:
- Fix compiling on Free BSD (thanks to leper for reporting and patch)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4998 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-12-17 14:18:21 +00:00
nadro 657fad2385 - Added ability to set custom depth/stencil texture for render targets (currently OpenGL only).
- Added new color formats: ECF_D16, ECF_D32, ECF_D24S8 (currently OpenGL only).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4984 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-11-07 21:34:14 +00:00
cutealien acff12d139 Can now enable/disable backround drawing for IGUITable and IGUIProfiler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4968 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-10-14 18:29:18 +00:00
cutealien 38fd003634 Bugfix: Cloning CBillboardSceneNode now copies colors and sizes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4940 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-21 14:56:22 +00:00
cutealien eca462706d Reverted r4918 (fullscreen window manager on Linux) as it has several problems on KDE which make it behave a lot worse than before.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4932 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-18 12:49:24 +00:00
cutealien c4988bdaaa EditBox works now with numpad on X11 (thx @Hendu for bureport).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4926 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-09-17 20:06:32 +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