Commit Graph

307 Commits (0831ad932b5258f4eab5e4a27bf165acbecb4fcb)

Author SHA1 Message Date
hybrid 915bb23fa7 Fixed signedness warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1708 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 12:18:20 +00:00
hybrid f0ff9d9929 undef joystick support under Solaris. Reorganized compile config settings slightly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1707 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 12:17:50 +00:00
hybrid d5a5d9b501 Keep the original values in getOptimalSize more often.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1701 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:35:05 +00:00
bitplane 4e840b1c60 ISceneNode::addChild now recursively updates SceneManager pointers if the node was from another SceneManager.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1700 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 17:46:04 +00:00
hybrid a4ed0d8ec5 Joystick implementation for SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1689 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 13:17:21 +00:00
Rogerborg ab5d88da77 Add basic joystick support on Windows and Linux, with an option to compile it out. winmm added to all .dsp/.vcproj/.dev projects. Example 04.Movement updated to demonstrate the functionality. Tested with 1 USB joypad on WinXP and Ubuntu 8.04 (via VmWare).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1687 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 02:07:27 +00:00
hybrid 386a18b566 Merged revisions 1652:1682 from the 1.4 branch: Code layout changes in the examples and SMaterial checks for self-assignment.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1683 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 14:47:51 +00:00
Rogerborg f222720d96 Add direct string<B> constructor / assignment methods for string<T>. Tested by rebuilding Irrlicht, all example apps and running the test app in tracker #2220682
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1682 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 12:29:21 +00:00
hybrid 3ac051451b copy'n'paste typo and signedness fixed
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1678 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 00:04:10 +00:00
hybrid 3bd703243f A texture dimension calculation method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1677 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 23:04:54 +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 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 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 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
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
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 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
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
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
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 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 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
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 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 b4c597aa83 Merged revision 1599 from 1.4 branch and fixed also the second issue we had with disabled X11 support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1600 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-30 08:57:47 +00:00
hybrid 8db1da30c2 Merge revisions 1572:1596 from 1.4 branch: Some late bugfixes of the 1.4.2 release. Tutorial generation mechanism.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1598 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 20:46:43 +00:00
hybrid 432657705c Added another HSL method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1594 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-29 12:39:15 +00:00
hybrid 01a0042f91 Moved windowId and sourceRect parameters from endScene to beginScene in order to support several windows for OpenGL as well. This is not yet implemented, though, just made some preparations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1591 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-27 13:19:29 +00:00
hybrid bf2d25aece Added a disableFeature method to the drivers, which can override the support of render features.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1590 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-26 20:29:45 +00:00
hybrid 038d839eb8 Merged revisions 1561:1570 from 1.4 branch. This fixes the ZWrite enable scene attribute and does some minor cosmetic changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1571 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-16 16:33:33 +00:00
hybrid 529b6f0f3c Merged revisions 1543:1559 from 1.4 branch. Mainly zbuffer issues and the TextureMatrix allocator patch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1560 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-12 15:19:19 +00:00
hybrid a55e2d6b0a Added .obj writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1542 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:40:33 +00:00
hybrid 60f1955826 Allow to skip extensions of filenames.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1541 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:35:10 +00:00
hybrid a8a075bec1 Merged from branch 1.4 revisions 1529:1538
vc9 project files, pointer checks in GUI

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1539 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 23:20:51 +00:00
hybrid ed5710bf5e Made some string constructors explicit to avoid nasty misinterpretations. Just add core::stringc or core::stringw around the numbers the compiler doesn't want to convert automatically anymore.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1534 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 13:18:58 +00:00
hybrid a8377b263f Added some more stringc taking overloads.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1531 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-04 12:44:11 +00:00
hybrid 8a070d9cc6 Replaced BoneName by scene node's Name as suggested by rogerborg. Added setName method overload for stringc parameter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1527 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-03 09:25:19 +00:00
hybrid fce0e252a4 Some cleanup for IdentityMatrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1526 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-02 22:11:19 +00:00
hybrid a9b64e9e5c Removed some consts from POD type return values. Added missing imlementations in SSkinMeshBuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1517 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:20:05 +00:00
hybrid fd61d6dd19 Removed some consts from POD type return values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1516 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 14:08:12 +00:00
lukeph 341dc16566 -added support for 32bit buffers in the opengl and directx9 drivers :) hopefully not buggy...
(may need to add support for directx8 and software?)

-made terrainNode use DynamicMeshBuffer, so it can use 32bit buffers. (no more size limits now on terrains!!! )
if the terrainNode loads an image over 256x256, it is set to 32bit, smaller sizes will use 16bit for better speed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1515 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 04:00:22 +00:00
hybrid 57485235b9 Added some vector operations which take just one scalar as argument.
Optimized isBetweenPoints for vector2d
Added some virtual qualifiers for better readability
Added some terrain interface methods which are not properly working, yet


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1513 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-26 11:46:07 +00:00
hybrid 682a1200a8 Replaced transformBox by transformBoxEx to avoid major malfunction of the transformations when the transformation includes rotations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1511 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-25 13:46:22 +00:00
hybrid d9c0ceb6ea Change parameter to bool.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1509 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:51:31 +00:00
hybrid e78db30247 Docs update for trunk and branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1508 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:36:41 +00:00
hybrid 2489bda2e8 Merged 1499:1506 from 1.4 branch: Doc updates, getEmitter added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1507 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-20 08:24:52 +00:00
hybrid 37e15009b5 Const correctness for a pointer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1499 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-15 08:46:57 +00:00