hybrid
68f2170d40
Avoid unescaped xml tags in comments
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3976 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-01 08:42:30 +00:00
hybrid
e0edee9d3d
Remove stray comma from comment
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3975 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-01 08:34:15 +00:00
hybrid
e0a56a717a
Constification of some values.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3974 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-11-01 08:26:20 +00:00
hybrid
31664bce48
Add triangleSelector improvements suggested by rogerborg. Plain triangle selector also needed an additional inverse matrix application, but now works as the octree case. Test cases also added.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3973 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-28 16:27:32 +00:00
hybrid
5ea792721f
Fix proper place of drop.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3972 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-25 15:33:43 +00:00
hybrid
79147a2d10
Indentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3971 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-25 15:31:27 +00:00
hybrid
c4cd7cb167
Return const-ref for reduced overhead.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3970 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-25 15:31:06 +00:00
hybrid
fa198f1cf1
Add another remove method which takes a node instead of a key. This can save a second lookup upon removal. Thanks to teto for the idea.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3969 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 21:34:32 +00:00
hybrid
688ec5b873
Fix Meshbuffer interface of md3 files. At least for some situations these should return the proper buffers now, and hence allow for stencil shadows and other things. We might need an animation update check, though, to handle multiple meshes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3968 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 10:44:01 +00:00
hybrid
594ed8174b
Add cleanup in case of error.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3967 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 09:54:17 +00:00
hybrid
7f644d033d
Window size fix by Auria. For now we simply check for any error during window creation and bail out safely. This avoids uncontrolled crashes of the app and may be handled by the app logic somehow.
...
Reordered some of the device attributes and ensured initialization of all values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3966 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 09:51:10 +00:00
hybrid
9d3c630202
Fix indentation
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3965 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 09:28:22 +00:00
hybrid
0c0ee8be53
Add debug data switch for shadow scene nodes. With EDS_SKELETON and EDS_MESH_WIRE_OVERLAY one can draw the whole shadow volume (or just the wireframe of it) instead of just the shadow. Currently only implemented in the hw drivers.
...
Also fixed a somewhat slow way of not writing to color planes from alphablend(1,0) to proper colormask settings in d3d driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3964 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-24 00:44:45 +00:00
hybrid
197ddb57e4
Add example for new file open dialog feature.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3963 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-23 23:57:12 +00:00
hybrid
72e5d28703
Enable file open dialog to restore initial path after close and add another parameter for optional start directory.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3962 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-23 23:56:38 +00:00
hybrid
8995160582
Add a helper typedef to make it easier to query for the underlying character type. Naming is conforming to stl
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3961 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-23 15:50:49 +00:00
hybrid
c54ab64e64
Fix for OSX mouse events in fullscreen by auria
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3960 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-23 00:22:24 +00:00
hybrid
ba4172de61
OSX input patch by Auria
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3959 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-23 00:07:39 +00:00
hybrid
eed14a0ee4
Add new methods for adding and removing file archives based on ifilearchive pointers. The existing methods are also enhanced by an optional return value of the newly added archive. Addition suggested and coded by Nalin.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3958 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 23:45:52 +00:00
hybrid
c7ea807729
Change API of IVideoDriver drawStencilShadowVolume method to take an array of vectors instead of just the pointer and the number of vertices. We have this information anyway, so make us of it.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3957 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 11:28:39 +00:00
hybrid
8bd1f77c03
Unify two shadow volume methods. Add support for adjacency also for zpass, which makes this method much faster. Proper light scaling and capping still needs to be worked on.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3956 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 10:54:12 +00:00
hybrid
c9867126ea
Unify method interfaces for volume generation. Remove some checks which could make the shadow volume generate wrong results.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3955 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 10:32:39 +00:00
hybrid
2b1f45266c
Fix ZFail method and simplify adjacency check
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3954 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-22 09:48:32 +00:00
hybrid
af6caf86cb
Some changes towards the new shadow algos. Not yet fully changed, only adapted some interface changes and local improvements.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3948 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 22:26:26 +00:00
hybrid
d55550abb4
Only reindent and reorder
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3947 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 22:24:50 +00:00
hybrid
343085c666
Remove unused member
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3946 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-19 21:13:19 +00:00
cutealien
7f80317b90
Fix CBillboardTextSceneNode::OnAnimate to call base-class OnAnimate again (thanks at Erelas for bugreport+testcase).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3945 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-17 16:12:44 +00:00
hybrid
95d92363ab
Merge from 1-7 branch, releases 3927-3942. Just documentation fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3943 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-16 10:26:05 +00:00
cutealien
86c043ea52
All gui-elements now use "SColor" instead of "const SColor&" to unify interfaces somewhat (it doesn't really matter which way it's done - the only bad solution is doing it different in every second function). I don't dare changing the one occurrence of "const SColor&" in IGUISkin as skins are so often overloaded and so changing that would break too much user-code, will do that once IGUISkin is more seriously reworked. Sorry for anyone already overloading gui-elements IGUIEditBox, IGUIListBox, IGUIStaticText - you will have to change that as well. But I think in the long run it's better having this at least a little less inconsistent.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3941 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 17:35:47 +00:00
cutealien
cbdbf04487
Messed up last check-in somewhat. Now all getColor functions in statictext avoid const& (which is OK as SColor is just a long).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3940 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 16:58:15 +00:00
cutealien
e03bb4929f
Add getBackgroundColor, isDrawBackgroundEnabled and isDrawBorderEnabled to IGUIStaticText (thx 4 patch from Nalin).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3939 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-11 08:41:26 +00:00
hybrid
e6a6ff0838
Remove checks and default constructed dummies due to erroneous temporary usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3938 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-08 12:34:10 +00:00
hybrid
5a663375b4
Remove calls to getVideoDriver by direct member access. Found by REDDemon.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3936 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-08 11:40:27 +00:00
hybrid
f0bc01581f
Add missing cases for override material, found by REDDemon
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3935 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-08 11:34:15 +00:00
hybrid
9a6c5fc747
Add flag to avoid duplicated skinning in one frame for the same mesh and animation frame. Needs to be checked if all cases where a setting has changed and skinning needs to be applied, has been properly marked and resets the flag.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3934 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-06 14:43:47 +00:00
hybrid
fb9d9e0b42
Switch debug messages to ELL_DEBUG. Rename a helper function
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3933 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-04 23:17:34 +00:00
hybrid
29162bc2d4
Constification of statements. Add some bbox recalculations
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3932 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-10-04 23:05:05 +00:00
hybrid
c6a8682ce6
Update trunk with missing files from libpng, and copy pnglibconf.h from scripts directory.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3931 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-28 23:37:30 +00:00
hybrid
6ee5963381
Merge trunk with new versions of jpeglib and libpng
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3929 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-28 23:03:44 +00:00
hybrid
582cb75095
Merge from 1.7 branch. Fixes for SSharedMeshBuffer and matrix4
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3925 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-27 22:54:27 +00:00
hybrid
39e76d36d2
Fix mem leak found by gbox.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3921 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-18 21:20:25 +00:00
cutealien
f9b538f9ee
- Added ISceneNodeAnimatorCameraFPS::getKeyMap and a new ISceneNodeAnimatorCameraFPS::setKeyMap.
...
- CSceneNodeAnimatorCameraFPS uses now SKeyMap instead of SCamKeyMap (structs were identical which was confusing and there wasn't any explanation in comments, so I decided to simplify it).
- Add some workaround to MeshViewer to show how we can currently fix the FPS-cam when users to alt-tab while moving. We can improve that some day when we have focus-events, but this works for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3920 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-14 14:07:54 +00:00
hybrid
c40df30f9d
Update to latest headers and extensions from OpenGL
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3919 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-14 00:00:43 +00:00
cutealien
5de816e573
- Avoid one call to OutputDebugStringA in logging (OutputDebugStringA got very slow when debugging since VS2010)
...
- Demote a few logging outputs in COBJMeshFileLoader from ELL_INFORMATION to ELL_DEBUG.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3918 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-13 10:57:06 +00:00
hybrid
9f9ccaa409
Add comment for proper directory mounting.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3916 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-10 10:21:02 +00:00
hybrid
f6662bffdd
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3915 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-10 10:16:23 +00:00
hybrid
5c67d339b4
Fix LZMA uncompression. Added test case to ensure proper decoding.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3914 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 23:38:59 +00:00
hybrid
480c284703
Add ARB_framebuffer_object extensions support
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3913 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 14:43:00 +00:00
hybrid
556f367df9
Fix constness for proper overloading
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3912 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 13:50:39 +00:00
hybrid
fa754dd47b
Add normals recalculation in case it is missing in the ply file
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3911 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-09-09 13:33:35 +00:00