Commit Graph

507 Commits (85d886a0ae9f397ff94e721620c21f64afb76b49)

Author SHA1 Message Date
irrlicht 8a3a2a2ad5 .irrMesh writer implementation finished
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@927 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 15:26:47 +00:00
hybrid 71a1e46d7b Fixed some warnings and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@926 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 10:51:27 +00:00
lukeph e2f8a70349 -B3D loader: support for different TRIS Chunks sharing the same vertex in static meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@925 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 08:57:43 +00:00
irrlicht 2da809bc2a added mesh writing features. COLLADA file writer is finished, .irrmesh writer is under construction.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@924 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 06:10:52 +00:00
irrlicht 7b734957d8 removed getVertexPitch() method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@923 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 05:06:47 +00:00
hybrid 7c965509aa Fixed the unary minus bug reported by elvman.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@922 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 18:22:50 +00:00
hybrid 5f25e2100b Removed some unnecessary arrays. Added shininess support. Added some additional sxmesh members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@921 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 16:09:14 +00:00
hybrid b299e9c4ea Reverted some stuff od the optimized .x splitting back to working version from Luke. Simplified some mesh loader parts in several formats.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@920 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 14:18:47 +00:00
hybrid 04ed098fe8 Fix the relative addressing for all types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@919 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 08:57:15 +00:00
hybrid fb1d24d219 More compiler warning fixes. Switched automatic culling without camera off as suggested on the forum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@918 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 08:40:19 +00:00
irrlicht 5a4c66cd67 visual studio 6.0 compatibility
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@917 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 06:29:57 +00:00
irrlicht b85584c8e1 renamed IUnknown to IReferenceCounted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@916 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 06:11:47 +00:00
irrlicht a10c8644b5 removed some evil visual studio compiler warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@915 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 05:55:34 +00:00
hybrid 4cec57051e Some cleanup, texture loading bug fix reintroduced.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@914 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 23:20:02 +00:00
hybrid 9b26c928d5 A first fix to get normals right.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@913 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 16:14:33 +00:00
bitplane 1a5f36f683 fixed memory leak
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@912 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 12:38:06 +00:00
engineer_apple 097ab3481c sync with 80.sln
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@911 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 11:52:17 +00:00
hybrid 647356f7f9 Added MSVC support for sprintf_s
Added copyright notice to all platform libs
Removed some (hopefully) unused libs

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@909 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 15:21:47 +00:00
hybrid 383d3101c9 Some code cleanup for animated meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@908 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 13:10:36 +00:00
lukeph 2d24d11b40 mirror doc change, updated project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@907 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 12:35:19 +00:00
hybrid e3d76c04a5 Minor cleanup and type usage clarifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@906 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 12:11:28 +00:00
hybrid a1e7be3375 Fixed the win32 project files.
Fixed more problems with rounding and s32/f32 changes for animated meshes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@904 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 09:31:56 +00:00
hybrid 2c7b3dbee7 Put even more messages into debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@902 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:59:46 +00:00
lukeph a03e241be7 updated docs in AnimatedMeshSceneNode for the new commands.
added: getJointNode(u32 jointID)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@901 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:54:40 +00:00
hybrid 2551458919 Renamed core::round to core::round_ just as for the other replacement functions already available in standard headers. Fixed a signed/unsigned warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@900 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:51:10 +00:00
hybrid 86af24dfd6 Put debug output into debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@898 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 22:23:51 +00:00
hybrid a2b4dde31f Fixed the irrMath problem with c-math round function. Fixed a big endian problem in ms3d. Fixed a warning from endif comment. Changed version to alpha as the current repository is not feature complete.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@897 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 21:54:48 +00:00
hybrid bda0b6e35f Merged SkinnedMesh branch 658:895 into trunk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@896 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 18:51:42 +00:00
hybrid f3a8858e09 Fixed inline assembler for gcc in irrMath. Removed some code using the irrMath functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@894 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-03 15:15:12 +00:00
hybrid 84bd4a1090 Simple typo fixed, but screenshot for d3d still does not work correctly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@892 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 22:18:46 +00:00
hybrid 053c54aba4 Remove glu from Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@891 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 19:54:07 +00:00
hybrid 18f0aebac6 Fixed manual mipmap generation and removed the last glu function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@889 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 19:45:17 +00:00
hybrid 999d54056b Fix a null driver problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@887 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-31 20:38:00 +00:00
bitplane 6b742e903b added password option for edit box. removed some credits as requested
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@885 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 19:07:26 +00:00
hybrid 8613c9cbd6 Manual autorepeat test. Similar to what Juliusctw suggested long time ago. But simpler now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@884 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 09:24:41 +00:00
hybrid c25f29a5f8 Properly fixed the OpenGL extension search. Also removed the glu part in order to get rid of glu at all.
Added a Linux keyboard fix posted by denton. Now, Linux also sends just KeyPressed for Autorepeat, instead of alternating KeyReleased-KeyPressed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@882 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 08:26:20 +00:00
bitplane e8b042f29e OpenGL extension handler bug reported by Nadro
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@881 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 03:07:56 +00:00
bitplane cf288403b3 gui button bugfix posted by TomiZ
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@880 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 02:00:13 +00:00
bitplane 9e4d29dd2b CuteAlien's menu changes and fixes, CuteAlien/StarSonata's coloured listbox item extension.
Added a close event for windows (and in future other elements), absorbing this event will prevent the window from closing.
Used the new skin icon in the gui editor's resize button.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@879 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 23:37:24 +00:00
hybrid 6b0daf793d Fixed some nasty bugs I introduced the last days.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@875 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 21:15:35 +00:00
hybrid b55f911e86 Added the new particle files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@874 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:28:25 +00:00
hybrid 218f837bff Added also the particle emitters from irrSpintz.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@872 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:13:38 +00:00
hybrid 65fc86e49c Avoid crash if vertex data failed to load.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@870 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:09:32 +00:00
hybrid 9a1db25194 Added particle affectors with interfaces from IrrSpintz.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@869 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 00:17:46 +00:00
hybrid 0f0a06c20e No smoothing group support, yet. Only some structures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@868 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 22:37:57 +00:00
hybrid 4f27057696 Fixed texture loading for .x files. Was trying to load the directory instead of the texture in the first try.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@867 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 22:36:54 +00:00
hybrid 0204279850 export irrXML functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@866 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 21:21:05 +00:00
hybrid b5270f9da4 Changed the OpenGL header include scheme for OSX. I hope that it does not break anything as I cannot compile it under OSX. Also some indentation for the OSX stuff.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@865 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:39:23 +00:00
hybrid d6f8edae35 A first few fixes concerning strict-aliasing mentioned by vapier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@864 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:37:43 +00:00
hybrid 53e235343b Converted to dos line-endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@862 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-24 11:42:41 +00:00
hybrid 80c4ef0471 Fix the translate order in OpenGL driver once more ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 21:30:30 +00:00
bitplane 04558e16a2 updated xcode project file, submitted by daredemo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@860 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 12:32:00 +00:00
bitplane 05cf30845c Moved OpenGL 2D transform from the modelview matrix to the projection
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@859 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:56:54 +00:00
hybrid b285054559 Compile error fix for OpenGL versions without extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@858 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:37:31 +00:00
bitplane 77744cc939 added setResizeAble to osx device as it's not in the device stub
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@857 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 10:37:04 +00:00
hybrid 3ace21dc8d Remove automatic zbuffer write enable in transparent d3d materials. To be done by the user, just as the OpenGL materials already do.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@856 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:22:52 +00:00
hybrid 9d137cc70e Changed some OpenGL material renderer states. Removed the automatic mipmap generation after texture unlock for OpenGL to get the same as for d3d drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@855 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:19:17 +00:00
hybrid cbc0fcc31d Avoid warning from MSVC
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@854 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 15:19:50 +00:00
hybrid f795aa5378 Add compiler and feature check for point sprite support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@853 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:44:57 +00:00
hybrid b04c7e758f Added driver support for Point sprites.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@852 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:33:34 +00:00
hybrid d2702c7f5c Fixed two places which would create an glError and increased extension check performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@851 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 20:55:24 +00:00
bitplane b02c9893cf Moved the driver dimension restrictions (multiple of two) from the windows device into the software drivers.
Added OpenGL 2D drawing accuracy patch by tuXXX.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@850 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 17:39:49 +00:00
bitplane 8060c6c9e8 resizing software devices in linux. Need to keep hold of XVisualInfo until window destruction, so we can use it to make new XImages when the window is resized
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@849 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 14:11:49 +00:00
bitplane c2b3d99f6a Added OnResize and getCurrentRenderTargetSize to the software drivers. Fix for GUI XML loading by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@848 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 10:11:55 +00:00
hybrid 5cba00344b Fixed some more bugs in .obj loading, introduced in recent updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@847 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-19 20:56:27 +00:00
hybrid f46caaa21e Fix OpenGL detailmap lighting bug noticed by paooolino
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@843 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-17 10:02:41 +00:00
hybrid 8637f39900 Enhanced D3D9 normalmap shader by RyanClark.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@842 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 22:44:12 +00:00
hybrid b004d40f74 Fix the cursor creation under Linux to avoid illegal memory access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@841 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 11:19:29 +00:00
hybrid 153c682578 Fix signedness of indices to read the correct array elements. Bug found by randomMesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@840 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 15:55:20 +00:00
hybrid 59ac643248 Added Spot lights for hardware drivers. Added per pixel fog support for OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@838 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 03:39:44 +00:00
hybrid 8f34efc3f4 Fixed the d3d9 mipmapping for new formats. Still not a nice solution, though. Also enabled hardware mipmap update for d3d9 with an extra check for format support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@837 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 15:10:28 +00:00
hybrid 0aa958f441 Exposed the MS3D MeshBuffer as SharedMeshBuffer, providing mesh buffers with a shared vertex array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@836 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 03:36:26 +00:00
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