Commit Graph

664 Commits (97aa2d4fa373fde65be029513b9ecc1c910ace10)

Author SHA1 Message Date
cutealien 3c0e2b8204 Fix compiling on linux/gcc.
Fix crash in cursors when null-device was used.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3363 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-18 12:07:57 +00:00
hybrid e8fa33e154 Merged from 1.7 branch, revisions 3300-3357. Huge number of bug fixes, mostly in GUI and serialization.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3358 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 22:45:45 +00:00
cutealien 1641e03aac Add IGUIElement::bringToBack (patch written by DtD, although I'm to blame for the function-name)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3356 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-17 18:29:11 +00:00
cutealien 011be981e7 Disabled DDS_LOADER by default.
a) It break 64-bit builds and I'm not deep enough in the format to fix this. Actually from the documentation I found so far the header-format used in the loader looked rather different to me from the format-descriptions I found and Microsoft warned that several dds-versions are out there and loaders
should care about that.
b) I suspect that this loader contains a S3TC implementation, although once again I'm not deep enough in it to validate that. This alorithm is unfortunately rather famous for it's patent as S3 is known to collect fees for it (that's the reason we didn't add that loader before). So users using it should be aware of this. (I think we could work around that at least for hardware-drivers as VideoCards-Vendors have licensed dds and it's possible to pass compressed data directly to the card, but that certainly wouldn't work for software-drivers).


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3352 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-16 21:48:08 +00:00
cutealien d8fbf825d3 - Removed d3d8 again from compile-config (sorry)
- DisplayAdapter parameter should actually be used now (wasn't... thx Yoran for seeing that it didn't seem to do what it was supposed to do)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3346 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-12 14:36:12 +00:00
cutealien 78b7ae1886 Fix compiling on gcc/Linux. Remove a bunch of warnings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3342 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-09 20:55:57 +00:00
engineer_apple 2a8461a4fe - added WAD Archive Loader ( Quake2 (WAL2) and Halflife (WAL3) are supported )
- CFileList
added Offset Parameter to SFileListEntry and removed the private array from the archive loaders.
CFileList::addItem now uses automatic incremental id if id = 0


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3336 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-07 20:27:10 +00:00
engineer_apple 816d5655fc - added Halflife 1 Model Loader
- added Halflife 1 Texture Loader
- slightly changed usage of getMesh ( doesn't effect existing implementation)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3335 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-07 16:16:03 +00:00
engineer_apple ccfcd68a12 added DDS Image Loader
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3334 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-06 12:26:39 +00:00
engineer_apple 7446ed9757 Changes in 1.7.1 (05.07.2010) TA
- BurningVideo 
		- add Normalmap Rendering ( one light only), pushed Burningvideo to 0.46
		- internal vertexformat changed
		- changed fixpoint from 9 to 10 bit fract resolution
		- renamed createBurningVideoDriver to createBurningVideoDriver and uses SIrrlichtCreationParameters like opengl
		- internal interfaces for the trianglerenders unified.
		
	- Example 11.
		changed the light billboards to use the light color. ( green light, green particle, red light red particle )
		allow to disable the bump/parallax on the earth like in the room ( with transparency )


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3333 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-05 09:38:53 +00:00
cutealien 29f6ca002e In IGUITreeView "clearChilds" and "hasChilds" deprecated for "clearChildren" and "hasChildren" (thx @Greenya for noticing)
Same childs => children in a few places in documenatation and variables.
Removed a compile warning in CCubeSceneNode.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3330 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-01 21:20:19 +00:00
cutealien b72110baa1 Fix compiling on VS (thx to joshcryer for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3328 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-26 16:05:38 +00:00
cutealien b80b8c180d Add CGUIEditBox::getOverrideColor and CGUIEditBox::isOverrideColorEnabled (same as GuiStaticText has already. thx to greenya for noticing)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3326 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 22:22:59 +00:00
cutealien e03ff5e739 Add dimension2d::operator- for completeness.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3325 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 21:00:23 +00:00
cutealien 9e10006ac4 Add logging level ELL_DEBUG. Use it in CAnimatedMeshSceneNode::getJointNode to prevent log-spamming for not found names (that's valid usually).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3324 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-24 20:24:25 +00:00
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