Commit Graph

1408 Commits (dc41969f1f20a762538812e930b1b1f84f376cdd)

Author SHA1 Message Date
hybrid 35ad0cce10 Fix typo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2583 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 09:32:38 +00:00
hybrid 78457b9333 Fix path access, found by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2581 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:26:05 +00:00
hybrid 48f48aeacb Fix wrong type mix, found by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2580 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:23:59 +00:00
hybrid 7e3e8f3c36 Fix wrong overload, found by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2579 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 07:20:17 +00:00
hybrid 911ed2f627 Reorder method declarations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2577 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 08:03:14 +00:00
hybrid 28579a2708 Remove references to print().
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2576 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 08:01:37 +00:00
hybrid 707f59b89e Merged revisions 2530:2574 from 1.5 branch. Updated upgrade-guide.txt. Unified point attenuation behavior. Removed wrong inlines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2575 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-07 07:46:29 +00:00
hybrid 7f2a9860f4 Add gamma support to X11 device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2573 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 16:37:02 +00:00
hybrid 308ba13567 Add gamma support to SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2572 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:42:59 +00:00
hybrid 3248afa977 Fix indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2571 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:20:26 +00:00
hybrid bc07bd4240 Fix glx extension function names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2570 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:15:34 +00:00
hybrid 821575ffdd Enable point and line smoothing also without AntiAlias enabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2569 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 14:30:24 +00:00
hybrid c94314029e Fix build with EXT_POINTERS disabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2568 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:51:07 +00:00
hybrid 88d873be4a Fixed color order serialization, found by loverlinfish.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2566 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:07:33 +00:00
hybrid cbdb585e04 Change Linux device to use GLX extension pointers, adapt OpenGL init to the win32 scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2565 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 08:51:18 +00:00
hybrid 30cea2eda0 Add some more wgl extension support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2564 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:57:18 +00:00
hybrid 5f262b4563 Move wgl extension into platform specific init code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2563 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:32:15 +00:00
hybrid 9e087c6d05 Introduce OpenGL 3 context creation, still using legacy profiles only.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2562 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 23:14:50 +00:00
hybrid 2d9b118e88 Reorder methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2561 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:53:02 +00:00
hybrid 920e2cfaad Reorder members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2560 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:35:42 +00:00
hybrid bfbe6299c8 Flip base texture coords as well, seems more correct, but still to be confirmed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2559 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-05 14:34:16 +00:00
cutealien 68b2d3e126 Initialize glxWin in constructor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2556 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 23:57:03 +00:00
hybrid 786066e80b Change ms3d frame numbers to zero-based.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2555 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:53:51 +00:00
hybrid 05922fd9f6 Change b3d frame numbers to zero-based.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2554 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:50:22 +00:00
monstrobishi ced7ef0c5f - Fixed bug in the Direct3D9 draw2DImage batching (Thanks Yoran for bug report!).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2553 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 21:15:42 +00:00
hybrid f8d3dcb710 New opengl headers and new extension symbols added to extension handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2552 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 15:30:05 +00:00
hybrid 03da02bd0e Move color check method to IImage to make it publicly available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2551 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 22:01:23 +00:00
hybrid bd482edad3 Only check for existence of the file to avoid too much disk access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2550 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 21:59:22 +00:00
hybrid a117ee314c Make sure we use the same filename separators
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2549 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 21:58:01 +00:00
hybrid 13fb0bb3ac Add support for scaling button images to fit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2548 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 12:18:47 +00:00
hybrid 9d2dec9687 Simplify related methods, less duplicated code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2547 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 09:27:47 +00:00
hybrid 8d02b73f02 Simplify wave function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2546 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 20:13:54 +00:00
bitplane 0cd12d1d53 Fixed compiling under gcc 4. It didn't like the local struct being used in irrAllocator
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2545 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 13:18:39 +00:00
monstrobishi 881bb1952f - Added sprite bank draw batching. (Performance improvement is negligible unfortunately, wait for sprite bank VBOs)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2544 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 04:55:56 +00:00
monstrobishi 494e1a916b - Changed floating point texture types to non-ARB versions in order to support R16F, R32F, RG16F and RG32F color types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2543 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 04:53:36 +00:00
hybrid 05255a1900 Fix diffuse texture for csm files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2540 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 16:31:43 +00:00
hybrid 5c91b1cb70 Changed to LIGHTMAP_ADD, as the lightmaps seem to be signed. Removed some pointer usage in favor of references. Added big endian support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2539 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 12:18:44 +00:00
bitplane e9a49a4494 CCSMLoader compiles again, make install now forces the symbolic link between so and soname (installing twice no longer reports errors)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2538 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 10:54:15 +00:00
hybrid 3ef53bc2f2 Some fixes for CSM loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2537 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 09:19:38 +00:00
bitplane b3a7512882 Compiles again on OSX
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2536 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-31 06:21:16 +00:00
hybrid 12fbb7fb25 Change point attenuation in D3D to work as the OpenGL version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2535 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 16:58:07 +00:00
hybrid 810f87e9e2 Missed a directory separator in b3d loader, thanks to Eigen for pointing this out.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2533 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 14:32:55 +00:00
hybrid 2fedaaac5d Add Tar reader to dev-c++ project, found by Eigen.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2531 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 13:11:41 +00:00
bitplane 0661ff87a7 Allow console device to fprintf output to a FILE* (via WindowId). Defaults to stdout
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2530 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 12:20:19 +00:00
hybrid ffb7a5c334 Merged revisions 2485:2528 from 1.5 branch. Updated changes.txt. Fix for getAngle. Font handling fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2529 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 09:29:18 +00:00
hybrid 41d6633d1b Fix eol-style for all code files to CRLF for simpler file handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2528 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 09:03:25 +00:00
hybrid 1ff81da7bd Fix font loading, bug found by Christian Clavet.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2524 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 15:51:18 +00:00
hybrid 5ee8e11ef7 Fix compilation of OpenGL driver with OpenGL disabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2520 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 11:20:16 +00:00
hybrid dfb8e96111 Fix device type of SDL device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2519 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 08:54:07 +00:00
hybrid 40fe8510c2 Fix line ending.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2518 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 08:46:37 +00:00
hybrid e839529984 Merge font index reading methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2516 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:39:22 +00:00
bitplane 7287c9369d Fix Win32 device which I just broke!
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2515 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:23:29 +00:00
bitplane c0170c7c48 Allow multiple device types compiled in at the same time. Renamed _IRR_USE_LINUX_DEVICE_ to _IRR_USE_X11_DEVICE_, added missing platform for Windows CE. Currently only tested in Linux (X11, SDL, console)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2513 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:09:24 +00:00
hybrid 4ee90d2951 Clean up.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2512 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 16:21:32 +00:00
hybrid 8a4413bf77 Move helper function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2511 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 16:09:40 +00:00
hybrid f45b37fb97 Remove some casts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2510 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 13:14:08 +00:00
hybrid 3ca38ba7f9 Changed order of functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2509 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 13:01:55 +00:00
hybrid 0aad7654cb Implement fill operation for RGB8 images.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2508 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 12:35:41 +00:00
hybrid 3db8e18554 Use proper method for image format.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2507 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 16:46:55 +00:00
hybrid 1ec36fee35 Use API functions instead of direct member access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2506 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 16:30:04 +00:00
hybrid d6189fd14f Use API functions instead of direct member access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2505 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 14:55:08 +00:00
hybrid c8cc6715fb Remove false silencing of non-functional code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2504 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 14:53:11 +00:00
hybrid ee9fbd5aaf Move bitmask stuff into member functions, as it's seldomly used.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2503 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 13:37:35 +00:00
hybrid 729a273050 Move Blit code into separate file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2502 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 12:07:37 +00:00
hybrid b0e11dbd13 Check lock before creating the copy, as suggested by Yoran.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2501 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-27 12:06:49 +00:00
cutealien 72d4a362db Fix problem found by pcOde that release-events from keys can happen to be 1ms later than the pressed event.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2499 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-26 18:39:12 +00:00
hybrid adb9effbde Add the often requested Texture->Image conversion method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2498 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-25 14:13:43 +00:00
hybrid 0943b7a723 Added vertex *and* texture alpha to ONE_TEXTURE_BLEND material. Can be enabled/disabled via the pack function which handles all modes of this material. Default is texture alpha, as before.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2496 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 21:57:25 +00:00
hybrid 220208c080 Merge the two legacy ps_1_x work-arounds into one if block in order to avoid falling back to 1_x even if 2_x is supported. Thanks to DeM0nFiRe for help on this topic.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2495 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 19:25:44 +00:00
hybrid b87a5a13c6 Support for vs_1_x with recent DX SDKs, but old gfx cards. This way the shaders are still compiled to vs_1_x, but need an extra dx dll. Hence it's not enabled by default, but may be opted in with the IrrCompileConfig _IRR_D3D_USE_LEGACY_HLSL_COMPILER
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2494 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 19:00:17 +00:00
hybrid 5553e012e4 Add shader compile flag to support vs_1_x with newer DX SDKs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2493 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 18:46:34 +00:00
hybrid 34e56b1619 Move getBitsPerPixelFromFormat from CImage to IImage to make it accessible for external use. Also added support for the float formats there.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2492 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 16:30:49 +00:00
bitplane ed3a5a5b15 code::blocks projects now compile to Linux and win32-gcc dirs again, by default the examples in Linux link with the static lib as generated by the makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2489 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-21 14:21:21 +00:00
hybrid d6d75787cc Added support for standard vertices, if no lightmaps are used. This saves lots of of memory and update times. But it needs some more testing, because I have not enough test files. Moreover, I've added some speedup for the vertex position loading with heavily reduced parsing efforts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2488 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-20 22:10:13 +00:00
hybrid 701bf011ea Fixed Deled texture search. The scene parameter DMF_USE_MATERIALS_DIR was renamed to DMF_IGNORE_MATERIALS_DIR with opposite meaning, because the default should be to use the directory defined in the file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2487 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-20 09:37:06 +00:00
bitplane ff8cb9f698 Added tar loader to codeblocks project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2486 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-19 21:01:04 +00:00
hybrid 94fe39af24 Merged revisions 2477:2484 from 1.5 branch. Support for range fog under OpenGL. Cleaned up changes.txt.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2485 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-17 12:08:45 +00:00
cutealien 40a8a7a259 Bugfix (found by arras): CGUIFont::getCharacterFromPos no longer ignores kerning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2482 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-16 05:11:34 +00:00
hybrid ca5258cd0b Forgot to replace some variables.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2481 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 21:43:11 +00:00
hybrid e6b44d8605 Added EXP2 fog distribution.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2480 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 21:39:25 +00:00
bitplane ebdae3b93d Fix a --wall warning and make code::blocks project work in 64-bit linux
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2477 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-14 19:30:29 +00:00
hybrid 8481637ae9 Fix OpenGL compilation without extension pointers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2476 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-14 15:43:53 +00:00
hybrid 3d46ce9638 Reenabled the vertex alpha mode if fx&32 set, as necessary for the terrain blending from xDan.
Changed texture loading order to original place, mesh directory, working directory.
Replaced file handling method by FileSystem versions. Changed readString to use a reference instead of return by value.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2475 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 22:17:53 +00:00
hybrid ba3024f023 Merged revisions 2440:2473 from 1.5 branch. obj writer shininess fixed. Shadow volume removal fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2474 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 13:14:32 +00:00
hybrid 0966a65698 Remove exceptions from irrMap.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2473 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 13:08:10 +00:00
hybrid ba58d26ff0 Use core::array instead of C arrays.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2472 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 12:49:29 +00:00
hybrid b8155bde74 Fix warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2470 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 08:36:33 +00:00
cutealien 01339feefc - Add mouse events EMIE_MOUSE_DOUBLE_CLICK and EMIE_MOUSE_TRIPLE_CLICK for Linux, Win32 and SDL.
- Fix compiling of SDL on Linux (sorry, was my fault)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2468 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-12 03:54:01 +00:00
hybrid 63a3790722 Fixed up version of the OpenGL ARB shader "parallax map and normal map with fog" patch. The code requires little changes to the ShaderMaterial in order to reuse existing shader renders, as we now have an array instead of one shader handle. Also, vertex and pixel shaders need to be adapted for fog usage, namely by setting the fogcoord in the vertex shader and adding a comment into which Irrlicht will add the proper fog option. Documentation will follow once we have cleaned up the shader usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2467 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-11 23:47:00 +00:00
hybrid 8486bddd81 Remove wrong event method, shouldn't go into the repository...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2465 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 12:55:48 +00:00
hybrid 6375ee4225 Fix indentation - Note to all: We use tabs...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2464 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 09:05:19 +00:00
hybrid 359fe4408b Reenable default handling for syskeys, in order to get close window events from alt+f4
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2463 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 21:53:08 +00:00
hybrid 9f83642a95 Avoid window destruction if using external window. Patch by tp4me.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2461 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 13:01:45 +00:00
hybrid 62fc22014b Fix for proper system-key handling under win32, submitted by mrarsoft and probably others before...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2459 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 11:30:25 +00:00
hybrid 2abda10ebd Put the dmf stuff into irr namespace as suggested by Piraaate.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2455 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:05:59 +00:00
hybrid af6ec8b2a4 Fix warnings about long qualifier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2454 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:04:33 +00:00
bitplane f1800c0490 Fix for folder archives, reported by Karol Krizka.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2453 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-08 13:49:23 +00:00
bitplane a7f1c19c44 Added gzip support to ZIP archive loader. To load a tar.gz you must load it twice, like so:
fileSystem->addFileArchive("path/to/myArchive.tar.gz");
       fileSystem->addFileArchive("myArchive.tar");

Removed buggy and unneeded use of Byteswap in TAR loader.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2449 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-07 10:45:48 +00:00
bitplane 1c9169372a Fixed negative unsigned integer bug normal map generator
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2448 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-06 09:43:21 +00:00
bitplane f0e4959484 - IFileSystem changes:
- Added TAR archive loader.
   - Renamed the following functions-
      IFileArchive::getArchiveType to getType
      IFileSystem::registerFileArchive to addFileArchive
      IFileSystem::unregisterFileArchive to removeFileArchive
      IFileArchive::openFile to createAndOpenFile
   - New enum, E_FILE_ARCHIVE_TYPE. getType on IArchiveLoader and IFileArchive now both return this.
   - IFileSystem::addFileArchive takes a parameter to specify the archive type rather always using the file extension. IFileSystem::addZipFileArchive, addFolderFileArchive and addPakFileArchive now use this but these functions are now marked as deprecated. Users should now use addFileArchive instead.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2447 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-06 09:10:23 +00:00
bitplane 802af4458f Added clipping to console device font
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2446 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-05 12:45:34 +00:00
bitplane 992af48fb4 Fixed (new?) bug in edit box where typing characters over selected text didn't disable selection.
Font tool now compiles again (only tested in windows)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2445 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-05 10:12:48 +00:00
bitplane d0229edd2d Fix highlighting in IGUIEditBox where kerning pairs are used in the font. For example in future italic, OS or other custom fonts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2444 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-05 08:40:41 +00:00
hybrid 5f38dfa9c5 Backport of patch from ogl-es branch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2443 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-03 09:29:05 +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
monstrobishi 7d00cc91d1 - Renamed texture setting function (setTexture) in most video drivers to setActiveTexture and made sure it has the same signature. This avoids confusion with similarly named methods in other classes (Such as SMaterial) and the consolidated method signature will hopefully help future plans for better abstracting texture usage across all drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2438 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-02 06:43:24 +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
hybrid 1c560f5b23 Fix indentation and disabling float texture formats where not supported. This will probably need some proper transformations instead on those systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2434 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 20:36:14 +00:00
hybrid a86a07567e Some safety add-on to cope with bad OpenGL implementations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2433 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 20:34:21 +00:00
hybrid 0fa0ac5c0f Fix GLX extension handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2432 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 20:32:13 +00:00
cutealien cc1e871092 Remove some debug-code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2431 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 15:05:07 +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 da870385bd bugfix for 2795321 found by egrath: Don't rely anymore on broken XkbSetDetectableAutoRepeat.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2428 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-20 09:22:51 +00:00
cutealien 969b6b786d bugfix: Use make_lower throughout for spritebank filenames (found and patched by Ion Dune)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2427 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-19 22:17:54 +00:00
hybrid 300bd095ae Fix dll move under win32 with c::b.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2424 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-19 09:37:48 +00:00
cutealien 09cd4c3869 bugfix: CMountPointReader::openFile no longer returns file for empty filenames. Corresponding test added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2421 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-15 15:49:16 +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 2391338b57 - Fix bug in CSceneNodeAnimatorCollisionResponse::setWorld as found by Quillraven.
- Fix simliar bugs where object have been dropped accidentally in set functions in many places


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2417 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-10 20:13:37 +00:00
hybrid f56fd93a12 Fix make install.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2413 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-08 15:36:06 +00:00
cutealien 124e9402aa change EGET_EDITBOX_CHANGED: triggers now only on user input not on explict changes (same like other _CHANGED events)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2412 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-07 02:13:31 +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
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 2bc2c33188 reset selected row when clearing CGUITable
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2407 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-02 02:29:58 +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 88f41622d4 - bugfix (2796207): menu acted (wrongly) on left-click down instead of left-click up.
Was reported by HackLeX in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=33371
- Fixed problem with highlighting menus when mouse was outside sub-menu area. Made it work similar to 
firefox menus.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2403 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-01 03:50:17 +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
cutealien c4f0e9b558 Make sure setVisible for Windows cursor also works while mousebutton is pressed.
As reported in http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=25880&highlight=


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2400 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-24 20:09:02 +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 274c52d5e0 Use dummy texture in null driver and software texture only in software driver. Use the dimension function for optimal texture sizes instead of local one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2397 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-17 23:37:02 +00:00
hybrid 352e1955a5 Move local helper functions to where they are actually needed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2396 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-17 23:30:07 +00:00
hybrid 3b1c2fdeff Add an SDL target and a missing include file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2394 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-16 17:47:07 +00:00
hybrid 71a154ef5e Fix for spheremap rendering, texcoords are flipped in OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2393 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-16 17:45:19 +00:00
hybrid 9d9024f5d6 Backport from ogl-es into the opengl driver: Use INCR_WRAP and DECR_WRAP when available even for the usual stencil algorithms, to avoid holes in the shadow.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2392 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-11 20:17:37 +00:00
hybrid 00193a810f Check pointer before using it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2379 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 16:30:57 +00:00
hybrid cd66502f0e Minor init fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2378 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 16:29:38 +00:00
hybrid bff880b4b5 Speed up colorkey texture generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2376 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-08 07:20:51 +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 ffc37ec8d7 Make mesh cloning a little more explicit, in order to cope with SSkinnedMesh and others.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2360 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:03:33 +00:00
hybrid 81ca50c0b4 Avoid inclusion of irrlicht.h
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2359 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:02:18 +00:00
hybrid 188ce8b5fe Ouch, rendered twice, now fixed. Moreover, we use the standard interfaces for all updates now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2357 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 21:48:17 +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 bccb6e0112 Merged from 1.5 branch revisions 2333:2347. Fix depthbuffer under d3d, renderstates under OpenGL, stencilshadow under OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2349 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 13:15:39 +00:00
hybrid f84e662812 Forgot the destructor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2347 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-23 08:12:29 +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 d7cde7f6cd Reduce if-check
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2340 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-22 21:03:47 +00:00
hybrid 64bbdf4331 Now D3D8 also uses screen coords in 2d mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2337 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-20 21:43:17 +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 f40ce0f5bc Support double_sided from MAYA
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2335 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-19 11:05:24 +00:00
hybrid 9f63a21cf9 Fix version number calculation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2334 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 16:22:43 +00:00
hybrid c7d2c6fe68 Clean up OpenGL includes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2332 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 13:46:35 +00:00
hybrid 03cad465a3 Changed the frame calculation to diff-based, as suggested on the tracker.
Changed default frame rate from 250FPS to 25 to FPS.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2329 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-11 23:28:39 +00:00
hybrid 5c7c557dd5 Some fixes for negative FramesPerSecond.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2328 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-11 20:51:31 +00:00
hybrid 5ba4e7ffac Fix uninitialised value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2326 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-06 15:44:20 +00:00
hybrid 1e607f4105 Merged from 1.5 branch, revisions 2319:2324. Fixed transparency issue with onetextureblend material and debug symbol under linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2325 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-06 15:27:55 +00:00
hybrid 2290428651 Fix resize with sw drivers, thanks to asphodeli
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2320 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-31 23:24:18 +00:00
hybrid 9d1b940494 Merged from 1.5 branch, revisions 2297:2318. Fixed collada loader for very old files, and fixed 3ds shininess.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2319 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-31 17:59:11 +00:00
hybrid 1918be71ca Removed hw_surface and added SDL variables.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2317 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 23:54:19 +00:00
hybrid db988e35fa Fix screen creation and key handling of unknown keycodes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2316 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 23:25:08 +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 b50f464a9d Removed unused member.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2311 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 15:45:59 +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 443e988458 Changed error message.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2309 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-30 14:37:00 +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 4f01ee6a81 Autoscroll bugfix by Nox.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2305 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 22:48:05 +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 b426f83a6b Avoid registering archives twice.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2303 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 20:28:48 +00:00
hybrid 2e00d39faf Fix wide-string handling in attributes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2302 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-29 20:17:19 +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
bitplane 6abb6f14cb Fix console device for with no video drivers or GUI (ie for texture/mesh manipulation without rendering)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2298 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-21 04:48:04 +00:00
hybrid 1125b61724 Merged from 1.5 branch, revision 2295: libpng update to 1.2.35.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2297 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-18 12:06:40 +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
hybrid e862f14701 Removed some of the pointer usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2293 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-17 00:02:46 +00:00
hybrid 0a127b352c Fix skydome constructor, found by strong99.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2292 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-16 22:05:00 +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 a788e7ca87 Capture Alt+F4 in Windows SDL device and close it
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2287 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-16 02:51:06 +00:00
bitplane be6fd3dfde Added D3D support in SDL device, posted by Halifax. Also updated readme in Win64 dir to complain about lack of 64-bit support in VC Express.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2286 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-16 02:22:48 +00:00
bitplane f7588eb662 removed the floating point stencil buffers after complaint that they cause crashes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2284 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-15 20:27:45 +00:00
bitplane a4d0e89f64 Use floating point z-buffer in D3D9 driver if possible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2283 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-15 00:50:20 +00:00
bitplane e0ef6c747b Fixed a typo in Windows OpenGL driver init method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2282 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-15 00:31:17 +00:00
hybrid c7ebf3fba4 Fixed typo in namespace.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2281 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-14 23:39:18 +00:00
hybrid 8ec7eb9f4c Changed to os::byteswap.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2280 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-14 23:31:50 +00:00
hybrid b21a1c8f55 Use more material setting stuff in 2d setup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2279 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-14 22:26:24 +00:00
bitplane 32f124977a Use setWindowTextA in Windows device for WIN64 platform, posted by veegun
Forgot previous commit message, it should have been: ELL_ERROR log events are now created when shaders fail to compile or link, reported by Halan

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2278 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-14 18:36:13 +00:00
bitplane 108f3333ff git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2277 dfc29bdd-3216-0410-991c-e03cc46cb475 2009-03-14 18:15:04 +00:00
bitplane 74b74142f2 Renamed dev-cpp example projects to match the others, added static library targets to code::blocks project and moved the build locations back to Win32-gcc and Linux dirs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2276 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-13 09:53:02 +00:00
bitplane 4733bc7616 got rid of some warnings when compiling in gcc with --wall
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2275 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-12 21:27:07 +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 b575eff0f9 Allow resizing GUI Editor window and fixed clipping on combo boxes (now only the ListBox is NotClipped)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2270 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-11 08:25:21 +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 22bf412ce9 VC9 project tidy up (added extra folders like in Xcode project)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2267 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 20:10:05 +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 bee75f48fa Updated XCode project with new files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2263 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-10 01:47:13 +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 229ff7da61 Add support for large meshes in .irrmesh format. Patch submitted by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2261 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 09:45:39 +00:00
hybrid f0b34d4943 Fixed some warnings. Fixed minimizeWidow under Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2259 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-09 09:09:36 +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 2bfc416e58 fix for Cyberware / cyslice / headus 3D tools PLY files with multiple spaces between words
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2257 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 23:55:05 +00:00
bitplane 96658e4598 Switch between 16 and 32 bit depending on vertex count
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2256 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 21:17:20 +00:00
bitplane 97edfbdd69 Fixed binary mesh loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2255 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 21:10:32 +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 6036a8e31e Fix bounding box and some warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2252 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-05 02:20:33 +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 69e7d0bd59 Now compiles with SDL device in OSX, still crashes at runtime though
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2247 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-03-01 07:39:52 +00:00
bitplane 34a9ff2f77 Ensure ListBox on combo box doesn't hang off the bottom of the GUI root, by Matthias Specht
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2246 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 16:14:22 +00:00
bitplane 29aa6ecd3f Bug fix for the combo box where it showed white text instead of skin colour before being focused, fix posted by drewbacca
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2244 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 14:27:46 +00:00
bitplane 410b95f946 EGDS_MESSAGE_BOX_HEIGHT is now honoured, reported by Spkka
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2243 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 14:14:51 +00:00
bitplane 2940de0112 Fixed bug with editbox sending events to null parent, reported by Sudi
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2242 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 13:08:45 +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 b5605d2b49 Fixed a broken define
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2238 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 06:55:56 +00:00
bitplane fd088d68af Extended WinNT console device to include keyboard and mouse input and respond to windows close messages.
Added sigterm handler and some VT100 escape codes for Unix terminals. Added simple ASCII present() method just for fun, currently untested on most platforms

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2237 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-28 06:14:05 +00:00
bitplane 787dc2f5e6 changed text "software device" to "software driver", fixed editbox crash when no font is available
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2236 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 09:22:55 +00:00
bitplane b78345c729 Fix for compiling with image writers but without loaders
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2235 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-27 08:52:27 +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 20657b83e3 Fix error message for missing DISPLAY variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2230 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:30:10 +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
hybrid 868d73e249 Performance optimization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2228 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-23 17:27:07 +00:00
bitplane 8a0a55441d adapted OSX device code style to Irrlicht's rather than Cocoa's. Initial attempt at software driver support, isn't refreshing each frame yet
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2227 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-20 03:15:01 +00:00
hybrid d27e4a280c Make semicolon checks less strict, fixing some issues with not absolutely correct .x files (which are loaded by MView, though).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2224 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-18 21:25:13 +00:00
bitplane 3200932257 Removed mouse X buttons for Windows SDKs before Win2k, reported by zillion42
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2223 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-17 15:02:06 +00:00
bitplane bf91012549 Added workaround for SDL resetting glFrontFace(GL_CCW) after driver creation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2219 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 19:20:47 +00:00
bitplane e7f7156ead Added mouse mask and middle mouse click events to OSX device
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2218 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 18:01:57 +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 a7f93092ca Added mouse button states to drag/move events
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2216 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-16 13:42:35 +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 39c665ebd8 fixed treeview when compiling without GUI
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2213 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-13 11:06:34 +00:00
engineer_apple 7ddbd4f886 - destination alpha saving for CImage
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2211 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-11 23:53:15 +00:00
engineer_apple 6ad288bf1a git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2210 dfc29bdd-3216-0410-991c-e03cc46cb475 2009-02-11 19:58:51 +00:00
engineer_apple bebda484e1 Changes in 1.6 TA
- implemented isALoadableFileFormat ( File *file ) for the Archive Loader


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2209 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-11 14:04:12 +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 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 42b0b92cab Two more self-assignment fixes. setMesh still resets the values, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2201 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-06 11:56:37 +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 2eb72c3234 Fix GLXVisual creation for glx 1.2 and older.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2197 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-05 09:35:45 +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 9ef5622505 Add warning if mesh has too many vertics with 16bit indices.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2194 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:53:08 +00:00
hybrid 18b7b4a55c Optimized texture matrix setting.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2193 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-03 23:51:03 +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 5266da908a Changed from bbox extent to stored texture size for planar mapping ratio.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2190 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 22:10:42 +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 b462a3e9d9 Move texture loading to the end, and skip empty meshbuffers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2188 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 16:36:31 +00:00
hybrid 76691deb4b Fix array bounds for now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2187 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 13:11:37 +00:00
hybrid 9baff2f017 Fix texture loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2186 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 10:52:05 +00:00
hybrid cf81e50f52 Fix signedness warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2184 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 09:47:09 +00:00
hybrid a6a9950c80 Fix vector reading and use simpler axis determination.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2183 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-02 00:22:14 +00:00
hybrid b32da4e963 Many new features, e.g. (partial) planar mapping support and discontinuous texture coords (loosely based on Auradrummers code). Best thing is still to export only real UV coords.
Still a problem with normals, although they are now generated with Irrlicht's meshmanipulator methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2182 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 23:46:26 +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
hybrid 5745b3f422 Fix colormask deserialization default.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2179 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-02-01 21:52:47 +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 7810313bd5 Added some more supported material properties.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2170 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:45:16 +00:00
hybrid 5f2e459f49 Replaced path method by FileSystem function. Replaced const ints by enum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2169 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:02:44 +00:00
hybrid b6a67db12b Added transparency for LWO files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2168 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 17:01:56 +00:00
hybrid 04f045c2ac Fix compilation without sw renderers, submitted by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2167 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-29 16:18:51 +00:00
hybrid 3735b5308d SMaterial deserialization patch by pc0de
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2164 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:45:59 +00:00
hybrid 8ca2ea0fd5 Fix too small char buffer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2161 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 23:23:30 +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
engineer_apple cf7246f704 xbox update.
example 21.update. save/load game data on driver change

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2157 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 14:52:13 +00:00
hybrid 06a7811de8 pak reader extension fixed.
Copyright year pushed to 2009.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2154 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 09:11:42 +00:00
hybrid 04efb300bc Missed a depth func rename
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2153 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 00:35:56 +00:00
hybrid 91356d3c56 Fix D3D8 MIPMAP LOD Bias.
Fix b3d loader.
Remove empty destructor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2152 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-28 00:33:58 +00:00
hybrid 2f315b4349 Fix some project issues.
Adapted some more methods to the new string API.
renamed FileSystem method.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2150 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-27 22:26:38 +00:00
hybrid 2f2f23c21a Fix some warnings under Linux.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2149 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-27 17:45:16 +00:00
engineer_apple cf2cfa5f14 Changes in version 1.6, TA
- FileSystem 2.0 SUPER MASTER MAJOR API CHANGE !!!

	The FileSystem is know build internally like for e.q the texture-, and the meshloaders.
	There exists a known list of ArchiveLoader, which know how to produce a Archive.
	The Loaders and the Archive can be attached/detached on runtime.
	
	The FileNames are now stored as core::string<c16>. where c16 is toggled between char/wchar
	with the #define flag _IRR_WCHAR_FILESYSTEM, to supported unicode backends (default:off)
	I replaced all (const c8* filename) to string references.

	Basically the FileSystem is divided into two regions. Native and Virtual.
		Native means using the backend OS.
		Virtual means only use currently attach IArchives.
	
	Browsing
		each FileSystem has it's own workdirectory and it's own methods to
			- create a FileTree
			- add/remove files & directory ( to be done )
				Hint: store a savegame in a zip archive...
				
		 basic browsing for all archives is implemented.
		 Example 21. Quake3Explorer shows this
		 
	 TODO:
		- a file filter should be implemented.
		- The IArchive should have a function to create a filetree
			for now CFileList is used.
				
	Class Hiarchy:
	
	IArchiveLoader: is able to produce a IFileArchive
		- ZipLoader
		- PakLoader
		- MountPointReader ( formaly known as CUnzipReader )

	IFileArchive: 
		-ZipArchive
		-PakArchive
		-MountPoint (known as FolderFile)
		
	IFileSystem
		- addArchiveLoader

	- changed implementation of isALoadableFileExtension in all loaders
		to have consistent behavior
	- added a parameter to IFileList * createFileList	
		setFileListSystem
		allows to query files in any of the game archives
		standard behavior listtype = SYSTEM ( default)
	
	- CLimitReadFile
		added multiple file random-access support.
		solved problems with mixed compressed & uncompressed files in a zip

	TODO:
		- Big Big Testing!!
		- Linux Version ( minor )
		- remove all double loader interfaces where only the filename differs
			(IReadFile/const char *filename). This blows up the the interface
		- many loaders use their own private filesearching
			we should rework this
		- there are a lot of helper function ( getAbsolutePath, getFileDir )
		  which should be adapted to the virtual filesystem
		
- IrrlichtDevice
	added:
		virtual bool setGammaRamp( f32 red, f32 green, f32 blue, f32 brightness, f32 contrast ) = 0;
		virtual bool getGammaRamp( f32 &red, f32 &green, f32 &blue ) = 0;

	and calculating methods to DeviceStub.
	implemented in Win32, TODO: other Devices
	
	-	irrlicht.h
		changed exported irrlicht.dll routines createDevice, createDeviceEx, IdentityMatrix
		to extern "C" name mangling.
		
		for easier dynamically loading the irrlicht library and different versions

 - ParticleSystem
		removed the private (old?,wrong?) interface from the ParticleEffectors
		to match the parent class irr::io::IAttributeExchangingObject::deserializeAttributes
		TODO:
			please test if the serialization works!
		
- Generic
	- vector3d<T>& normalize()
		#if 0
			f32 length = (f32)(X*X + Y*Y + Z*Z);
			if (core::equals(length, 0.f))
				return *this;
			length = core::reciprocal_squareroot ( (f32)length );
		#else
			const T length = core::reciprocal_squareroot ( (X*X + Y*Y + Z*Z) );
		#endif
	
		Weak checking on zero?!?! just to avoid a sqrt?. mhm, maybe not;-)
		added reciprocal_squareroot for f64
	
	- dimension2d
		added operator dimension2d<T>& operator=(const dimension2d<U>& other)
		to cast between different types
	- vector2d
			bugfix:
			vector2d<T>& operator+=(const dimension2d<T>& other) { X += other.Width; Y += other.Width; return *this;  }
			to
			vector2d<T>& operator+=(const dimension2d<T>& other) { X += other.Width; Y += other.Height; return *this;  }

	- C3DMeshLoader renamed chunks const u16 to a enum
		removing "variable declared but never used warning"
	- added a global const identity Material
		changed all references *((video::SMaterial*)0) to point to IdentityMaterial
		removed warning: "a NULL reference is not allowed"

	- modified IRRLICHT_MATH to not support reciprocal stuff
		but to use faster float-to-int conversion.
		gcc troubles may they are. i'm using intel-compiler..;-)
	- core::matrix4
			USE_MATRIX_TEST	

			i tried to optimize the identity-check ( in means of performance)
			i didn't succeed so well, so i made a define for the matrix isIdentity -check
			for now it's sometimes faster to always calculate versus identity-check
			but if there are a lot of scenenodes/ particles one can profit from the
			fast_inverse matrix, when no scaling is used. further approvement could
			be done on inverse for just tranlastion! ( many static scenenodes are not rotated,
			they are just placed somewhere in the world)
			one thing to take in account is that sizeof(matrix) is 64 byte and
			with the additional bool/u32 makes it 66 byte which is not really cache-friendly..

		- added	buildRotateFromTo
				Builds a matrix that rotates from one vector to another
				
	- irr::array. changed allocating routine in push_back

		okt, 2008. it's only allowed to alloc one element, if 
		default constructor has to be called.
		
		removes existing crashes. ( MD3 Mesh ) and possible others ones.
		
		A new list template should be made.
		one with constructor/destructor calls ( safe_array ) and
		one without. like the array since the beginning of irrlicht.
		currently the array/string is extremly slow..
		
		also a hint for the user has to be done, so that a struct T of
		array<T> must have a copy constructor of type T ( const T&other ).
		
		i needed hours to track that down...
		
		added a new method setAllocStrategy, 
		safe ( used + 1 ), double ( used * 2 + 1)
		
		better default strategies will be implemented
		
		- removed binary_search_const
			i added it quite a long time ago, but it doesnt make real sense
			a call to a sort method should happen always. i just wanted to safe
			a few cycles..
		- added binary_search_multi
			searches for a multi-set ( more than 1 entry in the sorted array)
			returns start and end-index

	- changed some identity matrix settings to use core::IdentityMatrix	
	-	added deletePathFromFilename to generic string functions in coreutil.h and
		removed from CZipReader and CPakReader
		
	- s32 deserializeAttributes used instead of virtual void deserializeAttributes in
		ParticleSystem ( wrong virtual was used)

- strings & Locale
	- started to add locale support
	- added verify to string
	- added some helper functions
	

- XBOX
	i have access to a XBOX development machine now. I started to compile
	for the XBOX. Question: Who did the previous implementation?. There
	is no XBOX-Device inhere. maybe it's forbidden because of using the offical
	Microsoft XDK. I will implement a native or sdl device based on opendk.
	irrlicht compiles without errors on the xbox but can't be used.
	
	TODO:
		- native XBOX Device
- Windows Mobile
		reworked a little. added the mobile example to the windows solution for 
		cross development.
		added maximal 128x128 texture size for windows mobile ( memory issues )
- Collision	Speed Up

	The Collision Speed Up greatly improves with many small static child-nodes
	
	- added COctTreeTriangleSelector::getTriangles for 3dline from user Piraaate
	- modified createOctTreeTriangleSelector and createTriangleSelector
		to allow node == 0, to be added to a meta selector
	- CSceneNodeAnimatorCollisionResponse has the same problem as CSceneNodeAnimatorFPS
		on first update:
		Problem. you start setting the map. (setWorld). First update cames 4000 ms later.
		The Animator applies the missing force... big problem...
		changed to react on first update like camera.
		
		-	add Variable FirstUpdate. if set to true ( on all changes )
			then position, lasttime, and falling are initialized

	-added #define OCTTREE_USE_HARDWARE in Octree.h
	
		if defined octtree uses internally a derived scene::MeshBuffer which has
		the possibility to use the Hardware Vertex Buffer for static vertices and
		dirty indices;-)
		
		if defined OCTTREE_USE_HARDWARE octree uses internally a derived scene::CMeshBuffer
		so it's not just a replacement inside the octree. It also in the OctTreeSceneNode.
		#if defined (OCTTREE_USE_HARDWARE)
			driver->drawMeshBuffer ( &LightMapMeshes[i] );
		#else
			driver->drawIndexedTriangleList( &LightMapMeshes[i].Vertices[0], LightMapMeshes[i].Vertices.size(),
				d[i].Indices, d[i].CurrentSize / 3);
		#endif
		#define OCTTREE_PARENTTEST is also used. It's skip testing on fully outside and takes everything on fully inside


	- virtual void ISceneNode::updateAbsolutePosition()
		-	changed 
			inline CMatrix4<T> CMatrix4<T>::operator*(const CMatrix4<T>& m2) const

			all two matrices have to be checked by isIdentity()
			to let the isIdentity work always

	-changed inline bool CMatrix4<T>::isIdentity() const

		on full identityCheck->
		to look first on Translation, because this is the most challenging element
		which will likely not to be identity..
			
	-	virtual core::matrix4 getRelativeTransformation() const

		Hiarchy on Identity-Check
			1) ->getRelativeTransform -> 9 floating point checks to be passed as Identity
			2) ->isIdentity () -> 16 floating point checks to be passed as Identity
			
	- inline void CMatrix4<T>::transformBoxEx(core::aabbox3d<f32>& box) const
		added isIdentity() check

		
- changed CSceneNodeAnimatorCollisionResponse		
	- added CSceneNodeAnimatorCollisionResponse::setGravity
		needed to set the differents Forces for the Animator. for eq. water..
	- added CSceneNodeAnimatorCollisionResponse::setAnimateTarget
	- added CSceneNodeAnimatorCollisionResponse::getAnimateTarget
	- changed CSceneNodeAnimatorCollisionResponse::animateNode to react on FirstUpdate
	- changad Gravity to
	- TODO: set Gravity to Physically frame independent values..
		current response uses an frame depdended acceleration vector.
		~9.81 m/s^2 was achieved at around 50 fps with a setting of -0.03
		may effect existing application..
	
- SceneNodes
	- CSkyDomeSceneNode
		moved radius ( default 1000 ) to constructor
		added Normals
		added DebugInfo
		added Material.ZBuffer, added SceneMaanager
			
	- CVolumeLightSceneNode:
		changed default blending OneTextureBlendgl_src_color gl_src_alpha to
			EMT_TRANSPARENT_ADD_COLOR ( gl_src_color gl_one )
		which gives the same effect on non-transparent-materials.
		Following the unspoken guide-line, lowest effect as default
	- added LensFlareSceneNode (from forum user gammaray, modified to work )
		showing in example special fx
	- changed SceneNode Skydome f64 to f32, 
	- AnimatedMesh
		-Debug Data: 
			mesh normals didn't rotate with the scenenode fixed ( matrix-multiplication order)
	- Camera SceneNode setPosition
		Camera now finally allow to change position and target and updates all
		effected animators..
		
		a call to OnAnimate ( ) lastime < time or OnAnimate ( 0 ) will reset the
		camera and fr. the collision animator to a new position
			
- Device:
		added the current mousebutton state to the Mouse Event
		so i need to get the current mouse state from the OS
		
		-a dded to CIrrDeviceWin32
		TODO:		
		- Linux and SDL Device
- GUI

	- CGUIFont:
		- added virtual void setInvisibleCharacters( const wchar_t *s ) = 0;
		
		define which characters should not be drawn ( send to driver) by the font.
		for example " " would not draw any space which is usually blank in most fonts
		and saves rendering of ususally full blank alpha-sprites.
		This saves a lot of rendering...
		
		default:
			setInvisibleCharacters ( L" " );
			
		- added MultiLine rendering
			should avoid to us CStaticText breaking text in future
	- CGUIListBox
		- changed Scrollbar LargeStepSize to ItemHeight
		  which easy enables to scroll line by line
		  
	- CGUIScrollBar
			bug: 
				Create a Window and inside a listbox with a scrollbar or
				a windowed irrlicht application
				
				Click & hold Scrollbar Slider. move outside it's region.
				Release Mouse. Go Back to Scrollbar.. it's moving always...
				
				it's generally missing the event PRESSED_MOVED, which
				leads to problem when an element is dragging, has a focus, or position loose
				and gets focus back again. ( think of a drunken mouse sliding left&right during tracking )

			so added the mouse Input Buttonstates on every mouse event
				IrrDeviceWin32:
				 added 	event.MouseInput.ButtonStates = wParam & ( MK_LBUTTON | MK_RBUTTON | MK_MBUTTON );
				 TODO:
					Linux & SDL

				so now i can do this
				case irr::EMIE_MOUSE_MOVED:				 
			 	if ( !event.MouseInput.isLeftPressed () )
				{
					Dragging = false;
				}

			- bug:
				Scrollbar notifyListBox notify when the scrollbar is clicked. 

			- changed timed event in draw to OnPostRender
				Why the hell is a gui element firing a timed event
				in a draw routine!!!!!. This should be corrected for all gui-elements.
			
		
	-	added GUI Image List from Reinhard Ostermeier, modified to work
		added GUI Tree View from Reinhard Ostermeier, modified to work	
		shown in the Quake3MapShader Example
		TODO: Spritebanks

		
	- FileOpenDialog
		changed the static text for the filename to an edit box.
	- changed the interface for addEditBox to match with addStaticText
	- changed the interface for addSpinBox to match with addEditBox
	- added MouseWheel to Spinbox
	- changed CGUITable CLICK_AREA from 3 to 12 to enable clicking on the visible marker
	- CGUISpritebank
		removed some crashes with empty Sprite banks		
	- IGUIScrollBar
		added SetMin before min was always 0
		changed ScrollWheel Direction on horizontal to move right on wheel up, left on wheel down
		
	- IComboBox
		-added ItemData
	- removed IsVisbile check in IGUIElement::draw


- Image Loaders
	- added TGA file type 2 ( grayscale uncompressed )
	- added TGA file type (1) 8 Bit indexed color uncompressed
	
	ColorConverter:
		- added convert_B8G8R8toA8R8G8B8
		- added convert_B8G8R8A8toA8R8G8B8
		
- Media Files
	- added missing shaders and textures to map-20kdm2.
		Taken from free implementation	
	- ball.wav. adjusted DC-Offset, amplified to -4dB, trim cross-zero
	- impact.wav clip-restoration, trim cross-zero
	- added gun.md2, gun.pcx to media-files
		copyright issues!. i don't know from where this file came from...		
		i hope this is not from original quake2..
	- added new irrlicht logo irrlicht3.png
		i've taken the new layout. i should ask niko to use it.
	- added Skydome picture to media files (skydome2.jpg) half/sphere

- OctTree
	-added
		#define OCTTREE_PARENTTEST ( default: disabled )
		used to leave-out children test if the parent passed a complete frustum.
		plus: leaves out children test
		minus: all edges have to be checked
	- added MesBuffer Hardware Hint Vertex to octtree
	
- CQuake3ShaderSceneNode:
	- removed function releaseMesh
		Shader doesn't copy the original mesh anymore ( saving memory )
		so therefore this (for others often misleading ) function was removed
	- changed constructor to take a (shared) destination meshbuffer for rendering
		reducing vertex-memory to a half
	- don't copy the original vertices anymore
	- added deformvertexes autosprite
	- added deformvertexes move
	- added support for RTCW and Raven BSPs ( qmap2 )
	- added polygonoffset (TODO: not perfect)
	- added added nomipmaps
	- added rgbgen const
	- added alphagen
	- added MesBuffer Hardware Hint Vertex/Index to Quake3: static geometry, dynamic indices
	- added Quake3Explorer examples
	- added wave noise
	- added tcmod transform
	- added whiteimage
	- added collision to Quake3Explorer
	- renamed SMD3QuaterionTag* to SMD3QuaternionTag* ( typo )	
	- updated quake3:blendfunc
	- added crouch to Quake3Explorer
		(modifying the ellipsiodRadius of the camera animator )
		added crouch to CSceneNodeAnimatorCameraFPS
		still problems with stand up and collision
	- Quake3MapLoader
		modified memory allocation for faster loading
	- Quake3LoadParam
		added Parameter to the Mesh-Loader	
	- added
		The still existing missing caulking of curved surfaces.
		using round in the coordinates doesn't solve the problem.
		but for the demo bsp mesh it solves the problem... (luck)
		so for now it's switchable.
		TJUNCTION_SOLVER_ROUND
		default:off
		
- BurningVideo
	- pushed BurningsVideo to 0.40
	- added blendfunc gl_one_minus_dst_alpha gl_one
	- added blendfunc gl_dst_color gl_zero
	- added blendfunc gl_dst_color src_alpha
	- modified AlphaChannel_Ref renderer to support alpha test lessequal
	- addded 32 Bit Index Buffer
	- added sourceRect/destRect check to 2D-Blitter ( slower, but resolves crash )
	- added setTextureCreationFlag video::ETCF_ALLOW_NON_POWER_2
		Burning checks this flag and when set, it bypasses the power2 size check, 
		which is necessary on 3D but can be avoided on 2D.
		used on fonts automatically.
	- added Support for Destination Alpha
	
- OpenGL	
	- Fixed a bug in COpenGLExtensenionHandler where a glint was downcasted to u8!!!!!!
		MaxTextureSize=static_cast<u32>(num);

	- TODO: COpenGLMaterialRenderer_ONETEXTURE_BLEND to work as expected

- Direct3D8
	- compile and links again
	- added 32 Bit Index Buffer
	- D3DSAMP_MIPMAPLODBIAS doesnt compile!. it is d3d9 i think.
	- compile for XBOX 
- Direc3D9
	- fixed crash on RTT Textures DepthBuffer freed twice.
		added deleteAllTextures to destuctor
- NullDriver
	- removeallTextures. added setMaterial ( SMaterial() ) to clean pointers for freed textures	


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2147 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-27 15:53:53 +00:00
hybrid d5eff56acd New ogl extension header.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2143 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-26 14:27:24 +00:00
hybrid 3cb40a76c6 Merged from 1.5 branch to trunk, all changes from 2121 to 2136. Message box bug fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2137 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-26 09:12:38 +00:00
hybrid 3f17c5f046 New scene parameter to ignore b3d file mipmap flag. In case your b3d files load textures without mipmaps unintentionally you should set this flag to true.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2136 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 22:43:09 +00:00
hybrid c8eadba628 Add file debug for HLSL pixel shader for NewerCookie.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2134 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 21:23:57 +00:00
hybrid 0d8210fa44 Add Mipmap LOD Bias to texture layers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2133 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 17:08:39 +00:00
hybrid 1864555d96 Added method to alter the minimum vertex count required for a HW buffer to be created.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2132 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 16:43:04 +00:00
hybrid d51b2f8349 ColorMask support. Allows for selective disabling of color planes upon rendering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2130 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-23 00:35:46 +00:00
hybrid a8d090c43b Added an enum and support for other Depth comparison functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2129 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 22:39:40 +00:00
Rogerborg cf349f9953 More collision additions. ISceneCollisionManager::getCollisionResultPosition() now returns the node that was hit. ISceneNodeAnimatorCollisionResponse stores and exposes the node that was hit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2127 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 18:24:33 +00:00
hybrid eee1d97306 Some more minor changes to glxvisual chooser, doesn't seem to fix the problems, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2126 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 16:32:21 +00:00
Rogerborg 81671c23b2 https://sourceforge.net/tracker2/index.php?func=detail&aid=2498791&group_id=74339&atid=540678
Revert my previous ITriangleSelector patch and implement garritg's great idea about retrieving an ISceneNode by index.  Add an out parameter to ISceneCollisionManager::getCollisionPoint() to return the hit scene node.  This is an API breaking change; the test and example apps have been updated.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2125 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 15:50:06 +00:00
Rogerborg 74658ced68 https://sourceforge.net/tracker2/index.php?func=detail&aid=2498791&group_id=74339&atid=540678
Extend ITriangleSelector::getTriangles() to allow for returning multiple groups of triangles from individual scene nodes.  By default, the 1.5 behaviour will be preserved, and all triangles from all nodes will be returned, even for IMetaTriangleSelectors.  Regression tests confirm this.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2124 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 14:14:39 +00:00
hybrid e771171695 Change the GLXVisual chooser to cope with special depth/stencil combinations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2123 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 13:07:06 +00:00
Rogerborg 01fa608741 Do some core::dimension2di() conversions required when passing dimension2d<u32> sources as dimension2d<s32> parameters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2122 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 13:00:52 +00:00
hybrid ca8f261819 Merged from 1.5 branch to trunk, all changes from 2088 to 2120. Mainly doc updates. Fix for non-skinned animated meshes with different current frames.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2121 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 12:40:06 +00:00
Rogerborg 2c203d8401 https://sourceforge.net/tracker2/index.php?func=detail&aid=2498791&group_id=74339&atid=540678
Expose the collision result position in ISceneNodeAnimatorCollisionResponse, to give more information to the user app.  Thanks again to garritg.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2120 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 10:12:46 +00:00
Rogerborg a417170595 Have the collision response animator callback return the collision point, not the new position for the instant node. Thanks again to garritg for spotting this. Test updated (to test the proper expected result!)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2119 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 09:56:23 +00:00
hybrid 9c34c59233 Support for anti-aliasing modes per Material.
Initial support for Alpha To Coverage. Doesn't properly work on my laptop, so needs some more fixing and tuning before it actually works.
Fixed AntiAliasing on Win32/OpenGL.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2118 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-22 00:50:55 +00:00
Rogerborg c9190dd640 http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=32029
Grey out combo boxes when they're disabled.  Not tested, as I feel like living dangerously.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2115 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-21 15:16:04 +00:00
Rogerborg 0e147df2e0 Change recently added ICollisionCallback / ISceneNodeAnimatorCollisionResponse methods to use const & parameters and return values. Regression tested.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2113 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-21 08:37:21 +00:00