Commit Graph

76 Commits (9b3c67fe37c5edea92614a97a0f65c5924c2528a)

Author SHA1 Message Date
bitplane 9b3c67fe37 changed behaviour of IGUIElement::OnEvent so it doesn't always absorb events, and added getAbsoluteClippingRect.
fixed tooltip text on file open dialog's close button.
added some managed marshalling bugfix things where I missed them earlier.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@751 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 02:15:18 +00:00
bitplane 4b370145d9 changed all video driver creation failure log messages to use ELL_ERROR (like the windows device).
all devices now log an error message if the video driver is unknown.
fixed serialization of new variables in IGUIEditBox.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@750 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 21:22:05 +00:00
hybrid c2670ddc08 Fixed reorder warning and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@748 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 10:16:39 +00:00
bitplane 4996342b0f added IGUIEditBox::setAutoScroll, isAutoScrollEnabled and getTextDimension.
added automatic scrolling when dragging text with mouse

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@747 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 06:54:58 +00:00
bitplane 4701c286f6 fixed a bug in CBillboardTextSceneNode::setText, the mesh data text was not cleared
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@746 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 05:16:01 +00:00
bitplane 1f1006a177 Added CuteAlien's IGUISpinBox.
Added setDrawBorder to IGUIEditBox and IGUIStaticText. 
Added setTextAlignment to GUIEditBox and IGUIStaticText, for text justification and vertical alignment.
IGUIEditbox now supports multiple lines using setWordWrap and setMultiLine.
IGUIElement now calls getter and setter functions when serializing, in case of getter/setter overrides.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@745 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-30 23:30:40 +00:00
hybrid 9603bbfcdf Fixed missing bounding box for arrow mesh, reported by white tiger.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@743 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 21:07:33 +00:00
hybrid 97b6ac7a7c Oops, missed a reordering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@741 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:57:15 +00:00
hybrid 07e68915ce Avoid the wrongly oriented triangles by use of quads.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@740 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:49:59 +00:00
hybrid 0d00c3be2d Another fix for the linux device by zeitgeisty. Added another OpenGL Stencil extension.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@739 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:47:55 +00:00
bitplane ad19e6eb80 fixed memory leak in 3ds loader when splitting mesh buffers, reported by Dave
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@738 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 18:11:23 +00:00
bitplane 5dc996b22a removed D3DFMT_A8B8G8R8 from CD3D8Texture.cpp (it was new in DirectX9).
typo in compile config comment

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@737 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 00:14:28 +00:00
hybrid 348af4cf87 Fixed version number comparison.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@736 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-26 08:35:33 +00:00
hybrid ce27efa421 Fixed typos and mingw stuff.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@735 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 23:34:16 +00:00
hybrid 65a1407bd1 Some simplifications in d3d texture code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@733 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 23:16:17 +00:00
hybrid ecbe186fce Fixed the getSize confusion and the wrongly comitted profiling option in the makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@732 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:42:06 +00:00
hybrid 59ab9c522b Changed API to per texture-layer filtering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@731 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:26:16 +00:00
hybrid d4d4da094f Linux device fix by zeitgeisty.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@729 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-23 18:51:30 +00:00
hybrid 010e9b2fc1 Added adjustable attenuation to dynamic lights.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@726 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 21:06:21 +00:00
hybrid 01fea0198a Pitch fix for d3d RTTs by alc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@725 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 08:53:12 +00:00
hybrid 4e5d7f4de6 Forgot to advance the version, add a so name to shared object.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@724 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 08:33:11 +00:00
hybrid 77f1aebc6d Fixed another md2 normals problem found by cyberwan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@722 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-20 15:17:50 +00:00
hybrid 1441da7fc5 Fixed the missing reset of texture matrices. Fixed a reorder warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@721 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-19 08:44:19 +00:00
bitplane cda27017af changed the scene manager's registered node arrays to use set_used(0) rather than clear() to avoid unnecessary reallocations
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@720 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 06:53:05 +00:00
bitplane 61620cebff fixed a bug when trying to load fonts with uppercase letters in their names in case sensitive filesystems
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@719 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:58:12 +00:00
bitplane 125c58dfda fixed a bug in CGUIEnvironment::clear() reported by Jacky_J
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@718 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:15:12 +00:00
bitplane 4e79c0e25d fixed 2nd light vectors in opengl normal and parallax renderers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@717 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:00:30 +00:00
lukeph c374f1b724 no changes made:
Box = Mesh->getBoundingBox(); //can we remove this, the box is set on 'setMesh', and without it the user can set their own boundingbox (if the normal one is too small) without it being overwritten

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@716 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 12:39:10 +00:00
irrlicht 3748bb46d0 made irrlicht compile with vs 6.0 again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@711 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-16 05:55:44 +00:00
irrlicht fee87ba492 removed a bug which caused irrlicht to crash when using animated .x files as static meshes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@706 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 08:49:22 +00:00
bitplane 401a1e10ad couldn't work out why oct-trees were culled against the bounding box of the frustum rather than the frustum itself. works better than the bounding box method in my test meshes (box method culls too much) so I changed it back to use frustum method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@705 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 20:02:11 +00:00
bitplane ef6f9fd006 changed CAnimatedMeshSceneNode to use the bounding box of its IAnimatedMesh instead of calling getMesh() and re-skinning. Tested with a few different mesh formats and couldn't see any obvious problems. IAnimatedMesh implementations are now responsible for keeping a maximum bounding box.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@704 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 01:29:10 +00:00
bitplane c729f356f0 renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
bitplane 29610f5d51 added reference rect to linux and osx devices (untested)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@700 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:01:58 +00:00
bitplane dd52152623 x meshes now don't re-skin if the last known frame is requested by getMesh. doesn't fix the double skinning bug if there's more than one mesh on screen though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@698 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:15:33 +00:00
bitplane 4ee11782f6 added more default fonts to skins, made elements use them by default. updated gui example to show use.
modalscreens now resize to fit parent.
updated meshviewer example to lock the image to the bottom left corner.
tooltips:
added EGDC_TOOLTIP_BACKGROUND to skins. 
changed the position of tooltips and their time between creation to 500ms. 
made sure that they do not leave the area of the gui environment.
new method: rect::constrainTo to forcing one rectangle to stay inside another.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@697 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 01:07:21 +00:00
irrlicht a5fc06d99d The SkyBox scene node clamps its textures by default now
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@696 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 14:45:05 +00:00
irrlicht 4873ecf3e8 removed some warnings when doing double/float conversions
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@695 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 13:21:19 +00:00
bitplane e9a8b8851d added drawing debug mesh bounding boxes to CMeshSceneNode
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@694 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 01:32:36 +00:00
hybrid 7380f36e9a Added better support for OpenGL clamp modes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@693 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 00:26:20 +00:00
hybrid f510c26951 Fixed include of os.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@692 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-06 13:29:27 +00:00
hybrid ae34762eee Inlined the OpenGL access methods, also renamed some of them to make the names more durable in case the official methods are promoted.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@691 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-05 17:56:10 +00:00
hybrid 7085da1882 Missed a parameter while extending the init functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@690 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-05 09:06:08 +00:00
hybrid 8fc1ed5196 Split OpenGL extension stuff into new file which is inherited by the driver in order to keep backward compatibility. The handler is not automatically created and thus has to be manually updated sometimes. Many functions and pointers are still missing...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@689 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:31:17 +00:00
hybrid e48685ea32 Fix a 64bit problem with libpng.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@688 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:19:40 +00:00
hybrid 855908957d New header files from opengl.org
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@687 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:56:50 +00:00
bitplane a526d9b45e Fixed some combobox/listbox annoyances raised by greenya
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@685 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 14:22:04 +00:00
bitplane fcbf4a1a19 Removed array::erase from loops in Octtree.h and COctTreeTriangleSelector.cpp, they now generate a lot faster.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@684 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 02:50:30 +00:00
hybrid 4145d01f4a Fixed warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@681 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 15:07:57 +00:00
hybrid 23986b2c31 Fixed two things from a previous commit that were not working. Some minor comment changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@680 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 13:07:10 +00:00