Commit Graph

2084 Commits (2f8b537d25bcf2038dc15ff94e3f007a0fa305b6)

Author SHA1 Message Date
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 0a1711110b Fix project settings and add vc10 project file for example 25.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3643 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-15 14:06:10 +00:00
hybrid 80f1e095bc Fix debug db name
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3642 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-15 13:56:42 +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 9260fbdbea Add tests for strtol10 and modify threshold for other test.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3635 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-13 22:27:34 +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 95db447bfc remove default destructor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3632 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-04-12 12:03:37 +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 c9d021cc36 Fix transparency materials in particle systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3615 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 11:40:00 +00:00
hybrid 3c1c1085b4 Fix method deprecation warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3614 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 11:30:01 +00:00
hybrid 524204d69d Fix material hint for particles
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3613 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 10:46:18 +00:00
hybrid 881108873e remove destructor which is already inherited from IReferenceCounted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3612 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-20 10:30:39 +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 a452e85047 Fix spelling of enum and docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3610 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-03-18 22:52:01 +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
hybrid b4fde1ec49 Add missing include found by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3601 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-21 20:38:39 +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 ed5344f5e8 Added minimum timelines for removing deprecated methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3598 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-19 09:22:58 +00:00
bitplane 5faf99e1bf Added Linux target to "All" virtual target in CodeBlocks tools projects
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3597 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-18 04:28:54 +00:00
bitplane aa7a73b0dd Warn that addFileArchive methods will be removed in Irrlicht 1.9
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3596 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-18 04:23:42 +00:00
bitplane 3acdca69c4 Add Linux to "all" target in CodeBlocks examples projects so they actually compile first time.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3595 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-18 04:20:49 +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 54356391a2 Removed getMS3DJointNode, getXJointNode, and EGDS_MESSAGE_BOX_MAX_TEST_WIDTH. Added deprecated warnings to some more methods, plus a couple of doc string fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3593 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-14 15:59:05 +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
bitplane e5158f69a8 Replaced addZipFileArchive with addFileArchive
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3589 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-02-04 23:26:22 +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