cutealien
3ca524aca4
Pass the rectangle in the IGUIElement constructor as const ref (thx at randomMesh)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3012 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:10:32 +00:00
hybrid
6e3bc81a1f
Add implicit casts operators for the most common name. This allows simpler usage of the NamedPath struct. Hopefully also a correct one.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3010 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 21:50:21 +00:00
cutealien
59721e0d34
SNamePath cleaned up, minor bugfixes, documentation update.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3009 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 20:42:45 +00:00
cutealien
cf445855a6
Documenation clarification in IEventReceiver (thx teto) and ISceneCollisionManager (thx aanderse).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3008 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 20:18:58 +00:00
hybrid
07a652f488
Add LZMA decompression (7zip compatible, without 7zip archive support).
...
Change bzip2 code to NO_STDIO to save some space.
Add some more flags to allow for system version of bzip2 etc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3006 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 10:23:37 +00:00
cutealien
7eaece5d46
Add OBJ_TEXTURE_PATH and B3D_TEXTURE_PATH to SceneParameters to allow setting texture-paths for obj and b3d.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3005 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 05:46:43 +00:00
cutealien
58764ce8b9
- Keep filenames additionally to internally used names for meshes, fonts, textures and sprites to fix problems with uppercase-filenames on Linux.
...
- Adapt MeshCache interface to make the difference between names and filenames more clear. Old functions behave the same, but are deprecated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3004 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 04:52:15 +00:00
hybrid
4be82de30c
Make sure the struct is initialized to 0
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2998 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:47:57 +00:00
hybrid
5b030dbc98
Enable zip decryption mode. Add bzip2 flag.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2997 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:46:29 +00:00
hybrid
f040a326d8
Clarify the grab situation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2990 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:04:47 +00:00
hybrid
dd198af9e5
Add possibility to add externally loaded/created fonts.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2989 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:02:42 +00:00
cutealien
0e21f80e5a
- CStringWArrayAttribute can use const-ref instead of full copy
...
- Put E_ATTRIBUTE_TYPE in own header EAttributes.h
- Put IAttribute in own header IAttribute.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2969 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-02 16:02:41 +00:00
cutealien
622bd16ba1
SceneNodeAnimatorFollowSpline can now loop and pingpong.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2966 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 18:26:52 +00:00
hybrid
3d4ff2a67e
Add ways to provide the password for encrypted archives.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2965 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 17:07:00 +00:00
hybrid
d1251606f7
Make aes decryption optional.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2961 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 12:17:18 +00:00
cutealien
f2e91f0e7c
Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
...
already or broken after 1.6).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2950 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 15:08:16 +00:00
cutealien
09b4f29944
Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
...
caused because operator= and copy-constructor where not called because the the second template parameters
was not used in those function declarations and so only functions for the default parameter had been
created.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2949 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:51:59 +00:00
hybrid
e7b200fef4
Merged revisions 2892:2947 from 1.6 branch. Mainly GUI fixes. Cylinder texturing enhanced. WIN64 defines everywhere also use _WIN64. Code layout and documentation updates.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2948 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:42:58 +00:00
cutealien
9e1eb1e6ca
Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
...
assignment would otherwise depend on allocation strategy which isn't a good idea. Also some problems due to
default template parameters which got ignored in copy-constructor and operator= which caused those functions
not to be called.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2946 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:11:27 +00:00
cutealien
7c8293ef93
Remove some extra ; because otherwise tests won't even compile.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2944 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-29 23:37:04 +00:00
monstrobishi
1ea180d6be
- Noticed a major slowdown with the fairly-recently implemented allocation strategy scheme for irrArray (About 5 times slowdown) mainly due to the switch statement in the time critical section. So I re-implemented it as a static template-based system and now the speed is a lot more acceptable.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2939 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-28 06:24:37 +00:00
hybrid
e82e998aff
Add experimental framebuffer device.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2937 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-27 18:58:56 +00:00
hybrid
51545ba051
Add geometry shaders for OpenGL. Implementation is largely influenced by ideas from devsh. Right now the input and output types are fixed to EPT_TRIANGLES, the maximal output vertices are only limited by the driver, and some geometry shader extensions are wrongly used. Will be fixed in the near future.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2926 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 23:35:43 +00:00
hybrid
0655f27f31
Split shader types definitions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2923 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 16:31:50 +00:00
hybrid
ce6a35287d
Remove unused includes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2919 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 08:20:52 +00:00
hybrid
0fd0e52e7e
Reorganize the mrt reset procedure.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2916 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 23:03:04 +00:00
cutealien
2573257ffc
Double and triple click events now for each mouse-button. Old events for that got removed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2914 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 15:25:00 +00:00
hybrid
76c4b0f813
Add access to miplevels in addTexture, texture->lock, and texture->regenerateMipMapLevels.
...
This allows to create custom mipmap textures manually, or provide them from certain image formats that come with precalculated mipmaps.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2912 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:24:31 +00:00
hybrid
978c768ade
More atan2 param casts.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2911 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:19:38 +00:00
hybrid
75f7074ed2
Deprecate some image creation methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2908 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:24:26 +00:00
hybrid
f29995ded6
Merged revisions 2848:2891 from 1.6 branch. DMF loader fixes, Win32 shift key fixes, version number update.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2892 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 09:50:37 +00:00
monstrobishi
d7d497f0e5
- Fixed compile error in getHorizontalAngle() (Ambiguous method call to atan2).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2882 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-18 05:32:58 +00:00
hybrid
1b89cef4a3
Fix precision problems in getHorizontalAngle.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2880 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:36:22 +00:00
hybrid
db4c7a2caf
Remove extra commas
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2879 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:35:21 +00:00
hybrid
6c62592d5b
Fix precision problems in new method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2877 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:10:57 +00:00
hybrid
e5488e1777
Support separate U and V texture wrap modes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2872 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-16 15:58:54 +00:00
hybrid
17bc727e31
Add mirror texture wrap modes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2870 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-16 14:59:58 +00:00
hybrid
7babf477db
Add new angles calculation method suggested by Yoran.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2861 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 18:35:05 +00:00
hybrid
47ee78456d
Add new triangle3d method, suggested by rogerborg. Fix comment. Fix type in multiplication.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2859 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 15:34:38 +00:00
hybrid
02b5e40616
Add ScaleAlongNormals manipulator.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2858 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 14:58:37 +00:00
hybrid
372161fa0c
Fix missing include.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2857 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 14:43:04 +00:00
hybrid
f3bf8b1f2b
Fix createMeshWith1TCoords to avoid vertex duplication.
...
Add a new VertexManipulator interface, which allows to easily add manipulators. Several existing methods have been replaced by this interface.
Further manipulation schemes will be added later.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2856 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 13:46:12 +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
a78dda33e2
Fix getRotation to handle matrices with scale
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2842 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-11 13:48:59 +00:00
hybrid
0a316fd0ce
Add equals method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2837 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 17:52:44 +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
45d10d0f05
Move Ogre loader to bone supporting mesh loaders
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2828 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 13:29:08 +00:00
hybrid
1aa521654a
Fix irrArray interpretation of free_when_destroyed. Some more cases need to be handled differently. Changes.txt updated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2826 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 11:55:10 +00:00
hybrid
e2b8f785ca
Fix illegal memory access on push_front, and merge push methods into one base function.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2825 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 09:51:13 +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
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
21a52f9317
Slightly reorder the members.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2799 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 13:44:58 +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
95b4283a27
Split method suggested by obscurusnox added.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2792 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 23:52:33 +00:00
hybrid
68a7f4b11a
Add rogerborg's irrString assignment allocation patch and a testcase.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2787 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 16:45:39 +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
22fdb7130b
Put method into class scope.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2783 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:35:55 +00:00
hybrid
82fc088f15
Add typedefs for better readability.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2782 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:26:55 +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
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
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
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
9b4d3cbd11
Some new string methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2743 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:02:05 +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
d64c8b9259
Remove virtual from irrString. Probably no one derives from irrString, but this saves some bytes and cycles.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2730 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 15:46:19 +00:00
hybrid
eaba16db96
Another lightness calculation method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2727 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 12:28:14 +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
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
monstrobishi
a897201597
- Set default tolerance for s32 core::equals to 0 (Was 1).
...
- Added tests to vector2d and vector3d regression tests for 0 to 1 equally using the s32 data type (Related to previous change).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2707 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-02 21:15:17 +00:00
cutealien
10201179ea
fix rounding problem in IGUIElements which have EGUIA_SCALE alignments.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2697 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-21 19:57:08 +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
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
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
0b7c2b28f2
Resolve include order for float.h and local defines.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2604 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:38:14 +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
6acdce5021
Add missing COUNT enum. Add FLT_MAX define if missing.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2601 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 17:17:37 +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
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
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
af7cd5395c
Added const binary search method to array along with warning: it will use linear_search if the array is not sorted
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2588 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 09:49:25 +00:00
cutealien
c0817da71c
Adding a comment to updateAbsolutePosition.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2587 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-11 03:44:37 +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
7c4b5a1673
Remove WCHAR_FILESYSTEM from non-windows systems.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2582 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 08:30:34 +00:00
hybrid
10f658b9da
Fix missing GUI element name, found by loverlinfish.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2567 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:09:23 +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
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
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
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
3ef1b18308
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@2525 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 07:58:33 +00:00
hybrid
7e5822ec2c
Fix eol-style for all code files to native.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2521 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 11:45:59 +00:00
bitplane
24bbe96c9c
A couple of cosmetic things I forgot to check in a while ago.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2514 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:18:31 +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
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
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
4f0bf8b9c3
Add some more docs for the alpha source
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2497 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-25 13:51:37 +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
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
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
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
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
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
hybrid
9896695873
This fix should allow for more than 4 textures in SMaterial. Now, up to 8 are supported. We have to check for the texture matrix stuff if adding more could be simplified instead of adding more and more texture matrix defines. Maybe we also need to add a limitation for the numbers of texture matrices to create for systems using less than 8 textures. This patch has not been tested with all drivers so far, but seems to work ok.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2479 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 16:03:33 +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
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
cutealien
a142d5edca
Add enums for EMIE_MOUSE_DOUBLE_CLICK and EMIE_MOUSE_TRIPLE_CLICK this time (sorry again)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2469 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 00:32:16 +00:00
hybrid
c46a6b2479
Add default parameter to simplify setting textureBlend.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2460 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 12:54:41 +00:00
hybrid
c701279239
Fix some docs and put c16 into irr namespace.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2457 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:21:27 +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
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
bitplane
bf90fa16d8
Fixed misleading typo in doc comment for core::string::equalsn
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2442 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-03 09:25:18 +00:00
hybrid
c223658672
Merged revisions 2407:2436 from 1.5 branch. CopyToScaling bug fix, big endian .x bug fix, STL loading fixed, binary attributes loading fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2440 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-02 09:39:50 +00:00
hybrid
8e9c3de276
Merged revisions 2349:2403 from 1.5 branch. Added defines for version handling, added method to check for drivers. Fix bugs in Joystick handler, filename handler, and byteswap.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2439 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-02 08:59:55 +00:00
bitplane
677f750e3f
Added some doc comments to IVolumeLightSceneNode.h and changed "colour" to American English "color" for consistency
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2437 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-02 04:03:43 +00:00
cutealien
2221cee889
- IOSOperator::getTextFromClipboard returns now const c8* instead of c8*
...
- Support for copy&paste on linux (X11) added (fixing bug 2804014 found by Pan)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2430 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 14:44:51 +00:00
cutealien
2dc5c7d7d5
- Reversed change in vector3d::normalize. The check for 0 vector isn't there for optimization, but to prevent NAN values.
...
Works now again as documented and a corresponding test has been added.
Does fix bug 2770709 (https://sourceforge.net/tracker/?func=detail&aid=2770709&group_id=74339&atid=540676 )
- Animations can now be paused by setting the fps to 0.
- Avoid fp-precision problem in getPickedNodeBB (see also
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=33838&highlight= ).
This change might also fix the problem with picking nodes found by aanderse
(http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32890&highlight= )
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2419 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-11 22:56:51 +00:00
cutealien
a7865ae234
- adding events EGET_EDITBOX_CHANGED and EGET_EDITBOX_MARKING_CHANGED
...
- prevent editbox from recalculating its textbreaking each frame
- let spinbox react on each textchange without waiting for enter to prevent getting value changes without corresponding
EGET_SPINBOX_CHANGED events.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2411 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-07 01:02:42 +00:00
monstrobishi
7e3770c871
- Changed line2d getVector implementation to match line3d (Was start - end, changed it to end - start).
...
- Removed default values for R, G and B for SColorf constructor and added a default constructor that mimics the default values behavior.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2410 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-04 12:04:28 +00:00
cutealien
17f879c7b0
Oops, EMBSM_EXTRA1 and EMBSM_EXTRA2 not supported on linux, so removed from device and added comment.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2409 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-02 16:09:14 +00:00
cutealien
71ac2ee2f6
- serialize modal screens
...
- allow stacking modal screens
- allowing hiding modals
- replace many IsVisible checks with virtual isVisible() checks in IGUIElement
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2406 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-02 00:10:56 +00:00
cutealien
122084c75e
- Set "ButtonStates" for mouse events also on Linux (was only for Windows formerly)
...
- Add Shift+Control states to mouse event
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2405 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-01 06:29:35 +00:00
cutealien
b02776afcc
- windows can now enable/disable drawing of background and titlebar
...
- improved window serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2402 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-30 22:39:03 +00:00
cutealien
e404e5d63c
added IGUIListBox::setDrawBackground
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2401 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-30 05:45:54 +00:00
monstrobishi
cc4ff80fa3
- Floating point render target support.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2399 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-24 09:35:39 +00:00
hybrid
c81829870d
Save some more bits and update comments to proper enum usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2398 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-18 19:59:27 +00:00
hybrid
ad8579ca81
Make the method isCulled publicly available
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2361 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:36:39 +00:00
hybrid
065c15c00c
Make real use of bitfield
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2358 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:01:15 +00:00
hybrid
99a92fc35e
Add new Material flag ColorMaterial which defines how to interpret the vertex color when lighting is enabled. It's possible to use the color for diffuse, ambient, specular, or emissive modulation. Also combined diffuse and ambient is possible. This change finally unifies the behavior of non-textured meshes in OpenGL and D3D to a large extent.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2350 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 16:21:34 +00:00
hybrid
f95fd674eb
Allow cuboid creation instead of just uniform cubes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2346 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:58:01 +00:00
hybrid
a98c3319d1
Move cube creation to geometry creator. Submitted by wITTus.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2345 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:41:40 +00:00
hybrid
225d51e2c3
Add the two missing parameters to volume light mesh creation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2344 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 23:08:33 +00:00
hybrid
58fcce1640
Use geometry creator method in Volume light node.
...
Changed scene node type of volume light to its own type.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2343 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 22:47:36 +00:00
hybrid
f91ece5e39
volume light mesh creation methods, provided by iondune
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2342 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 21:37:33 +00:00
hybrid
9fe9af1f57
Make D3D9 driver use screen coords in 2d mode. D3D8 will follow.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2336 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-20 16:54:27 +00:00
hybrid
6124df98f0
Merged revisions 2325:2332 from 1.5 branch. Only doc updates.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2333 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 14:35:51 +00:00
hybrid
bddb9fb8a5
Fixed indentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2330 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 13:39:40 +00:00
hybrid
a4087d5c82
Define for deprecation of symbols, made by Nox.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2323 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-03 21:20:12 +00:00
hybrid
9e64d3bc59
Fix switch statement missing breaks.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2322 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-02 09:32:50 +00:00
hybrid
70a1d335df
Added ViewMatrix affector, proposed by mandrav.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2315 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 16:56:54 +00:00
hybrid
9e695384b9
Added collision function parameter for restricting check to only parts of the scene, patch by Darktib.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2310 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 15:14:38 +00:00
hybrid
ca07a70436
Constification for line3df paramater and reindentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2308 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 09:36:30 +00:00
hybrid
c2d6da34ef
Remove unused destructors.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2307 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 09:18:36 +00:00
hybrid
1d8adb3faf
Added overloaded method for reciprocal sqrt on s32.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2306 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 09:04:50 +00:00
hybrid
e7c19f9e35
Give access to LimitReadFiles.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2304 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 22:33:45 +00:00
hybrid
824058e24a
Added some convenience overloads for archive handling. Cleaned up the existing methods.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2301 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 01:23:18 +00:00
hybrid
00c112d522
Make geometry creator reference counted.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2299 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-27 12:43:23 +00:00
hybrid
c26cb45461
Merged from 1.5 branch, revisions 2137:2293. Minor bugfixes, some doc updates.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2295 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-17 17:42:34 +00:00
bitplane
d428937f2b
Fixes to compile with Borland C++
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2289 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-16 12:15:51 +00:00
bitplane
f34c718ae1
Changed MSVC6 compile error to (_MSC_VER < 1300), reported by lab_zj
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2288 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-16 02:55:23 +00:00
bitplane
64f0b592e0
Added compiler error when attempting to compile with VC6. Posted by Sylence and adjusted by Vitek. Also fixed a typo in IrrCompileConfig.h comments
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2285 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-15 23:31:40 +00:00
bitplane
0ee0b06eef
Fix some initialization order warnings caused by reorganising members
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2274 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-12 00:06:59 +00:00
bitplane
7e78383571
Added irrAllocator to irrList, submitted by Nox [bug 2682209]
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2273 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-11 23:00:34 +00:00
bitplane
3301848313
Added setDraggable and isDraggable to IGUIWindow, by Nox [2645227]
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2271 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-11 10:26:33 +00:00
bitplane
0ce6ba201e
Re-ordered some member variables so that padding on 64-bit pointers don't use unnecessary space, also defined bit fields for some bools and moved them to the end of memory. Some minor formatting changes, and got rid of the annoying upper case .H in the VC projects.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2269 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-11 07:07:01 +00:00
bitplane
2a5a21fce4
Reset all line endings to Windows-style CRLF
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2268 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 20:46:58 +00:00
bitplane
1a8e789e7e
make IGUIElement::addChild call updateAbsolutePosition, reported by CuteAlien
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2265 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 04:33:14 +00:00
bitplane
738954d3cd
Renamed setResizeable to setResizable (!)
...
Tidied the Xcode project some more and fixed compiling. Didn't implement CIrrDeviceOSX::minimizeWindow yet
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2264 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 02:15:12 +00:00
bitplane
f5dbad31dc
Added Silicon Graphics RGB texture loader by Gary Conway.
...
Added dummy os::Byteswap methods to prevent implicit byte swapping on char types.
Updated meshviewer config.xml to include PLY files, also removed the statement that the combo box has no function as it has worked for some time.
Fixed some comments in CNullDriver.cpp.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2262 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 22:15:34 +00:00
hybrid
0aab2f1924
Added device method minimizeWindow which minimizes the render window (as if the minimize button has been clicked)
...
Renamed setResizeAble to setResizeable
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2258 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-08 21:15:28 +00:00
bitplane
6e1fc8d745
Add sky dome type and to default node factory, add serialization and clone methods (bug #2656990 reported by lab_zj)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2254 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 18:20:07 +00:00
bitplane
ce44c10fa4
Added PLY reader, currently only supports ascii and little-endian binary files.
...
Added mesh writer flag for binary export, not used yet.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2251 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 02:03:40 +00:00
bitplane
00be4fed05
Added PLY writer and added VC9 project for mesh converter
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2248 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-02 11:46:47 +00:00
bitplane
d1f61e3140
recalculate clipping rectangle after setNotClipped, reported by Aelis440
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2245 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 15:37:25 +00:00
bitplane
dc498aec77
Added a font for the console device, fixed grammar in IGUIFont docs
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2241 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 12:03:42 +00:00
bitplane
b15e9e9fea
Put ifdefs in OSX appdelegate for compiling with SDL or console devices, minor OSX project tidy up
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2240 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 08:29:33 +00:00
bitplane
4eda4c8e4b
Update mac project, fixed some indentation
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2239 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 08:07:28 +00:00
bitplane
74e456a1cc
Added generic console device. Only works with software drivers.
...
todo: user input from console. clean up when the task is killed. present() ASCII output would be nice! :-D
Added new files to projects
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2234 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 08:36:43 +00:00
hybrid
6ece9e0dfe
Clarification of parameter unit.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2229 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:29:33 +00:00
bitplane
40bdfb3179
typo in ISceneManager docs to do with scene parameters
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2220 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 20:47:55 +00:00
bitplane
a6c241ee89
Made enum for mouse button state mask
...
Win32: Added X buttons to mouse.
SDL: Swapped middle and right buttons, added button state mask and fixed unresolved external.
GUI: Fixed scroll input in combo box.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2217 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 17:28:17 +00:00
bitplane
ba38526210
Had to rename some reserved words in (maybe objc++ but possibly macros to do with xcode?) IQ3Shader::id to ID, string::verify to validate.
...
Put casts back into OSX driver
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2215 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-15 23:10:21 +00:00
bitplane
510bb72e65
Updated version string
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2214 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-15 19:18:05 +00:00
bitplane
24552f90cf
added SViewFrustum::clipLine
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2212 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-13 10:27:44 +00:00
Rogerborg
7b5c07e9ce
Add missing test files, update IGeometryCreator.h. Re-enable makeColorKeyTexture test - apologies if this is still borked on some platforms: please feel free to disable it again.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2208 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 22:21:04 +00:00
engineer_apple
2340f9b849
Changes in 1.6 TA
...
- PixelBlend16 and PixelBlend16_simd are working for the new rules.
- bugfix. CLightSceneNode didn't correctly update it's attributes
Lighting Linear Attenuation. = 1.f / radius
The Example loadirr files set the lightscene radius to 1000.f but
stays on the previous default attentuation with the older radius 100 -> 1.f / 100
so the examples looks golden-brown.
Now the radius is correctly!! set to the attenuation of 1.f/1000.f because the
file doesn't have special attenuation. and now it looks more yellow.
can anybody show me a correct screenshot for this file;-)? Niko?
Or is this behavior the default lighting?. then it would be
a fixed constant linear attenuation of 0.01f;-). Please clearify
For now i didn't fixed it
I encountered this behavior because i ( burning video ) used the original radius
for calculations and so i've found that radius != 1.f / linearAttenuation but
in the LightSceneNode this formula was used.. confused;-)
- vector template and equals tests
as working with the test suits i cleaned the template behavior (mixed types are
used in the templates) and added all missing special math function with their coressponding type
I also set the equal test for s32 to behave like the f32 routine.
The function equals always implements a weak test.
that means a tolerance MUST always be used if you use the equal function. default is 1.
you can set it to zero a==b-> equals ( a, b, 0 ) but do it explicit like you have to
for floating compare. This is important when irrlicht is going to use special hardware
math acceleration on a per function base, like sse2, or the other way round fixpoint.
- VideoDriver drawPixel
The HW renderes are using the alpha components for blending.
The Software Renderes and image loaders are using CImage::setPixel copy.
so setPixel is engaged to either blends or copy the pixel
default: false
- Burningvideo
added RenderMaterial EMT_SPHERE_MAP
pushed burningsvideo to 0.43
added RenderMaterial EMT_REFLECTION_2_LAYER
pushed burningsvideo to 0.44
set EMT_TRANSPARENT_ALPHA_CHANNEL_REF
to use AlphaRef 0.5 like Direct3D
One Note: in OpenGL there is know difference between sphere_map and reflection layer
both using GL_TEXTURE_GEN_MODE GL_SPHERE_MAP, whereas in d3d one time using camera_normal
on sphere and reflection on refletcion_layer.
The visual difference is that on sphere map the "image is not moving" when you rotate the
viewer. For Buring i took the opengl visual. always moving
- rename quake3 SEntity to IEntity to be confom with IShader
even IShader and IEntity are none pure virtual interfaces
like most irrlicht objects
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2207 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 15:08:23 +00:00
Rogerborg
df30597294
Add missing IGeometryCreator.h file. It's missing comments (which I'll add tonight) along with tests/testGeometryCreate.cpp.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2206 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-10 13:40:13 +00:00
Rogerborg
ca0c0850c9
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32277
...
Expose CGeometryCreator (as IGeometryCreator) through ISceneManager. Test app added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2205 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-09 20:05:53 +00:00
hybrid
6cf999bcaf
Fix warnings/errors from latest updates.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2200 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 17:37:45 +00:00
engineer_apple
c130d56b76
Changes in 1.6 TA
...
- fixed createMeshWith2TCoords
normals were missing during copy.
- addded
//! Creates a copy of the mesh, which will only consist of S3DVertex vertices.
IMesh* CMeshManipulator::createMeshWith1TCoords(IMesh* mesh) const
- added io::IFileSystem* CSceneManager::getFileSystem()
for preparing to remove the (mostly) unnecessary double member variables
in many loaders
- added virtual const c8* ISceneManager::getAnimatorTypeName(ESCENE_NODE_ANIMATOR_TYPE type);
to the SceneManger Interface. just like getTypeName is public
- added CSceneNodeAnimatorFlyCircle::radiusEllipsoid.
if radiusEllipsoid == 0 the default circle animation is done
else radiusEllipsoid forms the b-axe of the ellipsoid.
-> gummiball bouncing
- added ISceneManager::createFlyStraightAnimator variable bool ping-pong
used in loop mode to device if start from beginning ( default ) or make ping-pong
-> straight bouncing
- changed IFileSystem::registerFileArchive
remove the index of the hiarchy and added a new interface method
//! move the hirarchy of the filesystem. moves sourceIndex relative up or down
virtual bool moveFileArchive( u32 sourceIndex, s32 relative ) = 0;
- bugfix and changes in
SViewFrustum::SViewFrustum
wrong size of Matrices copy. This bug must be ages old... (typo)
detected during resizing the Matrices. removed obsolute Matrices
renamed E_TRANSFORMATION_STATE_2 to E_TRANSFORMATION_STATE_FRUSTUM
therefore also changed SViewFrustum::setTransformState to not tap
in the pitfall again of wrong memory...
and renamed it to getTransform, like in the driver
and Matrices private
- OpenGL:
Specular
- moved
//! EMT_ONETEXTURE_BLEND: has BlendFactor Alphablending
inline bool textureBlendFunc_hasAlpha ( E_BLEND_FACTOR factor ) const
from the material renderes ( 3x declared ) to SMaterial.h
- updated managed light example to use standard driver selection
- BurningsVideo
- LightModel reworked.
Point Light & Direction Light works for Diffuse Color as aspected
Specular and Fog still have problems ( needs new pixel shader )
pushed burningsvideo to 0.42 for this major step
- removed obsolete matrix transformations
renamed E_TRANSFORMATION_STATE_2 to E_TRANSFORMATION_STATE_BURNING
- cleaned line3d.h vector3d.h template behavior.
many mixed f32/f64 implementations are here. i'm not sure if this should be
the default behavior to use f64 for example for 1.0/x value, because they
benefit from more precisions, but in my point of view the user is responsible
of choosing a vector3d<f32> or vector3d<f64>.
- added core::squareroot to irrmath.h
-> for having candidates for faster math in the same file
- added AllowZWriteOnTransparent from SceneManager to burningsvideo
Following SceneManger guideline
-added hasAlpha() to ITexture
This info can be used for e.q to downgrade a transparent alpha channel blit
to add if the texture has no alpha channel.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2199 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 15:33:55 +00:00
hybrid
3708c5d1bd
Global override material. Set and enable Material flags which will override materials of each scene node in the enabled render passes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2195 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-04 00:22:49 +00:00
hybrid
9f47c2ee26
Make material flag enum combinable.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2192 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:42:26 +00:00
hybrid
5af050be2c
Make renderpass enum combinable.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2191 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:29:48 +00:00
hybrid
543407812f
Added another parameter for the new planar mapping operator
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2189 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 22:08:31 +00:00
hybrid
87a66e3f67
Avoid self-assignment causing wrong drop, found by CuteAlien.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2185 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 10:07:41 +00:00
hybrid
57c16f70d8
Added new makePlanarMapping method with one major axis for the whole mesh buffer, and different resolutions in S and T.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2181 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 23:43:44 +00:00
Rogerborg
5478f80545
https://sourceforge.net/tracker2/?func=detail&aid=1797487&group_id=74339&atid=540678
...
- Triangle selectors created from animated mesh scene nodes will update themselves as required to stay in sync with the node.
- ISceneCollisionManager::getSceneNodeAndCollisionPointFromRay() allows selection by BB and triangle on a heirarchy of scene nodes.
Example 07 updated to show the usage of ISceneCollisionManager::getSceneNodeAndCollisionPointFromRay(), used on animated meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2177 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 18:56:05 +00:00
Rogerborg
78f9dee79c
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32182
...
Expose the IMeshBuffer of an IVolumeLightSceneNode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2175 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 22:45:46 +00:00
Rogerborg
17784dd0f8
https://sourceforge.net/tracker2/?func=detail&aid=2552603&group_id=74339&atid=540678
...
Add IVideoDriver methods to enumerate the available image loaders and writers. Unit test added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2174 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 17:01:45 +00:00
Rogerborg
bd192519d6
http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32019
...
Derive COctTreeSceneNode from IMeshSceneNode instead ISceneNode, and have it return the IMesh that was used to create its octtree. Tested with a slightly modified example 07.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2173 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-31 15:58:43 +00:00
hybrid
0e00187fdd
Aded a meshbuffer version of makePlanarTextureMapping.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2171 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-30 17:40:09 +00:00
hybrid
72e38c419e
Fix vector3d with int elements.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2160 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:07:07 +00:00
hybrid
63199557f1
Fix some warnings and a template problem with gcc 4.x
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2158 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 16:07:59 +00:00