cutealien
78e936aae4
Simplify the IColladaMeshWriterNames interface somewhat and improve documentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4270 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-09 18:05:52 +00:00
cutealien
f09f35e082
Make nameFor functions in IColladaMeshWriterNames non-const as it's not necessary in the writer and we don't know what people will do with it (and because I already needed it non-const to avoid ugly mutable variables in writing the example).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4269 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-09 12:36:50 +00:00
cutealien
8fbc2fb8fc
- Colladawriter does now reset correctly (calling writeMesh twice failed before and writeScene twice didn't write light-nodes second time)
...
- Add some callbacks that allow users to use custom-names on writing
(I'll probably add an example as well soon for how to use all that - the problem is that there don't seem to be 2 tools out there interpreting Collada the same way and so we have to be rather flexible on export. And yeah - our own import also still has way to go...)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4268 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-08 17:04:26 +00:00
cutealien
7dc53232df
- Colladawriter now exports materials per node when those are used in Irrlicht
...
- Colladawriter now writing matrices for node transformations as old solution did not work with CDummyTransformationSceneNode's.
- Colladawriter no longer create an extra node for the scenemanger as <visual_scene> has that job in Collada.
- Colladwriter no longer makes all Scenenodes children of ambient-light as that can be parallel on the same layer instead.
- Colladareader now creates the ambient-light correct instead of creating a point-light for it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4267 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-08-03 16:13:41 +00:00
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
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
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
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
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
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
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
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
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
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
hybrid
483c085f06
Make float to double conversions for explicit string conversions also explicit and this better visible. Fixes compilation issues with DMC
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4199 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-22 15:17:04 +00:00
hybrid
77c2ec8803
Avoid memory allocation and return value testing in one line
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4197 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-22 15:02:57 +00:00
hybrid
4bf7ef38c5
Fix pack and unpack include file to properly work under MSVC as well. Needs to suppress warning as we don't have the push and pop together anymore.
...
Fix push and pop usage - some files forgot to add the define, so effectively not work under gcc with special architectures - and move all files to use the new include files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4196 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-22 14:28:33 +00:00
hybrid
8252d5677f
Oops, typo in Windows code due to merge.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4192 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-15 12:56:50 +00:00
hybrid
4bc869596f
Fix framebuffer postfix absence when not using extension pointers. Just use the so far only for OSX used version without _ARB postfix. Fix BlendEquationIndexed code which was wrongly copy-pasted.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4191 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-14 23:34:17 +00:00
hybrid
976a3daa72
Merge in version 1.2.7 of zlib from vendor branch.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4190 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-14 23:06:35 +00:00
hybrid
823bc87bfe
Merge from 1.7 branch, revisions 4090-4187. Device fixes, serialization bug fix, some compilation warnings. Bug in color conversion fixed, and some demo fixes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4188 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-14 22:37:53 +00:00
cutealien
1e4a0a77fd
Fix screenshots under Linux/OpenGL for formats ECF_R5G6B5 (failed before) and ECF_R8G8B8 (red and blue where switched). Note that R5G6B5 still has strange results when writing to file. But that's due to a bug in color-conversion, which is fixed already in 1.7 and will be merged to trunk soon.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4185 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-12 20:59:47 +00:00
cutealien
8c14eebb1a
Move defines out of header or add prefixes to avoid accidental name collisions.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4181 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-05 15:51:38 +00:00
cutealien
366c0e48b5
Fix another missing return in COpenGLExtensionHandler::extGlIsQuery. Found again by Randajad.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4178 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-05 10:44:53 +00:00
cutealien
a6602ef67d
Speedup collada writing.
...
Speedup xml writing once more and describe how to get rid of the remaining major bottleneck (another time).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4177 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 18:21:01 +00:00
cutealien
176d607f7f
cleaner solution for xml-writing speedup.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4176 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 16:22:35 +00:00
cutealien
5703a48a43
Preallocate string in CXMLWriter::writeText to speedup xml-writing somewhat.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4175 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 14:13:23 +00:00
cutealien
8eb5398874
Add missing return for glIsOcclusionQueryNV (thx @ Randajad for reporting).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4174 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-06-04 11:03:22 +00:00
cutealien
17de62ac84
Add filename to error-message when jpg-loading fails.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4169 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-25 10:32:38 +00:00
cutealien
fb80ea202c
Linker version property must have type x.x (thx @Kojack for noticing).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4168 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-24 08:31:43 +00:00
cutealien
ac94777f6d
Allow setting D3DCREATE_MULTITHREADED when creating Direct3D drivers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4167 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-22 13:10:25 +00:00
cutealien
3810ecb40c
Set correct define _IRR_STATIC_LIB instead of IRRLICHT_EXPORTS in c::b project file for target release-accurate math-static. Fixes Bugreport 3511127 reported by Demone (fixeworks).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4165 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-19 21:45:30 +00:00
cutealien
dc8f25cc50
Fix several compile-troubles with Collada reported by several people. Also improve some internal function names. Should fix Bugtracker entry 3428843.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4163 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-14 22:11:36 +00:00
hybrid
098dc32a7a
Avoid problems with Intel drivers when passing 0 as HDc, calls are equivalent when context is 0.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4161 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-05-03 15:42:33 +00:00
hybrid
01c9bd4c83
Fix 8bit grey image TGAs, which were not working due to missing palette. Also switched to RGB8 format, as otherwise a loss in precision would occur. Thanks to Klunk for the error report and a test image.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4160 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-29 23:16:29 +00:00
cutealien
390ee21b66
Fix font-drawing in CGUIButton to use EGDF_BUTTON again (thx @DJLinux for reporting).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4158 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-28 09:08:43 +00:00
Nadro
720d115ad4
- fixed an issue with a fbo color format.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4157 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-28 02:14:47 +00:00
hybrid
f23c97088d
Remove stray semicolon
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4156 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-27 11:25:29 +00:00
hybrid
b600a805ba
Fix warnings and duplicated variables
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4155 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-27 11:09:19 +00:00
hybrid
85260dd7d2
Add texture cache with proper reference handling. This avoids deletion of textures while still being active on the GPU. Test case and fix by m(att)giuca
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4151 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 20:58:23 +00:00
hybrid
a346804bba
Remove code which was regarding to legacy windows version support
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4149 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 13:12:39 +00:00
hybrid
36dabce5ba
Fix window caption setting to use same method for both win32 and win64
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4148 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 12:43:53 +00:00
hybrid
da5a5665c8
Fix warnings with pointer arithmetics under 64bit systems
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4147 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-25 09:24:43 +00:00
hybrid
0cc1b698da
Fix software renderer inconsistency with rest of drivers in case of invalid destination rect for draw2DImage. Now no driver will render an image in these cases.
...
Added a test case to check behavior of all drivers for this situation.
Fixed comparison of similar test case to support fuzzy comparison and relaxed threshold.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4143 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-24 16:53:46 +00:00
hybrid
095ae5062e
Fix warning about implicit conversion.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4142 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-24 07:40:08 +00:00
hybrid
008a470fd0
Fix pixel alignment and draw2DLine inconsistent offset problems. New test added to make sure that drawPixel and draw2DLine use the same alignment.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4138 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-23 17:19:12 +00:00
cutealien
ef6296a57b
CFileSystem::removeFileArchive now checking for normalized path + corresponding test now evaluated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4136 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-16 16:44:13 +00:00
cutealien
fb49e30c41
Fix zip's with passwords on 64-bit systems (thx @ Dr. Gladman for writing the bugfix)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4135 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-16 16:28:44 +00:00
hybrid
ca65ea3bfe
Fix indentation
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4134 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-16 14:06:07 +00:00
nadro
975e56734a
- Fixed a bug in MacOSX event handling.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4133 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-13 20:35:31 +00:00
nadro
353c6170ee
- Restored the ability to set a textures by a float interface, but this solution was marked as deprecated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4132 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-11 16:37:56 +00:00
nadro
5d3bb13d00
- fixed mipmapping issues visible in example no. 11.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4131 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-10 23:20:35 +00:00
Nadro
114f94e25e
- Exposed a methods which allow experienced users to prepare custom drawAll method.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4128 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-04 14:29:06 +00:00
cutealien
ccd125ed6c
Improve debug-output on b3d loading somewhat to see the depth of nodes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4124 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-04-02 15:27:37 +00:00
nadro
f126da6308
- Added support for Burning's Video and Software Drivers in MacOSX.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4111 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-20 16:22:20 +00:00
cutealien
b994e969ab
- Fix font-loading which got broken by fixed xml-loading. Thanks @ pc0de for finding and providing a test and patch.
...
- Don't crash draw2DSpriteBatch when it get's no textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4109 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-19 10:40:55 +00:00
nadro
059490c6d2
- Fixed MacOSX memory leak issue in event handling.
...
- Fixed MacOSX compilation errors.
This is the missing piece of commit r4107 (I'm sorry for two commits instead of one).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4108 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-17 17:09:10 +00:00
nadro
5834d4c138
- Fixed MacOSX memory leak issue in event handling.
...
- Fixed MacOSX compilation errors.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4107 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-17 17:03:50 +00:00
Nadro
a4abd6e0fc
- Added support for int interface in setShaderConstant methods.
...
- Improved parameter names in a files related to a Cg support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4106 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-16 10:43:36 +00:00
cutealien
9171ea99d6
Better support for Collada texture-wrapping on loading.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4103 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-13 18:12:17 +00:00
cutealien
b7609b070a
Last change to xml-reader (returning whitespace as well) was maybe correct, but wrecked too much code expecting old behavior. So now instead there are no EXN_TEXT nodes returned which only contain whitespace, which should also work cross-platform and is closer to the old behavior. We can make that flag public later on, but should probably first fix the mess with getNodeName and getNodeData returning the exact same value.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4102 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-03-13 16:34:40 +00:00
hybrid
87b7e4d1f4
Fix for render context change where only the window id is given. We now try to change only the window ID, keeping context and display unchanged. Suggestion by vovo4ka from the forum.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4094 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-23 09:41:41 +00:00
hybrid
0368cfdde9
Commit merge of jpeglib and libpng from vendor branches. zlib still to come.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4093 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 23:59:45 +00:00
cutealien
86e5345306
- XML-reader now preserves all whitespace. So even newlines are now returned as EXN_TEXT nodes. Old behavior was dropping those, but it handled unix-style newlines badly and should rather have preserved all whitespace or none. Preserving no whitespace could be useful feature for the future.
...
- XML documentation updated where documentation and implementation had been different.
- c::b Linux now compiling engine with -fno-exceptions like the Makefile. Should probably use no-rtti as well, but haven't figured out how to do that without getting warnings for every c-file.
- tests now compiling with -fno-exceptions and defines _IRR_STATIC_LIB_ plus _DEBUG
- new function xmlCompareFiles in testUtils to replace binaryCompareFiles for tests with xml-files as binaries always broke with different wchar_t sizes.
- test ioScene now working on Linux-32
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4092 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 19:43:51 +00:00
hybrid
8b70f7fff4
Fix proper release of swap chain
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4091 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-20 17:46:37 +00:00
cutealien
aba4719bb6
Added missing else (found by zerochen__)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4081 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-14 16:58:36 +00:00
cutealien
d8641f7fd7
Initialize CXMLReader::IsEmptyElement in constructor.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4080 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-14 16:48:03 +00:00
hybrid
b51d8a1443
Fix ifdef around Carbon defines
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4079 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-14 16:26:59 +00:00
hybrid
517e8965e2
Fix some issues with the osx project file, patch by simleb.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4078 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-13 23:49:58 +00:00
hybrid
63e14ec8a7
Several OSX patches, submitted by Nadro.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4077 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-13 23:10:18 +00:00
cutealien
d6cca9e7bc
Fix CTriangleBBSelector.h which had been broken when CTriangleSelector::getTriangle behaviour had been improved (it's overloaded getTriangle no longer got called). Tests collisionResponseAnimator and sceneCollisionManager do now pass again.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4075 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-12 22:19:28 +00:00
hybrid
43bc93c663
Remove the define which enabled the DDS loader always, without regarding the settings in compile configs
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4067 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-09 17:51:33 +00:00
cutealien
8589d86b02
unpack_texureBlendFunc => unpack_textureBlendFunc in D3D8 (was renamed recently). Thanks at greenya for noticing!
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4066 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-08 21:39:15 +00:00
hybrid
92d1b40623
Add Nadro's initial Cg support. Example 10 is enhanced to allow also Cg shaders.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4060 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-02 17:51:24 +00:00
hybrid
40480a7822
Merged revisions 4001-4056 from 1.7 branch. Keycode updates, fix compilation errors, vector normalize error case fixed, joystick safety fixes, editbox updates, meshviewer modal window fix, isPointInsideFast changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4057 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-02-01 23:29:32 +00:00
cutealien
66a6bbdea0
Fix compiling on Linux without _IRR_COMPILE_WITH_X11 (thx @ madoc for reporting).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4055 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-28 15:48:31 +00:00
hybrid
5173a7325e
Remove unused var.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4052 dfc29bdd-3216-0410-991c-e03cc46cb475
2012-01-22 15:04:58 +00:00