Commit Graph

921 Commits (1ec87869c343399fad1b9d4d26b01f2b40573023)

Author SHA1 Message Date
hybrid 2cdae4d9d8 Missing updates for the new IR function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1734 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:34:25 +00:00
hybrid a60b414e9c Destructors removed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1733 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:28:23 +00:00
hybrid bbd1d5a475 Docs fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1732 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:28:08 +00:00
hybrid 6a23c63559 Fix for strict aliasing problem due to f32 optimizations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1731 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:27:37 +00:00
Rogerborg 386c0c061e "Bug" #2237876; provide an optional parameter to string::trim() to allow the user to specify characters other than common Latin-1 whitespace.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1726 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 16:08:14 +00:00
Rogerborg 18ff52c0dc Expose irr::core::IdentityMatrix using IRRLICHT_API so that it can be accessed from user apps on Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1725 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 15:37:18 +00:00
Rogerborg 5a6eb22f25 Removing all .dsw and .dsp files; Microsoft Visual "C++" 6 is no longer a supported build environment.
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=176288#176288

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1724 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 12:44:15 +00:00
Rogerborg e8abe161e8 Fix bug #1856152, scaled oct tree nodes being incorrectly frustum culled. Changed matrix4::transformPlane(), and removed transformPlane_new(). Tested following the procedure in the bug report, plus ran the other examples, and a small unit test. However, my confidence isn't 100%, and it could be optimised, so more eyes would be welcome.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1723 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 12:31:13 +00:00
hybrid c5e18829c3 fix install target clash with osx target.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1721 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-12 08:08:36 +00:00
Rogerborg 7d0e9e3e15 Adding degToRad() and radToDeg() convenience functions, per a suggestion on #Irrlicht. Exercised with trivial test cases.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1720 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 18:14:33 +00:00
teella f0b392d96e minor fix for OSX optional joystick activation like Win and Linux
added example 19.MouseAndJoystick to OSX project


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1719 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 11:05:53 +00:00
Rogerborg cefc1978ae Best-effort attempt at implementing the new optional joystick activation on MacOSX. I'm not able to compile or test it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1718 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 01:49:57 +00:00
Rogerborg dc2b2cebac Make joystick activation optional, so that Irrlicht doesn't consume all joystick events. This allows us to pass joystick enumeration data to the user app. Revert example 04 to just do key movement, but have it show framerate independent movement. Add a new 19.MouseAndJoystick example. Tested with Win32 and Linux devices, and with the SDL device on Windows and Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1717 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-11 01:33:02 +00:00
hybrid e60558dd97 Better support for osx builds
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1716 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 11:24:06 +00:00
hybrid 1202f2ee9d Add directory for OSX libs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1715 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 11:16:49 +00:00
hybrid 524cbc4a5a Added a checkbox for enabling antialiasing.
Changed to use createDeviceEx for all creation parameters.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1714 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 00:42:36 +00:00
hybrid 540c33965e Changed createOpenGLDriver to use SIrrlichtCreationParameters.
Added Fullscreen AntiAliasing for Win32/OpenGL. Screenshot not working in this mode ATM.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1713 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-09 00:36:04 +00:00
hybrid 9136b843ac Fix missing free on error. Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1712 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-08 00:51:01 +00:00
hybrid 0831ad932b Added wglext.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1711 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-08 00:34:09 +00:00
hybrid aec173e15c Some updates, submitted by puh
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1710 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 23:29:03 +00:00
hybrid 9f25d03159 Moved FBO check method for systems without this extension.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1709 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 12:29:05 +00:00
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
teella b2445b79c8 bug fix for OSX joystick support SEvent
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1706 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-07 01:36:15 +00:00
hybrid 60ebacb4e7 D3D RTT unlimited size patch. This fix allows arbitrarily sized RTTs for D3D9. It reuses existing DepthBuffers and tries to find an optimal size. Sharing of depth buffers and forcing creation of new depth buffers cannot be requested at the moment, though, because the API is not public.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1705 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 22:04:44 +00:00
teella 4ed4780d38 fixed xcode release build added IOKit frame work for joystick support
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1704 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:56:30 +00:00
teella 81e2b91218 Basic support for joystick input events on OSX tested with xbox 360 wireless controller and logitech wired controller
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1703 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:40:35 +00:00
hybrid a597253b53 Create smaller RTTs instead of none if screen size is limiting the desired size.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1702 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 21:38:06 +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 f43d2dfa2a New versions of glext.h (43) and glxext.h (21) with two new GL extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1699 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 17:03:05 +00:00
hybrid 8504d91cd6 Typo fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1698 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 16:55:11 +00:00
hybrid 07909b06a0 Open and close joystick only at beginning and end of SDL driver. Added resize event handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1697 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 16:20:42 +00:00
hybrid 5a6e3f8c67 Added user evnet implementation for SDL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1696 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-06 09:08:22 +00:00
Rogerborg abe393880d Updating changes.txt to mention joystick events.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1695 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 21:24:53 +00:00
hybrid 29ca551dbb Also disabled ColorKey blitting, just to be sure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1694 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 15:18:15 +00:00
hybrid 49a9cb3831 Temporarily disabled alpha channel of the SW renderer framebuffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1693 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 15:05:31 +00:00
Rogerborg 0ef9b20b26 Stop linux/joystick.h from including linux/include.h, as this #defines many KEY_FOOs which override the irr::KEY_FOO values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1690 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 13:29:40 +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
hybrid 0335d71c1e Make compilable without joysticks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1688 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 12:22:33 +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 fe09f2ebbc Avoid using a plain texture as RTT if screensize is too small.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1686 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 23:25:03 +00:00
hybrid 04e788aeeb Fixed getAbsoluteFilename under Linux in case the file does not exist. Did simply return an empty string, now it returns the original filename.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1685 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 15:32:24 +00:00
hybrid a5c1b8e109 Init reorder warning fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1684 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 15:08:20 +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
Rogerborg bd9ac50a75 In CNullDriver::getTexture(const c8* filename), restore the old behaviour of using just the filename as a fallback if the file can't be found with the absolute file path.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1680 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 11:41:36 +00:00
hybrid c3bc2fc464 Use helper method instead of local one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1679 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-04 00:25:06 +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