Commit Graph

1327 Commits (ed3a5a5b15dd496d4a8de376ebb027dba693f8d5)

Author SHA1 Message Date
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
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
bitplane bf90fa16d8 Fixed misleading typo in doc comment for core::string::equalsn
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2442 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-03 09:25:18 +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