Commit Graph

1585 Commits (23ffd04c569ade06acc01710ce35e858c132283d)

Author SHA1 Message Date
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 23cfb47e7c Update changes.txt
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2420 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-11 23:24:39 +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
cutealien f598ea9265 New test for zipreader (works).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2414 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-09 00:53:05 +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
monstrobishi 7e3770c871 - Changed line2d getVector implementation to match line3d (Was start - end, changed it to end - start).
- Removed default values for R, G and B for SColorf constructor and added a default constructor that mimics the default values behavior.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2410 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-04 12:04:28 +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 c81829870d Save some more bits and update comments to proper enum usage.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2398 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-18 19:59:27 +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 1a924aa159 Adapt test suite to recent changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2395 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-16 18:11:11 +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 c655934954 Replaced some graphics by smaller versions in more compact formats.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2363 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-05-04 15:52:15 +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 065c15c00c Make real use of bitfield
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2358 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-28 23:01:15 +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