Commit Graph

1229 Commits (c7d2c6fe684a77f4967503247496e3f314192ed4)

Author SHA1 Message Date
hybrid deb8b0dba4 another little optimization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1794 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-21 00:02:58 +00:00
hybrid 236d6c33d9 Changed from f64 C-array to core::array, some minor optimizations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1793 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:50:43 +00:00
Rogerborg 7004d4a175 Clarify the comments on ISceneNode::setDebugDataVisible() / isDebugDataVisible().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1792 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:32:44 +00:00
Rogerborg 98f2250560 Rename IGUIElement::setProportionalPosition() to setRelativePositionProportional()
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1790 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:22:59 +00:00
hybrid b6f9e543e5 Make proper texture coords which are not clamped...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1789 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 23:07:53 +00:00
hybrid 4a89e8f7bf Removed extra letters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1788 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:35:37 +00:00
hybrid 501ed34e43 Simplify filepath.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1787 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:34:25 +00:00
hybrid b562626271 Added tags target and avoid recreation of .d files on clean.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1786 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:33:36 +00:00
hybrid 1ec87869c3 Some documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1785 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 22:18:53 +00:00
hybrid 5fed90d38b Missing break spotted by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1784 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 13:59:19 +00:00
hybrid ced47d4e35 Removed BMP_Writer reference from softwaretexture2. Changed texture size check to use the new dimension2d function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1783 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-20 09:50:55 +00:00
Rogerborg 4a4c48acb3 Fix the fix for FPS camera rotations; use a minimum length vector when the camera is at the origin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1781 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 22:14:59 +00:00
Rogerborg 47820ecbe7 Scale the FPS camera look at vector based on the magnitude of the camera's position, to prevent the rotation being swamped by the position.
Tested with the problem data from:
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=27958

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1780 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 21:20:30 +00:00
Rogerborg 747fba6b60 Update Irrlicht9.0.sln to fix untested changes from the static build target additions. Now tested with Visual C++ 2008 Express.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1779 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 20:50:44 +00:00
hybrid df3dce717d Fix mem leaks with RTTs under OpenGL due to wrong grabs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1778 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 13:01:24 +00:00
Rogerborg d10bb4431d Rename IGUIElement::setRelativePosition(const core::rect<f32>&) to setProportionalPosition(). Tested with a modified example 05.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1777 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 12:46:29 +00:00
Rogerborg b045b2e349 Add IGUIElement::setRelativePosition(const core::position2di &) as requested on IRC. Trivially tested with a modified example 05. Also clarified a few comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1776 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-19 12:32:50 +00:00
teella 24bf94d6e8 OSX now uses mainstream libpng instead of libpng_osx
removing libpng_osx


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1775 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-18 16:22:46 +00:00
hybrid 4bc5ad4e86 Added missing new interface to irrlicht.h for easier user access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1774 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-18 12:49:25 +00:00
hybrid 063c00cd91 Some more PCX formats supported. Not all modes are fully working, but I doubt anyone really uses them...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1773 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 23:21:58 +00:00
Rogerborg 44846b6f11 OpenGL driver: trigger a setRenderStates2DMode() recalc when the screen size changes. This fixes the OpenGL 2D scaling issue. Excelsior!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1772 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 22:14:09 +00:00
Rogerborg 088082644d Include dimension2d.h in SIrrCreationParameters.h; required on MSVC builds after change to COpenGLDriver.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1771 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 21:48:12 +00:00
hybrid 08d27aad2e Fixed compilation without OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1770 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 17:07:15 +00:00
Rogerborg 1b2a4f214a Elucidate on the (non) encoding conversions in irrString.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1769 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 12:09:12 +00:00
Rogerborg 8ddbcc6790 Add static lib configurations for all VS builds. Add a comment to IrrCompileConfig.h to explain that _IRR_STATIC_LIB_ needs to be defined in both the Irrlicht and application builds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1768 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 11:52:40 +00:00
hybrid aa85d14ed3 Fix emitter interface.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1767 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 08:30:35 +00:00
hybrid 17c2a7c186 Fixed comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1766 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 08:26:15 +00:00
hybrid 47a3d3057f Removed some wrong comments
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1765 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 01:09:31 +00:00
hybrid 325a518327 reenabled transparency in collada files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1764 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:56:07 +00:00
hybrid e1bc7122e9 Fixed some issues with the matrix element and disabled transpareny (for now) as it caused z-order problems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1763 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:39:33 +00:00
hybrid b9f35ed02e Fixed several issues with the LMTS format. Simplified the general loading procedure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1762 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:33:29 +00:00
hybrid 16640845db The filename changes make troubles with uppercase/lowercase differences even on Windows. Temporary fix for LMTS loader here.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1761 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 00:31:04 +00:00
hybrid 1761aa4b96 Remove unnecessary parameters
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1760 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-16 20:47:08 +00:00
Rogerborg ad497a0e85 Release() and recreate the depth-stencil surface when resetting the D3D9 driver. This surface is implicitly created with D3DPOOL_DEFAULT, so needs to be released or the reset fails.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1759 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 21:56:16 +00:00
Rogerborg 0a1d6a8904 Adding camera rotation/target binding to changes.txt. Updating the example 19 vc9 vcproj GUID (I can't pretend to understand why it keeps changing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1758 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 17:13:12 +00:00
teella 89a570adc4 scaling values for OSX joystick support
added scale effectors for particles to XCode project


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1757 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 02:12:14 +00:00
Rogerborg 604d2fd754 Replace possessive "it's" with the grammatically correct "its".
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1756 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 00:42:45 +00:00
Rogerborg 6ec9347962 Clarify comment on ISceneManager::addCameraSceneNodeFPS().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1755 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-15 00:01:04 +00:00
hybrid 47d10f9ffd Move particle scale from ParticleSystem to Emitter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1754 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 23:19:05 +00:00
hybrid 9f50c25b56 Changed from vector2df to dimension2df
Deprecated setParticleSize from ParticleSystemSceneNode, use setMaxStartSize/setMinStartSize from the emitter instead.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1753 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:59:01 +00:00
hybrid 94fce476a1 Some more header files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1752 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:56:25 +00:00
hybrid c73357af9e The new scale values require the emitter to be set before the particle scale is set. I guess we might have to change something else here...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1751 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 22:06:23 +00:00
Rogerborg 06ad4408b7 Reducing the optional camera binding to a boolean that binds both ways (rotation to target and vice versa). Thanks to Dorth for suggesting this, which sorts the FPS camera out properly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1750 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 18:10:47 +00:00
hybrid 55a8f70713 Oops, null pointers fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1749 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:32:32 +00:00
Rogerborg 86382da2a3 Add a publicly configurable binding between camera target and scene node rotation. By default, they are independent. FPS cameras have their scene node rotation follow their target, which restores the <=1.4.2 behaviour. This is Work In Progress, as the ordering of events isn't quite correct yet: there's a visible lag between FPS camera scene node childrens' relative position catching up with the camera rotation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1748 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:10:39 +00:00
hybrid 598103c23f Some more Ogre material loading fixed, and a minor mem leak fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1747 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 15:04:08 +00:00
hybrid a5d73cd0ac Fixed Ogre index interpretation (reported by Zhu) and fixed material loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1746 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 14:21:24 +00:00
hybrid 75ee82d7c9 Added particle scale affector, made by Sudi.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1745 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 13:17:57 +00:00
Rogerborg 1460843e14 Fix vcproj GUIDS for example 19.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1744 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 12:28:52 +00:00
hybrid 2b1118e478 Particle scale patch from Dark Kilauea.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1743 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 12:25:10 +00:00