Commit Graph

1881 Commits (d432f415a2c20b8125bf63518460d12659a545e8)

Author SHA1 Message Date
hybrid 6c1777a8b6 Support relative filenames in serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3713 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:52:13 +00:00
hybrid d2aba0fc2d Fix parent setting in new irr scene loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3712 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:50:57 +00:00
hybrid 652aa8aec1 Enable relative texture names in material serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3711 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:50:08 +00:00
hybrid 29f591f3b0 Add support for relative texture names in atrributes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3710 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:47:49 +00:00
hybrid 07de425732 Support relative filenames in serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3709 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-09 12:42:24 +00:00
hybrid 649dfc93a1 Fix linker settings in vc9 project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3708 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-08 21:47:51 +00:00
hybrid 8a9d63615c Add triangle selector methods to get back single selectors from meta triangle selector. Submitted by LexManos
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3707 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-08 21:46:44 +00:00
hybrid e13d17c2e1 Fix linker settings for joystick stuff etc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3706 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-07 21:50:07 +00:00
hybrid 9fb936b1a6 Add support for DirectInput joystick handling. Thanks to axpnumtheory for the patch.
The code needs to be cleaned up a little more. But it seems to work properly and is the preferred solution according to MSDN. Both solutions will be kept in the code, the choice define will be moved to IrrCompileConfig later.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3705 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-06 23:22:30 +00:00
hybrid 24ffdaf20c Move joystick stuff into separate class
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3704 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-06 21:18:49 +00:00
hybrid 44c9d5393f Fix signed/unsigned warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3703 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 22:46:34 +00:00
hybrid c28f47bb3b Added scaling draw2dimage method to burnings video. This fix is based on code submission from Auria.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3701 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-05 14:25:34 +00:00
hybrid 8165f8447e Slight cleanup, bringing some things towards Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3696 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 21:39:15 +00:00
hybrid 2463db9b5a Fix count value to 0 if extension is unsupported or context is gone. Fixes a bug found by hendu.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3695 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-02 19:29:16 +00:00
hybrid 68f10e784d Check if low-level texture for RTT was created, otherwise return nullptr to signal failure in RTT creation. Thanks to stefbuet for pointing out this problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3693 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 23:02:57 +00:00
hybrid 7b4ef0e489 Fix setting of filter modes in mipmap cases.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3689 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-01 12:26:25 +00:00
hybrid 9b1953ab33 Minor fixes for array fixing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3688 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-29 22:43:30 +00:00
hybrid 56057e046e Fix regression, where very long words introduced an empty line
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3687 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-29 22:18:02 +00:00
hybrid f36090db01 Finally change d3d drivers over to the compact parameter passing version
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3683 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 15:49:16 +00:00
hybrid 430894045b Add new extensions (although unsupported) also to d3d8 driver, with nearest match to min/max blend.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3681 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:47:16 +00:00
hybrid 8173e66877 Another exotic extension, which can be emulated by the new AMD extension as well, but is mostly found on ancient SGI machines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3680 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:45:37 +00:00
hybrid 4424ffec5f Support new blend op from recent AMD extension. OpenGL/AMD only for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3679 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 11:32:37 +00:00
hybrid 1dd826dad5 Update ogl extension headers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3678 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-28 09:30:37 +00:00
hybrid 5d3424f579 Use new strtoul10 method where appropriate.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3675 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 22:32:47 +00:00
hybrid e1cd83c8b9 Use new strtoul10 method where appropriate.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3674 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 22:29:48 +00:00
hybrid 66649891ab Break text into lines after changing RTL setting. Avoid null pointer access if string is empty. Fixes sent in by Auria.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3668 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-27 20:33:57 +00:00
hybrid 20d2f925d1 Use advanced pixelformat chooser for more occasions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3667 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:42:25 +00:00
hybrid f0d8ef93a1 Add function for framebuffer checking
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3666 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:35:49 +00:00
hybrid cd8a7f1aff Unify ogl_extension defines across Linux and Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3665 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 23:15:45 +00:00
hybrid 579d213a3b rename methods to avoid the create prefix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3664 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:57:01 +00:00
hybrid efa59a497b rename methods to avoid the create prefix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3663 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:55:23 +00:00
hybrid dddac77a75 Add the actual blend equation support for MRTs to the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3662 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:27:49 +00:00
hybrid 8f2de7d521 Add blend equation function for MRTs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3661 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-26 14:26:26 +00:00
hybrid e5a7ecb684 Fix syntax error in Linux extension code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3658 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-23 11:03:59 +00:00
hybrid 1f5b75b0a5 Remove _IRR_DEBUG_BREAK_IF in checkFBOStatus to properly proceed without an RTT even in debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3657 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-22 13:18:11 +00:00
hybrid ad3f87b9a9 Remove WIP code. Went through because the other repository also has the declaration of this filed in other files...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3656 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-22 10:08:51 +00:00
hybrid c512692ad0 Fix initialisation of blend equation pointers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3654 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 17:21:36 +00:00
hybrid 8704030071 Add missing include file in project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3653 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:20:10 +00:00
hybrid 9499db5637 Add support for blend operation field.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3652 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 13:08:48 +00:00
hybrid c895c0e150 Add implementations for polygon offset in hw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3651 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:54:14 +00:00
hybrid 3eb6688f8c Move SMF loader into proper filter group
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3649 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:51:52 +00:00
hybrid c32eb9fcfe Fix redundant expression and make one variable const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3648 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:51:21 +00:00
hybrid ce755201e0 Fix empty line count.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3647 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:50:38 +00:00
hybrid b3552d3cb5 Remove stray whitespace
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3646 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-21 11:48:05 +00:00
cutealien 20b9be8f4b Reduce "Could not load sprite bank" error to ELL_DEBUG (not an error, loading isn't implemented anyway and it's wrong for #Defaultfont).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3644 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-19 11:01:50 +00:00
hybrid 99dbf71a68 According to MSDN, setting the ALPHAOP to disable while COLOROP is active leads to undefined behavior. So I cleaned up the material settings in d3d9 driver and hope that I got all things fixed again. Also inserted some helper functions to reduce the code in the renderers. Changed the alpha behavior of transparent_reflections_2layer (probably...) to match better with OpenGL and description.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3641 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 17:19:33 +00:00
hybrid 4581df2293 Change back previous revision, and order other way round, as that's the OpenGL default
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3640 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 17:06:13 +00:00
hybrid 114e92c88d Reorder texture stage assignments
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3639 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 15:23:57 +00:00
hybrid 7fdd163034 Combine the vsync setting functions into one common extension function. Also added support for more swap_interval methods on X11 systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3638 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 13:38:38 +00:00
hybrid 79b3cc2fe6 Move unused variables into out-commented areas.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3637 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 11:50:53 +00:00
hybrid ae0b10aa7b Fix signedness problem and avoid wrap around if too many triangles are found.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3636 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-14 11:44:24 +00:00
hybrid 89bafd1256 Fix usage of OpenGL driver with multiple device types compiled in.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3634 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 13:49:05 +00:00
hybrid 42c816b675 Avoid invalid array access if not enough texcoord data is provided.
Fix texture loading for materials with more than one texture.
Choose lightmap material if more than one texture is set in a material. Other material types have to be deduced from other things, not sure about this yet.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3633 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 12:55:39 +00:00
hybrid 3d14880c0d Fix createMeshCopy to apply the original materials to new copy as well, as pointed out by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3631 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-12 11:49:32 +00:00
hybrid b314794eb5 Make FeatureAvailable array accessible to material renderers
New glext.h extension header and one new extension added.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3629 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-30 11:54:39 +00:00
hybrid 9478732cc5 Fix naming scheme for occlusion queries. Since those are not to drop, but are stored in the driver and can be removed by the according removeOcclusionQuery call, the name should be addOcclusionQuery instead of createOcclusionQuery.
Added an example showing a very simple occlusion query setup.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3628 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 23:32:35 +00:00
hybrid 76794587fd Fix vertex color array when used together with VBOs and the vertex_array_bgra extension. Thanks to Auria for pointing out this issue.
Also fixed two warnings mentioned by him.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3627 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 15:33:20 +00:00
hybrid edf7c82eb4 Add framework target to OSX project. Thanks to Auria for providing this patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3626 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 15:07:20 +00:00
hybrid 4d7f18cdee Fix extension check changes also in drawVertexPrimitiveList
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3625 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 14:35:13 +00:00
hybrid ae6c49d287 Fix problem with new vertex_array_bgra extension on OSX. Thanks to Auria for online debugging this issue.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3624 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-25 14:11:09 +00:00
hybrid 6990bb1d82 Change bbox calculation, avoiding too large bboxes.
Clean up patch creation phase.
Change height map interpretation to lightness instead of luminance. It's faster and more natural for height maps.
Reordered structures to keep pointers at the top.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3623 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-24 00:46:20 +00:00
hybrid c84fd53f13 Fix HSL color class and conversions from/to RGB classes.
Fix Color selection dialog. It's now fully usable and gives correct results. The color display ring could be reworked.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3616 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 21:44:28 +00:00
hybrid 980aeffa6c Fix strange bugs when limits are wrongly set.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3611 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-19 15:23:17 +00:00
hybrid 6ab1996733 Fix rand value of radius to float value (range 0..1) instead of integer rand (which gives values up to some million). Bug found by tmyke
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3609 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-13 23:45:35 +00:00
hybrid 418b861827 Merge from 1.7 branch, revisions 3559-3607. Fixed for GUI clipping, PCX loader, and OSX project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3608 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-13 19:15:48 +00:00
hybrid e902058263 Support for Unicode SHY dynamic hyphen elements for better word wrapping of long lines. Patch provided by Auria
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3605 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-08 23:29:27 +00:00
hybrid e04a7b161b Fix OBJ reader which could run over end-of-file or line ends due to some minor bugs in the parser. Fix prepared by tonic
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3604 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-08 23:24:22 +00:00
cutealien a4dc43f581 Added IGUITable::getColumnWidth
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3603 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-06 16:23:51 +00:00
cutealien 884b7de39c Font removing still not working as it should, but at least should no longer crash when re-loading the same font and probably will re-load a font correctly now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3600 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-21 17:22:10 +00:00
hybrid ad3572a10c Fix change to new lock mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3599 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-20 12:26:33 +00:00
bitplane db10a745f2 Added struct packing in gcc to halflife loader, it didn't fix the bug though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3594 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-14 16:00:45 +00:00
bitplane c9a101c044 Fix valgrind complaints about uninitialized variables in RTL patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3592 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-11 08:13:52 +00:00
bitplane 128d1e8fe8 Fixed bug 3017433, billboard text node should generate stuff in OnAnimate, not OnRegisterSceneNode
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3591 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-06 04:49:26 +00:00
bitplane 62c41e4d3e Fixed a bug in the mount-point reader where directories were not added to the list of full file names, causing the list of names and full names to go out of sync. Bug ID 3103053, reported by maragnus
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3590 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-06 04:05:35 +00:00
hybrid a29b60d456 Fix lower case name of include file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3588 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 16:22:21 +00:00
hybrid cfe5161530 Fix pathname type to support unicode names. Fix by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3587 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 13:37:18 +00:00
bitplane 5ea3a40831 Added method to add an archive from an IReadFile pointer. Added FileToHeader, a tool for embedding a collection of IReadFiles into a user app. Described a way to make single file portable applications using it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3586 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 00:44:08 +00:00
hybrid 777ea0199c Adding a new flag and new text break for support of right-to-left text in StaticText elements. Patch from Auria and STK project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3585 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 23:15:11 +00:00
hybrid 658cc28240 Fix compilation with all skinned mesh loaders disabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3583 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:47:06 +00:00
hybrid f683efa7b0 Move some more variables into the loops.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3582 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:44:05 +00:00
hybrid b89b2978ba Make sure some win32 defines exist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3581 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:16:32 +00:00
hybrid 9bf2410e60 Compile guard for function which is only available for WindowsXP and later.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3580 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 22:07:48 +00:00
bitplane 7543da637a Added ISceneManager::createSceneNodeAnimator to create an animator by name, so scene loaders don't need to worry about how the animator factories are used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3579 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 06:56:26 +00:00
bitplane b25ed6a92f Fixed a bug introduced when reversing the order of the animators, fixed the Makefile so "make install" symlinks from the soname to the binary, removed an unused variable from HL loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3578 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 02:53:31 +00:00
bitplane d80141a60b Changed version number in makefile
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3577 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-03 01:53:20 +00:00
bitplane b49e5daa6d Add SMF mesh loader to easily editable projects.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3576 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-01 14:27:02 +00:00
bitplane d9798dafe7 Added SMF loader, supporting 3D World Studio meshes. Originally written by Joseph Ellis
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3575 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-31 10:43:08 +00:00
bitplane d41aeab701 Moved some stuff out of IAnimatedMesh and back into CAnimatedMeshHalfLife where it should live
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3574 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-28 16:13:48 +00:00
hybrid 9024527eba Fix vc10 project to properly compile the scene loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3573 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-24 08:09:37 +00:00
bitplane 1cd81a4f89 Cause change event for EGET_EDITBOX_ENTER in spinbox, reported by ceyron
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3571 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 12:14:24 +00:00
bitplane fc4a65a579 Fix a crash when creating XMLWriter with bad file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3570 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 09:15:56 +00:00
bitplane e451fa41c2 The loader selection process now consistently checks loader lists in reverse order, so new loaders added to Irrlicht override the internal ones. This applies when adding external mesh, image, scene and archive loaders, image writers, plus node, animator and GUI element factories.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3568 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 08:50:15 +00:00
bitplane 07bc66af6c Renamed ISceneLoader::isALoadableFileType to isALoadableFileFormat to match the archive and image loader interfaces. Added getters for mesh, scene and archive loaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3567 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-20 05:47:50 +00:00
bitplane 901dac358a Added scene loader interface and moved the .irr loading code out to CSceneLoaderIrr. In future can support scene formats properly rather than loading them as meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3566 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 20:12:17 +00:00
bitplane 6eaddbf1b9 Order the list of mesh loaders so that the least commonly used ones are at the bottom of the stack, may give a small performance boost when loading many models from a zip file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3565 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-17 15:34:06 +00:00
hybrid fade354bcd Fix compilation without fbos.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3559 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:59:07 +00:00
hybrid c7d6ea0ecd Merge from 1.7 branch, revisions 3535:3557. MS3D optimization and changes update. Skipping date updates which have been made in this repository already.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3558 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:48:40 +00:00
hybrid 5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
cutealien f8655a2d5d Send EGET_ELEMENT_CLOSED event when context menues should be closed (thx @ Mloren for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3550 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-10 20:28:23 +00:00
hybrid d21c24b15e Fix directory recognition in ZIP reader. Added tests for findFile with and without directories.
Fix warning message in CAnimatedMeshSceneNode
Change C-cast to reinterpret in CIrrDeviceLinux

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3548 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 23:55:58 +00:00
bitplane 4fc3ef98cd Added root GUI element type. Added tree view to GUI editor, from Armen
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3545 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 18:46:12 +00:00
hybrid 1ab25bd37b Fix reading zip files with incomplete local file headers. These require proper support for the central directory, which is now implemented. Thanks to hiker for supplying such a file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3544 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 16:33:15 +00:00
hybrid 146d7c2613 Fix bone-vertex IDs to be correctly indexing into the global vertex array. Before, mixed mesh/bone sections broke the correct relation. Thanks to Auria for finding and fixing the bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3539 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 00:06:52 +00:00
hybrid 28dd252160 Add random number generator frand() for interval [0..1] which fixes many issues with current usage of rand() in the particle emitters. Thanks to vitek for the initial ideas, CuteAlien for the new method suggestions, and Auria for bringing this up again.
TODO: Test cases, which would need a public interface to this class first...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3538 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-06 17:13:40 +00:00
cutealien a8f35e0d0b Make sure we can link again without _IRR_COMPILE_WITH_SKINNED_MESH_SUPPORT_ (reported by Yoran)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3537 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-06 13:42:01 +00:00
hybrid fdcdf60e0b Add a test for proper file loading from archives, despite two files in the archive have the same name.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3536 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-05 18:09:58 +00:00
hybrid ad14e9c0f7 Add warning message if element size does not match size of read components.
Move debug messages into ELL_DEBUG space.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3535 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-04 17:41:04 +00:00
hybrid a8be8a8c02 Merge from 1.7 branch, revisions 3515-3533. createImage memleak fixed. TGA loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3534 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 22:38:16 +00:00
hybrid f1cc2dca01 Fix writeScene change in order to write the given node and its descendants, not only the list of children to the scene file.
Add support for loading a scene file as childs of a given node. This will ignore the scene attributes and load all nodes of the scene, storing them as children of a given parent node. The rest will stay as before, including the default behavior to load scene attributes and all nodes directly into the scene manager.
Test cases added for both methods loadScene and saveScene. In order to find a node in the example scene from tutorial 15 I have added a name and ID to one of the scene elements.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3532 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 17:54:10 +00:00
hybrid 080a2ebab3 Add support for saving only part of the scene into a .irr file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3531 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 14:38:51 +00:00
hybrid 2ac770878b Add version information to dll
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3530 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 12:26:37 +00:00
hybrid 16cf9f58b9 Add a method to get a relative filename, based on an given base directory.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3529 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-03 00:16:35 +00:00
hybrid 7e0decbdd2 Move debug log output to ELL_DEBUG type
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3528 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-01 19:06:45 +00:00
hybrid 9f6d50804a Fix setMesh for skinned meshes, as reported by wing64. The joints cache was not updated, and hence the node reported and returned wrong joints.
Added support for resetting the transition time to 0.
Fixed some method names (correct camel case, create replaced by add, upper case fixed) in skinnedMesh.cpp

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3526 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-30 14:49:19 +00:00
hybrid 149d9ec814 Fix OpenGL texture matrix setup, found by pc0de. Sorry for the inconvenience, was probably very late when I changed that code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3523 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-28 19:12:50 +00:00
cutealien 481f550313 Add some getters to IGUIImage: getImage, getColor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3520 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-27 20:33:56 +00:00
hybrid a204bb3543 Real fix for the MRT problem. Last time only parts of the problem were fixed. Now, all RTT states should be fixed again. Also, test results are commited and work for both drivers.
Also changed the FBODepthTexture implementation in that it will not create another FBO, but only the depth/stencil texture or renderbuffer.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3519 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-23 13:49:37 +00:00
hybrid 5acaa94c20 Fix MRT disabling under OpenGL. Thanks to wing64 for noting this error.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3518 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-23 12:00:49 +00:00
hybrid 1ad3c74407 Merge from 1.7 branch, revisions 3449-3513. createImage fixed. Many GUI fixes. Saved particles can be loaded again. Volume light, skydome and water scene node updates. Let hw mapping hint be loaded. D3D reset fix, now terrain scenes can resize screens again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3514 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-19 19:39:20 +00:00
cutealien 8f41c9bf9f Fix compiling on Linux (was just a namespace thing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3511 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-15 19:52:29 +00:00
hybrid d9c9de5158 Add a new texture lock mode for write-only access. The lock method has changed for this. Support is only implemented under OpenGL so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3510 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:32:54 +00:00
hybrid c4b6a33726 Disabled the opengl test for reflection transparent material.
Fixed the reflection transparent material under OpenGL to use vertex alpha.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3507 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 23:04:13 +00:00
cutealien cee8c4fbb5 - Add function IParticleSystemSceneNode::clearParticles
- Speedup deleting of particles


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3503 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 16:46:47 +00:00
hybrid 6b18375616 Fix bug which showed up when RTT and text were used in the same scene. I have removed the old RTT checks in 2d methods, and placed a global fix for the texture matrix into the 2d mode setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3500 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 16:52:12 +00:00
hybrid 0fc4c3e777 Avoid setting texture settings when no texture is active
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3496 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-11 00:01:52 +00:00
hybrid 68b6a2fd2a Fix ATI_draw_buffers support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3494 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-08 00:37:09 +00:00
hybrid 195c746018 Add driver attribute element for AntiAliasing level. This allows to check whether the driver has AA enabled, and which level.
Fix AA setup for OpenGL under windows, where the extension was missing and no error came up due to unsupported feature request. Now, the driver recognizes the missing support and properly sets AA to 0.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3491 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 17:58:11 +00:00
hybrid 884ede4efd Fix transformation matrices for OpenGL rendering after setRenderTarget.
Fix draw2DImage into RTT in BurningsVideo
Let ViewPorts unchanged if illegal viewport was given.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3490 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 16:21:43 +00:00
hybrid 014272f2c1 Fix the text scene node placing in viewports. The problem was, that the calculation took the absolute viewport dimension into account, while rendering into the viewport requires the screenwidth to be taken. Hence, the text was usually misplaced. The collision method can still be used for this mixed mode calculation (get screen coordinate during viewport rendering, use it for full screen rendering), but requires an additional parameter.
Software drivers don't support 2d rendering into viewports, so they still fail to properly position text (or other 2d things) into a viewport.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3489 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-07 15:22:58 +00:00
hybrid eff82803d3 The checkbox color seems to have changed. Please check if this was intended!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3488 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 15:23:49 +00:00
hybrid af86f53958 Avoid access to StencilBuffer if it is non-existent.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3487 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 14:02:07 +00:00
hybrid d1a4b28847 Avoid duplicated render state resets in 2d mode under OpenGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3486 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 13:54:10 +00:00
hybrid fbde0c7fc8 Fix mrt disabling, also avoid duplicated enabling for all rtts. Both affects only OpenGL
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3485 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-06 13:53:00 +00:00
hybrid e2fddfe5a6 Fix file search, bug found by Sylence
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3484 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-05 23:45:11 +00:00
hybrid e877b786c7 Patch by Auria, which allows to render text in gui static text elements over the element clip area. This makes handling of changing text simpler. As default, this feature is turned off.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3483 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-05 15:19:51 +00:00
hybrid 8b5ed2bc5f Change addShadowVolumeSceneNode to replace the current shadow completely. This allows to change the shadow parameters, such that a call to addShadowVolumeSceneNode will always result in the correct shadow. Note that redundant calls to this method will be quite expensive now, so avoid them.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3477 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-04 23:45:21 +00:00
cutealien ac1d878aac Add IGUIEnvironment::removeFont (requested regularly).
Note: Currently we still will have the font-texture for CGUIFont's in the cache afterward.
But that needs a more general mechanims that allows cleaning up textures easier when the last one has been removed.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3465 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-02 22:14:44 +00:00
cutealien 7e20fd0d06 - Use SW_SHOWNORMAL instead of SW_SHOW in first ShowWindow (recommended by msdn)
- Fix problem that NULL device did steal focus away from other devices when created.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3461 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-25 10:53:45 +00:00
hybrid bdb55248e7 Fix mem leak found by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3460 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-25 09:33:02 +00:00
hybrid 2fe0df7686 Update opengl headers to OpenGL 4.1, add extensions to glext handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3459 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 23:50:02 +00:00
hybrid 4e586c7a9f Update to bzip2 1.0.6, libpng 1.4.4 and lzma from 9.20 SDK
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3458 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 22:30:16 +00:00
cutealien 1e69bb99bc Functions in IMeshCache expecting IAnimatedMesh* parameters removed as similar functions with IMesh* can be used since a while. Fixes also problems when IAnimatedMesh* got upcasted to IMesh*. (thx @ Greenya for reporting)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3457 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-24 21:28:15 +00:00
hybrid 22e391f814 Merged from 1.7 branch, revisions 3421-3447. Fix for Attributes, documentation fixes, disabled menu handling, treeview disabling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3448 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 22:57:26 +00:00
cutealien c9694ad3c5 Fix compile errors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3446 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 14:21:50 +00:00
hybrid 031838cbb8 Fix blend state propagation for MRTs to OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3445 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:36:30 +00:00
hybrid 8aa814a7c7 Add 64bit targets for msvc2010, supplied by Josh Brown
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3444 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:09:28 +00:00
hybrid 96f77300e2 Fix possible infinite loop due to testing an unsigned for >=0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3443 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 12:04:25 +00:00
cutealien 8b71ff58b4 The following functions will now use a "ISceneNode *" instead of a "const ISceneNode *":
ITriangleSelector::getSceneNodeForTriangle, ISceneNodeAnimatorCollisionResponse::getCollisionNode, ISceneCollisionManager::getCollisionPoint and ISceneCollisionManager::getCollisionResultPosition.
As collision functions often are followed by changing node positions users where so far forced to using const_casts (found by Greenya).
(This will lead once more to many post about correct getCollisionResultPosition usage, but can't be helped - those consts were too restricitive, sorry)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3442 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-21 00:23:09 +00:00
cutealien 43fa6a674f - ParticleFadeOutAffector::setFadeOutTime can no longer be set to invalid values
- ParticleFadeOutAffector uses now throughout u32 for fadeOutTime (found by greenya)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3439 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:45:45 +00:00
cutealien 90c021e123 - Add missing access function CParticleSystemSceneNode::getAffectors() (seen by B@z)
- Add missing setters/getters for particle emitters (seen by B@z)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3438 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-16 23:21:34 +00:00
cutealien 243356035d IGUITabControl::setActiveTab should only take IGUITab* and not IGUIElement* (thx to greenya for finding)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3434 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 23:52:23 +00:00
cutealien 3897efe381 - Add new skin-colors: EGDC_GRAY_WINDOW_SYMBOL, EGDC_EDITABLE, EGDC_GRAY_EDITABLE, EGDC_FOCUSED_EDITABLE
- Make sure disabled state is extended to sub-elements.
- Fix that icons in tabcontrol get also affected immediately by skin-changes
- Make disabled state for several elements more visible


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3433 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 23:36:13 +00:00
hybrid 61d232290f Fix cleanup in case of a failed visual creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3432 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 20:17:52 +00:00
cutealien 45752ab653 Bugfix: XML-Reader from ANSI->wchar_t should no longer mess up characters above 127
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3429 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-14 12:06:24 +00:00
cutealien 059af2899e Changing compile settings for VS10 in debug builds, now using: _ITERATOR_DEBUG_LEVEL=0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3428 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-14 09:18:04 +00:00
hybrid cc927f36c4 Fix method names of localtime for old MSVC versions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3427 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-10-08 08:27:33 +00:00
hybrid 2e5f0eebe4 Fix outdir setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3424 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:56:09 +00:00
hybrid d12a775318 Fix uninitialized member. Was working ok, but is still no good.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3423 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:28:01 +00:00
hybrid a72fe29f29 Avoid mipmaps by default, when rendering 2d elements
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3422 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:27:10 +00:00
hybrid 2db72f3aa9 Remove unused code fragment
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3421 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-23 12:24:32 +00:00
cutealien 4a5a8ef7f4 Bugfix: don't clear cursors in linux-device after the display has been closed already. Fixes crashes on application shutdown with more than one device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3418 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-19 21:11:39 +00:00
hybrid e12988e77a Fix collada loader bug, which tried to access non-existing textures. Found by Sylence.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3416 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-17 11:19:10 +00:00
hybrid fc8bf66fbc Fix driver attribute setting in all other drivers.
Fix wrong destruction calls, due to missing drop ion the attribute. Was a cyclic dependency on the video driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3413 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:22:33 +00:00
hybrid a7eb327b3b Fix MRT reset code. This fixes usage of MRTs under d3d. Test case comes later.
Also fix the driver attribute setting in d3d driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3412 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:17:58 +00:00
hybrid d6eb580f95 Add a generic attribute interface for querying video driver attributes which are not necessarily of type bool. This interface allows to check certain supported features, such as the number of user clip planes, supported lights and textures, MRTs, and other things. The interface might change in the future, but it's fully functional already. The supported attributes are listed in the API docs of the function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3408 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:19:42 +00:00
hybrid c4d88dbd54 Minor changes for the gl shadow rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3407 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:10:00 +00:00
hybrid 88a3cc6126 Add variable to store the maximum number of simultaneously supported textures of the driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3404 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:00:54 +00:00
hybrid 6d80b11144 Fix function signature for Linux systems. Bug noted by cheshirekow
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3403 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-10 07:56:41 +00:00
hybrid db0375bf15 Add UseMipMaps serialization as pointed out by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3402 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-09 08:26:04 +00:00
hybrid 68dd0061eb Make some methods const
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3401 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 22:28:28 +00:00
hybrid e08e256fdc Fix docs for collision manager API, wrong return value was given.
Change default blend mode in OpenGL to SRC_ALPHA,ONE_MINUS_SRC_ALPHA
Use less precision in 2dmaterial test.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3399 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 15:03:27 +00:00
hybrid 0058bfc4fa Added creation parameter to disable highres timers. Patch submitted by tonic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3397 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 11:54:13 +00:00
hybrid da27ae4f3f Fix vertex alpha blending, as found by darktib
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3396 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 10:41:31 +00:00
hybrid 8aa6c92bb5 Added a RealTimeDate structure, which can be queried for time and date in human readable form.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3395 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 08:22:52 +00:00
hybrid b9d6265969 Allow to add folder archives with names without trailing slash. Added test to make sure the possible variants are checked.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3392 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-06 16:03:53 +00:00
hybrid bde7b62fef Add some more tests and fix a problem with transparency in the transparent_refelction_2_layers material as found by xDan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3390 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 21:56:01 +00:00
hybrid 000efed8cf Add some default parameters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3389 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 21:46:27 +00:00
hybrid 7e236b0192 Merged from trunk, revisions 3366-3387. A few bug fixes all over the place.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3388 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-05 19:33:06 +00:00
hybrid ba5f014c15 Remove non-existing files from project list. This avoids the dumb "need to recompile" dialogs in MSVC 2010. Also cleaned up some more things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3382 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 17:35:38 +00:00
hybrid 1fcf0461fe Add the other msvc 2010 project and solution files. Fix all configurations to work as expected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3381 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 16:51:14 +00:00
hybrid 8524459883 Add VS2010 project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3380 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-31 12:37:11 +00:00
hybrid ba95d4c27f Avoid the warning about unsupported format when creating FBOs, and try to be more clever with choosing the proper fbo format.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3376 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-29 15:03:22 +00:00
hybrid 68d91c65d0 Fix render state update for UseMipMaps flag in d3d drivers. Thanks to kvakvs for the bug ticket and fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3374 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-08-29 14:47:52 +00:00
hybrid 61a65d211d Fix deprecation warnings in PNG handling. Also added a warning message handler to get png warnings through the Irrlicht logger. Fix signed/unsigne comparison in WAL loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3368 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 19:18:00 +00:00
hybrid 3357e7bb60 Fix deprecation warnings in PNG handling. Also added a warning message handler to get png warnings through the Irrlicht logger. Fix signed/unsigne comparison in WAL loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3367 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 19:17:31 +00:00
hybrid 9ecd5ddb45 Fix big endian compile problem. Avoid warning under non-msvc compilers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3366 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 16:19:05 +00:00
hybrid d4c81c4427 Merged from 1.7 branch, revisions 3358-3364. This was the revert of the win32 device change, which caused most test fails, and a few test updates. Moreover, updated the reference screenshots for burnings video tests. These all seemed to be correct (just the lights test was a little strong?)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3365 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 15:47:00 +00:00
cutealien 3c0e2b8204 Fix compiling on linux/gcc.
Fix crash in cursors when null-device was used.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3363 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 12:07:57 +00:00
hybrid 4493f9de4d Fix function name change from libpng update.
Fix warnings in test suite.
Disable XML reader check which was marked as still open.
Most tests don't go through, due to wrong image size (probably from changes in Win32 device, which now takes a larger render size than actually used).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3360 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 11:00:28 +00:00
hybrid 548f57af6c Merge in the new support lib versions. Made a little trouble due to manual removals of vc6 files a few hundred revisions ago.
Now we're on jpeglib 8b, libpng 1.4.3, and zlib 1.2.5

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3359 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 10:26:41 +00:00
hybrid e8fa33e154 Merged from 1.7 branch, revisions 3300-3357. Huge number of bug fixes, mostly in GUI and serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3358 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 22:45:45 +00:00
cutealien 011be981e7 Disabled DDS_LOADER by default.
a) It break 64-bit builds and I'm not deep enough in the format to fix this. Actually from the documentation I found so far the header-format used in the loader looked rather different to me from the format-descriptions I found and Microsoft warned that several dds-versions are out there and loaders
should care about that.
b) I suspect that this loader contains a S3TC implementation, although once again I'm not deep enough in it to validate that. This alorithm is unfortunately rather famous for it's patent as S3 is known to collect fees for it (that's the reason we didn't add that loader before). So users using it should be aware of this. (I think we could work around that at least for hardware-drivers as VideoCards-Vendors have licensed dds and it's possible to pass compressed data directly to the card, but that certainly wouldn't work for software-drivers).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3352 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 21:48:08 +00:00
cutealien 0f94624fef Add the new parameter for IFileList::addItem in a few places (will fix FileOpenDialog again).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3350 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 19:42:27 +00:00
cutealien 78b7ae1886 Fix compiling on gcc/Linux. Remove a bunch of warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3342 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-09 20:55:57 +00:00
engineer_apple bde140c794 vs2005 build all examples.sln
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3339 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-08 17:06:54 +00:00
engineer_apple 142c909b81 for cutealien, clean unused code
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3338 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-08 09:08:28 +00:00
engineer_apple 976b62fc23 Burningvideo - add Stencil Shadow Rendering (one color only and 32 bit only), pushed Burningvideo to 0.47
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3337 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-08 06:57:50 +00:00
engineer_apple 2a8461a4fe - added WAD Archive Loader ( Quake2 (WAL2) and Halflife (WAL3) are supported )
- CFileList
added Offset Parameter to SFileListEntry and removed the private array from the archive loaders.
CFileList::addItem now uses automatic incremental id if id = 0


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3336 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-07 20:27:10 +00:00
engineer_apple 816d5655fc - added Halflife 1 Model Loader
- added Halflife 1 Texture Loader
- slightly changed usage of getMesh ( doesn't effect existing implementation)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3335 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-07 16:16:03 +00:00
engineer_apple ccfcd68a12 added DDS Image Loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3334 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-06 12:26:39 +00:00
engineer_apple d44e436769 Changes in 1.7.1 (05.07.2010) TA
- BurningVideo 
		- add Normalmap Rendering ( one light only), pushed Burningvideo to 0.46
		- internal vertexformat changed
		- changed fixpoint from 9 to 10 bit fract resolution
		- renamed createBurningVideoDriver to createBurningVideoDriver and uses SIrrlichtCreationParameters like opengl
		- internal interfaces for the trianglerenders unified.
		
	- Example 11.
		changed the light billboards to use the light color. ( green light, green particle, red light red particle )
		allow to disable the bump/parallax on the earth like in the room ( with transparency )


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3331 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-05 09:37:38 +00:00
cutealien 29f6ca002e In IGUITreeView "clearChilds" and "hasChilds" deprecated for "clearChildren" and "hasChildren" (thx @Greenya for noticing)
Same childs => children in a few places in documenatation and variables.
Removed a compile warning in CCubeSceneNode.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3330 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-01 21:20:19 +00:00
cutealien b80b8c180d Add CGUIEditBox::getOverrideColor and CGUIEditBox::isOverrideColorEnabled (same as GuiStaticText has already. thx to greenya for noticing)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3326 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 22:22:59 +00:00
cutealien 9e10006ac4 Add logging level ELL_DEBUG. Use it in CAnimatedMeshSceneNode::getJointNode to prevent log-spamming for not found names (that's valid usually).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3324 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 20:24:25 +00:00
cutealien 9add67593e Add parameter DisplayAdapter to allow selecting the card when more than one card is in the system. Only D3D support so far and not yet tested (test-system will arrive in a few days).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3311 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-14 13:47:50 +00:00
cutealien 710b195d7e Remove wrongly added drop of cursorcontrol and document it instead.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3303 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-04 21:12:57 +00:00
cutealien 5b5fe394b7 Add support for changing cursors.
We use multicolor hardware cursors, but so far only Linux and Windows 32 are supported.
For Linux application must now link additionally with Xcursor unless they disable _IRR_LINUX_XCURSOR_.
Example 24 is added to show how to use those cursors and also as a general test for mouse-behavior.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3302 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-04 16:35:01 +00:00
hybrid a5046f4b29 Merged from branch 1.7, revisions 3290-3299. Few bugfixes, typo in GUI event, unicode fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3300 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-01 22:03:10 +00:00
cutealien 0f7ed239e2 Ignore WM_SYSCOMMAND - SC_KEYMENU as it didn't actually show the menu anyway, so having ALT and F10 key back under Irrlicht control is probably the better solution for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3298 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-29 12:13:18 +00:00
hybrid 4c58865f10 Use deferred texture resolution to relax the element order required in Collada files. Even though the standard forces a certain order, many files come in a different one. This fix allows for proper texture reading in those files, but won't fix the loader to an arbitrary order handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3291 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-08 10:50:52 +00:00
hybrid 8de33dd4a6 Merged from 1.7 branch, revisions 3270:3288. Several bug fixes in string class, GUI, mesh loaders. Docs and project file updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3289 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-08 10:38:50 +00:00
hybrid 6a34c5fd40 Export the color conversion method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3277 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-18 21:17:09 +00:00
hybrid 72581f0ccf Fix copy'n'paste bug found by booltox.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3276 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-18 09:56:05 +00:00
hybrid b6d83d97c1 Fix 64bit precision problem due to pointer/uint casts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3275 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-17 22:10:42 +00:00
cutealien 7e12ac9b95 Fix mipmap flag interpretation in d3d8 and d3d9 devices (enabling in materials accidentally disabled them).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3274 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-16 10:06:08 +00:00
hybrid d5deb716ef Add a new material flag which can disable mipmap usage completely via a boolean switch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3273 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-05 16:03:17 +00:00
hybrid 9e9e55a903 Merged revisions 3218-3270 from branch 1.7. Many bugfixes, mainly in GUI and device, a few mesh loader fixes. Octree culling bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3271 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-03 22:21:50 +00:00
hybrid d52e51242a Add the missing extension pointers for NV_occlusion_query
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3268 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 21:08:11 +00:00
hybrid ab82717b94 Fix some problems with OpenGL extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3267 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 20:17:47 +00:00
hybrid 99a25cfbc9 Remove debug output, add ifdefs for OpenGL versions not supporting ARB_occlusion_query. Add support for NV_occlusion query.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3266 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 16:18:42 +00:00
hybrid ccd1a241c3 Occlusion Query support.
I've finally took on Nadro's code from the forum and adapted it to overcome some restrictions of the original code. Moreover, there are some additional tweaks to make it simpler to use. A few minor things might still change in the future, but for now it looks like a proper implementation with many useful use cases. I'll come back on this in the next time when I provide an example for efficient usage of occlusion queries.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3265 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 15:40:10 +00:00
hybrid 6b3ce459a8 Fix return value of extension.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3263 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-31 09:33:21 +00:00
hybrid dc41969f1f occlusion query extension API necessary for OpenGL extension added. Not usable from Irrlicht API so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3262 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-29 21:39:36 +00:00
hybrid f14c5628b8 Add some gpu memory info output where possible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3259 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-26 17:49:08 +00:00
hybrid f0b8a7e9e1 Add support for vertex_array_bgra extension in OpenGL driver. This will speed up OpenGL rendering quite a lot as it skips the silly color conversion thing we have to do otherwise. Still a little clumsy implementation, but the speed gain is worth this.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3258 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-26 16:53:50 +00:00
hybrid 95680f93a8 Replace raw xml char implementation with template struct in order to decouple the type from POD types. May also help for 64bit problems or changes needed there.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3256 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-21 23:24:26 +00:00
hybrid 9d1cc03094 windows32 class unregister fixes by namtabmai
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3244 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 22:17:24 +00:00
hybrid 8813f08a8a Add extension support for OpenGL 3.3 and 4.0. Fix some init warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3243 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 17:28:10 +00:00
hybrid 16ef2e5e7d Don't destroy the external window.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3232 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-25 09:03:17 +00:00
hybrid 8796542e05 Fix texture size of terrain mesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3230 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-21 18:13:17 +00:00
hybrid 16bb785537 Fix last showstopper for GL2 GLSL instantations
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3227 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 20:17:25 +00:00
hybrid 9c4bb40b6c Fix some more typos in gl extension usage and new GLSL interface
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3226 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 19:55:47 +00:00
hybrid aee05c3199 Fix typo with using the wrong variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3225 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-16 14:33:06 +00:00
hybrid 11e37d6246 Improved inputs handling. Implemented instance before geometry handling. Enhanced debug output.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3223 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-15 17:20:44 +00:00
hybrid 9e23a0482f Rename local variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3222 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-14 22:56:54 +00:00
hybrid 813274d8ea Fix a problem with file format differences (wrong weights) and a problem with wrongly placed bones.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3221 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-14 22:55:35 +00:00
hybrid a23436f955 Merged revisions 3199-3217 from 1.7 branch. Fix collision problem in aabbox3d and some compile problems due to API changes. Fixed some minor mem leaks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3218 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-12 15:13:11 +00:00
hybrid 3c6b62c127 Fix the old way for shaders to work properly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3215 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-10 17:34:28 +00:00
hybrid b74a85df05 Add the new OpenGL2.x scheme for shader creation.
Properly clean up shaders, which were not completely removed before.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3214 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-10 17:17:33 +00:00
hybrid c981decf86 Some cleanup in stencil setup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3213 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-09 21:01:56 +00:00
hybrid d5346c98b2 Some updates from Steel's patch. Also removed the debug data rendering, as it won't work this way.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3209 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 16:18:35 +00:00
hybrid 8f5a1f6f23 Change shadow node to use core::array
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3208 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 14:57:19 +00:00
hybrid 96310b964d Merged revisions 3172:3197 from 1.7 branch. Some more bug fixes and doc updates from the 1.7 beta phase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3198 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-02 20:53:57 +00:00
hybrid 675fd7637e Merge revisions 3139:3171 from 1.7 branch. Many new tests and bug fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3172 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 16:53:15 +00:00
engineer_apple 934b4cfd22 Set #define OCTREE_USE_HARDWARE to false as default
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3149 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-16 12:02:51 +00:00
hybrid 0ca3ba3744 Merged revisions 3089-3138 from 1.7 branch. Full merge, all changes from 1.7 beta phase up to now are included.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3139 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-08 11:46:38 +00:00
cutealien 9b3f9590f0 - Add unicode and dead-key handling on Windows 32. Based on patch 2922403 from Jetro Lauha (tonic). Just we're now not using ToUnicode, but do stuff manually to support even older Windows systems.
- Add support for entering chars like @ with Alt Gr on non-US keyboards. Also from patch 2922403 by Jetro Lauha.
- Move unit globals into anonymous namespace in CIrrDeviceWin32.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3088 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-29 00:19:29 +00:00
hybrid a8229b3f10 Merged from 1.6 branch, revisions 2936:3075. Several bugfixes for GUI, containers, file system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3076 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 10:56:30 +00:00
cutealien 1b523f689b - Fix bug that menus on IGUIWindows with titlebar got drawn too high (id: 2714400)
- Add another parameter to IGUISkin::draw3DWindowBackground to allow getting the client area without actually drawing 
- Add function getClientRect to IGUIWindow for getting the draw-able area
- Documenation updates


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3073 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-27 20:04:11 +00:00
cutealien 95ea9b9b4e Fix hopefully problem I introduced for compiling on 64-bit linux (found by Tecan). Needs test from someone with 64-bit system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3068 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 20:32:10 +00:00
cutealien a08f3e25d2 - Fix problem that modal windows do not get activated on setFocus (noticed by Yoran).
- Kick virtual function calls out of IGUIElement constructor.
- Actually those fixes could maybe go into 1.6 (only non-virtual protected interfaces added).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3067 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 18:41:45 +00:00
hybrid 538d1a1e96 Remove unused function, simplify joints code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3066 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:26:09 +00:00
hybrid 7b6640fd8f Return shadow node if adding to a node that already has a shadow.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3065 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:19:08 +00:00
cutealien 28a04fbd42 Renamed OctTree to Octree
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3062 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 22:10:53 +00:00
cutealien 12c53b2cfc Allow to set the logging level already in SIrrlichtCreationParameters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3059 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:33:53 +00:00
cutealien 633702e2e0 Documentation update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3058 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:15:47 +00:00
cutealien 17cee03cd1 ClearSystemMessages does now also just remove keyboard/mouse events on Linux. Should probably be parametrized in the long run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3057 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-18 12:37:25 +00:00
hybrid 74b0345a53 Added framework option for compiling under OSX with Makefile. Suggested by blues2008. Please note that default is still using X11, you need to disable the X11 linking and enable the framework line. Also make sure to use the proper device and config settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3053 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-17 12:04:55 +00:00
cutealien 9b50b09ea3 Add clearSystemMessages to IrrlichtDevices (implemented only for Win32 and Linux so far).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3051 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 10:39:29 +00:00
cutealien dae1088202 Add ReportLastWinApiError to Win32 device to make internal debugging easier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3049 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 05:27:30 +00:00
cutealien f0752acdc7 A proposal for fixing the problem with the textures being re-loaded with folder-file-archives.
See bug id 2912581:  http://sourceforge.net/tracker/?func=detail&aid=2912581&group_id=74339&atid=540676
More details described on bug-page.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3043 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 09:25:55 +00:00
hybrid 27b5b6633c Change SMesh allocation to heap allocation, as it's a reference counted element.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3037 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-11 12:52:38 +00:00
hybrid f964cb3d60 Add possibility to change render context for OpenGL with beginScene. Should work if the context is shared with the one from Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3034 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 17:57:16 +00:00
cutealien e7afb972b8 Add xml-serialization to the serializeAttributes test. Add comment to readAttributeFromXML that userPointers are intentionally set to 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3033 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 01:32:44 +00:00
hybrid 6cc3ffc5be Add 2d override material for other hw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3032 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 00:04:41 +00:00
hybrid 38a44116e2 Change the 2d material interface. Renamed methods and cleaned up reset scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3031 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 23:21:38 +00:00
hybrid c9c108ea6d Fix 2d init material setting for OpenGL. Add new file to project file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3030 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 22:57:11 +00:00
hybrid 6a7b142b49 Add methods to alter the 2d override material.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3029 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 18:32:55 +00:00
hybrid 6abf90071c Create context activation methods. Used in init only so far, until the other functionality works correctly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3028 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 18:03:24 +00:00
hybrid 599de0e73e Support another b3d material flag.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3027 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 08:58:30 +00:00
cutealien 8bebbdbbc2 - Fixed serialization of stringw-arrays again and learned another lesson of "be very careful when changing const's".
- Added test for serialization
- Added operator != for quaternion.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3026 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 04:39:25 +00:00
hybrid f450f358d5 Revert last changes to make gcc happy.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3025 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 01:13:43 +00:00
hybrid 9fbd2926fb Reduce some more calls to the named path conversions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3024 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:45:35 +00:00
hybrid ab5bf465d5 Add InitMaterial2D member, which will be used to alter 2d render state settings. Not yet functional, though, as we need to do more performance tests and API additions.
Added the 2d batch render function to OpenGL as it reduces the amount of render state changes. This makes text rendering far better scaling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3023 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:42:45 +00:00
cutealien ab590612a9 Make spritebank a little easier to use by adding clear and addTextureAsSprite.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3021 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:05:35 +00:00
cutealien 7e91fcb00f Simplyfy SNamedPath
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3020 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 22:45:39 +00:00
hybrid 1f574c6069 Add support for different primitive types for geometry shaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3019 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 17:27:22 +00:00
hybrid 7909a00d6d Update render context switch code, should work under windows now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3018 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 13:47:56 +00:00
cutealien 0a3800376c Fix incorrect cursorpos for resizable windows on Windows Vista (found and patched by buffer)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3017 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 23:15:37 +00:00
monstrobishi b0bc19fd7a - Just felt like saying hi ^^
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3016 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:40:13 +00:00
hybrid 2f4fe1af75 Move deprecated methods into non-virtual delegating methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3015 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:36:32 +00:00
hybrid 1e9b87e804 Fix material reset in 2d setup for proper render state reset.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3014 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:20:37 +00:00
hybrid fa2c5d0cd4 Change void* parameter in beginScene to SExposedVideoData&, which will allow to configure more features. Due to the constructor for SExposedVideoData this is mostly transparent, just add this type around the currently used pointer.
Please also note that the OpenGL context handling is not yet working, so no real enhancement so far.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3013 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:17:52 +00:00
hybrid e5bcc47079 Add lzma files to other project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3007 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 10:44:04 +00:00
hybrid 07a652f488 Add LZMA decompression (7zip compatible, without 7zip archive support).
Change bzip2 code to NO_STDIO to save some space.
Add some more flags to allow for system version of bzip2 etc.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3006 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 10:23:37 +00:00
cutealien 7eaece5d46 Add OBJ_TEXTURE_PATH and B3D_TEXTURE_PATH to SceneParameters to allow setting texture-paths for obj and b3d.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3005 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 05:46:43 +00:00
cutealien 58764ce8b9 - Keep filenames additionally to internally used names for meshes, fonts, textures and sprites to fix problems with uppercase-filenames on Linux.
- Adapt MeshCache interface to make the difference between names and filenames more clear. Old functions behave the same, but are deprecated.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3004 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 04:52:15 +00:00
hybrid 65e7a3bd52 Fix warnings, MSVC version only guessed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3003 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 00:06:17 +00:00
cutealien 0a9e77fde8 Fix minor problems with includes in c::b project file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3002 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 23:52:59 +00:00
hybrid eb88b172e2 Add bzip2 files to other project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3001 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 18:16:21 +00:00
hybrid df5bdda304 Add bzip2 files to vc9 project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3000 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 17:23:15 +00:00
hybrid 20b458d973 Add support for bzip2 compressed zip files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2999 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:58:12 +00:00
hybrid f4fbdbd458 Rename file due to name clash with zlib.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2995 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:43:49 +00:00
hybrid d8457b0bdf Add bzip2 to trunk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2994 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:32:10 +00:00
hybrid 4a3f5d8068 Remove unused files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2992 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 14:17:26 +00:00
hybrid 97d4c2f71a Fix compilation under Solaris.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2991 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:48:02 +00:00
hybrid dd198af9e5 Add possibility to add externally loaded/created fonts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2989 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:02:42 +00:00
hybrid 6ffcba6836 Fix test compilation. Add check for decryption support being enabled. Add meaningful message if trying to load an encrypted file without decryption support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2987 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 11:08:05 +00:00
hybrid def8fc60a0 Fix warnings found by randomMesh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2986 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 01:14:26 +00:00
hybrid 504a2474d5 Fix HLSL support, which was broken due to a wrong overload. Mentioned by Yoran
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2983 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-04 21:39:19 +00:00