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