hybrid
ba9e58e786
Fix strict-aliasing problem.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2853 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 22:05:29 +00:00
hybrid
624abae3f8
fix type conversion.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2852 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 21:51:30 +00:00
hybrid
7a2881da53
Merged revisions 2833:2848 from 1.6 branch. vector3d.normalize cleaned, gui skin bounds check fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2849 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 17:42:53 +00:00
hybrid
ef99c2700a
Remove unused elements from skeleton code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2843 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-11 16:01:10 +00:00
cutealien
153237613d
Remove unneeded drop/grab calls.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2839 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 22:47:14 +00:00
hybrid
b56ddb920f
Merged revisions 2778:2832 from 1.6 branch. Add some Linux keycodes, make skin name arrays safer, disable dx8. Please note, the last merge was from wrong repository, now everything is up to date again.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2835 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 16:40:58 +00:00
hybrid
3d467cb42e
Merged revisions 2778:2832 from 1.5 branch. Fix a driver feature return value and a render state bug for OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2833 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 16:30:34 +00:00
hybrid
d65af1e599
Also try to load a skeleton if no skeleton link was given.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2831 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 15:02:50 +00:00
hybrid
98ef47c1c9
Make scale value optional in keyframes as well.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2830 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 14:46:03 +00:00
hybrid
1d23fa03a4
Make additional file loading more flexible.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2829 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 14:37:55 +00:00
hybrid
c77b66a50a
Support for Ogre skeletons. Animations are not correctly working, yet. Also flipping mesh from right-handed to left-handed now, so expect some changes with loaded meshes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2827 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 13:26:45 +00:00
hybrid
cd5b4ece7b
Forgot to commit the Makefile for new NPK reader.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2823 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 17:50:43 +00:00
hybrid
c35ca282d2
Add Nebula device archive reader.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2820 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 17:05:46 +00:00
hybrid
fcf0229a92
Fix typos.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2818 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 16:58:23 +00:00
hybrid
cf8c269ffc
Rename MoveTo_ methods in SSkinMeshBuffer for proper Irrlicht naming scheme.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2817 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 09:48:29 +00:00
hybrid
5b99488247
Fix another strict-aliasing warning.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2815 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-08 19:03:17 +00:00
hybrid
54f4ed0a87
Add some Caps checks and implement color mask for MRTs.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2812 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 22:20:07 +00:00
hybrid
e5271f7f22
Fix typos
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2811 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 20:47:14 +00:00
hybrid
1bb093d561
Add BlendFunc support for MRTs under OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2810 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 18:07:31 +00:00
hybrid
4030c50364
Add support for mrt separate blend and colormask in OpenGL. Update OpenGL extension headers to latest version.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2809 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 17:36:20 +00:00
hybrid
91e86f4c9c
Add MRT support for OpenGL and Direct3D9. This patch is heavily based on the code from Nadro. This version supports also special render targets for OpenGL, and is already prepared for further MRT extensions such as per-target blend support. The d3d9 version is not yet tested.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2808 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 16:53:35 +00:00
hybrid
039d42da66
Fix strict-aliasing problem.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2807 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-05 14:47:29 +00:00
hybrid
bcf09b2ee4
Filesystem cwd patch for virtual file systems, by IPv6.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2806 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 16:06:19 +00:00
hybrid
291a7ca4c0
Add default formats support to new method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2804 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:15:46 +00:00
hybrid
9f7c98bb38
Make color format method available to all texture types.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2803 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:08:14 +00:00
hybrid
14e47232ea
Add another FBO failure code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2802 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 15:01:04 +00:00
hybrid
9c672f8c08
Oops, off by one.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2801 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 14:56:47 +00:00
hybrid
4f80f4a223
Make sure we really set the proper texture matrix. Fixes a render state confusion.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2797 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:58:06 +00:00
hybrid
01478210af
Make sure we init all matrices.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2796 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:57:00 +00:00
hybrid
28482fb61d
Add aprroximated implementation of one of the 2d image methods in Nulldriver. This enables support in the software drivers as well.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2795 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 11:52:18 +00:00
hybrid
de53c9b789
Properly reduce the polycount of the sphere until within allowed range.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2794 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 09:02:37 +00:00
hybrid
058f1d26b0
Add missing includes and reduce libraries used.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2791 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 22:51:31 +00:00
hybrid
e5368f57f6
Fix warnings
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2790 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 22:28:43 +00:00
hybrid
bb4727f201
Use new typedef.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2786 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 10:22:29 +00:00
hybrid
061464d17e
Add parameter name and remove unused constructor.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2785 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:51:56 +00:00
hybrid
c8570dca84
Constification of getter return value.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2784 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:42:15 +00:00
hybrid
7713cddaf8
Merged revisions 2748:2778 from branch 1.6. A few bug fixes (wrong drop/grab, normals handling, rotation animator) and many doc fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2780 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-02 10:27:15 +00:00
monstrobishi
24265b1527
- Fixed the OpenGL normal mapping some more (Works properly now).
...
- Fixed the OpenGL parallax mapping offset.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2776 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:32:36 +00:00
monstrobishi
d21b144624
- Fixed active camera scene node registering itself twice (This causes anything parented to the camera to get drawn twice, potentially a major performance issue). Scene manager now calls "render()" to update the active camera's matrices prior to doing culling, rather than OnRegisterSceneNode.
...
- Fixed the object-space lighting normal mapping/parallax mapping bug in OpenGL. Parallax offset still looks a bit weird in OpenGL compared to D3D IMO.
- Fixed a compile warning in D3D9 driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2775 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-31 06:00:53 +00:00
hybrid
ae0240d602
Avoid multiple calls to makeNormalMapTexture for the same texture.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2774 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:42:59 +00:00
hybrid
ddc0a95cd4
Fog serialization patch by pc0de.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2773 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:21:19 +00:00
cutealien
387f910cf9
New contextmenue features:
...
- automatic checking for checked flag.
- close handling now customizable
- serialization can handle incomplete xml's
- setEventParent now in public interface
- New function findItemWithCommandId.
- New function insertItem
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2771 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 17:04:14 +00:00
cutealien
d12a0027ec
Let maya-cam animator react on a setTarget call to the camera which happened outside it's own control
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2770 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 15:39:12 +00:00
hybrid
8292b7feed
Fix bounding boxes for skinned meshes. Moved LocalMatrix computation out of the loop. This works for the meshes I tested, but might break with others. Further testing required.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2768 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 15:41:44 +00:00
hybrid
d9e92b0783
Add FPS getter for Animated Mesh SN, add some values in serialization.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2767 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:42:47 +00:00
hybrid
c8c8028003
Add clone method for camera.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2766 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:30:11 +00:00
hybrid
752384e1ca
Add transparency support for the 2d vertex list render method for directx drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2764 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:56:46 +00:00
hybrid
2bc50a25bd
Add transparency support for the 2d vertex list render method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2763 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 12:29:33 +00:00
hybrid
b920e1bfbc
Simplify window generation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2760 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 12:55:59 +00:00
hybrid
3a29e0bbc1
Merge fullscreen resolution reset into new method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2759 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:28:24 +00:00
hybrid
83e2ed8554
Separate fullscreen resolution method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2758 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:18:51 +00:00
hybrid
f7f96520ef
Add fixes to handle screen changes in fullscreen mode. This allows proper resolution changes with Alt-Tab etc.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2755 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-26 22:47:07 +00:00
hybrid
e36af0b5d1
Some more unicode fixes for Windows systems.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2749 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-24 00:28:30 +00:00
hybrid
275874afb1
Merged from 1.6 branch, revisions 2684:2747. Windows serialization fix. Memleak in STL and LWO loader fixed. CursorControl under Windows fixed. CE compilation fixed. Example 21 for Linux fixed. IFileSystem and IFileList additions. Toolbar::addButton fixed. Device::run fixed. Anti-Aliasing on debug rendering disabled. Documenation updated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2748 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 18:06:57 +00:00
hybrid
2917a98867
Add possibility to add cameras without immediately making them active. Feature request by kkrizka.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2745 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:39:55 +00:00
hybrid
07280fa080
Simplify camera methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2744 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:33:19 +00:00
hybrid
9178ca932a
Add new videodriver method getMaxTextureSize(). Patch submitted by LoneBoco.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2742 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 15:44:31 +00:00
hybrid
b410b526b7
PAK archive reader patch and test, submitted by Carmen Wick.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2741 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 12:38:30 +00:00
cutealien
d3eff725be
- Material type EMT_TRANSPARENT_ALPHA_CHANNEL_REF no longer ignores light in OpenGL.
...
- Material type EMT_LIGHTMAP_ADD does now use GL_ADD in OpenGL which makes it look identical do the D3D version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2740 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 04:02:05 +00:00
hybrid
911ca53804
Use io::path for DX library handling, in order to allow for Unicode compilation mode. Found by MadHyde
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2736 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-21 15:52:30 +00:00
hybrid
eba56658c0
Add tar reader
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2733 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-20 16:19:36 +00:00
hybrid
23b9b10865
Fix MSVC warning
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2726 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-18 10:39:04 +00:00
hybrid
ed29e8ad15
Make some convenience functions non-virtual
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2725 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 21:10:54 +00:00
hybrid
dbe744d14a
Fix draw3dTriangle to render proper 3d objects, not just lines. In order to recover the previous behavior, set the 3d material to wireframe.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2723 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 20:34:33 +00:00
cutealien
53c48a78df
Avoid div by 0 for colorselect element
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2711 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-15 17:03:59 +00:00
cutealien
1818454023
MessageBox supports now automatic resizing and images.
...
Deprecated EGDS_MESSAGE_BOX_WIDTH and EGDS_MESSAGE_BOX_HEIGHT.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2710 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-14 13:28:20 +00:00
hybrid
64ad07a38e
Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00
cutealien
34d47c1cff
Fix cursor problems found by buffer and by rvl2 as described in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=34823&highlight=
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2669 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-29 23:33:59 +00:00
hybrid
5f1f6b1b18
Add support for CMYK JPGs.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2666 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-25 15:46:14 +00:00
hybrid
157cd67caf
Merged revisions 2622:2663 from branch 1.6. SMaterial bug, MS3D patch, LWO fix. Better Shift recognition under 2in32. D3D depth buffer MSAA problems fixed. string<c16> changed to io::path. Fix 2dimagebatch, add better mtl file finder. Fix some OpenGL extension checks. Fixed x86-64 warnings. Export symbols in gcc4. Scolling in GUITab fixed. Fixed PixelBlend16 and SW driver. FPS cam stuttering fixed. OSX project additions. New scene parameter to ignore obj's mtl files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2664 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:12:27 +00:00
cutealien
2f9c3864e7
Add setTabMaxWidth to tabcontrol (backport from 1.6)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2651 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-20 08:03:10 +00:00
cutealien
6361391247
Fix scrolling controls in CGUITabControl (backport from 1.6 branch)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2637 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-19 07:25:58 +00:00
hybrid
be8a1ff7b6
Disable anti-aliasing of sky
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2620 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 20:56:41 +00:00
hybrid
4ab18181fd
Disable anti-aliasing for the GUI. Fixed lod bias and quality multi-sampling under OpenGL.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2619 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 20:43:07 +00:00
hybrid
7bcfbd166b
Add some more inits for the vertex cache. Most types still don't work, and some still crash due to wrong memory access. But it's a beginning, Thomas will have to look into this.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2618 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 19:21:59 +00:00
hybrid
3cc32d1ab1
Add check for support in extension string.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2617 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 19:20:07 +00:00
bitplane
d9a73b8736
Fix a bug when getting optimal texture size in D3D drivers, by Jetro Lauha (tonic)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2616 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 13:35:43 +00:00
bitplane
cd7ad09b88
Burning's Video now compiles again in fast mode. Reported by puh
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2615 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 07:42:38 +00:00
bitplane
62442a5240
Added EGDS_TITLEBARTEXT_DISTANCE_X and EGDS_TITLEBARTEXT_DISTANCE_Y to GUI, submitted by FuzzYspo0N
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2613 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 00:28:43 +00:00
hybrid
ed373887aa
Add value clipping to cope with precision.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2612 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-15 16:47:18 +00:00
bitplane
7d31e86931
ReadOnlyMaterials in animated mesh node now works (reported by buffer)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2611 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 14:08:22 +00:00
bitplane
59100938c9
use locale.h instead of locale, wouldn't compile on VC otherwise
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2610 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 13:45:00 +00:00
bitplane
3cc7534abb
Bugfix for UTF8 filenames in file dialog, thanks to MadHyde for the patch [bug 2450094]
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2608 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 10:52:54 +00:00
bitplane
bb5627cf96
Fix for getFileBasename, submitted by Reaper
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2607 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-14 07:27:37 +00:00
hybrid
33a1819226
Ensure proper texture dimensions in the D3D drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2606 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:42:16 +00:00
hybrid
0a8836ac24
Remove unnecessary include.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2605 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:40:10 +00:00
hybrid
217c8a316f
Merged revisions 2577:2601 from 1.5 branch: fast_atof bugfix. Updated libpng to 1.2.39
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2603 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:18:04 +00:00
hybrid
af952595c6
Add methods for maximizing and restoring windows again. Some implementations are still empty, but we need the interfaces at least.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2600 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 16:51:46 +00:00
hybrid
243e08ee30
Add MountPoint reader to project files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2599 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 15:48:33 +00:00
bitplane
b41ae55899
Option to compile without the different archive loaders. Added GUI editor to codeblocks workspace
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2597 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 06:45:50 +00:00
bitplane
c3240d1561
Fixed Quake3Explorer and added codeblocks project. Ensure paths in createFileList end in /, fixed bug in mountPointReader
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2596 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 05:28:19 +00:00
hybrid
dd98649ba5
case typo.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2595 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 19:53:24 +00:00
hybrid
865593fa7e
Looks like a parameter ordering bug.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2594 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 19:52:36 +00:00
hybrid
16f8b240a6
Add provoke vertex support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2593 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 14:55:59 +00:00
hybrid
99a908815b
Fix eol style of Makefile and add some comments.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2592 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 13:44:11 +00:00
bitplane
cc173d1126
API Change! File archive API tidied: CFileList now takes care of removing paths lowering case, finding files, it can hold directory trees and is populated by the filesystem and archives. Archives now inherit it and return a const IFileList pointer rather than implementing each method and requiring special entry types in the API. createFileList works with the virtual filesystem. Separated the mount point stuff from the zip reader to its own files. Added GZIP archive type, fixed problem when loading files without names in gzips. Fixed a crash in the file dialog when the file list was null.
...
todo: update projects, test properly on Windows and OSX, add #defines for archive loaders
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2590 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 10:31:30 +00:00
bitplane
e6b350d300
Makefile install changes: The soname is now "libIrrlicht.so.Major.Minor" since minor releases should be binary compatible, headers are now installed to usr/local/include/irrlicht/ rather than /usr/local/include/irrlicht/include
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2589 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 09:55:47 +00:00
hybrid
8b0a0f4d8b
Add a general 2d render method. This method accepts vertex and index lists, and needs textures being set via setMaterial before the call to this method. This method is not implemented in the sw drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2586 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 21:58:14 +00:00
hybrid
31e1ca7492
Reorder initialization.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2585 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 16:04:44 +00:00
hybrid
3a2b49ca30
Add glx extension function pointer definitions to source code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2584 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 11:01:28 +00:00
hybrid
35ad0cce10
Fix typo.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2583 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 09:32:38 +00:00
hybrid
78457b9333
Fix path access, found by Nalin.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2581 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:26:05 +00:00
hybrid
48f48aeacb
Fix wrong type mix, found by Nalin.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2580 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:23:59 +00:00
hybrid
7e3e8f3c36
Fix wrong overload, found by Nalin.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2579 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:20:17 +00:00
hybrid
911ed2f627
Reorder method declarations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2577 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 08:03:14 +00:00
hybrid
28579a2708
Remove references to print().
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2576 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 08:01:37 +00:00
hybrid
707f59b89e
Merged revisions 2530:2574 from 1.5 branch. Updated upgrade-guide.txt. Unified point attenuation behavior. Removed wrong inlines.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2575 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 07:46:29 +00:00
hybrid
7f2a9860f4
Add gamma support to X11 device.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2573 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 16:37:02 +00:00
hybrid
308ba13567
Add gamma support to SDL device.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2572 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:42:59 +00:00
hybrid
3248afa977
Fix indentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2571 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:20:26 +00:00
hybrid
bc07bd4240
Fix glx extension function names.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2570 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:15:34 +00:00
hybrid
821575ffdd
Enable point and line smoothing also without AntiAlias enabled.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2569 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 14:30:24 +00:00
hybrid
c94314029e
Fix build with EXT_POINTERS disabled.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2568 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:51:07 +00:00
hybrid
88d873be4a
Fixed color order serialization, found by loverlinfish.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2566 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:07:33 +00:00
hybrid
cbdb585e04
Change Linux device to use GLX extension pointers, adapt OpenGL init to the win32 scheme.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2565 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 08:51:18 +00:00
hybrid
30cea2eda0
Add some more wgl extension support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2564 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:57:18 +00:00
hybrid
5f262b4563
Move wgl extension into platform specific init code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2563 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:32:15 +00:00
hybrid
9e087c6d05
Introduce OpenGL 3 context creation, still using legacy profiles only.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2562 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:14:50 +00:00
hybrid
2d9b118e88
Reorder methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2561 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:53:02 +00:00
hybrid
920e2cfaad
Reorder members.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2560 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:35:42 +00:00
hybrid
bfbe6299c8
Flip base texture coords as well, seems more correct, but still to be confirmed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2559 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:34:16 +00:00
cutealien
68b2d3e126
Initialize glxWin in constructor
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2556 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 23:57:03 +00:00
hybrid
786066e80b
Change ms3d frame numbers to zero-based.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2555 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:53:51 +00:00
hybrid
05922fd9f6
Change b3d frame numbers to zero-based.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2554 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:50:22 +00:00
monstrobishi
ced7ef0c5f
- Fixed bug in the Direct3D9 draw2DImage batching (Thanks Yoran for bug report!).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2553 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:15:42 +00:00
hybrid
f8d3dcb710
New opengl headers and new extension symbols added to extension handler.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2552 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 15:30:05 +00:00
hybrid
03da02bd0e
Move color check method to IImage to make it publicly available.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2551 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 22:01:23 +00:00
hybrid
bd482edad3
Only check for existence of the file to avoid too much disk access.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2550 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 21:59:22 +00:00
hybrid
a117ee314c
Make sure we use the same filename separators
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2549 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 21:58:01 +00:00
hybrid
13fb0bb3ac
Add support for scaling button images to fit.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2548 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 12:18:47 +00:00
hybrid
9d2dec9687
Simplify related methods, less duplicated code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2547 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 09:27:47 +00:00
hybrid
8d02b73f02
Simplify wave function.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2546 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 20:13:54 +00:00
bitplane
0cd12d1d53
Fixed compiling under gcc 4. It didn't like the local struct being used in irrAllocator
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2545 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 13:18:39 +00:00
monstrobishi
881bb1952f
- Added sprite bank draw batching. (Performance improvement is negligible unfortunately, wait for sprite bank VBOs)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2544 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 04:55:56 +00:00
monstrobishi
494e1a916b
- Changed floating point texture types to non-ARB versions in order to support R16F, R32F, RG16F and RG32F color types.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2543 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 04:53:36 +00:00
hybrid
05255a1900
Fix diffuse texture for csm files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2540 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 16:31:43 +00:00
hybrid
5c91b1cb70
Changed to LIGHTMAP_ADD, as the lightmaps seem to be signed. Removed some pointer usage in favor of references. Added big endian support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2539 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 12:18:44 +00:00
bitplane
e9a49a4494
CCSMLoader compiles again, make install now forces the symbolic link between so and soname (installing twice no longer reports errors)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2538 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 10:54:15 +00:00
hybrid
3ef53bc2f2
Some fixes for CSM loading.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2537 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 09:19:38 +00:00
bitplane
b3a7512882
Compiles again on OSX
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2536 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 06:21:16 +00:00
hybrid
12fbb7fb25
Change point attenuation in D3D to work as the OpenGL version.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2535 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 16:58:07 +00:00
hybrid
810f87e9e2
Missed a directory separator in b3d loader, thanks to Eigen for pointing this out.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2533 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 14:32:55 +00:00
hybrid
2fedaaac5d
Add Tar reader to dev-c++ project, found by Eigen.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2531 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 13:11:41 +00:00
bitplane
0661ff87a7
Allow console device to fprintf output to a FILE* (via WindowId). Defaults to stdout
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2530 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 12:20:19 +00:00
hybrid
ffb7a5c334
Merged revisions 2485:2528 from 1.5 branch. Updated changes.txt. Fix for getAngle. Font handling fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2529 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 09:29:18 +00:00
hybrid
41d6633d1b
Fix eol-style for all code files to CRLF for simpler file handling.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2528 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 09:03:25 +00:00
hybrid
1ff81da7bd
Fix font loading, bug found by Christian Clavet.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2524 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 15:51:18 +00:00
hybrid
5ee8e11ef7
Fix compilation of OpenGL driver with OpenGL disabled.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2520 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 11:20:16 +00:00
hybrid
dfb8e96111
Fix device type of SDL device.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2519 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 08:54:07 +00:00
hybrid
40fe8510c2
Fix line ending.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2518 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 08:46:37 +00:00
hybrid
e839529984
Merge font index reading methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2516 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:39:22 +00:00
bitplane
7287c9369d
Fix Win32 device which I just broke!
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2515 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:23:29 +00:00
bitplane
c0170c7c48
Allow multiple device types compiled in at the same time. Renamed _IRR_USE_LINUX_DEVICE_ to _IRR_USE_X11_DEVICE_, added missing platform for Windows CE. Currently only tested in Linux (X11, SDL, console)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2513 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:09:24 +00:00
hybrid
4ee90d2951
Clean up.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2512 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 16:21:32 +00:00
hybrid
8a4413bf77
Move helper function.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2511 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 16:09:40 +00:00
hybrid
f45b37fb97
Remove some casts.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2510 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 13:14:08 +00:00
hybrid
3ca38ba7f9
Changed order of functions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2509 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 13:01:55 +00:00
hybrid
0aad7654cb
Implement fill operation for RGB8 images.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2508 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 12:35:41 +00:00
hybrid
3db8e18554
Use proper method for image format.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2507 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 16:46:55 +00:00
hybrid
1ec36fee35
Use API functions instead of direct member access.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2506 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 16:30:04 +00:00
hybrid
d6189fd14f
Use API functions instead of direct member access.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2505 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 14:55:08 +00:00
hybrid
c8cc6715fb
Remove false silencing of non-functional code.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2504 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 14:53:11 +00:00
hybrid
ee9fbd5aaf
Move bitmask stuff into member functions, as it's seldomly used.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2503 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 13:37:35 +00:00
hybrid
729a273050
Move Blit code into separate file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2502 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 12:07:37 +00:00
hybrid
b0e11dbd13
Check lock before creating the copy, as suggested by Yoran.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2501 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 12:06:49 +00:00
cutealien
72d4a362db
Fix problem found by pcOde that release-events from keys can happen to be 1ms later than the pressed event.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2499 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-26 18:39:12 +00:00
hybrid
adb9effbde
Add the often requested Texture->Image conversion method
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2498 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-25 14:13:43 +00:00
hybrid
0943b7a723
Added vertex *and* texture alpha to ONE_TEXTURE_BLEND material. Can be enabled/disabled via the pack function which handles all modes of this material. Default is texture alpha, as before.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2496 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 21:57:25 +00:00
hybrid
220208c080
Merge the two legacy ps_1_x work-arounds into one if block in order to avoid falling back to 1_x even if 2_x is supported. Thanks to DeM0nFiRe for help on this topic.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2495 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 19:25:44 +00:00
hybrid
b87a5a13c6
Support for vs_1_x with recent DX SDKs, but old gfx cards. This way the shaders are still compiled to vs_1_x, but need an extra dx dll. Hence it's not enabled by default, but may be opted in with the IrrCompileConfig _IRR_D3D_USE_LEGACY_HLSL_COMPILER
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2494 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 19:00:17 +00:00
hybrid
5553e012e4
Add shader compile flag to support vs_1_x with newer DX SDKs
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2493 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 18:46:34 +00:00
hybrid
34e56b1619
Move getBitsPerPixelFromFormat from CImage to IImage to make it accessible for external use. Also added support for the float formats there.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2492 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 16:30:49 +00:00
bitplane
ed3a5a5b15
code::blocks projects now compile to Linux and win32-gcc dirs again, by default the examples in Linux link with the static lib as generated by the makefile.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2489 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-21 14:21:21 +00:00
hybrid
d6d75787cc
Added support for standard vertices, if no lightmaps are used. This saves lots of of memory and update times. But it needs some more testing, because I have not enough test files. Moreover, I've added some speedup for the vertex position loading with heavily reduced parsing efforts.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2488 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-20 22:10:13 +00:00
hybrid
701bf011ea
Fixed Deled texture search. The scene parameter DMF_USE_MATERIALS_DIR was renamed to DMF_IGNORE_MATERIALS_DIR with opposite meaning, because the default should be to use the directory defined in the file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2487 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-20 09:37:06 +00:00
bitplane
ff8cb9f698
Added tar loader to codeblocks project
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2486 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-19 21:01:04 +00:00
hybrid
94fe39af24
Merged revisions 2477:2484 from 1.5 branch. Support for range fog under OpenGL. Cleaned up changes.txt.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2485 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-17 12:08:45 +00:00
cutealien
40a8a7a259
Bugfix (found by arras): CGUIFont::getCharacterFromPos no longer ignores kerning.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2482 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-16 05:11:34 +00:00
hybrid
ca5258cd0b
Forgot to replace some variables.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2481 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 21:43:11 +00:00
hybrid
e6b44d8605
Added EXP2 fog distribution.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2480 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 21:39:25 +00:00
bitplane
ebdae3b93d
Fix a --wall warning and make code::blocks project work in 64-bit linux
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2477 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-14 19:30:29 +00:00
hybrid
8481637ae9
Fix OpenGL compilation without extension pointers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2476 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-14 15:43:53 +00:00
hybrid
3d46ce9638
Reenabled the vertex alpha mode if fx&32 set, as necessary for the terrain blending from xDan.
...
Changed texture loading order to original place, mesh directory, working directory.
Replaced file handling method by FileSystem versions. Changed readString to use a reference instead of return by value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2475 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 22:17:53 +00:00
hybrid
ba3024f023
Merged revisions 2440:2473 from 1.5 branch. obj writer shininess fixed. Shadow volume removal fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2474 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 13:14:32 +00:00
hybrid
0966a65698
Remove exceptions from irrMap.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2473 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 13:08:10 +00:00
hybrid
ba58d26ff0
Use core::array instead of C arrays.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2472 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 12:49:29 +00:00
hybrid
b8155bde74
Fix warnings.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2470 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 08:36:33 +00:00
cutealien
01339feefc
- Add mouse events EMIE_MOUSE_DOUBLE_CLICK and EMIE_MOUSE_TRIPLE_CLICK for Linux, Win32 and SDL.
...
- Fix compiling of SDL on Linux (sorry, was my fault)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2468 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-12 03:54:01 +00:00
hybrid
63a3790722
Fixed up version of the OpenGL ARB shader "parallax map and normal map with fog" patch. The code requires little changes to the ShaderMaterial in order to reuse existing shader renders, as we now have an array instead of one shader handle. Also, vertex and pixel shaders need to be adapted for fog usage, namely by setting the fogcoord in the vertex shader and adding a comment into which Irrlicht will add the proper fog option. Documentation will follow once we have cleaned up the shader usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2467 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-11 23:47:00 +00:00
hybrid
8486bddd81
Remove wrong event method, shouldn't go into the repository...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2465 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 12:55:48 +00:00
hybrid
6375ee4225
Fix indentation - Note to all: We use tabs...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2464 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 09:05:19 +00:00
hybrid
359fe4408b
Reenable default handling for syskeys, in order to get close window events from alt+f4
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2463 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 21:53:08 +00:00
hybrid
9f83642a95
Avoid window destruction if using external window. Patch by tp4me.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2461 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 13:01:45 +00:00
hybrid
62fc22014b
Fix for proper system-key handling under win32, submitted by mrarsoft and probably others before...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2459 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 11:30:25 +00:00
hybrid
2abda10ebd
Put the dmf stuff into irr namespace as suggested by Piraaate.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2455 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:05:59 +00:00
hybrid
af6ec8b2a4
Fix warnings about long qualifier.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2454 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:04:33 +00:00
bitplane
f1800c0490
Fix for folder archives, reported by Karol Krizka.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2453 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-08 13:49:23 +00:00
bitplane
a7f1c19c44
Added gzip support to ZIP archive loader. To load a tar.gz you must load it twice, like so:
...
fileSystem->addFileArchive("path/to/myArchive.tar.gz");
fileSystem->addFileArchive("myArchive.tar");
Removed buggy and unneeded use of Byteswap in TAR loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2449 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-07 10:45:48 +00:00
bitplane
1c9169372a
Fixed negative unsigned integer bug normal map generator
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2448 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-06 09:43:21 +00:00
bitplane
f0e4959484
- IFileSystem changes:
...
- Added TAR archive loader.
- Renamed the following functions-
IFileArchive::getArchiveType to getType
IFileSystem::registerFileArchive to addFileArchive
IFileSystem::unregisterFileArchive to removeFileArchive
IFileArchive::openFile to createAndOpenFile
- New enum, E_FILE_ARCHIVE_TYPE. getType on IArchiveLoader and IFileArchive now both return this.
- IFileSystem::addFileArchive takes a parameter to specify the archive type rather always using the file extension. IFileSystem::addZipFileArchive, addFolderFileArchive and addPakFileArchive now use this but these functions are now marked as deprecated. Users should now use addFileArchive instead.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2447 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-06 09:10:23 +00:00