117 Commits

Author SHA1 Message Date
hybrid
a6e94cc3e9 Changed name and signature of getOperationSystemVersion, which is now correctly called getOperatingSystemVersion. Also changed the internal type and OSOperator creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3778 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-06-02 20:18:54 +00:00
cutealien
cbc8f22484 Sorry, outcommented GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB now as it crashes when set to true on 32-bit Linux and crashes when set to false on 64-bit Linux.
The error is always: "No doublebuffering available." followed by "Fatal error, could not get visual."


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3759 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 20:37:59 +00:00
cutealien
07a43cfcaa Add pointer-check for cursor before update to avoid crash when window generation failed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3758 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 19:42:57 +00:00
cutealien
1f1df157de glxChooseFBConfig needs pair parameters, I think GLX_FRAMEBUFFER_SRGB initialization was probably meant to be as in this change (crashs otherwise).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3756 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-26 18:48:09 +00:00
hybrid
92f1299cd2 Add flag to enable sRGB correct color calculations (e.g. blend and lighting). This allows for much better color calculations, but requires to change the explicitly defined colors in the code to be converted to linear color space.
Changed many init routines to use SIrrlichtCreationParameters struct instead of many single parameters.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3729 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-05-19 20:07:13 +00:00
hybrid
5e4d495dcc Bump copyright dates to 2011.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3556 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-14 13:24:40 +00:00
hybrid
d21c24b15e Fix directory recognition in ZIP reader. Added tests for findFile with and without directories.
Fix warning message in CAnimatedMeshSceneNode
Change C-cast to reinterpret in CIrrDeviceLinux

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3548 dfc29bdd-3216-0410-991c-e03cc46cb475
2011-01-07 23:55:58 +00:00
cutealien
8f41c9bf9f Fix compiling on Linux (was just a namespace thing).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3511 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-15 19:52:29 +00:00
hybrid
d9c9de5158 Add a new texture lock mode for write-only access. The lock method has changed for this. Support is only implemented under OpenGL so far.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3510 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-12-14 23:32:54 +00:00
hybrid
61d232290f Fix cleanup in case of a failed visual creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3432 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-11-07 20:17:52 +00:00
cutealien
4a5a8ef7f4 Bugfix: don't clear cursors in linux-device after the display has been closed already. Fixes crashes on application shutdown with more than one device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3418 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-09-19 21:11:39 +00:00
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
engineer_apple
d44e436769 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@3331 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-07-05 09:37:38 +00:00
cutealien
710b195d7e Remove wrongly added drop of cursorcontrol and document it instead.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3303 dfc29bdd-3216-0410-991c-e03cc46cb475
2010-06-04 21:12:57 +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
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
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
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
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
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
a0aebc868b - Bugfix: Mousewheel no longer sends EMIE_MOUSE_WHEEL messages twice on Linux.
- Further cleanup/improvements to example 22 MaterialViewer


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2974 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-12-04 00:58:09 +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
624abae3f8 fix type conversion.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2852 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-11-12 21:51:30 +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
b920e1bfbc Simplify window generation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2760 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 12:55:59 +00:00
hybrid
3a29e0bbc1 Merge fullscreen resolution reset into new method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2759 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:28:24 +00:00
hybrid
83e2ed8554 Separate fullscreen resolution method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2758 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-10-27 10:18:51 +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
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
hybrid
3a2b49ca30 Add glx extension function pointer definitions to source code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2584 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-10 11:01:28 +00:00
hybrid
7f2a9860f4 Add gamma support to X11 device.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2573 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 16:37:02 +00:00
hybrid
bc07bd4240 Fix glx extension function names.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2570 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 15:15:34 +00:00
hybrid
c94314029e Fix build with EXT_POINTERS disabled.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2568 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 12:51:07 +00:00
hybrid
cbdb585e04 Change Linux device to use GLX extension pointers, adapt OpenGL init to the win32 scheme.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2565 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-06 08:51:18 +00:00
cutealien
68b2d3e126 Initialize glxWin in constructor
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2556 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-08-04 23:57:03 +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
40fe8510c2 Fix line ending.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2518 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-29 08:46:37 +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
cutealien
72d4a362db Fix problem found by pcOde that release-events from keys can happen to be 1ms later than the pressed event.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2499 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-26 18:39:12 +00:00
hybrid
e6b44d8605 Added EXP2 fog distribution.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2480 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-15 21:39:25 +00:00
cutealien
01339feefc - Add mouse events EMIE_MOUSE_DOUBLE_CLICK and EMIE_MOUSE_TRIPLE_CLICK for Linux, Win32 and SDL.
- Fix compiling of SDL on Linux (sorry, was my fault)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2468 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-12 03:54:01 +00:00
hybrid
8486bddd81 Remove wrong event method, shouldn't go into the repository...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2465 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 12:55:48 +00:00
hybrid
6375ee4225 Fix indentation - Note to all: We use tabs...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2464 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-10 09:05:19 +00:00
hybrid
9f83642a95 Avoid window destruction if using external window. Patch by tp4me.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2461 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-07-09 13:01:45 +00:00
hybrid
0fa0ac5c0f Fix GLX extension handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2432 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 20:32:13 +00:00
cutealien
cc1e871092 Remove some debug-code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2431 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 15:05:07 +00:00
cutealien
2221cee889 - IOSOperator::getTextFromClipboard returns now const c8* instead of c8*
- Support for copy&paste on linux (X11) added (fixing bug 2804014 found by Pan)


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2430 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-24 14:44:51 +00:00
cutealien
da870385bd bugfix for 2795321 found by egrath: Don't rely anymore on broken XkbSetDetectableAutoRepeat.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2428 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-20 09:22:51 +00:00
cutealien
17f879c7b0 Oops, EMBSM_EXTRA1 and EMBSM_EXTRA2 not supported on linux, so removed from device and added comment.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2409 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-06-02 16:09:14 +00:00