Commit Graph

1269 Commits (7e3770c871c6f15892d8dc0d898428d455cf855e)

Author SHA1 Message Date
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
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 6124df98f0 Merged revisions 2325:2332 from 1.5 branch. Only doc updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2333 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 14:35:51 +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 e0a3e746b2 Add command line loading.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2331 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 13:41:29 +00:00
hybrid bddb9fb8a5 Fixed indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2330 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-17 13:39:40 +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 a4087d5c82 Define for deprecation of symbols, made by Nox.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2323 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-03 21:20:12 +00:00
hybrid 9e64d3bc59 Fix switch statement missing breaks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2322 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-04-02 09:32:50 +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