Commit Graph

749 Commits (f7d337d31706b8cc0244fa62813d8f5a78902608)

Author SHA1 Message Date
cutealien 9add67593e Add parameter DisplayAdapter to allow selecting the card when more than one card is in the system. Only D3D support so far and not yet tested (test-system will arrive in a few days).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3311 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-14 13:47:50 +00:00
cutealien 5b5fe394b7 Add support for changing cursors.
We use multicolor hardware cursors, but so far only Linux and Windows 32 are supported.
For Linux application must now link additionally with Xcursor unless they disable _IRR_LINUX_XCURSOR_.
Example 24 is added to show how to use those cursors and also as a general test for mouse-behavior.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3302 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-04 16:35:01 +00:00
hybrid a5046f4b29 Merged from branch 1.7, revisions 3290-3299. Few bugfixes, typo in GUI event, unicode fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3300 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-01 22:03:10 +00:00
hybrid 8de33dd4a6 Merged from 1.7 branch, revisions 3270:3288. Several bug fixes in string class, GUI, mesh loaders. Docs and project file updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3289 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-08 10:38:50 +00:00
cutealien 19dd5282a7 Fix bug in string::replace found and patched by Nalin.
See https://sourceforge.net/tracker/?func=detail&aid=2997065&group_id=74339&atid=540676


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3286 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-05-05 11:44:13 +00:00
cutealien 95c187862b Avoid argument lookup ambiguity in swap when used in combination with stl. Using same trick as boost now and use 2 different template parameters in it.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3281 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-26 11:31:40 +00:00
hybrid 3c8c56d3fd Add interpolation methods
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3280 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-25 20:50:44 +00:00
hybrid 6a34c5fd40 Export the color conversion method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3277 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-18 21:17:09 +00:00
hybrid d5deb716ef Add a new material flag which can disable mipmap usage completely via a boolean switch.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3273 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-05 16:03:17 +00:00
hybrid aa446ecbd1 Add some docs for mipmap level access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3272 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-04 10:07:12 +00:00
hybrid 9e9e55a903 Merged revisions 3218-3270 from branch 1.7. Many bugfixes, mainly in GUI and device, a few mesh loader fixes. Octree culling bug fix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3271 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-03 22:21:50 +00:00
hybrid ccd1a241c3 Occlusion Query support.
I've finally took on Nadro's code from the forum and adapted it to overcome some restrictions of the original code. Moreover, there are some additional tweaks to make it simpler to use. A few minor things might still change in the future, but for now it looks like a proper implementation with many useful use cases. I'll come back on this in the next time when I provide an example for efficient usage of occlusion queries.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3265 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-04-01 15:40:10 +00:00
hybrid 95680f93a8 Replace raw xml char implementation with template struct in order to decouple the type from POD types. May also help for 64bit problems or changes needed there.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3256 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-21 23:24:26 +00:00
hybrid 5d154682b8 Bug fix for replace method from Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3255 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-21 22:27:52 +00:00
hybrid 93959cf9c1 irrString additions provided by Nalin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3254 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-21 15:37:48 +00:00
hybrid b3ab720d03 Warning fix by maxim, and add multiplication order in docs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3245 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-11 23:25:15 +00:00
cutealien ea10ff872d Add parameter to line2d::intersectWith to allow getting intersections outside the segments (thx Yoran).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3235 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-03-06 12:10:18 +00:00
hybrid 7a4c4a4a5e Added some test cases for getRotationDegrees submitted by fabietto, also fixed the method to clamp values for asin to [-1,1].
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3228 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-18 13:03:05 +00:00
hybrid a23436f955 Merged revisions 3199-3217 from 1.7 branch. Fix collision problem in aabbox3d and some compile problems due to API changes. Fixed some minor mem leaks.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3218 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-12 15:13:11 +00:00
hybrid 360cd6d181 Fix wrong sign in new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3217 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-11 17:24:04 +00:00
hybrid ce2734d4e7 Add a new matrix method, e.g. used for stencil shadows.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3216 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-11 16:13:47 +00:00
hybrid 55a3220a1b Add test for string operator+= and fix for long type parameters. Bug and fix found by loneboco.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3211 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-08 00:04:26 +00:00
hybrid db4abd66d7 Missing constification fixed, found by loneboco
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3210 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-07 21:51:40 +00:00
hybrid 96310b964d Merged revisions 3172:3197 from 1.7 branch. Some more bug fixes and doc updates from the 1.7 beta phase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3198 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-02-02 20:53:57 +00:00
hybrid 675fd7637e Merge revisions 3139:3171 from 1.7 branch. Many new tests and bug fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3172 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-01-23 16:53:15 +00:00
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
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 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 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 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
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
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 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 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 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
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 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
hybrid 2f4fe1af75 Move deprecated methods into non-virtual delegating methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3015 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:36:32 +00:00
hybrid fa2c5d0cd4 Change void* parameter in beginScene to SExposedVideoData&, which will allow to configure more features. Due to the constructor for SExposedVideoData this is mostly transparent, just add this type around the currently used pointer.
Please also note that the OpenGL context handling is not yet working, so no real enhancement so far.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3013 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:17:52 +00:00
cutealien 3ca524aca4 Pass the rectangle in the IGUIElement constructor as const ref (thx at randomMesh)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3012 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:10:32 +00:00
hybrid 6e3bc81a1f Add implicit casts operators for the most common name. This allows simpler usage of the NamedPath struct. Hopefully also a correct one.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3010 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 21:50:21 +00:00
cutealien 59721e0d34 SNamePath cleaned up, minor bugfixes, documentation update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3009 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 20:42:45 +00:00
cutealien cf445855a6 Documenation clarification in IEventReceiver (thx teto) and ISceneCollisionManager (thx aanderse).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3008 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 20:18:58 +00:00
hybrid 07a652f488 Add LZMA decompression (7zip compatible, without 7zip archive support).
Change bzip2 code to NO_STDIO to save some space.
Add some more flags to allow for system version of bzip2 etc.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3006 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 10:23:37 +00:00
cutealien 7eaece5d46 Add OBJ_TEXTURE_PATH and B3D_TEXTURE_PATH to SceneParameters to allow setting texture-paths for obj and b3d.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3005 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 05:46:43 +00:00
cutealien 58764ce8b9 - Keep filenames additionally to internally used names for meshes, fonts, textures and sprites to fix problems with uppercase-filenames on Linux.
- Adapt MeshCache interface to make the difference between names and filenames more clear. Old functions behave the same, but are deprecated.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3004 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 04:52:15 +00:00
hybrid 4be82de30c Make sure the struct is initialized to 0
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2998 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:47:57 +00:00
hybrid 5b030dbc98 Enable zip decryption mode. Add bzip2 flag.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2997 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 16:46:29 +00:00
hybrid f040a326d8 Clarify the grab situation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2990 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:04:47 +00:00
hybrid dd198af9e5 Add possibility to add externally loaded/created fonts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2989 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-05 12:02:42 +00:00
cutealien 0e21f80e5a - CStringWArrayAttribute can use const-ref instead of full copy
- Put E_ATTRIBUTE_TYPE in own header EAttributes.h
- Put IAttribute in own header IAttribute.h


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2969 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-02 16:02:41 +00:00
cutealien 622bd16ba1 SceneNodeAnimatorFollowSpline can now loop and pingpong.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2966 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 18:26:52 +00:00
hybrid 3d4ff2a67e Add ways to provide the password for encrypted archives.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2965 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 17:07:00 +00:00
hybrid d1251606f7 Make aes decryption optional.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2961 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-01 12:17:18 +00:00
cutealien f2e91f0e7c Fix self assignments for irrArray (which worked already in 1.6, not sure if it was fixed there
already or broken after 1.6).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2950 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 15:08:16 +00:00
cutealien 09b4f29944 Bugfix: irrArray should no longer crash when using other allocators. Corresponding test added. This was
caused because operator= and copy-constructor where not called because the the second template parameters 
was not used in those function declarations and so only functions for the default parameter had been 
created. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2949 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:51:59 +00:00
hybrid e7b200fef4 Merged revisions 2892:2947 from 1.6 branch. Mainly GUI fixes. Cylinder texturing enhanced. WIN64 defines everywhere also use _WIN64. Code layout and documentation updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2948 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:42:58 +00:00
cutealien 9e1eb1e6ca Revert r2939 (allocation strategy scheme for arrays). Which means old (slow?) speed for now. Reason is that
assignment would otherwise depend on allocation strategy which isn't a good idea. Also some problems due to 
default template parameters which got ignored in copy-constructor and operator= which caused those functions 
not to be called. 


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2946 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-30 14:11:27 +00:00
cutealien 7c8293ef93 Remove some extra ; because otherwise tests won't even compile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2944 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-29 23:37:04 +00:00
monstrobishi 1ea180d6be - Noticed a major slowdown with the fairly-recently implemented allocation strategy scheme for irrArray (About 5 times slowdown) mainly due to the switch statement in the time critical section. So I re-implemented it as a static template-based system and now the speed is a lot more acceptable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2939 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-28 06:24:37 +00:00
hybrid e82e998aff Add experimental framebuffer device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2937 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-27 18:58:56 +00:00
hybrid 51545ba051 Add geometry shaders for OpenGL. Implementation is largely influenced by ideas from devsh. Right now the input and output types are fixed to EPT_TRIANGLES, the maximal output vertices are only limited by the driver, and some geometry shader extensions are wrongly used. Will be fixed in the near future.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2926 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 23:35:43 +00:00
hybrid 0655f27f31 Split shader types definitions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2923 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 16:31:50 +00:00
hybrid ce6a35287d Remove unused includes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2919 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-24 08:20:52 +00:00
hybrid 0fd0e52e7e Reorganize the mrt reset procedure.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2916 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 23:03:04 +00:00
cutealien 2573257ffc Double and triple click events now for each mouse-button. Old events for that got removed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2914 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-22 15:25:00 +00:00
hybrid 76c4b0f813 Add access to miplevels in addTexture, texture->lock, and texture->regenerateMipMapLevels.
This allows to create custom mipmap textures manually, or provide them from certain image formats that come with precalculated mipmaps.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2912 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:24:31 +00:00
hybrid 978c768ade More atan2 param casts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2911 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-21 23:19:38 +00:00
hybrid 75f7074ed2 Deprecate some image creation methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2908 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 17:24:26 +00:00
hybrid f29995ded6 Merged revisions 2848:2891 from 1.6 branch. DMF loader fixes, Win32 shift key fixes, version number update.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2892 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-20 09:50:37 +00:00
monstrobishi d7d497f0e5 - Fixed compile error in getHorizontalAngle() (Ambiguous method call to atan2).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2882 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-18 05:32:58 +00:00
hybrid 1b89cef4a3 Fix precision problems in getHorizontalAngle.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2880 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:36:22 +00:00
hybrid db4c7a2caf Remove extra commas
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2879 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:35:21 +00:00
hybrid 6c62592d5b Fix precision problems in new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2877 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-17 12:10:57 +00:00
hybrid e5488e1777 Support separate U and V texture wrap modes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2872 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-16 15:58:54 +00:00
hybrid 17bc727e31 Add mirror texture wrap modes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2870 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-16 14:59:58 +00:00
hybrid 7babf477db Add new angles calculation method suggested by Yoran.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2861 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 18:35:05 +00:00
hybrid 47ee78456d Add new triangle3d method, suggested by rogerborg. Fix comment. Fix type in multiplication.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2859 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 15:34:38 +00:00
hybrid 02b5e40616 Add ScaleAlongNormals manipulator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2858 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 14:58:37 +00:00
hybrid 372161fa0c Fix missing include.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2857 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 14:43:04 +00:00
hybrid f3bf8b1f2b Fix createMeshWith1TCoords to avoid vertex duplication.
Add a new VertexManipulator interface, which allows to easily add manipulators. Several existing methods have been replaced by this interface. 
Further manipulation schemes will be added later.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2856 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-13 13:46:12 +00:00
hybrid 7a2881da53 Merged revisions 2833:2848 from 1.6 branch. vector3d.normalize cleaned, gui skin bounds check fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2849 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 17:42:53 +00:00
hybrid a78dda33e2 Fix getRotation to handle matrices with scale
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2842 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-11 13:48:59 +00:00
hybrid 0a316fd0ce Add equals method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2837 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 17:52:44 +00:00
hybrid b56ddb920f Merged revisions 2778:2832 from 1.6 branch. Add some Linux keycodes, make skin name arrays safer, disable dx8. Please note, the last merge was from wrong repository, now everything is up to date again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2835 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 16:40:58 +00:00
hybrid 45d10d0f05 Move Ogre loader to bone supporting mesh loaders
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2828 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 13:29:08 +00:00
hybrid 1aa521654a Fix irrArray interpretation of free_when_destroyed. Some more cases need to be handled differently. Changes.txt updated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2826 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 11:55:10 +00:00
hybrid e2b8f785ca Fix illegal memory access on push_front, and merge push methods into one base function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2825 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-10 09:51:13 +00:00
hybrid c35ca282d2 Add Nebula device archive reader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2820 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 17:05:46 +00:00
hybrid fcf0229a92 Fix typos.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2818 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 16:58:23 +00:00
hybrid cf8c269ffc Rename MoveTo_ methods in SSkinMeshBuffer for proper Irrlicht naming scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2817 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-09 09:48:29 +00:00
hybrid 1bb093d561 Add BlendFunc support for MRTs under OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2810 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 18:07:31 +00:00
hybrid 4030c50364 Add support for mrt separate blend and colormask in OpenGL. Update OpenGL extension headers to latest version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2809 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 17:36:20 +00:00
hybrid 91e86f4c9c Add MRT support for OpenGL and Direct3D9. This patch is heavily based on the code from Nadro. This version supports also special render targets for OpenGL, and is already prepared for further MRT extensions such as per-target blend support. The d3d9 version is not yet tested.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2808 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-06 16:53:35 +00:00
hybrid 21a52f9317 Slightly reorder the members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2799 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 13:44:58 +00:00
hybrid de53c9b789 Properly reduce the polycount of the sphere until within allowed range.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2794 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-04 09:02:37 +00:00
hybrid 95b4283a27 Split method suggested by obscurusnox added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2792 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 23:52:33 +00:00
hybrid 68a7f4b11a Add rogerborg's irrString assignment allocation patch and a testcase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2787 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 16:45:39 +00:00
hybrid c8570dca84 Constification of getter return value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2784 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:42:15 +00:00
hybrid 22fdb7130b Put method into class scope.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2783 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:35:55 +00:00
hybrid 82fc088f15 Add typedefs for better readability.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2782 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-03 09:26:55 +00:00
hybrid 7713cddaf8 Merged revisions 2748:2778 from branch 1.6. A few bug fixes (wrong drop/grab, normals handling, rotation animator) and many doc fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2780 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-02 10:27:15 +00:00
hybrid ddc0a95cd4 Fog serialization patch by pc0de.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2773 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-30 16:21:19 +00:00
cutealien 387f910cf9 New contextmenue features:
- automatic checking for checked flag.
- close handling now customizable
- serialization can handle incomplete xml's
- setEventParent now in public interface
- New function findItemWithCommandId.
- New function insertItem


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2771 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-29 17:04:14 +00:00
hybrid d9e92b0783 Add FPS getter for Animated Mesh SN, add some values in serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2767 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-28 13:42:47 +00:00
hybrid 275874afb1 Merged from 1.6 branch, revisions 2684:2747. Windows serialization fix. Memleak in STL and LWO loader fixed. CursorControl under Windows fixed. CE compilation fixed. Example 21 for Linux fixed. IFileSystem and IFileList additions. Toolbar::addButton fixed. Device::run fixed. Anti-Aliasing on debug rendering disabled. Documenation updated.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2748 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 18:06:57 +00:00
hybrid 2917a98867 Add possibility to add cameras without immediately making them active. Feature request by kkrizka.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2745 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:39:55 +00:00
hybrid 9b4d3cbd11 Some new string methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2743 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 16:02:05 +00:00
hybrid 9178ca932a Add new videodriver method getMaxTextureSize(). Patch submitted by LoneBoco.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2742 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-23 15:44:31 +00:00
hybrid d64c8b9259 Remove virtual from irrString. Probably no one derives from irrString, but this saves some bytes and cycles.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2730 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 15:46:19 +00:00
hybrid eaba16db96 Another lightness calculation method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2727 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-19 12:28:14 +00:00
hybrid ed29e8ad15 Make some convenience functions non-virtual
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2725 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-17 21:10:54 +00:00
cutealien 1818454023 MessageBox supports now automatic resizing and images.
Deprecated EGDS_MESSAGE_BOX_WIDTH and EGDS_MESSAGE_BOX_HEIGHT.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2710 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-14 13:28:20 +00:00
monstrobishi a897201597 - Set default tolerance for s32 core::equals to 0 (Was 1).
- Added tests to vector2d and vector3d regression tests for 0 to 1 equally using the s32 data type (Related to previous change).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2707 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-02 21:15:17 +00:00
cutealien 10201179ea fix rounding problem in IGUIElements which have EGUIA_SCALE alignments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2697 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-21 19:57:08 +00:00
hybrid 64ad07a38e Merged from 1.6 branch, revisions 2665:2683. External creation of CSkinnedMesh. Texture matrix bug fixed. obj loader fixed. Divide by zero checks. Some API methods renamed. Strict aliasing fixes. Collada loader fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2684 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-09-09 14:30:44 +00:00
hybrid 157cd67caf Merged revisions 2622:2663 from branch 1.6. SMaterial bug, MS3D patch, LWO fix. Better Shift recognition under 2in32. D3D depth buffer MSAA problems fixed. string<c16> changed to io::path. Fix 2dimagebatch, add better mtl file finder. Fix some OpenGL extension checks. Fixed x86-64 warnings. Export symbols in gcc4. Scolling in GUITab fixed. Fixed PixelBlend16 and SW driver. FPS cam stuttering fixed. OSX project additions. New scene parameter to ignore obj's mtl files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2664 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-24 09:12:27 +00:00
cutealien 2f9c3864e7 Add setTabMaxWidth to tabcontrol (backport from 1.6)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2651 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-20 08:03:10 +00:00
bitplane 62442a5240 Added EGDS_TITLEBARTEXT_DISTANCE_X and EGDS_TITLEBARTEXT_DISTANCE_Y to GUI, submitted by FuzzYspo0N
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2613 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-16 00:28:43 +00:00
hybrid 0b7c2b28f2 Resolve include order for float.h and local defines.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2604 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:38:14 +00:00
hybrid 217c8a316f Merged revisions 2577:2601 from 1.5 branch: fast_atof bugfix. Updated libpng to 1.2.39
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2603 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 23:18:04 +00:00
hybrid 6acdce5021 Add missing COUNT enum. Add FLT_MAX define if missing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2601 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 17:17:37 +00:00
hybrid af952595c6 Add methods for maximizing and restoring windows again. Some implementations are still empty, but we need the interfaces at least.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2600 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 16:51:46 +00:00
bitplane b41ae55899 Option to compile without the different archive loaders. Added GUI editor to codeblocks workspace
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2597 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 06:45:50 +00:00
bitplane c3240d1561 Fixed Quake3Explorer and added codeblocks project. Ensure paths in createFileList end in /, fixed bug in mountPointReader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2596 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-13 05:28:19 +00:00
bitplane cc173d1126 API Change! File archive API tidied: CFileList now takes care of removing paths lowering case, finding files, it can hold directory trees and is populated by the filesystem and archives. Archives now inherit it and return a const IFileList pointer rather than implementing each method and requiring special entry types in the API. createFileList works with the virtual filesystem. Separated the mount point stuff from the zip reader to its own files. Added GZIP archive type, fixed problem when loading files without names in gzips. Fixed a crash in the file dialog when the file list was null.
todo: update projects, test properly on Windows and OSX, add #defines for archive loaders

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2590 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 10:31:30 +00:00
bitplane af7cd5395c Added const binary search method to array along with warning: it will use linear_search if the array is not sorted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2588 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-12 09:49:25 +00:00
cutealien c0817da71c Adding a comment to updateAbsolutePosition.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2587 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-11 03:44:37 +00:00
hybrid 8b0a0f4d8b Add a general 2d render method. This method accepts vertex and index lists, and needs textures being set via setMaterial before the call to this method. This method is not implemented in the sw drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2586 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 21:58:14 +00:00
hybrid 7c4b5a1673 Remove WCHAR_FILESYSTEM from non-windows systems.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2582 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 08:30:34 +00:00
hybrid 10f658b9da Fix missing GUI element name, found by loverlinfish.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2567 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:09:23 +00:00
hybrid 03da02bd0e Move color check method to IImage to make it publicly available.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2551 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 22:01:23 +00:00
hybrid 13fb0bb3ac Add support for scaling button images to fit.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2548 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-03 12:18:47 +00:00
monstrobishi 881bb1952f - Added sprite bank draw batching. (Performance improvement is negligible unfortunately, wait for sprite bank VBOs)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2544 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-02 04:55:56 +00:00
hybrid ffb7a5c334 Merged revisions 2485:2528 from 1.5 branch. Updated changes.txt. Fix for getAngle. Font handling fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2529 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 09:29:18 +00:00
hybrid 3ef1b18308 Fix eol-style for all code files to CRLF for simpler file handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2525 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-30 07:58:33 +00:00
hybrid 7e5822ec2c Fix eol-style for all code files to native.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2521 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 11:45:59 +00:00
bitplane 24bbe96c9c A couple of cosmetic things I forgot to check in a while ago.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2514 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:18:31 +00:00
bitplane c0170c7c48 Allow multiple device types compiled in at the same time. Renamed _IRR_USE_LINUX_DEVICE_ to _IRR_USE_X11_DEVICE_, added missing platform for Windows CE. Currently only tested in Linux (X11, SDL, console)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2513 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-28 17:09:24 +00:00