Commit Graph

3225 Commits (f37045af533f4a8adb3442b24e22f90069816ed0)

Author SHA1 Message Date
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
nadro 48e75f34c8 - Fixed issue with CurrentRenderTargetSize vs. CurrentRendertargetSize. Thanks cheqnk for report.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5255 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-02-13 11:07:38 +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
nadro bd9fe040ab - Changed COGLCore files/classes prefix to COpenGLCore.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5247 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-17 13:27:54 +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
cutealien cf1a56cb11 Add some debug-output when ogre-mesh fails loading because of wrong serializer number.
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
2016-01-11 23:51:26 +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
nadro 472a30e4c4 - Fixed crash in CD3D9RenderTarget::generateSurfaces(). Thx CuteAlien for report.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5240 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-10 13:07:52 +00:00
nadro 81a4c3d980 - Added cubemaps support for D3D9.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5239 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-09 23:16:41 +00:00
nadro 5325a921fd - Minor improvements for both COGLCoreTexture::lock and CD3D9Texture::lock methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5238 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-09 22:00:47 +00:00
nadro e12ef3a41a - Changes for D3D9 texture code (at now it looks like OpenGL texture code). Those changes was required for upcoming cubemaps support.
- Minor improvements in COGLCoreTexture.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5237 dfc29bdd-3216-0410-991c-e03cc46cb475
2016-01-09 21:54:37 +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 76fe372736 COpenGLDriver doesn't seem to need COpenGLCacheHandler or COpenGLTexture as friends. So removed those.
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
2015-12-21 19:03:25 +00:00
nadro c0e1680f2e - Changed method name from:
bool IVideoDriver::setRenderTarget(IRenderTarget* target, ...);
 to:
 bool IVideoDriver::setRenderTargetEx(IRenderTarget* target, ...);
- Replaced some deprecated methods in tests.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5223 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-17 14:42:09 +00:00
nadro 966e05b51b - Added getters to IRenderTarget interface.
- Improved D24S8 color format handling in OpenGL.
- Fixed issue with wrong size for OpenGL RT when FBO isn't available. Thx CuteAlien for report that.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5222 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-17 14:17:57 +00:00
nadro bc9fe27e30 - Unified makefiles for examples.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5219 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-15 20:26:58 +00:00
cutealien 1c63af32d6 Remove additional const (ty @AReichl for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5218 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-15 17:17:13 +00:00
cutealien f1fd00e03a Fix compiling with _IRR_WCHAR_FILESYSTEM.
(sry, didn't test correctly last check-in, forgot to set UNICODE)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5216 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-14 18:42:34 +00:00
cutealien b539e46b5f File-dialog now converts the returned filename from multibyte to widechar when it has to.
Also added a function to access the original name as well as the converted name for directories.
Can't fix the interface completely unfortunately without breaking it :-/
Not yet fixed is the conversion to lower-characters - that will be one of the next tasks (had to clean up other stuff before I could approach that).
Also _IRR_WCHAR_FILESYSTEM currently not compiling, but been like that a few versions already.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5215 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-14 15:59:35 +00:00
cutealien 15fce47e24 Needed a little more work to disable a warning once in a way such that it doesn't produce other warnings on other compilers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5214 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-14 15:02:00 +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 0e48c9399a Initialize ContextManager pointer and release it's memory at the end.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5208 dfc29bdd-3216-0410-991c-e03cc46cb475
2015-12-09 14:49:55 +00:00