Commit Graph

805 Commits (d2dca1f1feabc98079f61903b310a8b2d1214b5f)

Author SHA1 Message Date
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
hybrid 324acd72ad Added some hints to readme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1621 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 15:19:15 +00:00
hybrid 6fdfa14d6e Clone method implementation for Animated Mesh Scenenode, by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1620 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:56:40 +00:00
hybrid 07b9bc8a90 Fix warning about new enum value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1619 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-08 14:55:48 +00:00
bitplane a019b12b11 Made the GUI editor use MAKE_IRR_ID for its own event types instead of using user events, and forced EEVENT_TYPE to 32-bit so this always works for users.
Renamed VC8 GUI editor and font tool project files. Disabled vector fonts since there's still no loader.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1618 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-05 23:39:24 +00:00
hybrid dee929e08d Fix the RTT POT sizes, which were now usually too small.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1617 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-05 21:48:50 +00:00
engineer_apple a8912664e9 changed deployment, removed opengl driver call.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1615 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-03 16:07:26 +00:00
hybrid f1f236b9d7 Added proper ZWrite behavior for transparency.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1614 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:11:03 +00:00
hybrid 009e6d440c Fixed the handedness of the coord system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1613 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-02 13:10:08 +00:00
hybrid 493f688fda Added a driver feature check for non-square textures (which some d3d drivers don't seem to support...). It's not yet used in size calculations, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1612 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 22:27:15 +00:00
hybrid 0879f07be7 The real bbox fix from tprochownik.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1611 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:07:45 +00:00
hybrid 47eaf3c0fc Another material cleanup for the debug renders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1610 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 21:06:34 +00:00
hybrid f2a70abb69 Don't render debug boxes with complete transparency
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1609 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 20:47:11 +00:00
hybrid a091e4fab5 Added debug output and fixed Giles Lightmap loading for b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1608 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 13:11:50 +00:00
hybrid 00bd0d6b85 Fixed comment handling and added support for compact meshmaterial lists.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1607 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-10-01 11:36:20 +00:00
hybrid a649829f3d Some minor changes from the RTT patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1606 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 22:56:29 +00:00
hybrid bae1cd68b3 Fixed a missing symbol in older DX SDKs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1605 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 21:51:52 +00:00