Commit Graph

835 Commits (242c1d8d04054d332a86c92d0c17089a3825e8f1)

Author SHA1 Message Date
hybrid 01c4324747 Added a new constructor for SAnimatedMesh and some cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@835 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 00:54:40 +00:00
hybrid 11b249ea3f Missed a debug statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@834 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:59:13 +00:00
hybrid 74f1e2e9e3 Enhanced the meshbuffer interface. moved the recalculateBoundingBox from MeshManipulator to IMeshBuffer by exposing the already existing methods. Some initial append methods added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@833 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:53:12 +00:00
hybrid 43b6bb6589 Made the MeshBuffer an explicit member instead of a base class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@832 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:33:29 +00:00
hybrid a26aa2c57a Removed some unused object files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@831 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:30:39 +00:00
hybrid 4c74d89e82 Some minor changes. Simplified the .obj loader, also fixed some bugs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@830 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:28:44 +00:00
hybrid 29e890bfc3 Added driver support for user clip planes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@829 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-10 13:06:52 +00:00
hybrid 981d1d61f2 Derive specialized vertices from the base one to avoid duplicated code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@828 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-09 22:57:48 +00:00
hybrid 9c9beede40 Added texture support for collada meshes. Fixed const parameters in MeshManipulator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@827 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 16:30:10 +00:00
hybrid 21efe402ba Fix relative indices in obj files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@826 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 13:19:28 +00:00
bitplane cdcf888a3e bug in draw2DImage
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@823 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-04 23:49:18 +00:00
irrlicht d64f53e4c0 removed double/float conversion warning
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@820 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-03 05:51:06 +00:00
hybrid f42fdc4a15 Added Win32 fullscreen enhancement, now trying to get a better refresh rate. Some minor changes, mainly to comments and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@819 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 14:39:14 +00:00
hybrid ebb6f460b4 Use c++ casts instead of plain C ones.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@818 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 09:50:59 +00:00
hybrid f67fcbc13e Named the event structs. Fixed a warning with endif comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@817 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 08:07:54 +00:00
bitplane 001e09d013 Fixed menu checkmark bug found by mhack
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@814 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:47:53 +00:00
hybrid 9eeba07bc8 Fix extra qualification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@813 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:15:54 +00:00
hybrid 31eff65735 Fixed HillPlane Mesh to work with arbitrary sizes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@812 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:14:55 +00:00
hybrid bc94d5a4a2 Made geometry creation use IMesh instead of IAnimatedMesh. Moved Sphere meshbuffer into geometry creator and changed sphere scene node accordingly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@811 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 11:01:04 +00:00
hybrid f41e314fcc Fixed some missing unlocks and the missing point size setting in D3D drivers/textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@810 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-29 23:48:58 +00:00
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
hybrid b41385a3ff Mem leak fixed in d3d RTT code identified by vitek. Some redundant code removed and OpenGL shader materials fixed for changing number of textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@807 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 12:51:43 +00:00
bitplane 03df110fc6 disabled windows hires timer on multi-cpu systems when the process is running on more than one cpu. bug reported by _Alex`86_ and Halan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@804 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-21 14:05:11 +00:00
hybrid 37d2363843 Temporarily disabled the non-alpha textures for d3d due to lack of mipmap support. Have to fix that first.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@802 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:57:14 +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 1d6a992ee0 fixed bugs with listbox automatic visibility of scrollbars, and clicking on listbox scrollbars when in a combo box.
items in a listbox are now selected as you type their text.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@799 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-18 22:47:05 +00:00
hybrid 3f4fb37f5e Code cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@798 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 23:47:10 +00:00
hybrid 80148ed319 Fixed signedness to avoid strange error messages.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@797 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 21:57:10 +00:00
bitplane 732a14ae70 fixed a bug where opengl scissor tests were not disabled after drawing 2d images with an invalid clipping rectangle.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@796 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 20:52:13 +00:00
hybrid f1ef8d2fc5 Reindentation and small updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@793 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 23:46:43 +00:00
bitplane e29ebb3cd7 missed conditions for flipping projection when drawing 2d images in opengl render targets
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane 3ffd6b73c7 opengl render targets were flipped again after drawing 2d stuff
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +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
hybrid 95505b00c4 Fixed a missing return for performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@789 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 21:51:04 +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
bitplane b43e46727a 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid 838ea26474 Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid 63b756e8db Added some more compile time checks for OpenGL support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +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
hybrid 9fc207d110 Fixed scene node deserialization which was completely broken since several revisions due to newly added attributes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@782 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:34:05 +00:00
hybrid abe0cf6e35 addColor fix by etcaptor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@778 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 08:07:06 +00:00
hybrid 125e3330dd Fix shader language version check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@777 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-10 21:49:59 +00:00
hybrid c010d00725 Fixed an OpenGL render state bug and added GLSL version number to check in extension handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@772 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-09 22:59:35 +00:00
bitplane 569d6d8988 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@769 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 14:02:45 +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 163d098040 Some minor changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@767 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:12:48 +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 9f78646192 CGUIButton was using texture->getSize rather than getOriginalSize
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@764 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 08:01:33 +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
hybrid 8ab9af9d2e Quick fix for partially read vertex data. I think we need to go away from c8 buffers someday.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@762 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-06 23:14:52 +00:00
hybrid c2ec44c7dc Minor cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@761 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 22:33:56 +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
hybrid 9bd033b0a1 Fixed the strcmp, found by masterhawk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@759 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 22:57:07 +00:00
bitplane 5f21bbf8c7 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: svn://svn.code.sf.net/p/irrlicht/code/trunk@755 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 23:25:01 +00:00
hybrid 40abacae7d Cleaned the my3d loader to avoid corrupted char arrays.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@754 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 16:04:33 +00:00
hybrid 020eae4f74 Add compile checks for supported extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@753 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 23:36:10 +00:00
hybrid 9982e8cf16 Added two currently disabled OpenGL improvements for shadow volumes. Due to incompatible shadow volumes the extensions are not yet working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@752 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 17:33:01 +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 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 ad57b91886 updated documentation and made Irrliht.NET compile again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@715 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 08:25:58 +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
hybrid c4ec0b5289 Fixed Ogre file format check to support new version. Fixed some missing inits. Changed some tests to switch statements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@679 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:10:39 +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 563d1c1259 Reduced object size of D3D drivers when compiling without d3d support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@677 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:11:35 +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 05bd729121 Fixed initialization, reported by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@674 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 00:26:27 +00:00
hybrid 4103ddd043 Also missed an early out now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@673 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:19:34 +00:00
hybrid 8e22e4a261 Typo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@672 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:17:29 +00:00
hybrid ae552a7d44 Reverted the frstum culling test to the old one which was fine, except for the wrong usage of isFrontFacing...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@671 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-30 00:14:29 +00:00
hybrid 6c63b2f889 Fixed the fix for frustum culling. Thansk to vitek for pointing me on this.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@670 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-29 22:24:58 +00:00
hybrid 0760b479db Fixed the texture mapping of the sphere scene node. It is now wrapped by one texture without artifacts. Also made x and y subdivison separately adjustable when calling the constructor manually.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@669 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 22:57:59 +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 13f388c663 oops missed some required code from the sourceforge patch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@664 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 00:00:32 +00:00
bitplane 02c6785e3d fixed a messagebox bug when no okay button was present
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@663 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 23:06:22 +00:00
lukeph 93dc18fced the matrix used to draw the debugging normals was being calculated incorrectly
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@659 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 04:56:56 +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
bitplane a10b998a04 fixed a gui bug I introduced - resizing the device didn't pass to the environment or menus
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@652 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-25 20:23:12 +00:00
lukeph 55d4b390ea Just trying the SVN out, fixed a bug in big endian conversion, that I’m been meaning to get someone to fix
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@651 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-25 01:06:20 +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 dba8960c43 Another change for the hasMipMaps fix which was not committed last time. Fix for CsphereNode texture coords which now range from 0 to 1 on both axes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@649 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 08:16:29 +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
hybrid 503c45323a Fix a wrongly placed grab.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@647 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 13:37:55 +00:00
hybrid 0a0bfc7c66 Fix setResizeAble under Linux, which had the correct implementation as a private method. Also removed the dummy implementation from DeviceStub.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@646 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 13:36:06 +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