bitplane
4e4c393d41
Added IrrCompileConfig define to compile without GUI.
...
Fixed a couple of spelling mistakes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@809 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-26 05:30:19 +00:00
bitplane
cdd017da43
reverted change to quaternion :/
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@808 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 21:31:30 +00:00
hybrid
b9f96332bd
Added a new texture creation flag for specifying the desired texture format. The new flag chooses a non-alpha channel texture format. This will save some texture memory (one fourth for 32bit textures).
...
Fixed another COpenGL render state bug.
Fixed several color conversion methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@801 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:31:18 +00:00
bitplane
a22e4abf94
stole lightfeather's quaternion::toEuler function by mm765 (with permission) as it deals with singularities. added a constant for pi/2.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@795 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 15:42:32 +00:00
hybrid
71c42fb110
Make the material name string array local to SMaterial, public, and up to date.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@790 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 22:34:42 +00:00
bitplane
9b5c411745
added listbox automatic scrolling and scrollbar automatic visibility depending on height
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@788 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 22:17:53 +00:00
hybrid
9eabb49041
Some more parts of the matrix class templatized.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@784 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:23:09 +00:00
hybrid
2dc1051124
Added a name parameter to render target textures just as for usual textures.
...
Exposed findTexture in IVideoDriver to check if a texture was already loaded.
Reordered some more OpenGL render state settings in the materials.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
bitplane
6a04ec83c7
missed a semicolon in a do while loop .. oops
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@781 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-12 16:47:25 +00:00
bitplane
044cb4de8b
fixed NaNs returned by toEuler, rounding errors caused acos to be passed > 1 or < -1.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@779 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 18:41:46 +00:00
bitplane
9cd0eca1ce
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@768 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 12:19:39 +00:00
hybrid
ef4443353b
Changed addArrowMesh parameter order. Changed OBJ loader to use stringc instead of dynamically allocated char array.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@766 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:08:47 +00:00
hybrid
1406fa59b8
Missing const fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@765 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 18:34:55 +00:00
bitplane
e5dbed93dd
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@763 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 07:03:54 +00:00
bitplane
64ea350e23
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@760 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 11:20:03 +00:00
bitplane
569dc8350f
fix for quaternion::toAngleAxis, angle was QNaN when W < -1
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@758 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 12:32:23 +00:00
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
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
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
6ae1881a86
Fix the macro parameter to f32 to work correctly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@744 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-29 15:55:36 +00:00
bitplane
323182d605
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@742 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 05:10: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
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
lukeph
cd36b187b4
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@730 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 02:11:52 +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
irrlicht
3c3b14cc42
updated irrlicht version to 1.3.1
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@714 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 07:48:20 +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
hybrid
ae3d7a58d1
Fixed also the vector2d normalization, reported by prisonerofpain.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@707 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 15:42:55 +00:00
bitplane
88cb2efacc
fixed a fast_atof bug with negative exponents
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@702 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 14:32:18 +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
2617554681
fixed ascii art in aabbox3d::getEdges, found by Vitek
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@699 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:27:25 +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
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
hybrid
c9409e8eab
Separated driver features into new file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@686 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:53:04 +00:00
hybrid
db6011aae3
Removed development replacement code. Sorry, this was not meant to be in SVN...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@683 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 21:15:48 +00:00
bitplane
f960e51037
removed namespace from matrix4 constructor enum to make it compile again in VC
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@682 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 20:44:11 +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
hybrid
480ba9cc9d
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@678 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:07:47 +00:00
hybrid
60e4d62143
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@676 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:09:32 +00:00
hybrid
b6b7cfd13b
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@675 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 10:37:00 +00:00
hybrid
5180ee88e6
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@667 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 11:14:47 +00:00
bitplane
3eaea2d47a
missed a couple of IGUIButton getters: isPushButton and isDrawingBorder
...
renamed getUseAlphaChannel to isAlphaChannelUsed to fit with other "bool is*" getters
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@657 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 02:55:33 +00:00
hybrid
4f5e1c399f
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@655 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 00:04:58 +00:00
bitplane
4c2e3119f4
added IFileSystem::getFileDir and made XML bitmap font use relative path for texture.
...
gui editor now compiles again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@654 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 22:19:21 +00:00
bitplane
7cf5252eb9
completion of most getters/setters for GUI
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@653 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 20:44:25 +00:00
hybrid
feaf212248
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: svn://svn.code.sf.net/p/irrlicht/code/trunk@650 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 14:19:01 +00:00
hybrid
13b7691b7a
Fixed correct overloading of hasMipMaps, found by Jiang. Also changed it to const.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@648 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 07:20:16 +00:00
bitplane
41a9bf794a
added quaternion::toAngleAxis
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@645 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 00:35:31 +00:00
bitplane
c00ce1d372
Moved everything to /trunk
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00