Commit Graph

696 Commits (92892c4fd5cad5fce74e631824feb96bf476a7df)

Author SHA1 Message Date
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 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
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
cutealien 7988585f8c Improve docs for IGUIFileOpenDialog.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3505 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-12 18:30:41 +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 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 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 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 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
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 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 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
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
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
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 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 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 c11c87f20c Fix getRotationDegrees in matrix class as noted by drewbacca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3400 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-07 17:03:54 +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 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 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 02585abef2 Fix comment copy-paste error, as found by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3386 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-01 16:19:11 +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 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 1641e03aac Add IGUIElement::bringToBack (patch written by DtD, although I'm to blame for the function-name)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3356 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 18:29:11 +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 d8fbf825d3 - Removed d3d8 again from compile-config (sorry)
- DisplayAdapter parameter should actually be used now (wasn't... thx Yoran for seeing that it didn't seem to do what it was supposed to do)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3346 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-12 14:36:12 +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 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 7446ed9757 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@3333 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-05 09:38:53 +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 b72110baa1 Fix compiling on VS (thx to joshcryer for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3328 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-26 16:05:38 +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 e03ff5e739 Add dimension2d::operator- for completeness.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3325 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 21:00:23 +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 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