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
4f0bf8b9c3
Add some more docs for the alpha source
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2497 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-25 13:51:37 +00:00
hybrid
0943b7a723
Added vertex *and* texture alpha to ONE_TEXTURE_BLEND material. Can be enabled/disabled via the pack function which handles all modes of this material. Default is texture alpha, as before.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2496 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-24 21:57:25 +00:00
hybrid
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
727d098020
removed --wall from codeblocks projects, gui editor now compiles again in codeblocks and is renamed as it is both windows and linux
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2491 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-21 16:11:50 +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
hybrid
9896695873
This fix should allow for more than 4 textures in SMaterial. Now, up to 8 are supported. We have to check for the texture matrix stuff if adding more could be simplified instead of adding more and more texture matrix defines. Maybe we also need to add a limitation for the numbers of texture matrices to create for systems using less than 8 textures. This patch has not been tested with all drivers so far, but seems to work ok.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2479 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 16:03:33 +00:00
bitplane
ebdae3b93d
Fix a --wall warning and make code::blocks project work in 64-bit linux
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2477 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-14 19:30:29 +00:00
hybrid
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
a142d5edca
Add enums for EMIE_MOUSE_DOUBLE_CLICK and EMIE_MOUSE_TRIPLE_CLICK this time (sorry again)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2469 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-13 00:32:16 +00:00
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
bitplane
8607336edb
GUI editor now compiles again
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2462 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 20:54:21 +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
c46a6b2479
Add default parameter to simplify setting textureBlend.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2460 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 12:54:41 +00:00
hybrid
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
c701279239
Fix some docs and put c16 into irr namespace.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2457 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 09:21:27 +00:00
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