Commit Graph

1360 Commits (master)

Author SHA1 Message Date
irrlicht eae4c27c58 fixed gui editor v7 solution file, corrected CFontTool #defines for windows
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@713 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 07:47:23 +00:00
irrlicht 52989af3ac added quake3map solution file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@712 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 07:22:14 +00:00
irrlicht 3748bb46d0 made irrlicht compile with vs 6.0 again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@711 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-16 05:55:44 +00:00
hybrid ae3d7a58d1 Fixed also the vector2d normalization, reported by prisonerofpain.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@707 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 15:42:55 +00:00
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 b739adade8 removed demoback.bmp because demoback.jpg is now used in the demo
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@703 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 23:45:47 +00:00
bitplane 88cb2efacc fixed a fast_atof bug with negative exponents
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@702 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 14:32:18 +00:00
bitplane c729f356f0 renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
bitplane 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 2617554681 fixed ascii art in aabbox3d::getEdges, found by Vitek
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@699 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:27:25 +00:00
bitplane 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
hybrid c9409e8eab Separated driver features into new file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@686 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:53:04 +00:00
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 db6011aae3 Removed development replacement code. Sorry, this was not meant to be in SVN...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@683 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 21:15:48 +00:00
bitplane f960e51037 removed namespace from matrix4 constructor enum to make it compile again in VC
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@682 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 20:44:11 +00:00
hybrid 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 b6b7cfd13b Started to make matrix4 a template to allow for better adaption. Due to renaming of the template the original matrix4 type is still the f32 version of the matrix. I had to remove some forward declarations, though as I did not want to add the template declaration into other headers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@675 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 10:37:00 +00:00
hybrid 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
bitplane e91b3f951c oops, missed some additions to changes.txt regarding the last few updates
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@656 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 01:14:20 +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