hybrid
7d574cc99d
Reindentation and small updates.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@793 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 23:46:43 +00:00
bitplane
986ef627f7
missed conditions for flipping projection when drawing 2d images in opengl render targets
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane
e27415f6da
opengl render targets were flipped again after drawing 2d stuff
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +00:00
hybrid
b6d5fbf11b
Make the material name string array local to SMaterial, public, and up to date.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@790 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 22:34:42 +00:00
hybrid
e66f369914
Fixed a missing return for performance.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@789 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 21:51:04 +00:00
bitplane
1609c1d6b9
added listbox automatic scrolling and scrollbar automatic visibility depending on height
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@788 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 22:17:53 +00:00
bitplane
ac95fd750b
OpenGL render targets are now the same way up as in the other drivers. When setting the projection matrix of a render target, the Y axis is flipped and polygon winding is switched to counter-clockwise.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid
e014b8444a
Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid
3d3fb14f90
Added some more compile time checks for OpenGL support.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +00:00
hybrid
f59a6475bc
Some more parts of the matrix class templatized.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@784 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:23:09 +00:00
hybrid
fabcbfe8b2
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: http://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
hybrid
a5ef3b727f
Fixed scene node deserialization which was completely broken since several revisions due to newly added attributes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@782 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:34:05 +00:00
bitplane
0edbf96bf6
missed a semicolon in a do while loop .. oops
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@781 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-12 16:47:25 +00:00
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
hybrid
af375c4cc6
addColor fix by etcaptor.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@778 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 08:07:06 +00:00
hybrid
ebfbf15c30
Fix shader language version check.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@777 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-10 21:49:59 +00:00
hybrid
8b38919a41
Fixed an OpenGL render state bug and added GLSL version number to check in extension handler.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@772 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-09 22:59:35 +00:00
bitplane
0a8044a3ab
fixed getOriginalSize in textures in Burning's renderer. Had to add a new method to get the size of the largest mipmap (getMaxSize), as the texelarea functions needed this value.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@769 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 14:02:45 +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
1d02f20ab8
Some minor changes.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@767 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:12:48 +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
2955c77913
CGUIButton was using texture->getSize rather than getOriginalSize
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@764 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 08:01:33 +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
hybrid
ead999dffc
Quick fix for partially read vertex data. I think we need to go away from c8 buffers someday.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@762 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-06 23:14:52 +00:00
hybrid
b9c5a6b634
Minor cleanup.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@761 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 22:33:56 +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
hybrid
a75ac9320d
Fixed the strcmp, found by masterhawk.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@759 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 22:57:07 +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
e9e8d4b01b
added a black border around the icons in builtInFont.h, added the source bitmap. changed the way completely background transparency is handled in the bitmap font loader, the colour data for background is not kept.
...
changed default icon highlight value in the skin so the icons are highlighted in the same way as the text.
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@755 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 23:25:01 +00:00
hybrid
925b3027f4
Cleaned the my3d loader to avoid corrupted char arrays.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@754 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 16:04:33 +00:00
hybrid
4622603a40
Add compile checks for supported extensions.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@753 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 23:36:10 +00:00
hybrid
7934bf4a7d
Added two currently disabled OpenGL improvements for shadow volumes. Due to incompatible shadow volumes the extensions are not yet working.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@752 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 17:33:01 +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
3cfc83bf54
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: http://svn.code.sf.net/p/irrlicht/code/trunk@750 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 21:22:05 +00:00
hybrid
d364a86f92
Give full access to debug data settings.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@749 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 10:48:54 +00:00
hybrid
ae829c72ae
Fixed reorder warning and indentation.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@748 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 10:16:39 +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
4f76901106
fixed a bug in CBillboardTextSceneNode::setText, the mesh data text was not cleared
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@746 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 05:16:01 +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
hybrid
fc9ef252ba
Fixed missing bounding box for arrow mesh, reported by white tiger.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@743 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 21:07:33 +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
hybrid
f56f0dd32f
Oops, missed a reordering.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@741 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:57:15 +00:00
hybrid
026050076d
Avoid the wrongly oriented triangles by use of quads.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@740 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:49:59 +00:00
hybrid
65c2cc4c6f
Another fix for the linux device by zeitgeisty. Added another OpenGL Stencil extension.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@739 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:47:55 +00:00
bitplane
d821c6dd4a
fixed memory leak in 3ds loader when splitting mesh buffers, reported by Dave
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@738 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 18:11: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
8c2efff041
Fixed version number comparison.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@736 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-26 08:35:33 +00:00
hybrid
44adae5880
Fixed typos and mingw stuff.
...
git-svn-id: http://svn.code.sf.net/p/irrlicht/code/trunk@735 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 23:34:16 +00:00