hybrid
ce4453fb36
More matrix enhancements.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1019 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 22:20:57 +00:00
lukeph
f7eb2e9a5c
added identity check on getInverse() in CMatrix4
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1018 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 14:24:45 +00:00
hybrid
2780743d5b
Fixed some typos in irrList and adapted GUIEditor to ConstIterators.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1017 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-10-02 12:43:25 +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
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
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
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
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
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
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
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
63f28cf5ff
Moved material enums into separate files. Disabled randr again, was accidentially activated.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@984 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-19 14:35:35 +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
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
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
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
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
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
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
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
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
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
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
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
17ed8d5b60
Some new convenience functions and fixes for template usage.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@946 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-12 17:46:58 +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
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
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
9b7603025a
Some doc typos fixed.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@934 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-09 22:04:52 +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
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
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
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
hybrid
df0ac0cf70
Added missing includes for CuteAlien.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@910 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-06 08:44:44 +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
bad0b24603
Fixed lerp usage for non-scalars. Added refs to allow max and min to be used for other ordered structures.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@905 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 11:57:57 +00:00
hybrid
a6c880c3c0
Finally reverted almost all changes regarding round. Seems to be a too recent feature as almost no compiler supports it.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@903 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 09:25:04 +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
a4c0195901
Hmm, this seems to be faster ;-) Anyway, Solaris won't like it just as the :: namespace. We'll see.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@899 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-09-05 08:16:07 +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
7b89136ca7
Doc fix by CuteAlien.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@886 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-31 15:31:19 +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
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
fc1f2f7cf3
Fixed the particle emitter types which were missing.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@878 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 23:03:08 +00:00
hybrid
ba5c3b0879
Wrong macro parameter fixed
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@873 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:24:26 +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
8ce11fa5ba
Avoid some optimization macros if not compiling with FAST_MATH.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@871 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-29 16:11:19 +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
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
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
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
3838470ccf
Fixed a comparison bug when using 0 tolerance. Found by wolfpack and fixed by vitek.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@846 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-19 20:51:48 +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
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
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
bitplane
00cab3e6ec
some doc comments about event types and event receivers. fixed a bug in the gui editor
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@825 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-08-07 03:12:22 +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
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
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
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
cdd017da43
reverted change to quaternion :/
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@808 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-25 21:31:30 +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
a22e4abf94
stole lightfeather's quaternion::toEuler function by mm765 (with permission) as it deals with singularities. added a constant for pi/2.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@795 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-17 15:42:32 +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
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
hybrid
9eabb49041
Some more parts of the matrix class templatized.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@784 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-13 18:23:09 +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
bitplane
6a04ec83c7
missed a semicolon in a do while loop .. oops
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@781 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-12 16:47:25 +00:00
bitplane
044cb4de8b
fixed NaNs returned by toEuler, rounding errors caused acos to be passed > 1 or < -1.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@779 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-11 18:41:46 +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
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
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
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
bitplane
569dc8350f
fix for quaternion::toAngleAxis, angle was QNaN when W < -1
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@758 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-07-04 12:32:23 +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
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
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
6ae1881a86
Fix the macro parameter to f32 to work correctly.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@744 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-29 15:55:36 +00:00
bitplane
323182d605
changed irrArray::linear_search to use == operator to avoid false positives.
...
changed operators on classes that used linear_search (only used in string comparisons)
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@742 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-28 05:10: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
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
lukeph
cd36b187b4
changed the docs of quaternion to state the euler angles used are in radians, this seems to have confused someone on the forums, so it did me before. check I'm right about this.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@730 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-25 02:11:52 +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
irrlicht
3c3b14cc42
updated irrlicht version to 1.3.1
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@714 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-17 07:48:20 +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
hybrid
ae3d7a58d1
Fixed also the vector2d normalization, reported by prisonerofpain.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@707 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-13 15:42:55 +00:00
bitplane
88cb2efacc
fixed a fast_atof bug with negative exponents
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@702 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 14:32:18 +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
2617554681
fixed ascii art in aabbox3d::getEdges, found by Vitek
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@699 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-09 02:27:25 +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
4873ecf3e8
removed some warnings when doing double/float conversions
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@695 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-07 13:21:19 +00:00
hybrid
c9409e8eab
Separated driver features into new file.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@686 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-04 22:53:04 +00:00
hybrid
db6011aae3
Removed development replacement code. Sorry, this was not meant to be in SVN...
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@683 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 21:15:48 +00:00
bitplane
f960e51037
removed namespace from matrix4 constructor enum to make it compile again in VC
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@682 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-03 20:44:11 +00:00
hybrid
23986b2c31
Fixed two things from a previous commit that were not working. Some minor comment changes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@680 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 13:07:10 +00:00
hybrid
480ba9cc9d
Cleaned the MeshCache interface, added filename methods from CMeshCache to the interface. Also changed the Scenemanager interface to accept IMeshCache instead of CMeshCache.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@678 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 12:07:47 +00:00
hybrid
60e4d62143
Made the MeshBuffers be based on a template class. The original headers do still exist for compatibility reasons. The SMeshBuffer... structs are now typedefs of the template.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@676 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 11:09:32 +00:00
hybrid
b6b7cfd13b
Started to make matrix4 a template to allow for better adaption. Due to renaming of the template the original matrix4 type is still the f32 version of the matrix. I had to remove some forward declarations, though as I did not want to add the template declaration into other headers.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@675 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-06-02 10:37:00 +00:00
hybrid
5180ee88e6
Enhanced documentation for isFrontFacing to make it safer to use. Fixed frustum culling to correctly handle all possible cases of box intersections. Replaced isFrontFacing by classifyPointRelation as suggested by vitek. Minor cleanups in some classes.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@667 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-28 11:14:47 +00:00
bitplane
3eaea2d47a
missed a couple of IGUIButton getters: isPushButton and isDrawingBorder
...
renamed getUseAlphaChannel to isAlphaChannelUsed to fit with other "bool is*" getters
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@657 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 02:55:33 +00:00
hybrid
4f5e1c399f
Some documentation fixes.
...
Replaced some f64 by T in container classes, where computations were only f32 correct anyway.
Made triangle3d.isOnSameSide private as it is completely unrelated to triangles.
Renamed plane.existsInterSection to plane.existsIntersection since all other functions concerning intersections use the small s.
Fixed plane3d.classifyPointRelation to return the correct relation. Spotted by vitek.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@655 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-27 00:04:58 +00:00
bitplane
4c2e3119f4
added IFileSystem::getFileDir and made XML bitmap font use relative path for texture.
...
gui editor now compiles again
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@654 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 22:19:21 +00:00
bitplane
7cf5252eb9
completion of most getters/setters for GUI
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@653 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-26 20:44:25 +00:00
hybrid
feaf212248
More fixing of Sphere texture coords. Now we have proper spherical mapping, but a weird seam at the date line - when using the earth.bmp.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@650 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 14:19:01 +00:00
hybrid
13b7691b7a
Fixed correct overloading of hasMipMaps, found by Jiang. Also changed it to const.
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@648 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-22 07:20:16 +00:00
bitplane
41a9bf794a
added quaternion::toAngleAxis
...
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@645 dfc29bdd-3216-0410-991c-e03cc46cb475
2007-05-21 00:35:31 +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