240 Commits

Author SHA1 Message Date
bitplane
9483405ae8 fixed NaNs returned by toEuler, rounding errors caused acos to be passed > 1 or < -1.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@779 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 18:41:46 +00:00
bitplane
d3ceddc064 fixed a bug I caused in CGUIMenu and CGUIContextMenu. added some more window symbols to the built-in font and the skin.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@768 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 12:19:39 +00:00
hybrid
0138d9e0e8 Changed addArrowMesh parameter order. Changed OBJ loader to use stringc instead of dynamically allocated char array.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@766 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:08:47 +00:00
hybrid
c912054f24 Missing const fixed.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@765 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 18:34:55 +00:00
bitplane
e0a66f229b Added navigation through the GUI using tab and the shift and control keys. Added keyboard navigation for most elements. Fixed that annoying bug where you had to click twice to change focus.
Added IGUIElement::isMyChild, isPointInside,  SEvent.GUIEvent.Element. 
Changed setFocus and removeFocus to return bools.
changed quaternion::toAngleAxis to use iszero. 

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@763 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 07:03:54 +00:00
bitplane
47b258136d added IUnknown::getReferenceCount and IMeshCache::clearUnusedMeshes to flush unused meshes from the mesh cache.
Fixed CGUIModalScreen, which I broke with the IGUIElement changes. Also fixed a small bug with the tooltip appearing directly under the mouse cursor.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@760 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 11:20:03 +00:00
bitplane
2c14c00a58 fix for quaternion::toAngleAxis, angle was QNaN when W < -1
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@758 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 12:32:23 +00:00
bitplane
0434f38711 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: http://svn.code.sf.net/p/irrlicht/code/trunk@751 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 02:15:18 +00:00
bitplane
6ffc68e9c3 added IGUIEditBox::setAutoScroll, isAutoScrollEnabled and getTextDimension.
added automatic scrolling when dragging text with mouse

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@747 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 06:54:58 +00:00
bitplane
5d85b449aa 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: http://svn.code.sf.net/p/irrlicht/code/trunk@745 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-30 23:30:40 +00:00
hybrid
491ec52d0a Fix the macro parameter to f32 to work correctly.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@744 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-29 15:55:36 +00:00
bitplane
0638e14973 changed irrArray::linear_search to use == operator to avoid false positives.
changed operators on classes that used linear_search (only used in string comparisons)

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@742 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 05:10:23 +00:00
bitplane
7c13125362 removed D3DFMT_A8B8G8R8 from CD3D8Texture.cpp (it was new in DirectX9).
typo in compile config comment

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@737 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 00:14:28 +00:00
hybrid
3f5c46d952 Changed API to per texture-layer filtering.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@731 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:26:16 +00:00
lukeph
2ad961ab7f changed the docs of quaternion to state the euler angles used are in radians, this seems to have confused someone on the forums, so it did me before. check I'm right about this.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@730 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 02:11:52 +00:00
hybrid
e9cfa6976a Added adjustable attenuation to dynamic lights.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@726 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 21:06:21 +00:00
irrlicht
1e445cc005 updated irrlicht version to 1.3.1
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@714 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 07:48:20 +00:00
irrlicht
a0c3d8e496 made irrlicht compile with vs 6.0 again
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@711 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-16 05:55:44 +00:00
hybrid
12dd2494bf Fixed also the vector2d normalization, reported by prisonerofpain.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@707 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 15:42:55 +00:00
bitplane
f8d406d857 fixed a fast_atof bug with negative exponents
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@702 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 14:32:18 +00:00
bitplane
595fac44bf renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
bitplane
3c253aa6a4 fixed ascii art in aabbox3d::getEdges, found by Vitek
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@699 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:27:25 +00:00
bitplane
d87d100166 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: http://svn.code.sf.net/p/irrlicht/code/trunk@697 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 01:07:21 +00:00
irrlicht
609e046c97 removed some warnings when doing double/float conversions
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@695 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 13:21:19 +00:00
hybrid
9f6cc604f9 Separated driver features into new file.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@686 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:53:04 +00:00
hybrid
393fe82b7b Removed development replacement code. Sorry, this was not meant to be in SVN...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@683 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 21:15:48 +00:00
bitplane
72e0cddac2 removed namespace from matrix4 constructor enum to make it compile again in VC
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@682 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 20:44:11 +00:00
hybrid
1e0ea7012b Fixed two things from a previous commit that were not working. Some minor comment changes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@680 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 13:07:10 +00:00
hybrid
82b706a874 Cleaned the MeshCache interface, added filename methods from CMeshCache to the interface. Also changed the Scenemanager interface to accept IMeshCache instead of CMeshCache.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@678 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:07:47 +00:00
hybrid
3d0bbb3827 Made the MeshBuffers be based on a template class. The original headers do still exist for compatibility reasons. The SMeshBuffer... structs are now typedefs of the template.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@676 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:09:32 +00:00
hybrid
b06bcab8ae Started to make matrix4 a template to allow for better adaption. Due to renaming of the template the original matrix4 type is still the f32 version of the matrix. I had to remove some forward declarations, though as I did not want to add the template declaration into other headers.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@675 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 10:37:00 +00:00
hybrid
c4aec3a721 Enhanced documentation for isFrontFacing to make it safer to use. Fixed frustum culling to correctly handle all possible cases of box intersections. Replaced isFrontFacing by classifyPointRelation as suggested by vitek. Minor cleanups in some classes.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@667 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 11:14:47 +00:00
bitplane
994549a037 missed a couple of IGUIButton getters: isPushButton and isDrawingBorder
renamed getUseAlphaChannel to isAlphaChannelUsed to fit with other "bool is*" getters

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@657 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 02:55:33 +00:00
hybrid
7bcf00dd43 Some documentation fixes.
Replaced some f64 by T in container classes, where computations were only f32 correct anyway.
Made triangle3d.isOnSameSide private as it is completely unrelated to triangles.
Renamed plane.existsInterSection to plane.existsIntersection since all other functions concerning intersections use the small s.
Fixed plane3d.classifyPointRelation to return the correct relation. Spotted by vitek.

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@655 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 00:04:58 +00:00
bitplane
9900aae837 added IFileSystem::getFileDir and made XML bitmap font use relative path for texture.
gui editor now compiles again

git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@654 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 22:19:21 +00:00
bitplane
b0ce50b18d completion of most getters/setters for GUI
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@653 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 20:44:25 +00:00
hybrid
d0808c30bc More fixing of Sphere texture coords. Now we have proper spherical mapping, but a weird seam at the date line - when using the earth.bmp.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@650 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 14:19:01 +00:00
hybrid
71990c7e72 Fixed correct overloading of hasMipMaps, found by Jiang. Also changed it to const.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@648 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 07:20:16 +00:00
bitplane
08ad4c4e05 added quaternion::toAngleAxis
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@645 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 00:35:31 +00:00
bitplane
30b56d2ec5 Moved everything to /trunk
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00