cutealien
80d80fcfe8
Add some warnings (just with ELL_DEBUG) to the not working position/rotation/scale access functions in CDummyTransformationSceneNode so it's at least a little easier figuring out when they are called when hunting troubles.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4266 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-03 15:40:06 +00:00
cutealien
5ccc141921
Add the usual count element to E_LIGHT_TYPE enum.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4265 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-02 22:08:04 +00:00
hybrid
2710585732
Add some default inits for opengl helper functions, as suggested by greenbird
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4264 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-29 23:33:45 +00:00
hybrid
865eee3d4b
Avoid problem with buggy driver returns
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4263 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-29 23:07:25 +00:00
hybrid
424d87e8c3
Minor syntax problem with missing space after template brace.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4262 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-29 22:09:57 +00:00
hybrid
aac4394cc5
Add new parameter to array reallocate function. This prevents a reallocation in case the array would become smaller. As the reallocation operation is quite time consuming, this can be avoided on request now, on the expense of more memory consumption.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4261 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-29 22:06:38 +00:00
hybrid
dde2b58751
Fix comment to ASCII characters
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4260 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-29 22:01:38 +00:00
cutealien
2d13027a9c
Add IAnimatedMeshSceneNode::getLoopMode (asked for by JLouisB)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4259 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-28 10:32:08 +00:00
cutealien
d7b9290902
CSceneNodeAnimatorCameraFPS now resets the key-input when it was disabled (thx @ gerdb for reporting and patch-proposal)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4258 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-27 10:05:31 +00:00
cutealien
b316f61dc9
Properly destroy OpenGL resources on linux (thx @curaga for the patch with id 3539332)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4257 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-24 20:25:36 +00:00
cutealien
b64028c167
Fix type in define-check which caused newFontTool to output wrong message on Windows.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4256 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-21 16:32:44 +00:00
cutealien
f6985825f3
Fix: newFontTool sln file for vc10 contained a wrong project name.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4255 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-21 15:53:16 +00:00
cutealien
8b69ccdce4
Fix some compile-warnings.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4254 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-21 01:32:37 +00:00
cutealien
2de64d5e6c
Fix diplay bux in the attribute-panel of the GUIEditor. Fixes bug 3517314 (thx @Darkcoder for reporting).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4253 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 16:32:26 +00:00
cutealien
d439c11f54
Unify spelling in documentation (color, behavior).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4252 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 12:49:43 +00:00
cutealien
b52a040fe6
Allow caching cursor position on X11 to work around slow XQueryPointer calls. Resolves patch 3476712. Thanks @ hendu for reporting and patch-proposal. For more info: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=45525
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4251 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-20 12:25:32 +00:00
cutealien
90052d1ed9
Make sure after EGET_EDITBOX_ENTER and EGET_COMBO_BOX_CHANGED event processing no more code is executed for the corresponding editbox or combobox objects to allow clearing the environment on those actions (see comments on bug-id 2995838).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4239 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-11 18:10:43 +00:00
cutealien
37ed1c0be9
Minor fix for internal documentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4238 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-11 17:48:35 +00:00
cutealien
b589323a49
Drop some objects in reverse order of grabbing in CGUIEnvironment.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4237 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-11 17:46:32 +00:00
cutealien
1e2341226a
Update documentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4236 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-11 16:03:20 +00:00
cutealien
de5f4b7af1
Add documentation to all IGUIElement's which events they are creating.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4235 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-09 13:55:44 +00:00
cutealien
954aad26d5
Use tab_size = 4 in documentation as that is used in Irrlicht sources.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4234 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-09 13:22:10 +00:00
cutealien
e66e024683
Make shadows show again in D3D9 (NOTE: mini-shadow is still there and D3D8 not yet fixed as I'm not sure yet if this change is optimal)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4233 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-09 10:46:35 +00:00
cutealien
82ea8b53a7
Fix compile warnings for matrix4::setRotationAxisRadiansLH and matrix4::setRotationAxisRadiansRH found by greenya.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4232 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-07 10:41:20 +00:00
cutealien
14a4a07e66
Add documentation and some compile-tests for matrix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4231 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-07 10:31:09 +00:00
cutealien
238f3b7bd8
Fix string::replace which failed replacing substrings at the end when the replacement was longer (thx @ zerochen for reporting). Corresonding tests added.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4230 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-07 09:14:59 +00:00
Nadro
d432f415a2
- Added bool interface for a shaders constants.
...
- Fixed issue with an int array uniforms.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4229 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-04 13:59:21 +00:00
Nadro
7f01500fd1
- Improved texture handling in a shader callback (returned ability to bind a texture by a float interface).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4228 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-04 02:26:30 +00:00
cutealien
614b6894f5
Update changes.txt.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4227 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-02 18:44:43 +00:00
cutealien
642f4080b4
- Modified struct packing solution to work with gcc 4.7 on MinGW. Which makes for example bmp-loader work again (textures in example 01 for example). Note: If this should be backported to 1.7 we should maybe just set the -mno-ms-bitfield flag for mingw there (not as nice, but will probably work good enough as workaround for what we use in Irrlicht and we don't have our nice packing headers there yet so we would have to do that all over the place).
...
- Also added new packing headers to c::b project file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4226 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-02 18:40:30 +00:00
Nadro
d0d209e2ef
- Fixed "if" instructions for AMD extensions related to blending.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4225 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-07-01 17:15:09 +00:00
cutealien
27879dd9a7
- User can now set characters used for decimal point in fast_atof for localisation.
...
- Update changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4224 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-29 17:04:18 +00:00
cutealien
3a608e8381
Add parameter useAlphaChannel to second IGUIEnvironment::addImage function as it's rather confusing when they have different defaults. Unfortunately can't use same parameter order anymore without messing up existing user-code now (some things can only be done right on first try...).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4223 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-29 15:41:23 +00:00
cutealien
b2dcd0aa1d
Get rid of unnecessary warning "Could not load sprite bank because the file does not exist" for "#defaultfont".
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4222 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-29 15:32:10 +00:00
Nadro
2d01842f20
- Fixed "Error setting int array for HLSL variable" issue in example 10.Shaders.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4221 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-28 23:50:47 +00:00
hybrid
47b8c747b1
Fix ifdef hierarchy to correctly close the system check early and put all extension pointer calls into the large 'if use extension pointer' bracket.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4220 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-28 12:10:45 +00:00
hybrid
e01700a9a4
Fix MRT disabling. Bug found and fixed by hendu.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4219 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-28 08:40:04 +00:00
hybrid
8106d4200f
Add a shortcut return in case reallocate has nothing to do. Should reduce a lot of memory thrashing on irrArrays.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4218 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-27 17:16:19 +00:00
cutealien
d4ee640740
Use another solution to ensure first animation frame is at start. Solution yesterday had the trouble that it was no longer possible to use setCurrentFrame before otherwise. Tests b3dAnimation and md2Animation working again.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4217 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-27 13:54:33 +00:00
cutealien
26b2b68a13
- COpenGLTexture::getOpenGLFormatAndParametersFromColorFormat now returning values for ECF_R5G6B5 which can be used in glTexImage2D. Fixes test renderTargetTexture. I've also added a few more error-checks in debug.
...
- Remove assert in opengl driver (already logs and asserts prevent tests from running through).
- NOTE: 2 new tests failing: b3dAnimation and md2Animation. Maybe due to animation fix from yesterday.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4216 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-27 10:54:12 +00:00
cutealien
d59ebca784
Add -fPic in c::b linux fast math shared build (found by teto).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4215 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 20:11:23 +00:00
cutealien
b4d3b55205
Fix compiling for D3D8.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4214 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 18:03:40 +00:00
cutealien
9254ed9b27
Add 64 bit targets for examples and tests for VS2010.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4213 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 17:53:38 +00:00
cutealien
37d4c2f090
Document how to use the makefile with MinGW and use DNO_IRR_COMPILE_WITH_DIRECTINPUT_JOYSTICK_ and DNO_IRR_COMPILE_WITH_DIRECT3D_9_ as defaults there.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4212 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 14:35:31 +00:00
hybrid
e65e42d06a
Fix dx8 init to use the params scheme as the other drivers do. This change reverts the last commit and fixes the problem in a different way.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4211 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 12:38:42 +00:00
cutealien
e13f2d0a3e
Remove D3DCREATE_MULTITHREADED from d3d8driver again (no one uses that anyway anymore and it caused compiled troubles).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4210 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 11:47:02 +00:00
cutealien
c739925fbe
Merge revisions 4188-4208 from release branch 1.7 into trunk:
...
- Update changes.txt
- Change include order to get example 21 compiling on MinGW.
- Fix linker path in example 16 for C::B project file (linker path was in include path section).
- Link with opengl32 and gdi32 in Example 14 in C::B.
- Remove --no-export-all-symbols which got recently added to the windows build as that flag is not known by gcc on Windows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4209 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 10:52:27 +00:00
cutealien
a02c523fa6
Ignore another .layout file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4207 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-26 10:12:17 +00:00
hybrid
c527d9ec04
Fix by Auria for starting the animated meshes only at first OnAnimate instead of at random times and animation frames.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4206 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-25 23:41:54 +00:00
hybrid
5feef493c1
Add support for MAX_COMBINED_TEXTURES, which allows more texture support than with the original fixed pipeline texture check under OpenGL. Now, more than 4 textures should also work with newer gfx cards and drivers, which often only support 4 fixed pipeline textures.
...
Moreover, now you can also set more than the maximal texture layers defined in IrrCompileConfig, simply by calling setTexture in the driver. The MAX_MATERIAL_TEXTURES thus only defines how many textures and configurations are stored in material properties. Currently only used under OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4200 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-24 20:18:30 +00:00