Commit Graph

3099 Commits (39c039302372d9cab39c4553f18b6b61f4a1969c)

Author SHA1 Message Date
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
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 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
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 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 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
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
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
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 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 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