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
hybrid
7909a00d6d
Update render context switch code, should work under windows now.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3018 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-07 13:47:56 +00:00
cutealien
0a3800376c
Fix incorrect cursorpos for resizable windows on Windows Vista (found and patched by buffer)
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3017 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 23:15:37 +00:00
monstrobishi
b0bc19fd7a
- Just felt like saying hi ^^
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3016 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:40:13 +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
1e9b87e804
Fix material reset in 2d setup for proper render state reset.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3014 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 22:20:37 +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
e5bcc47079
Add lzma files to other project files.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3007 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-06 10:44:04 +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