Commit Graph

36 Commits (d5eff56acd93fd193d3bbeeb5e6f38478d969b28)

Author SHA1 Message Date
Rogerborg a603abe03a http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=183427
Add IFileSystem::createMemoryWriteFile() to allow writing to memory.
Replace CMemoryReadFile with CMemoryFile that also implement IWriteFile.
Add an IVideoDriver::writeImageToFile() overload that takes an IWriteFile.
This allows writing (e.g.) screenshots to memory, rather than directly to file.

New unit test added to test the new functionality.  Tested on Windows with VS2005 and C::B. I'll do Linux ASAP.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2081 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-16 14:19:38 +00:00
Rogerborg 94a1346a5c Adding an optional light manager that allows hardware lights to be turned on and off before each scene node is rendered. This can be used to produce "zoned" lighting.
If a light manager is not registered, the existing behaviour (activate the closest lights to the camera) will be retained unchanged.  New example project added to demonstrate the usage, and regression tests and existing samples run.  No regression test for the light manager yet, since I am more interested in not regressing the default behaviour.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2064 dfc29bdd-3216-0410-991c-e03cc46cb475
2009-01-12 10:55:39 +00:00
hybrid 7a1fac9dfb Merged revisiosn 1851:1883 from 1.5 branch. unit tests and severla bug fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1884 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-29 22:35:56 +00:00
Rogerborg 8ddbcc6790 Add static lib configurations for all VS builds. Add a comment to IrrCompileConfig.h to explain that _IRR_STATIC_LIB_ needs to be defined in both the Irrlicht and application builds.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1768 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-17 11:52:40 +00:00
hybrid 75ee82d7c9 Added particle scale affector, made by Sudi.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1745 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-14 13:17:57 +00:00
Rogerborg ab5d88da77 Add basic joystick support on Windows and Linux, with an option to compile it out. winmm added to all .dsp/.vcproj/.dev projects. Example 04.Movement updated to demonstrate the functionality. Tested with 1 USB joypad on WinXP and Ubuntu 8.04 (via VmWare).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1687 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-05 02:07:27 +00:00
hybrid 8fa3b9e570 Added missing header file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1670 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-11-03 10:13:32 +00:00
hybrid a55e2d6b0a Added .obj writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1542 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-09-05 16:40:33 +00:00
hybrid ea335d936a Removed unused jpeglib files from project files. Mentioned by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1518 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-08-28 15:06:35 +00:00
hybrid daeb4d0412 MY3D loading bug fixed. Some more code cleaning, removed the my3d stuff file.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1357 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-05-30 12:31:06 +00:00
bitplane f524ab2b03 ISceneNodeAnimator now inherits IEventReceiver, cameras send events to their animators. FPS and Maya cameras are now animators.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1321 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-04-24 21:39:22 +00:00
hybrid 638104c129 Added VolumeLight scene node and LWO loader to project files and config.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1195 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-21 08:54:46 +00:00
teella 91d07a7980 added Volumetric lighting to Makefile and Irrlicht8.0 (VC2005) project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1161 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-06 13:24:27 +00:00
hybrid 6966af90aa Fixed old file name, found by MasterGod.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1156 dfc29bdd-3216-0410-991c-e03cc46cb475
2008-01-04 22:05:44 +00:00
bitplane aab1dfa7cb Added StarSonata GUI patch from the tracker, const corrected. Fixed some bugs and changed the style and behaviour of the tabs. Tables aren't fully tested and don't serialize properly yet.
Changed gui editor to show off and test the new tab features.
Updated project files and makefile, have only tested vc8 and dev-cpp. Didn't know how to do the OSX project so I'll leave it for Dean.
Moved EGUI_ALIGNMENT into separate header.
Added getArea and getVolume for bounding boxes, no real reason for them.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1124 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-22 07:49:29 +00:00
hybrid d60c4cc3cb Missed the WAL file in project files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1066 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:56:10 +00:00
engineer_apple 0efce9c9a2 -------------------------------------------
Changes in version 1.4 (... 13.11.2007)
- Fixed somed CQuake3ShaderSceneNode problems.
- Changed BurningsVideo internal Vertex Format. version changed to 0.39
- SceneManager:
   Removed the seperate rendering states for quake3 Shader Scene Nodes.
   Nodes are now solid or transparent. ( but still more states are needed )


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1047 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-13 14:36:17 +00:00
bitplane d55dc0f63c Added a warning when loading .ms3d v4 files, as not all of the file is loaded
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1041 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-08 12:06:41 +00:00
bitplane 31afde9563 Fixed modal screen flicker, removed remainders of the old focus code, tidied vc8 project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1003 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-25 21:54:45 +00:00
hybrid 565c5bfebd Finally made the PPM loader, as promised.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@996 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-21 18:11:00 +00:00
bitplane 490609e5e9 fixed vc8 project
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@987 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 15:58:58 +00:00
hybrid df946a1ce6 Removed unnecessary irr namespace prefixing.
Added STL mesh file format reader and writer. This is a pretty simple format, but I wanted to try the mesh writer interface.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@983 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 14:08:28 +00:00
hybrid 882504d426 Removed some extraneous win32 libs, patch by rogerborg.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@965 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 07:26:21 +00:00
bitplane e87832050e added IMeshManipulator::createMeshWelded to copy a mesh with welded vertices. removed IAnimatedMeshX from the vc8 project.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@944 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-11 21:47:32 +00:00
bitplane 1d7eea602c updated vc8 project. fixed two small x loader bugs
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@932 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 08:39:21 +00:00
hybrid 647356f7f9 Added MSVC support for sprintf_s
Added copyright notice to all platform libs
Removed some (hopefully) unused libs

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@909 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 15:21:47 +00:00
hybrid a1e7be3375 Fixed the win32 project files.
Fixed more problems with rounding and s32/f32 changes for animated meshes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@904 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 09:31:56 +00:00
hybrid bda0b6e35f Merged SkinnedMesh branch 658:895 into trunk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@896 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 18:51:42 +00:00
bitplane 9e4d29dd2b CuteAlien's menu changes and fixes, CuteAlien/StarSonata's coloured listbox item extension.
Added a close event for windows (and in future other elements), absorbing this event will prevent the window from closing.
Used the new skin icon in the gui editor's resize button.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@879 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 23:37:24 +00:00
hybrid b55f911e86 Added the new particle files
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@874 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:28:25 +00:00
hybrid a26aa2c57a Removed some unused object files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@831 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:30:39 +00:00
bitplane 4e4c393d41 Added IrrCompileConfig define to compile without GUI.
Fixed a couple of spelling mistakes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@809 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-26 05:30:19 +00:00
bitplane e5dbed93dd Added navigation through the GUI using tab and the shift and control keys. Added keyboard navigation for most elements. Fixed that annoying bug where you had to click twice to change focus.
Added IGUIElement::isMyChild, isPointInside,  SEvent.GUIEvent.Element. 
Changed setFocus and removeFocus to return bools.
changed quaternion::toAngleAxis to use iszero. 

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@763 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 07:03:54 +00:00
bitplane 1f1006a177 Added CuteAlien's IGUISpinBox.
Added setDrawBorder to IGUIEditBox and IGUIStaticText. 
Added setTextAlignment to GUIEditBox and IGUIStaticText, for text justification and vertical alignment.
IGUIEditbox now supports multiple lines using setWordWrap and setMultiLine.
IGUIElement now calls getter and setter functions when serializing, in case of getter/setter overrides.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@745 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-30 23:30:40 +00:00
hybrid 8fc1ed5196 Split OpenGL extension stuff into new file which is inherited by the driver in order to keep backward compatibility. The handler is not automatically created and thus has to be manually updated sometimes. Many functions and pointers are still missing...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@689 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 23:31:17 +00:00
bitplane c00ce1d372 Moved everything to /trunk
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@643 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-20 18:03:49 +00:00