Commit Graph

1835 Commits (97aa2d4fa373fde65be029513b9ecc1c910ace10)

Author SHA1 Message Date
hybrid 0ca3ba3744 Merged revisions 3089-3138 from 1.7 branch. Full merge, all changes from 1.7 beta phase up to now are included.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3139 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-08 11:46:38 +00:00
cutealien 9b3f9590f0 - Add unicode and dead-key handling on Windows 32. Based on patch 2922403 from Jetro Lauha (tonic). Just we're now not using ToUnicode, but do stuff manually to support even older Windows systems.
- Add support for entering chars like @ with Alt Gr on non-US keyboards. Also from patch 2922403 by Jetro Lauha.
- Move unit globals into anonymous namespace in CIrrDeviceWin32.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3088 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-29 00:19:29 +00:00
hybrid c1510bc8bd Change the version numbers to be digits only
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3086 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:09:17 +00:00
hybrid 618e7f81f6 Add new image and archive extensions supported by Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3085 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:06:54 +00:00
hybrid 7414995ba3 Add implementations for new abstract methods of IGUIWindow
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3084 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 14:04:08 +00:00
hybrid 0be2fc2628 Make checks in erase not only happen in debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3083 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 13:42:59 +00:00
hybrid 5185fdf554 New example, provided by geoff some time ago. It shows some details for SMesh handling, which can be useful when manually creating or editing geometry.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3082 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 13:31:59 +00:00
hybrid ebda9739d3 Add OpenGL support for mode2
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3081 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:46:48 +00:00
hybrid c251aaf62f Change scrollbar to access negative framerates as well.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3080 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:36:20 +00:00
hybrid 26c3f03682 Add an example for how to use the 2d material settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3079 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:34:16 +00:00
hybrid d4620f37f5 Use the generic render method for more flexibility.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3078 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 11:24:23 +00:00
hybrid a8229b3f10 Merged from 1.6 branch, revisions 2936:3075. Several bugfixes for GUI, containers, file system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3076 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-28 10:56:30 +00:00
cutealien 1b523f689b - Fix bug that menus on IGUIWindows with titlebar got drawn too high (id: 2714400)
- Add another parameter to IGUISkin::draw3DWindowBackground to allow getting the client area without actually drawing 
- Add function getClientRect to IGUIWindow for getting the draw-able area
- Documenation updates


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3073 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-27 20:04:11 +00:00
cutealien 95ea9b9b4e Fix hopefully problem I introduced for compiling on 64-bit linux (found by Tecan). Needs test from someone with 64-bit system.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3068 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 20:32:10 +00:00
cutealien a08f3e25d2 - Fix problem that modal windows do not get activated on setFocus (noticed by Yoran).
- Kick virtual function calls out of IGUIElement constructor.
- Actually those fixes could maybe go into 1.6 (only non-virtual protected interfaces added).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3067 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-23 18:41:45 +00:00
hybrid 538d1a1e96 Remove unused function, simplify joints code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3066 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:26:09 +00:00
hybrid 7b6640fd8f Return shadow node if adding to a node that already has a shadow.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3065 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-22 16:19:08 +00:00
cutealien fdfc470b38 Improving array::insert speed by kicking out lots of memory construction calls, but hopefull still leaving all the important ones in places. Does double the speed but is still twice as slow as std::insert unfortunately.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 20:17:18 +00:00
cutealien a0b9cea740 Fix recently introduced bug that caused irrlicht to sort the array on each search (instead of just when unsorted).
Also test 33 writeImageToFile currently fails when compiled with optimizations, but probably the test needs to lower requiredMatch.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3063 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-21 13:24:53 +00:00
cutealien 28a04fbd42 Renamed OctTree to Octree
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3062 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 22:10:53 +00:00
cutealien 1a876af375 Allow getting a ConstIterator from a non-const core:list
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3061 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 18:43:12 +00:00
cutealien 6eb1fa1e6e Add swap functions to irrMath and to the core classes.
Deprecate map::isEmpty() and replace it with map::empty() to make it similar to other base classes.
Rename array-test and add tests for list and map.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3060 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 16:55:15 +00:00
cutealien 12c53b2cfc Allow to set the logging level already in SIrrlichtCreationParameters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3059 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:33:53 +00:00
cutealien 633702e2e0 Documentation update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3058 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-20 14:15:47 +00:00
cutealien 17cee03cd1 ClearSystemMessages does now also just remove keyboard/mouse events on Linux. Should probably be parametrized in the long run.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3057 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-18 12:37:25 +00:00
hybrid 74b0345a53 Added framework option for compiling under OSX with Makefile. Suggested by blues2008. Please note that default is still using X11, you need to disable the X11 linking and enable the framework line. Also make sure to use the proper device and config settings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3053 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-17 12:04:55 +00:00
cutealien 34121ef43a Use another node in materialviewer as background to make light-settings more obvious.
Clean it up some more and add more comments.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3052 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-14 17:28:20 +00:00
cutealien 9b50b09ea3 Add clearSystemMessages to IrrlichtDevices (implemented only for Win32 and Linux so far).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3051 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 10:39:29 +00:00
cutealien dae1088202 Add ReportLastWinApiError to Win32 device to make internal debugging easier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3049 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-13 05:27:30 +00:00
cutealien f0752acdc7 A proposal for fixing the problem with the textures being re-loaded with folder-file-archives.
See bug id 2912581:  http://sourceforge.net/tracker/?func=detail&aid=2912581&group_id=74339&atid=540676
More details described on bug-page.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3043 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 09:25:55 +00:00
cutealien baa4ecb9dc Documentation updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3042 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 07:26:46 +00:00
hybrid 3553813721 Fix some tests, add new test for loading textures from FileFolders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3041 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-12 01:01:32 +00:00
hybrid 27b5b6633c Change SMesh allocation to heap allocation, as it's a reference counted element.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3037 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-11 12:52:38 +00:00
cutealien e10f17dcb2 Fix crash in Meshviewer when dialog-window was closed before opening model (found by randomMesh).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3035 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-11 09:50:54 +00:00
hybrid f964cb3d60 Add possibility to change render context for OpenGL with beginScene. Should work if the context is shared with the one from Irrlicht.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3034 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 17:57:16 +00:00
cutealien e7afb972b8 Add xml-serialization to the serializeAttributes test. Add comment to readAttributeFromXML that userPointers are intentionally set to 0.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3033 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 01:32:44 +00:00
hybrid 6cc3ffc5be Add 2d override material for other hw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3032 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-09 00:04:41 +00:00
hybrid 38a44116e2 Change the 2d material interface. Renamed methods and cleaned up reset scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3031 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 23:21:38 +00:00
hybrid c9c108ea6d Fix 2d init material setting for OpenGL. Add new file to project file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3030 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 22:57:11 +00:00
hybrid 6a7b142b49 Add methods to alter the 2d override material.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3029 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 18:32:55 +00:00
hybrid 6abf90071c Create context activation methods. Used in init only so far, until the other functionality works correctly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3028 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 18:03:24 +00:00
hybrid 599de0e73e Support another b3d material flag.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3027 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 08:58:30 +00:00
cutealien 8bebbdbbc2 - Fixed serialization of stringw-arrays again and learned another lesson of "be very careful when changing const's".
- Added test for serialization
- Added operator != for quaternion.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3026 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 04:39:25 +00:00
hybrid f450f358d5 Revert last changes to make gcc happy.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3025 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 01:13:43 +00:00
hybrid 9fbd2926fb Reduce some more calls to the named path conversions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3024 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:45:35 +00:00
hybrid ab5bf465d5 Add InitMaterial2D member, which will be used to alter 2d render state settings. Not yet functional, though, as we need to do more performance tests and API additions.
Added the 2d batch render function to OpenGL as it reduces the amount of render state changes. This makes text rendering far better scaling.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3023 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:42:45 +00:00
hybrid 557ccff856 io::path fixes provided by loneboco
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3022 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:23:18 +00:00
cutealien ab590612a9 Make spritebank a little easier to use by adding clear and addTextureAsSprite.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3021 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-08 00:05:35 +00:00
cutealien 7e91fcb00f Simplyfy SNamedPath
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3020 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 22:45:39 +00:00
hybrid 1f574c6069 Add support for different primitive types for geometry shaders.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3019 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 17:27:22 +00:00