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
5596d96da8
Use more descriptive variable-names in addArrowMesh (noted by Yoran)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3447 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-22 16:00:44 +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
5c3e9500f8
Add vector3d::getAs3Values (patch provided by slavik262)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3441 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-20 13:31:44 +00:00
cutealien
5db243df93
Add function to SViewFrustum to get corners of the near plane (patch provided by slavik262)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3440 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-20 13:18:30 +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
e448136f57
- Compile-defines can now be disabled from Makefiles/Projectfiles instead of having to change IrrCompileConfig.h each time (that's mostly to make it easier to use identical sources for client&server versions by simply using 2 different projectfiles)
...
- Disabled Xcursor support by default to avoid the additional link dependency on Xcursor lib (too many people got confused by that already).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3437 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-09 22:31:29 +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
hybrid
06c13f78bc
Merge from 1.7 branch, revisions 3389-3419. Only a valgrind warning in heapsort. Also skipped the date bump, which would cause too many conflicts. Will be changed later on manually.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3420 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-20 21:34:39 +00:00
cutealien
43a1fd36e7
Add xml example written by Yoran Bosman.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3419 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-19 21:18:00 +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
3a66a00b68
Add a test case for mrt usage. Based on code by wing64.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3414 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 09:26:03 +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
bb44b62433
Add some closeDevice calls to reduce the open windows after tests have run.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3411 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-14 07:24:33 +00:00
hybrid
69bc11c8f5
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3409 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-13 11:24:14 +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
56010f2fd0
Add gui image for 2dmaterial test. Enable anti-aliasing in aa test.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3406 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:05:32 +00:00
hybrid
7a70e59eff
Change version number for code in trunk.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3405 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-12 11:02:39 +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