Commit Graph

589 Commits (9c33ae93ad8fa622c7efa9c563758e3fb43ab430)

Author SHA1 Message Date
hybrid d9abe1d946 Fixes to make VBOs actually work in OpenGL. Need more improvements, though. Minor fixes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1103 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 16:26:14 +00:00
hybrid e240aeaf91 Fix to compile on non-VBO systems without OpenGL extension pointers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1102 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 09:02:41 +00:00
hybrid 6a714981eb Added initial values, to be corrected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1101 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:05:16 +00:00
hybrid f6f335af7f Some reindentation, minor bugfixes, removed unused members from ExtensionHandler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1100 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-06 00:00:23 +00:00
hybrid b2f55c369b Let md2 animate even with hw buffers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1098 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 21:10:36 +00:00
hybrid 37e2685cc6 Add return values.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1097 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 17:15:18 +00:00
lukeph 2ca8282e00 -- added VBO support --
-so far only the openGL driver is supported, will add dx tomorrow or the next day

-right now to use, go: MeshBuffer->setHardwareMappingHint(EHM_STATIC); but this will be automatic when complete

-code needs a clean up, and the design isn't fixed, I just wanted to get stuff happening :)

-works well with hardware skinning :)

(design: http://img220.imageshack.us/img220/1931/vbo8xy8.png)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1095 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 14:10:28 +00:00
lukeph 51f7a3580d fixed bug from rev 1082
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1094 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-05 09:20:51 +00:00
hybrid 2a7f88fc8e Reindentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1092 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:58:57 +00:00
hybrid fbb1d585b4 Make even more use of meshbuffer vertex access methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1091 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:56:57 +00:00
hybrid f02c10a045 Make more use of meshbuffer vertex access methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1090 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 22:29:00 +00:00
hybrid e548cc90e6 Hide helper variables.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1086 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:44:12 +00:00
hybrid 81ff2ebb72 Provide meshbuffer level access to vertex elements which always exist.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1085 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:42:58 +00:00
hybrid 7e0bcfcf50 Properly reset renderstate. Remove extra no-op.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1083 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:08:36 +00:00
hybrid cce97d491e Some code cleaning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1082 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:07:40 +00:00
lukeph 8bd0195372 CSkinnedMesh::setHardwareSkinning was not returning a value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1081 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 10:06:01 +00:00
lukeph 1abb464b49 -fixed a bug in setting shader constants.
passing arrays were not working, can an openGL programmer check this is now right?

-let the user add a shader without a pixel or vertex shader, as docs state.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1080 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-03 08:03:21 +00:00
hybrid 29b968088a Make use of core::IdentityMatrix. Removed some redundant or unused code. Some minor reorganizations.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1079 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 23:57:20 +00:00
hybrid a691540444 Replace another redundant variable.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1078 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 22:35:42 +00:00
hybrid eed5ae57a0 Merged with 1.4 branch (rev 1051:1075).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1077 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 20:20:41 +00:00
lukeph 5ecaaedbf8 added ISkinnedMesh::setHardwareSkinning(bool on),
right now this only disables software skinning so that hardware skinning can be done externally

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1076 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-12-02 03:36:11 +00:00
lukeph 968c611d6a -fixed bug with joints being one frame off updating their AbsolutePositions when transiting, pointed out by shogun
-optimized CSkinnedMesh::buildAll_LocalAnimatedMatrices()

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1069 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-27 14:05:57 +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
hybrid 590dff3e7e Support alpha values with OpenGL RTTs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1065 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:49:02 +00:00
hybrid 9bb951a23a Added the WAL loader made by Murphy McCauley.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1064 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-21 23:27:21 +00:00
hybrid 8d4304f93f Maybe final fix for VBO extension methods...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1063 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 07:22:07 +00:00
lukeph 26c312e8c9 typo with the openGL extension handler under Linux
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1062 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-19 03:15:55 +00:00
hybrid dd3ce1b8bb Fixed some missing returns in OpenGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1061 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 23:31:25 +00:00
lukeph 4dc79e883f added:
virtual void OnSetMaterial(const SMaterial& material) { }

to IShaderConstantSetCallBack, so the callback is able to set constants based on the properties of the used material.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1060 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 13:03:57 +00:00
lukeph 1e51dbcbe4 added some VBO (vertex buffer object) extensions to the openGL driver.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1059 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:52:06 +00:00
hybrid fd3974a776 Remove wrong file from Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1058 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-18 10:07:55 +00:00
bitplane 1f5444c9ce Fixed menu bug reported by hey_i_am_real, it's now possible to change the font after menu creation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1057 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-17 20:06:09 +00:00
lukeph 7e857cea93 committed getVendorInfo() patch by BlindSide.
seems to work fine in opengl. directx untested

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1055 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 11:48:51 +00:00
lukeph 11a1695773 the vertices normals weren't rotated with the node's matrix when used, in b3d meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1054 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-15 08:35:20 +00:00
hybrid 8d1aef90d6 Warning and project file fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1053 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 09:50:41 +00:00
lukeph 9611bd19bb -fix in:
bool CAnimatedMeshSceneNode::removeChild(ISceneNode* child)
found by ssexton

-added requested getJointCount() in AnimatedMeshSceneNode, which simply calls getJointCount on the held mesh

-added CSkinnedMesh::isStatic()

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1051 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-14 07:35:40 +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
hybrid b5436c6fe8 Linux VideoModeList fix by jef.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1044 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-12 13:42:18 +00:00
bitplane d73565d1a6 Menu fix by CuteAlien.
Bug with double mouse events sent to user receiver, reported by Xplod
Documentation error in IVideoDriver.h

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1043 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-09 21:55:42 +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
hybrid fbdbc934a4 Some code doc updates by Dorth.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1040 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-06 23:29:59 +00:00
hybrid c294fb0a52 Fix MacOSX consts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1038 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-11-02 00:24:27 +00:00
hybrid d3d2f26951 NO_ALPHA_CHANNEL bugfix from KH.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1036 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-20 20:50:25 +00:00
hybrid a61e2d6589 Fixed doc typos mentioned by Dorth.
Added scalar value operations to vector2d.
Reindentation of Q3 code.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1033 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-19 11:43:18 +00:00
hybrid 8f8702c766 Removed umlauts.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1032 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-18 08:02:27 +00:00
hybrid 41e57a3e5d Some doc updates by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1030 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 16:03:42 +00:00
hybrid 56d40c3b4f Avoid problem with missing POSIX symbols.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1028 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-17 08:05:32 +00:00
lukeph 329e8f6c23 added enum E_JOINT_UPDATE_ON_RENDER, for IAnimatedMeshSceneNode::setJointMode
changed IAnimatedMeshSceneNode::animateJoints() to animateJoints(bool CalculateAbsolutePositions=true)

removed ISkinnedMesh::recoverJointsFromMesh, transferJointsToMesh, and createJoints from interface.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1027 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-16 13:34:07 +00:00
hybrid ce4a300234 Fix the variable declaration.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1026 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 22:27:45 +00:00
hybrid 06629a4ba0 Fixed a mem leak in b3d loader, spotted by Ico.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1025 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:27:19 +00:00
hybrid a316fe7361 Make the win32 device close again.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1024 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-15 12:00:23 +00:00
hybrid dcde0eaeb8 Fixed some unpleasant code fragments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1022 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-10 14:07:40 +00:00
hybrid 57ddd994dc Partially reverted the skybox changes, such that now only a right/left texture exchange is needed. Skyboxes are still correctly oriented and other tools are still compatible.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1021 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-05 07:48:53 +00:00
lukeph 98f8e5317c support for positioning joints at an absolute position. Without this support, doing ragdolls would require the inverse of a matrix (slow)
I'll write a tutorial in the wiki for this.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1016 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 04:01:08 +00:00
irrlicht d17d5a260e codeblocks project update
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1012 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-29 08:11:14 +00:00
hybrid ced5e21846 Fixed the skybox textures orientation. They are now displayed non-flipped. Existing skybox textures have to be exchanged and rotated, though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1011 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-28 23:10:53 +00:00
hybrid e7393eddc7 Added a Mesh to 2TCoords converter.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1010 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-28 21:11:30 +00:00
hybrid aa9b94b3ca Fix for proper disabling of mesh writers, by slygamer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1009 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-28 07:27:17 +00:00
hybrid c886103f09 Fixed OpenGL DetailMap with S3DVertex meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1008 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-27 20:45:18 +00:00
hybrid e974ba994b Fix for Win32 closeDevice, proposed by Spintz.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1007 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-27 19:38:08 +00:00
hybrid 97b683c2a1 Fixed compile bug in FollowSpline Animator. Fixed memory leak in .x loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1006 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-27 16:04:03 +00:00
hybrid d7ac9ad1fd Fixed div by zero bug found by TomiZ.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1005 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-27 15:42:35 +00:00
hybrid 738951ff4b Fixed some type issues with sqrt. Fixed rect.isValid to work with all types and avoid useless tests. Cleaned up some variable uses and scopes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1004 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-26 16:18:11 +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 429220dace Added a cast in vector2d to make MSVC happy with integer vectors. Added virtual destructors in factory interfaces.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1002 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-25 16:06:06 +00:00
hybrid 5ecfec331a Fix problems with VC6 and Borland. Some indentation fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1001 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-24 22:41:52 +00:00
hybrid 219e956c0f Start 1.4 beta phase.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1000 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-23 23:14:48 +00:00
hybrid 96b59dd297 Some const fixes from CaptainPants. Warning fix in PPM loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@999 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-23 23:12:06 +00:00
hybrid 71b4579be1 Some image writer fixes for proper directx screenshots.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@998 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-23 18:54:07 +00:00
hybrid 95280da038 Added compiler switches for image loaders and writers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@997 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-22 00:10:21 +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
hybrid 42a7855976 OpenGL Performance tweaks by GnarlyHotep
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@995 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-21 16:34:56 +00:00
hybrid 00d8624a31 Fixed 1bit bitmap conversion. Removed unnecessary ifdefs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@994 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-21 16:20:37 +00:00
hybrid 851eceb09c Big endian fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@993 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-20 22:12:09 +00:00
hybrid 68cd81b194 Split texture layer properties from SMaterial. Changed all texture access etc. in source code and examples. There is also a method to access textures now, which would allow to grab and drop them...
Also disabled dx8 by default.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@992 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-20 15:33:36 +00:00
hybrid 81bfca34f7 Fixed an order warning. Hopefully fixed also one more VC6 error.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@991 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-20 08:13:44 +00:00
hybrid f204f9f4b0 Activate binary write option.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@990 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 20:06:53 +00:00
hybrid 667cdb7520 Scope fix for VC6.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@989 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 19:55:04 +00:00
bitplane 4b2edf78e3 scrollbar fix, updated readme
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@988 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 15:59:46 +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 1a37853f5a Fixed key input for composed characters.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@986 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 15:47:06 +00:00
bitplane b523d0a5bc Listbox double click now times out. Added scrollbar tray clicks and get/setLargeStep
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@985 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 14:42:22 +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
bitplane 240c64cd4f Added ITexture::isRenderTarget and moved OGL render texture flip to the texture matrix.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@982 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 12:52:35 +00:00
hybrid 7566dbad65 This time it's compiling properly. Was a copy-paste error from XVidMode to XRandR.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@981 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 11:10:45 +00:00
hybrid 2f2b51ceb5 Changed access to RandRMode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@979 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 21:52:20 +00:00
hybrid c2fad0d843 Fixed typo in OpenGL extension loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@978 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 14:11:33 +00:00
hybrid 61a5af828e Some fixes for method signature unification and some other C++ fixes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@977 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 14:01:28 +00:00
hybrid 8ac0921468 Removed debug output
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@976 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 12:45:21 +00:00
hybrid 445b40fd3b Made both materials const in OnSetMaterial.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@975 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 12:11:10 +00:00
hybrid be0a677b18 Fixed multi-mesh animations in .x and added face color in case vertex color is missing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@974 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 12:00:03 +00:00
hybrid 8ed622b69a Menu bug fix by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@973 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 07:54:34 +00:00
lukeph 0812b44901 fixed weight bug when more then one mesh in an x file is skinned
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@972 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-18 02:51:06 +00:00
hybrid 81bd54f2fd Cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@971 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 23:32:02 +00:00
hybrid b6ca25020b Removed nonworking stuff
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@970 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 16:14:59 +00:00
hybrid 13b9851487 Another round of constness additions. Almost finished now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@969 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 16:09:50 +00:00
hybrid 13750c0f40 Fixed a core dump in bmp loader and added an array check in b3d loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@968 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 12:16:45 +00:00
lukeph 13d10077a3 added rigid animation support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@967 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 11:09:07 +00:00
hybrid 9779c7a1af Added normals, moved some class members into methods.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@966 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-17 08:30:32 +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
hybrid f74f7586e2 Some more constification, but still not done. Now we have also SEvent in OnEvent as const ref, so most user apps will need some kind of upgrade for the new library version.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@964 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 23:41:55 +00:00
hybrid cca0506230 Some more fixes for d3d8 and tab control.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@963 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 19:10:42 +00:00
hybrid 6f7e2a34c7 Fix the const things for d3d drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@962 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 10:44:05 +00:00
hybrid 08e359784b GUI constification done, other parts still missing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@961 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-16 00:18:13 +00:00
bitplane 966b8bedc7 added defaults to switch blocks to avoid warnings when compiling with -Wall
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@960 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-15 00:55:30 +00:00
hybrid f4bc95371b First larger constification. Made serialization const. Some other constification and signedness changes. Minor other code changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@959 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 22:25:59 +00:00
hybrid f5b57167ae Fix a compiler warning and a comment error.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@958 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 15:12:04 +00:00
irrlicht a5de222314 speed optimization for special case in ONE_TEXTURE_BLEND material. (when no blending is necessary)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@957 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 12:55:12 +00:00
hybrid 75bc99e67a Made Linux event local to event handler. Cleaned up file choosing.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@955 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 09:57:40 +00:00
hybrid efc44f9bf7 More file position data type changes. Also reflecting this in user code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@954 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 09:07:11 +00:00
hybrid 3c066bd472 Changed file position data type to long in order to support large files on 64bit systems. Also added some constification and signedness changes to file classes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@953 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 08:29:18 +00:00
irrlicht fa1534ee60 fixed the problem with drivers claiming they can generate mipmaps althoug they cannot.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@952 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 08:02:42 +00:00
hybrid faecfd46e3 Two attribute type fixes by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@951 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-14 07:45:14 +00:00
hybrid 0d9b30f0a7 Minor changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@949 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 21:31:31 +00:00
hybrid 8a0d790a4b Some constification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@948 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 17:49:04 +00:00
hybrid f583f7dcfb Use methods of the vector class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@947 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 17:47:48 +00:00
hybrid 8772a2cd8d Changed .x loader to use u32.
Added profiling option to Makefile.
Removed some debug code.
Fixed ogre mesh loader using relative paths.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@945 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 17:45:29 +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
hybrid 83703b6e8d Fix OpenGL user clip plane adaption to view matrix changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@943 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 22:49:59 +00:00
hybrid 4997e7d747 Improved binary loader, cleaned up some more things.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@942 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 16:15:36 +00:00
hybrid 658ca725f6 Fixed a severe performance penalty in .x loader.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@941 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 13:24:18 +00:00
hybrid bd88f744f5 Improving binary loader. Fixed some list handling for ascii part.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@940 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 13:11:47 +00:00
bitplane 787009d0d8 Updated dev-cpp project, changed x loader debug messages to use _X_READER_DEBUG define
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@939 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 11:31:43 +00:00
hybrid 38a6a8216c Added string representation for vertex types. Simplified some code, made some methods const.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@938 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-10 09:27:37 +00:00
hybrid b6f54d05f6 Removed debug output.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@937 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 23:10:00 +00:00
hybrid a72b1d0c7d Removed some now unused stuff for braces handling.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@936 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 23:09:06 +00:00
hybrid d6a18858b2 Fixed .x parser for missing whitespaces and delimiters. Some minor changes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@935 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 22:40:28 +00:00
hybrid 2df80134ad Fixed color problem in loader and added to Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@933 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 18:33:00 +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
irrlicht fbd4188b83 added loader for the new .irrmesh format. (CIrrMeshFileLoader)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@931 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 06:52:57 +00:00
lukeph c02aca0029 -skinnedMesh: meshes with weights are still counted as animated for ragdolls, etc, even if they have no animation data.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@930 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 04:53:25 +00:00
hybrid 602d5c1f77 Fix mousewheel response for whole fileopen dialog.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@929 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 23:13:56 +00:00
hybrid 39fc2a426b Avoid destructor on md3 substructures which causes crash due to non-constructed array elements. Fixed color writing in irr mesh writer.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@928 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 22:37:57 +00:00
irrlicht 8a3a2a2ad5 .irrMesh writer implementation finished
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@927 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 15:26:47 +00:00
hybrid 71a1e46d7b Fixed some warnings and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@926 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 10:51:27 +00:00
lukeph e2f8a70349 -B3D loader: support for different TRIS Chunks sharing the same vertex in static meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@925 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 08:57:43 +00:00
irrlicht 2da809bc2a added mesh writing features. COLLADA file writer is finished, .irrmesh writer is under construction.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@924 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 06:10:52 +00:00
irrlicht 7b734957d8 removed getVertexPitch() method
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@923 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-08 05:06:47 +00:00
hybrid 7c965509aa Fixed the unary minus bug reported by elvman.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@922 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 18:22:50 +00:00
hybrid 5f25e2100b Removed some unnecessary arrays. Added shininess support. Added some additional sxmesh members.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@921 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 16:09:14 +00:00
hybrid b299e9c4ea Reverted some stuff od the optimized .x splitting back to working version from Luke. Simplified some mesh loader parts in several formats.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@920 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 14:18:47 +00:00
hybrid 04ed098fe8 Fix the relative addressing for all types.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@919 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 08:57:15 +00:00
hybrid fb1d24d219 More compiler warning fixes. Switched automatic culling without camera off as suggested on the forum.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@918 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 08:40:19 +00:00
irrlicht 5a4c66cd67 visual studio 6.0 compatibility
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@917 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 06:29:57 +00:00
irrlicht b85584c8e1 renamed IUnknown to IReferenceCounted
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@916 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 06:11:47 +00:00
irrlicht a10c8644b5 removed some evil visual studio compiler warnings
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@915 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-07 05:55:34 +00:00
hybrid 4cec57051e Some cleanup, texture loading bug fix reintroduced.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@914 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 23:20:02 +00:00
hybrid 9b26c928d5 A first fix to get normals right.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@913 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 16:14:33 +00:00
bitplane 1a5f36f683 fixed memory leak
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@912 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 12:38:06 +00:00
engineer_apple 097ab3481c sync with 80.sln
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@911 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 11:52:17 +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 383d3101c9 Some code cleanup for animated meshes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@908 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 13:10:36 +00:00
lukeph 2d24d11b40 mirror doc change, updated project file
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@907 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 12:35:19 +00:00
hybrid e3d76c04a5 Minor cleanup and type usage clarifications.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@906 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 12:11:28 +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 2c7b3dbee7 Put even more messages into debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@902 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:59:46 +00:00
lukeph a03e241be7 updated docs in AnimatedMeshSceneNode for the new commands.
added: getJointNode(u32 jointID)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@901 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:54:40 +00:00
hybrid 2551458919 Renamed core::round to core::round_ just as for the other replacement functions already available in standard headers. Fixed a signed/unsigned warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@900 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:51:10 +00:00
hybrid 86af24dfd6 Put debug output into debug mode.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@898 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 22:23:51 +00:00
hybrid a2b4dde31f Fixed the irrMath problem with c-math round function. Fixed a big endian problem in ms3d. Fixed a warning from endif comment. Changed version to alpha as the current repository is not feature complete.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@897 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-04 21:54:48 +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
hybrid f3a8858e09 Fixed inline assembler for gcc in irrMath. Removed some code using the irrMath functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@894 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-03 15:15:12 +00:00
hybrid 84bd4a1090 Simple typo fixed, but screenshot for d3d still does not work correctly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@892 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 22:18:46 +00:00
hybrid 053c54aba4 Remove glu from Makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@891 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 19:54:07 +00:00
hybrid 18f0aebac6 Fixed manual mipmap generation and removed the last glu function.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@889 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-02 19:45:17 +00:00
hybrid 999d54056b Fix a null driver problem.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@887 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-31 20:38:00 +00:00
bitplane 6b742e903b added password option for edit box. removed some credits as requested
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@885 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 19:07:26 +00:00
hybrid 8613c9cbd6 Manual autorepeat test. Similar to what Juliusctw suggested long time ago. But simpler now.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@884 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 09:24:41 +00:00
hybrid c25f29a5f8 Properly fixed the OpenGL extension search. Also removed the glu part in order to get rid of glu at all.
Added a Linux keyboard fix posted by denton. Now, Linux also sends just KeyPressed for Autorepeat, instead of alternating KeyReleased-KeyPressed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@882 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 08:26:20 +00:00
bitplane e8b042f29e OpenGL extension handler bug reported by Nadro
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@881 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 03:07:56 +00:00
bitplane cf288403b3 gui button bugfix posted by TomiZ
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@880 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-30 02:00:13 +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 6b0daf793d Fixed some nasty bugs I introduced the last days.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@875 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 21:15:35 +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 218f837bff Added also the particle emitters from irrSpintz.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@872 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:13:38 +00:00
hybrid 65fc86e49c Avoid crash if vertex data failed to load.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@870 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:09:32 +00:00
hybrid 9a1db25194 Added particle affectors with interfaces from IrrSpintz.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@869 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 00:17:46 +00:00
hybrid 0f0a06c20e No smoothing group support, yet. Only some structures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@868 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 22:37:57 +00:00
hybrid 4f27057696 Fixed texture loading for .x files. Was trying to load the directory instead of the texture in the first try.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@867 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 22:36:54 +00:00
hybrid 0204279850 export irrXML functions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@866 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 21:21:05 +00:00
hybrid b5270f9da4 Changed the OpenGL header include scheme for OSX. I hope that it does not break anything as I cannot compile it under OSX. Also some indentation for the OSX stuff.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@865 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:39:23 +00:00
hybrid d6f8edae35 A first few fixes concerning strict-aliasing mentioned by vapier.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@864 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-28 13:37:43 +00:00
hybrid 53e235343b Converted to dos line-endings.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@862 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-24 11:42:41 +00:00
hybrid 80c4ef0471 Fix the translate order in OpenGL driver once more ;-)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@861 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 21:30:30 +00:00
bitplane 04558e16a2 updated xcode project file, submitted by daredemo.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@860 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 12:32:00 +00:00
bitplane 05cf30845c Moved OpenGL 2D transform from the modelview matrix to the projection
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@859 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:56:54 +00:00
hybrid b285054559 Compile error fix for OpenGL versions without extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@858 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 11:37:31 +00:00
bitplane 77744cc939 added setResizeAble to osx device as it's not in the device stub
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@857 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-23 10:37:04 +00:00
hybrid 3ace21dc8d Remove automatic zbuffer write enable in transparent d3d materials. To be done by the user, just as the OpenGL materials already do.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@856 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:22:52 +00:00
hybrid 9d137cc70e Changed some OpenGL material renderer states. Removed the automatic mipmap generation after texture unlock for OpenGL to get the same as for d3d drivers.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@855 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 17:19:17 +00:00
hybrid cbc0fcc31d Avoid warning from MSVC
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@854 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-21 15:19:50 +00:00
hybrid f795aa5378 Add compiler and feature check for point sprite support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@853 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:44:57 +00:00
hybrid b04c7e758f Added driver support for Point sprites.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@852 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 23:33:34 +00:00
hybrid d2702c7f5c Fixed two places which would create an glError and increased extension check performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@851 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 20:55:24 +00:00
bitplane b02c9893cf Moved the driver dimension restrictions (multiple of two) from the windows device into the software drivers.
Added OpenGL 2D drawing accuracy patch by tuXXX.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@850 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 17:39:49 +00:00
bitplane 8060c6c9e8 resizing software devices in linux. Need to keep hold of XVisualInfo until window destruction, so we can use it to make new XImages when the window is resized
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@849 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 14:11:49 +00:00
bitplane c2b3d99f6a Added OnResize and getCurrentRenderTargetSize to the software drivers. Fix for GUI XML loading by CuteAlien.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@848 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-20 10:11:55 +00:00
hybrid 5cba00344b Fixed some more bugs in .obj loading, introduced in recent updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@847 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-19 20:56:27 +00:00
hybrid f46caaa21e Fix OpenGL detailmap lighting bug noticed by paooolino
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@843 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-17 10:02:41 +00:00
hybrid 8637f39900 Enhanced D3D9 normalmap shader by RyanClark.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@842 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 22:44:12 +00:00
hybrid b004d40f74 Fix the cursor creation under Linux to avoid illegal memory access.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@841 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-16 11:19:29 +00:00
hybrid 153c682578 Fix signedness of indices to read the correct array elements. Bug found by randomMesh.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@840 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 15:55:20 +00:00
hybrid 59ac643248 Added Spot lights for hardware drivers. Added per pixel fog support for OpenGL.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@838 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-15 03:39:44 +00:00
hybrid 8f34efc3f4 Fixed the d3d9 mipmapping for new formats. Still not a nice solution, though. Also enabled hardware mipmap update for d3d9 with an extra check for format support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@837 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 15:10:28 +00:00
hybrid 0aa958f441 Exposed the MS3D MeshBuffer as SharedMeshBuffer, providing mesh buffers with a shared vertex array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@836 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 03:36:26 +00:00
hybrid 01c4324747 Added a new constructor for SAnimatedMesh and some cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@835 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-14 00:54:40 +00:00
hybrid 11b249ea3f Missed a debug statement.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@834 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:59:13 +00:00
hybrid 74f1e2e9e3 Enhanced the meshbuffer interface. moved the recalculateBoundingBox from MeshManipulator to IMeshBuffer by exposing the already existing methods. Some initial append methods added.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@833 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:53:12 +00:00
hybrid 43b6bb6589 Made the MeshBuffer an explicit member instead of a base class.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@832 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:33:29 +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
hybrid 4c74d89e82 Some minor changes. Simplified the .obj loader, also fixed some bugs.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@830 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-13 23:28:44 +00:00
hybrid 29e890bfc3 Added driver support for user clip planes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@829 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-10 13:06:52 +00:00
hybrid 981d1d61f2 Derive specialized vertices from the base one to avoid duplicated code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@828 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-09 22:57:48 +00:00
hybrid 9c9beede40 Added texture support for collada meshes. Fixed const parameters in MeshManipulator.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@827 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 16:30:10 +00:00
hybrid 21efe402ba Fix relative indices in obj files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@826 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-08 13:19:28 +00:00
bitplane cdcf888a3e bug in draw2DImage
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@823 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-04 23:49:18 +00:00
irrlicht d64f53e4c0 removed double/float conversion warning
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@820 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-03 05:51:06 +00:00
hybrid f42fdc4a15 Added Win32 fullscreen enhancement, now trying to get a better refresh rate. Some minor changes, mainly to comments and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@819 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 14:39:14 +00:00
hybrid ebb6f460b4 Use c++ casts instead of plain C ones.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@818 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 09:50:59 +00:00
hybrid f67fcbc13e Named the event structs. Fixed a warning with endif comments.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@817 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-02 08:07:54 +00:00
bitplane 001e09d013 Fixed menu checkmark bug found by mhack
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@814 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:47:53 +00:00
hybrid 9eeba07bc8 Fix extra qualification.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@813 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:15:54 +00:00
hybrid 31eff65735 Fixed HillPlane Mesh to work with arbitrary sizes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@812 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 17:14:55 +00:00
hybrid bc94d5a4a2 Made geometry creation use IMesh instead of IAnimatedMesh. Moved Sphere meshbuffer into geometry creator and changed sphere scene node accordingly.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@811 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-30 11:01:04 +00:00
hybrid f41e314fcc Fixed some missing unlocks and the missing point size setting in D3D drivers/textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@810 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-29 23:48:58 +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
hybrid b41385a3ff Mem leak fixed in d3d RTT code identified by vitek. Some redundant code removed and OpenGL shader materials fixed for changing number of textures.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@807 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 12:51:43 +00:00
bitplane 03df110fc6 disabled windows hires timer on multi-cpu systems when the process is running on more than one cpu. bug reported by _Alex`86_ and Halan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@804 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-21 14:05:11 +00:00
hybrid 37d2363843 Temporarily disabled the non-alpha textures for d3d due to lack of mipmap support. Have to fix that first.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@802 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:57:14 +00:00
hybrid b9f96332bd Added a new texture creation flag for specifying the desired texture format. The new flag chooses a non-alpha channel texture format. This will save some texture memory (one fourth for 32bit textures).
Fixed another COpenGL render state bug.
Fixed several color conversion methods.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@801 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-19 23:31:18 +00:00
bitplane 1d6a992ee0 fixed bugs with listbox automatic visibility of scrollbars, and clicking on listbox scrollbars when in a combo box.
items in a listbox are now selected as you type their text.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@799 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-18 22:47:05 +00:00
hybrid 3f4fb37f5e Code cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@798 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 23:47:10 +00:00
hybrid 80148ed319 Fixed signedness to avoid strange error messages.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@797 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 21:57:10 +00:00
bitplane 732a14ae70 fixed a bug where opengl scissor tests were not disabled after drawing 2d images with an invalid clipping rectangle.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@796 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 20:52:13 +00:00
hybrid f1ef8d2fc5 Reindentation and small updates.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@793 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 23:46:43 +00:00
bitplane e29ebb3cd7 missed conditions for flipping projection when drawing 2d images in opengl render targets
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@792 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 20:03:17 +00:00
bitplane 3ffd6b73c7 opengl render targets were flipped again after drawing 2d stuff
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@791 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-16 19:22:44 +00:00
hybrid 71c42fb110 Make the material name string array local to SMaterial, public, and up to date.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@790 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 22:34:42 +00:00
hybrid 95505b00c4 Fixed a missing return for performance.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@789 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-15 21:51:04 +00:00
bitplane 9b5c411745 added listbox automatic scrolling and scrollbar automatic visibility depending on height
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@788 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 22:17:53 +00:00
bitplane b43e46727a OpenGL render targets are now the same way up as in the other drivers. When setting the projection matrix of a render target, the Y axis is flipped and polygon winding is switched to counter-clockwise.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@787 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-14 15:58:55 +00:00
hybrid 838ea26474 Changed OpenGL default Renderstate to ALPHA_TEST being disabled. Some indentation changes in other files.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@786 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 23:33:17 +00:00
hybrid 63b756e8db Added some more compile time checks for OpenGL support.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@785 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:28:58 +00:00
hybrid 2dc1051124 Added a name parameter to render target textures just as for usual textures.
Exposed findTexture in IVideoDriver to check if a texture was already loaded.
Reordered some more OpenGL render state settings in the materials.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@783 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:53:34 +00:00
hybrid 9fc207d110 Fixed scene node deserialization which was completely broken since several revisions due to newly added attributes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@782 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 13:34:05 +00:00
hybrid abe0cf6e35 addColor fix by etcaptor.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@778 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 08:07:06 +00:00
hybrid 125e3330dd Fix shader language version check.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@777 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-10 21:49:59 +00:00
hybrid c010d00725 Fixed an OpenGL render state bug and added GLSL version number to check in extension handler.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@772 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-09 22:59:35 +00:00
bitplane 569d6d8988 fixed getOriginalSize in textures in Burning's renderer. Had to add a new method to get the size of the largest mipmap (getMaxSize), as the texelarea functions needed this value.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@769 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 14:02:45 +00:00
bitplane 9cd0eca1ce fixed a bug I caused in CGUIMenu and CGUIContextMenu. added some more window symbols to the built-in font and the skin.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@768 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-08 12:19:39 +00:00
hybrid 163d098040 Some minor changes.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@767 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:12:48 +00:00
hybrid ef4443353b Changed addArrowMesh parameter order. Changed OBJ loader to use stringc instead of dynamically allocated char array.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@766 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 20:08:47 +00:00
hybrid 1406fa59b8 Missing const fixed.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@765 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 18:34:55 +00:00
bitplane 9f78646192 CGUIButton was using texture->getSize rather than getOriginalSize
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@764 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-07 08:01:33 +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
hybrid 8ab9af9d2e Quick fix for partially read vertex data. I think we need to go away from c8 buffers someday.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@762 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-06 23:14:52 +00:00
hybrid c2ec44c7dc Minor cleanup.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@761 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 22:33:56 +00:00
bitplane 64ea350e23 added IUnknown::getReferenceCount and IMeshCache::clearUnusedMeshes to flush unused meshes from the mesh cache.
Fixed CGUIModalScreen, which I broke with the IGUIElement changes. Also fixed a small bug with the tooltip appearing directly under the mouse cursor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@760 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-05 11:20:03 +00:00
hybrid 9bd033b0a1 Fixed the strcmp, found by masterhawk.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@759 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 22:57:07 +00:00
bitplane 5f21bbf8c7 added a black border around the icons in builtInFont.h, added the source bitmap. changed the way completely background transparency is handled in the bitmap font loader, the colour data for background is not kept.
changed default icon highlight value in the skin so the icons are highlighted in the same way as the text.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@755 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 23:25:01 +00:00
hybrid 40abacae7d Cleaned the my3d loader to avoid corrupted char arrays.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@754 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-03 16:04:33 +00:00
hybrid 020eae4f74 Add compile checks for supported extensions.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@753 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 23:36:10 +00:00
hybrid 9982e8cf16 Added two currently disabled OpenGL improvements for shadow volumes. Due to incompatible shadow volumes the extensions are not yet working.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@752 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 17:33:01 +00:00
bitplane 9b3c67fe37 changed behaviour of IGUIElement::OnEvent so it doesn't always absorb events, and added getAbsoluteClippingRect.
fixed tooltip text on file open dialog's close button.
added some managed marshalling bugfix things where I missed them earlier.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@751 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-02 02:15:18 +00:00
bitplane 4b370145d9 changed all video driver creation failure log messages to use ELL_ERROR (like the windows device).
all devices now log an error message if the video driver is unknown.
fixed serialization of new variables in IGUIEditBox.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@750 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 21:22:05 +00:00
hybrid c2670ddc08 Fixed reorder warning and indentation.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@748 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 10:16:39 +00:00
bitplane 4996342b0f added IGUIEditBox::setAutoScroll, isAutoScrollEnabled and getTextDimension.
added automatic scrolling when dragging text with mouse

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@747 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 06:54:58 +00:00
bitplane 4701c286f6 fixed a bug in CBillboardTextSceneNode::setText, the mesh data text was not cleared
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@746 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-01 05:16:01 +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 9603bbfcdf Fixed missing bounding box for arrow mesh, reported by white tiger.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@743 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 21:07:33 +00:00
hybrid 97b6ac7a7c Oops, missed a reordering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@741 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:57:15 +00:00
hybrid 07e68915ce Avoid the wrongly oriented triangles by use of quads.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@740 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:49:59 +00:00
hybrid 0d00c3be2d Another fix for the linux device by zeitgeisty. Added another OpenGL Stencil extension.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@739 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 21:47:55 +00:00
bitplane ad19e6eb80 fixed memory leak in 3ds loader when splitting mesh buffers, reported by Dave
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@738 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 18:11:23 +00:00
bitplane 5dc996b22a removed D3DFMT_A8B8G8R8 from CD3D8Texture.cpp (it was new in DirectX9).
typo in compile config comment

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@737 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-27 00:14:28 +00:00
hybrid 348af4cf87 Fixed version number comparison.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@736 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-26 08:35:33 +00:00
hybrid ce27efa421 Fixed typos and mingw stuff.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@735 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 23:34:16 +00:00
hybrid 65a1407bd1 Some simplifications in d3d texture code.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@733 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 23:16:17 +00:00
hybrid ecbe186fce Fixed the getSize confusion and the wrongly comitted profiling option in the makefile.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@732 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:42:06 +00:00
hybrid 59ab9c522b Changed API to per texture-layer filtering.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@731 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 21:26:16 +00:00
hybrid d4d4da094f Linux device fix by zeitgeisty.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@729 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-23 18:51:30 +00:00
hybrid 010e9b2fc1 Added adjustable attenuation to dynamic lights.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@726 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 21:06:21 +00:00
hybrid 01fea0198a Pitch fix for d3d RTTs by alc.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@725 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 08:53:12 +00:00
hybrid 4e5d7f4de6 Forgot to advance the version, add a so name to shared object.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@724 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-21 08:33:11 +00:00
hybrid 77f1aebc6d Fixed another md2 normals problem found by cyberwan.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@722 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-20 15:17:50 +00:00
hybrid 1441da7fc5 Fixed the missing reset of texture matrices. Fixed a reorder warning.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@721 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-19 08:44:19 +00:00
bitplane cda27017af changed the scene manager's registered node arrays to use set_used(0) rather than clear() to avoid unnecessary reallocations
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@720 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 06:53:05 +00:00
bitplane 61620cebff fixed a bug when trying to load fonts with uppercase letters in their names in case sensitive filesystems
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@719 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:58:12 +00:00
bitplane 125c58dfda fixed a bug in CGUIEnvironment::clear() reported by Jacky_J
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@718 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:15:12 +00:00
bitplane 4e79c0e25d fixed 2nd light vectors in opengl normal and parallax renderers
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@717 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-18 04:00:30 +00:00
lukeph c374f1b724 no changes made:
Box = Mesh->getBoundingBox(); //can we remove this, the box is set on 'setMesh', and without it the user can set their own boundingbox (if the normal one is too small) without it being overwritten

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@716 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 12:39:10 +00:00
irrlicht 3748bb46d0 made irrlicht compile with vs 6.0 again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@711 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-16 05:55:44 +00:00
irrlicht fee87ba492 removed a bug which caused irrlicht to crash when using animated .x files as static meshes
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@706 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 08:49:22 +00:00
bitplane 401a1e10ad couldn't work out why oct-trees were culled against the bounding box of the frustum rather than the frustum itself. works better than the bounding box method in my test meshes (box method culls too much) so I changed it back to use frustum method.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@705 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 20:02:11 +00:00
bitplane ef6f9fd006 changed CAnimatedMeshSceneNode to use the bounding box of its IAnimatedMesh instead of calling getMesh() and re-skinning. Tested with a few different mesh formats and couldn't see any obvious problems. IAnimatedMesh implementations are now responsible for keeping a maximum bounding box.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@704 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-10 01:29:10 +00:00
bitplane c729f356f0 renamed IAnimatedMeshSceneNode::getAbsoluteTransformation to getMD3TagTransformation, it was causing problems for users accessing ISceneNode::getAbsoluteTransformation
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@701 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:14:17 +00:00
bitplane 29610f5d51 added reference rect to linux and osx devices (untested)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@700 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 03:01:58 +00:00
bitplane dd52152623 x meshes now don't re-skin if the last known frame is requested by getMesh. doesn't fix the double skinning bug if there's more than one mesh on screen though.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@698 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:15:33 +00:00
bitplane 4ee11782f6 added more default fonts to skins, made elements use them by default. updated gui example to show use.
modalscreens now resize to fit parent.
updated meshviewer example to lock the image to the bottom left corner.
tooltips:
added EGDC_TOOLTIP_BACKGROUND to skins. 
changed the position of tooltips and their time between creation to 500ms. 
made sure that they do not leave the area of the gui environment.
new method: rect::constrainTo to forcing one rectangle to stay inside another.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@697 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 01:07:21 +00:00
irrlicht a5fc06d99d The SkyBox scene node clamps its textures by default now
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@696 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 14:45:05 +00:00