Commit Graph

1141 Commits (868d73e24977ec71981800631d9d891fb8f9ceab)

Author SHA1 Message Date
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
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 b8bb90cc30 Font tool implementation for Linux with xft, by Neil Burlock.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1671 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 12:41:19 +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 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 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
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