cutealien
35deb8bf9a
Fix some ignore files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4738 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 17:30:43 +00:00
cutealien
be8b58503a
IGUIEnvironment::getNextElement now public (was only in CGUIEnvironment before).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4737 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 16:42:24 +00:00
cutealien
2c9d9abd57
- Add an overwrite mode to editbox. This is patch #275 provided by Adam (aka kingadami)
...
https://sourceforge.net/p/irrlicht/patches/275/
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4736 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-26 00:14:17 +00:00
cutealien
920b125bc2
Add serialization for the CGUIImage::DrawBounds stuff from last check-in.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4735 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 23:38:12 +00:00
cutealien
ff7eee0801
Add IGUIImages::setDrawBounds/getDrawBounds to allow coding stuff like progress bars.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4734 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 23:28:01 +00:00
cutealien
2c7c73c5ec
Irrlichtify variable names (membervariables start upper-case).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4733 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 17:18:15 +00:00
cutealien
3fc1052725
Improve documentation for tabcontrol.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4732 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 16:36:25 +00:00
cutealien
98f6ce2a00
Write (subjectively) nicer xml's by using slightly different linebreak rules.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4731 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 16:04:57 +00:00
cutealien
d2d6088917
Add IGUIImages::setSourceRect/getSourceRect to allow using only parts of an image (can also be used to mirror and scroll them).
...
Thx @Nalin and @StarSonata who both proposed patches for this in the past.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4730 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-25 13:42:08 +00:00
cutealien
8e6db671da
Reduce a bunch of log messages in B3DLoader from ELL_INFORMATION to ELL_DEBUG (thx@ entity for telling).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4729 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-21 17:32:28 +00:00
cutealien
008f14bcdf
- Collada dae-loader now set's the vertex colors (thx @sf17k for report and test-models)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4727 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 21:08:54 +00:00
cutealien
0dbead2597
Change the rest of the attributes interfaces to pass parameters by const ref instead of per value.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4726 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 20:49:02 +00:00
cutealien
5ee9c208b4
Ensure vector3df and all classes containing a vector3df are passed by reference instead of per value. Thanks @Danyal Zia for the patch ( #280 ).
...
This is breaking the IAttributes interface - so anyone who derived from that will have to update his implementation. More changes in that interface probably coming later today.
The idea behind the patch is preparing the engine for SSE support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4725 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-15 20:14:32 +00:00
cutealien
0adb750092
Fix SDL device compilation. VideoDriver is now always dropped after Scenemanager and FileSystem after those two to prevent memory-leaks in some situations.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4724 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-14 15:13:41 +00:00
cutealien
3401273272
Fix c::b project obj folder names. Some static builds had used the shared folders (thx @ gerdb for reporting)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4723 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 23:18:00 +00:00
cutealien
bd0b92996e
Merge branch releases/1.8 revisions 4685 to 4721 into trunk:
...
- C::B project files work again on newer Linux-distributions which have cleaned up their dev-lib dependencies.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4722 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 23:07:59 +00:00
cutealien
20b347c938
Fix a reorder warning.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4720 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 22:24:59 +00:00
cutealien
84de6cb206
triangle3d constructor and line3d::getIntersectionWithSphere passing vectors now as const-ref instead of per value. Thx @nemo for reporting.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4719 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-13 17:08:46 +00:00
cutealien
c7bc66a2c6
Mention another fonttool to create Irrlicht fonts (by Armen).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4717 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-11 18:04:06 +00:00
cutealien
940d2e4238
Fix a bug in new meshtextureloader - don't set old TEXTURE_PATHS always but only if people still use those parameters or we overwrite the new way to set paths.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4710 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 17:33:35 +00:00
cutealien
a969bed775
Add some changes I forgot to the changes.txt
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4709 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 16:08:51 +00:00
cutealien
b4958ab80f
Remove the Dev-C++ project file. We're telling people in the forum since years now that we don't support it whenever some unlucky soul tries still using it.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4708 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 14:21:50 +00:00
cutealien
f763315a9b
Improve documentation for new texture-loader interface and mention that the old solutions are deprecated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4707 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 13:57:08 +00:00
cutealien
4d45ef2ec7
IMeshTextureLoader could be simplified further with the recent ITexture addition.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4706 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 13:07:06 +00:00
cutealien
359ae63b53
Add ITexture::getSource which can be used to check where the last IVideoDriver::getTexture call found the texture. Thx @Bobbo for helping me to find a better enum name ;-)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4705 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 12:55:15 +00:00
cutealien
6b4dc7c50a
Simplify IMeshTextureLoader interface - getRecentTextureName was not needed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4704 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-03 12:07:46 +00:00
cutealien
bbc215fdc5
Add IMeshTextureLoader interface and replace texture-loading algorithms in most meshloaders.
...
Previously each meshloader had implemented texture loading independendly. This had caused a lot of redundant codes and behaviour
between different meshloaders was often different. So we have now one common interface which should be used by all meshloaders.
This also allows deprecating TEXTURE_PATH attributes as those paths can now be set by that interface and for all meshloaders using it.
I have replaced the codes for the 3DS, B3D, CSM, Collada, DMF, LMTS, LWO, MY3D, OBJ, OCT, Ogre, SMF and X meshloader.
Not changed (just using old code) are: MS3D (I forgot that one), CIrrMeshFileLoader (haven't figured out how it works yet).
STL and PLY both don't load textures and need no changes.
MDL, MD3, MD2 and BSP all work a little different (the textureloading there isn't implemented inside the meshloaders). Those could maybe still be adapted.
Stuff still needs a lot more test (unfortunately I don't have test-models for most formats...), but wanted to check it in already to get some feedback.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4703 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-02 00:56:46 +00:00
cutealien
7d44da69a4
Improve documentation.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4702 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-03-01 11:46:31 +00:00
cutealien
f4fbe1b502
Second try on fixing some rounding problem with vector3d<s32>.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4699 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-20 19:45:54 +00:00
cutealien
f0058fbd66
Prevent some precision troubles on some compilers when working with vector3d<s32>. Thx @AReichl for bugfix.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4698 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-20 14:36:29 +00:00
cutealien
eadd14e3cd
- CGUICheckBox no longer gives up focus on EMIE_LMOUSE_LEFT_UP (thx @Demre for reporting http://irrlicht.sourceforge.net/forum/viewtopic.php?f=1&t=49598 )
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4696 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-19 10:43:03 +00:00
hybrid
7e28379c42
Add new test file to project files
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4695 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-18 23:19:46 +00:00
cutealien
ee19b6b5e8
Bugfix: IGUIElement::addChild now prevents setting an element as it's own child (fixes for example a crash in the GUI-editor).
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4694 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-18 12:02:22 +00:00
cutealien
d697587211
Implement setWindowSize for Win32 device.
...
Note about implementation: There is already IVideoDriver::getScreenSize() which is more or less the getter for this function. But I don't think it belongs in IVideoDriver and also this function is about the window and not the screen obviously. So might make sense adding getWindowSize and deprecating getScreenSize, but that needs further changes in GUI. For now I just added a comment and let the rest be as it was.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4693 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-17 14:57:03 +00:00
cutealien
d6f7029221
Add IrrlichtDevice::setWindowSize (implemented only on X11, will try Windows next).
...
A few minor changes to the GUIEditor:
- Displays the window-size
- Update (rarely) when Window now active
- Sleep after drawing to prevent update-delays on resizing
- Driver choice now only for available drivers
- Kick out the "Tools" tab as it's unused so far and just irritating users.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4692 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-17 12:01:07 +00:00
cutealien
0fdb7d626b
Fix linking in c::b project file for GUIEditor on Linux.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4689 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-14 12:32:24 +00:00
cutealien
e5febe10a7
Merge branch releases/1.8 versions 4616 to 4684:
...
- Makefile for the new IrrFontTool links now correctly to libfontconfig
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4685 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 12:39:00 +00:00
cutealien
0b89236739
update changes.txt
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4683 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:19:10 +00:00
cutealien
26cb207ca5
Bugfix: getFont for xml-fonts now also works for fonts inside archives (thx @Neirdan for bugreport)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4682 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:18:42 +00:00
cutealien
1e828d9a08
Add tests for mergeFilename.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4681 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:17:50 +00:00
cutealien
808515226e
Add function mergeFilename
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4680 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-13 00:17:03 +00:00
cutealien
0b58a6d5d4
Add ISceneNodeAnimator::setStartTime/getStartTime to allow resetting movement animators. This should work for:
...
CSceneNodeAnimatorFlyStraight, CSceneNodeAnimatorFlyCircle, CSceneNodeAnimatorFollowSpline, CSceneNodeAnimatorTexture.
It's also implemented for CSceneNodeAnimatorRotation, but that one currently resets the StartTime constantly (I don't think
it has to, but I have no tests written for animators currently so can't change that for now).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4675 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-02-03 11:58:28 +00:00
cutealien
6f73eca609
Get Irrlicht to compile with IRRLICHT_FAST_MATH on Linux (out-define code which was written for VS and remove #warn which is not a preprocessor command recognized by GCC).
...
Note that I did this just to do some tests against the fast-math functions - and those tests showed a lot of troubles so I still won't recommend using IRRLICHT_FAST_MATH.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4672 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-28 11:32:21 +00:00
cutealien
7ba35d9608
Make key-release events also show the correct Char value on Windows (thx @zerochen for report+fix here: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=49499 )
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4670 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-16 14:01:32 +00:00
cutealien
e4ea165daf
Fix input with numlock-keys on Linux. Thx @zerochen for report and help with bugfixing.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4669 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-16 13:18:02 +00:00
cutealien
94203cd075
Linux version of makedocumentation.sh now works like the DOS version and creates html docs.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4666 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-14 11:00:06 +00:00
hybrid
2892e70174
Add some error checking in test.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4665 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-13 20:05:16 +00:00
hybrid
c4d80bece3
Indentation
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4664 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-13 20:03:49 +00:00
cutealien
b8a5355cf7
Changing calling convention for static lib release fast CPU to Cdecl because FastCall did not actually compile (conflicts with pnglib). Also the same setting is used when compiling as dll, so I guess this setting was simply not tested. Thanks @AReich for reporting. See thread for more info: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=7&t=49462
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4629 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-06 16:20:32 +00:00
cutealien
77ccedb6ea
Minor bugfix for my last check-in. dropBadKeys now finds some more broken frames.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4623 dfc29bdd-3216-0410-991c-e03cc46cb475
2014-01-04 11:56:12 +00:00