Commit Graph

921 Commits (1ec87869c343399fad1b9d4d26b01f2b40573023)

Author SHA1 Message Date
hybrid d4c1631544 Fix for GL types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1676 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 22:27:41 +00:00
Rogerborg 941b333aad Bug 2123736; In getMeshFilename(const IMesh*), test the possibility that the IMesh is an IAnimatedMesh. This is a stopgap.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1674 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 22:13:37 +00:00
Rogerborg d0ac6a9cb4 Bug #1526176 - use absolute path names when creating / finding textures. As a consequence, createAndOpenFile() also needs to use absolute path names in order to match the texture filenames. Tested on Win32 with all example apps and a small test app attached to the bug.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1673 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 14:51:55 +00:00
hybrid 44b37a7508 Added another texture type for OpenGL, namely the FBODepthRenderbuffer. This is only used internally for now, and also is still WIP as the current design has some bad smell :-(. However, it should allow for depthbuffer reuse for RTTs once the interface is made public.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1672 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 13:13:28 +00:00
hybrid b8bb90cc30 Font tool implementation for Linux with xft, by Neil Burlock.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1671 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 12:41:19 +00:00
hybrid 8fa3b9e570 Added missing header file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1670 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 10:13:32 +00:00
hybrid fb19655088 Workaround avoiding wrong renderstate with culling modes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1669 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-02 21:41:45 +00:00
hybrid 8b8efafc9e Change of the return value for getDX9Texture, necessary for other types of textures. Requested by MasterD.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1668 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 20:53:01 +00:00
hybrid 10021133e8 Fix docs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1667 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 18:26:36 +00:00
hybrid 37950db954 Cast hr pointer for proper overload.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1666 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-31 17:52:14 +00:00
hybrid 0e10b3dccf Color format enhancements for SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1663 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 08:19:56 +00:00
hybrid 47f7435387 Fixed 24bit PCX files loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1662 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 00:53:13 +00:00
hybrid 6f09c6d2bf Forgot the endianess.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1661 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-30 00:34:31 +00:00
hybrid ae15b94a7f PCX Writer implementation, 24bit RLE, which means it's significantly smaller than BMP, but PNG and JPEG are still far smaller...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1660 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-29 22:07:19 +00:00
hybrid 1a8fbda3e4 Minor reorganization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1658 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:56:01 +00:00
hybrid c232d8de36 Use two different classes for usual and FBO textures in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1657 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-28 16:51:22 +00:00
hybrid d2dca1f1fe Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1655 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 17:52:41 +00:00
hybrid 33f3a2da8c Reorder namespace and include statements.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1654 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:44:19 +00:00
hybrid df70ce4492 Remove warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1653 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:42:33 +00:00
hybrid 0373168320 Fix comments for doxygen.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1652 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:41:52 +00:00
hybrid 24c7dd09c2 Merged revisions 1600:1650 from 1.4 branch. Just renaming of example 17.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1651 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:40:56 +00:00
Rogerborg 4b5ce62e1b Clarifying comment on IVideoDriver::getFPS().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1650 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 16:25:08 +00:00
hybrid 5f4681adad Some reorganization of the ogl win32 init.
Rename of pPixels to pixels.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1649 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-27 00:29:29 +00:00
Rogerborg 8db5d993f9 Including <limits.h> in fast_atof.h for INT_MAX / UINT_MAX on non-Windows builds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1648 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-26 19:15:21 +00:00
Rogerborg 5507395c55 Fixing fast_atof() to handle long digit strings. See bug 1865300 for regression test. Tested in debug and release on MSVC++ 9.0 / Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1647 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-26 13:02:17 +00:00
hybrid 6fa8a63abc Added support for normals and UV coords from DeclData.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1646 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-25 21:22:35 +00:00
hybrid 9df1029f04 Correct comment for doxygen
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1645 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 22:43:31 +00:00
hybrid 9f1d5f1d2c Add an empty implementation of the clone method for the animator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1644 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 22:41:52 +00:00
Rogerborg a52594065d Modifying line2d<T>::intersectWith() to cover more cases. Tests app here:
https://sourceforge.net/tracker/download.php?group_id=74339&atid=540678&file_id=298807&aid=2015942

Tested in debug, release and release FPU using MSVC++ 9.0

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1643 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 20:05:39 +00:00
Rogerborg a1e21da6b0 Adding IVideoDriver::drawPixel() and implementations, as per http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30741. Test code is in that post.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1642 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:45:47 +00:00
Rogerborg 9a64087ec3 Fix release mode build of CDMFLoader.cpp. Fix D3D8 build (need Summer 2004 SDK). Force alpha in D3D8/D3D9 screenshot pixels to 255 if necessary ( http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=174233#174233 )
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1641 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-24 13:23:02 +00:00
hybrid 1d3860ece6 Remove extra semicolons.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1640 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:25:31 +00:00
hybrid bbc0b48e60 Added line counting in .x loader, useful for easy debugging.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1639 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:23:31 +00:00
hybrid a5da1f1361 Add support for window ptr in beginScene.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1638 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:19:51 +00:00
hybrid f902b0a4bb Always check the SoftwareImage pointer, and use the getVideoMode method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1637 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:17:06 +00:00
hybrid 9bbe75de22 Minor docs update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1636 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-22 09:12:55 +00:00
lukeph 0c4a4ea53c Possible problem with scaling, reported by gbox here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30175
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1635 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:42:14 +00:00
lukeph f3927d5cc2 Was missing a call to load the joints into the node in getJointNode(u32 jointID)
like with getJointNode(const c8* jointName)

reported by xray here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30486

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1634 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:27:26 +00:00
lukeph a98153f8d5 Fixed a problem with terrain culling not updating as the camera FOV changes.
reported here: http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30575

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1633 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-17 05:11:14 +00:00
hybrid 67b315786d Some more texture loading updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1632 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 22:50:46 +00:00
teella 3d78d2a9f4 implemented createClone in ISceneNodeAnimators
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1631 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-13 02:55:54 +00:00
hybrid d42ce61775 Added a check method to query the device reset event for D3D drivers. Since in the case of a reset the content of all RTTs are lost, it's required to become aware of this fact.
The current solution is just a simply check which works with lots about the drivers. A cleaner solution would return all structures which have to be regenerated. A new enum is already created for this reason, but not yet implemented. However, the interface of the new checkDriverReset method might change in the near future...

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1630 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-12 14:30:22 +00:00
hybrid be924b27ed Fixed core dumps and loading errors. Some speedup and simplifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1629 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 23:25:48 +00:00
teella f180825e51 added GUIEditor to OSX project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1628 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-11 14:18:52 +00:00
hybrid 9577119772 Fixed problems with missing (default) strings in the obj loader and copyright statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1627 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-10 14:38:50 +00:00
hybrid 2fcc151d7e 64bit fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1626 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:42:47 +00:00
hybrid 19ec5143af Enable minimize button for win32 windows.
Add some more error tests in d3d9 driver.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1625 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 22:24:06 +00:00
hybrid e8ef136cfe Working version of the d3d device lost patch. It might need some more working for VBOs, but RTTs are now properly released before reset().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1624 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 11:23:37 +00:00
hybrid 3f153d2a2c First try for d3d9 lost device fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1623 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 09:39:13 +00:00
hybrid b44c2bdadf Added RTTs to texture cache.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1622 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-09 08:13:34 +00:00