Commit Graph

733 Commits (ef33d9b05163a582bdfb023f091be4da2460355b)

Author SHA1 Message Date
hybrid ef33d9b051 WIP for z-axis up support in Collada.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1735 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-13 17:35:17 +00:00
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
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
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
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 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
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
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
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
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 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 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 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