Commit Graph

  • 05a00a8d91 Completely remove irrAllocator sfan5 2022-12-23 19:56:21 +0100
  • 07fd32da50 Replace core::string implementation with std::basic_string sfan5 2022-12-22 23:55:35 +0100
  • 735af8eec6 Add missing string tests sfan5 2022-12-23 17:13:32 +0100
  • 36630c0702 Replace core::string implementation with std::basic_string #150 sfan5 2022-12-22 23:55:35 +0100
  • ed54f00260 Add missing string tests sfan5 2022-12-23 17:13:32 +0100
  • 44a61505c4 Fix spelling of enums in header comments cutealien 2022-12-22 14:56:44 +0000
  • f29b8b4605
    Update CIrrDeviceSDL.cpp neverix 2022-12-17 17:15:51 +0300
  • c4c125691a
    Quick fix neverix 2022-12-17 15:27:07 +0300
  • 3b7fa4a8f6
    Update IrrCompileConfig.h neverix 2022-12-17 15:14:57 +0300
  • 4c173950bd
    Update CIrrDeviceSDL.cpp neverix 2022-12-17 15:13:48 +0300
  • 9cb7275221 Add SDL2 headers to PUBLIC include directories #149 Josiah VanderZee 2022-12-08 20:58:35 -0600
  • fb03fd8931
    Update CIrrDeviceSDL.cpp neverix 2022-12-08 23:18:27 +0300
  • 7aacb233d4
    Merge branch 'minetest:master' into headless-rendering neverix 2022-12-08 23:17:38 +0300
  • 64323abb38
    Update IrrCompileConfig.h neverix 2022-12-08 23:14:44 +0300
  • 90faed749b Refactor SDL input code to fix menu exit Andrei E 2022-11-21 22:58:58 +0000
  • cfa42b743c Add comment that createScreenShot only supports ERT_FRAME_BUFFER Thanks @Eduuu for bringing this to attention cutealien 2022-11-29 21:38:35 +0000
  • 29a448de4d Point to Irrlicht license in root Andrei E 2022-11-26 14:24:23 +0000
  • 65312e3da9 Point to Irrlicht license in root #147 Andrei E 2022-11-26 14:24:23 +0000
  • e3597d0965 Add back isNoUnicodeKey to fix menu exit in SDL #144 Andrei E 2022-11-20 21:45:59 +0000
  • 817d59f379 Prevent potential 0 pointer access when release not acquired joystick. Found by clang analyser. Not sure if it could really ever have happened, but won't hurt to fix cutealien 2022-11-19 16:41:11 +0000
  • fc96c50e53 Fix newly added Irrlicht17.sln file for VC2022 Was internally still using a VC16 project file cutealien 2022-11-19 14:28:27 +0000
  • f1a572e8a7 Add VC17 (VS 2022) project files and solutions cutealien 2022-11-19 14:22:50 +0000
  • e57a713377 Fix some bitfield sizes in SMaterial Bitfields for PolygonOffsetDirection, ZWriteEnable and BlendOperation were chosen too small. As we have pre c++11 code and therefore didn't use unsigned qualifiers for enums they were generally signed (up to compiler in theory, but I think they all choose signed). Which means the bitfield also had a sign. So for example setting PolygonOffsetDirection to EPO_FRONT set it to -1 instead of 1. Which then would fail with comparison checks (PolygonOffsetDirection == EPO_FRONT would be false). We kind of got lucky that we usually not checked for the last enum inside Irrlicht, so it worked to due being the "else" case. Or in the ZWriteEnable case the last one was identical to the default return value so it also worked accidentally. But obviously still wrong and user code could be messed up. cutealien 2022-11-17 16:42:39 +0000
  • 1579ce2740
    SDL: implement cursor icon API (#135) DS 2022-11-12 15:52:39 +0100
  • 07e3214404 SDL: Cursor icon api #135 Desour 2022-09-24 00:59:07 +0200
  • b9e0641203 Add unittests for irrString sfan5 2022-11-11 16:25:49 +0100
  • 6f98515f34 Fix two irrString bugs sfan5 2022-11-11 16:24:27 +0100
  • a549d0bfed Add setRelativeMode for SDL driver (#123) Andrei E 2022-08-01 21:28:36 +0100
  • a0af653c3d Bump revision early sfan5 2022-10-24 21:14:41 +0200
  • 95f96d7751 Attempt to improve relative mouse mode documentation #123 Andrei E 2022-10-24 16:05:00 +0100
  • cac4e62852 Fix buffer overflow in COBJMeshFileLoader sfan5 2022-10-24 11:07:51 +0200
  • d6766fb8f4
    Add Windows build steps to README (#129) Herman Semenov 2022-10-20 20:02:37 +0000
  • 71db190458
    fix(CGUIEditBox): should check acceptsIME() When focused #140 Riceball LEE 2022-10-17 07:20:27 +0800
  • e46ab74859
    Fix line drawing: Explicitly draw both first & last pixel (#110) Lars Müller 2022-10-16 23:47:51 +0200
  • 57705d57cf
    SDL: Always set X, Y, Shift and Control in mouse input events DS 2022-10-16 17:42:15 +0200
  • 3a1895680a
    feat(CGUIEditBox): make updateImePosition method avaiable on all OS and follow cursor position on Linux's IME Riceball LEE 2022-10-16 16:51:19 +0800
  • e87dfcba49
    refactor(ime): remove the customize EINPUT_METHOD_EVENT to notify the IME pos changed, thanks @sfan5 Riceball LEE 2022-10-16 15:12:57 +0800
  • 4fcf631769
    feat(ime): add updateImePosition(virtual) and get getImePosition methods to IGUIElement class Riceball LEE 2022-10-16 15:07:20 +0800
  • 0e6577ac57
    fix(win32): vs error C3863: array type 'wchar_t [length_with_null]' is not assignable Riceball LEE 2022-10-14 21:49:45 +0800
  • fc5fec2cb4
    feat(win32): add basic IME supports for Windows Riceball LEE 2022-10-14 14:12:02 +0800
  • 3f372af486 Fix some problems with CMatrix4::getRotationDegrees - Only the getRotationDegrees without parameter is allowed to try fixing scale. My fault when I added a new function which takes scale parameter, that one is not allowed to be changed. On the up-side - we know have for the first time an option which works in cases only scale and rotation had been used and the user still has the correct scale. Before any solution for that was broken - getRotationDegrees fixes 2 places which caused wrong results due to floating point inaccuracies New test for that got added - Document the current restrains and problems of getRotationDegrees and getScale some more. - Improve docs for other matrix4 functions. - Add some comments about further improvements (I'll try if I find time) cutealien 2022-10-15 15:46:03 +0000
  • 14e7496595 SDL: Support primary selection #132 Desour 2022-09-14 22:48:06 +0200
  • 8ebe57234d SDL: Support clipboard Desour 2022-09-14 20:38:49 +0200
  • 4e044b0095 CGUIEditBox: Use primary selection Desour 2022-08-23 18:55:08 +0200
  • 45079c63dd Implement X11 primary selection Desour 2022-08-23 17:19:23 +0200
  • b9d1213574 use keymod #141 Desour 2022-10-15 13:49:24 +0200
  • 0d34046894 SDL: Always set X, Y, Shift and Control in mouse input events Desour 2022-10-14 17:54:35 +0200
  • e9908ca545 Add build with SDL2 to CI sfan5 2022-10-15 11:06:20 +0200
  • 2709c937d9 Fix SDL device to work with null driver sfan5 2022-10-15 11:12:54 +0200
  • 59fc4401f1 Replace _IRR_OVERRIDE_ macro with override keyword JosiahWI 2022-10-09 13:57:28 -0500
  • 0206770f60
    Replace _IRR_OVERRIDE_ macro with override keyword #136 JosiahWI 2022-10-09 13:57:28 -0500
  • f3a1f9f656 Move Ubuntu builds into docker to keep them working sfan5 2022-10-14 16:08:51 +0200
  • 1128d9deab
    win32: use the unicode window instead of ansi window (#138) Riceball LEE 2022-10-14 21:52:10 +0800
  • 9b541f2948 Fix buffer size for wchar-multibyte conversion sfan5 2022-10-14 15:44:57 +0200
  • c8220f9af5
    fix(win32): forget to UnregisterClassW. #138 Riceball LEE 2022-10-14 21:07:08 +0800
  • 7ed98a27f3
    chore(win32): use LoadImageW instead of LoadImage Riceball LEE 2022-10-14 15:54:48 +0800
  • aa4f0510dc
    fix(win32): Can not paste the whole unicode text from clipboard on Windows #139 Riceball LEE 2022-10-13 18:27:44 +0800
  • 8e0031cb41
    feat(win32): use the unicode window instead of ansi window Riceball LEE 2022-10-13 18:14:03 +0800
  • 3f00ea004e Avoid some broken calculations for IBoneSceneNode positions. This is based on bugreport #458 reported by viwrap who also made a nice test-case model. Note: While solution seems to work and would even be faster, I'm not 100% sure yet if there are no downsides. The other solution seems to regard last column in matrices - thought I don't think we ever set or use that. And I also haven't found out yet _why_ the original solution goes wrong. But animation system uses right-hand quaternions unlike rest of Irrlicht which is obviously a bit dangerous, will have to check the conversions some day. cutealien 2022-10-11 22:54:44 +0000
  • 3c5a2387cf Handle missing 3d models in example 08 Ugly replacement if dwarf is missing. Doing this because Debian currently discussing to remove the dwarf due to a conflict of it's license with Debian policy. cutealien 2022-10-07 18:28:04 +0000
  • b3fff12423 Handle missing 3d models in example 07 No more crashing if some models are not found cutealien 2022-10-07 18:10:50 +0000
  • 41f2f8654f Fix warning cutealien 2022-10-04 12:32:27 +0000
  • 51f1ff6716 Avoid newly introduced reorder warnings in ISceneNode cutealien 2022-09-29 19:03:51 +0000
  • b627ce805d Add option to allow nodes to ignore the scale/rotation parts of their parents transformation. ISceneNode::setUpdateAbsolutePosBehavior can now control what ISceneNode::updateAbsolutePosition really does. Having only the position and not the rotation/scale of a child node affected by the parent transformation was previously impossible inside the scene-graph. So people always had to break the scene-graph and code it themselves. Old behaviour is default. Extra check for new variable has a small cost, thought new behaviour can actually be faster when it's used. cutealien 2022-09-29 16:34:37 +0000
  • 91f281229b Fix: Make CBillboardSceneNode bounding-box large enough to fit the billboard inside. It still won't work yet for scaled boundingboxes (or parents being scaled). But at least it's now large enough for typical unscaled boundingboxes. Before it was always too small - even for the simplest quadratic billboard case seen without rotation. Now it's always a bit too large, but that's way less of a problem (collisions still work and culling simply happens a bit less often, but not too often which is way worse) cutealien 2022-09-29 14:12:12 +0000
  • 5114c18b79 Fix and simplify IGUISpinBox::getOldValue Was going wrong when setValue was called inside an event function for EGET_SPINBOX_CHANGED. But last solution was overly complicated anyway as I tried too hard to avoid extra getValue calculations. But noticing now those calculations got done anyway in all places where the event is triggered. cutealien 2022-09-28 14:56:22 +0000
  • a883d464f9 Add IGUISpinBox functions getValueFor and getOldValue Also documenting some missing feature (decimal places ignored with direct text input) getValueFor allows to check the value a given text would have getOldValue can be used to check the previous value in a EGET_SPINBOX_CHANGED event cutealien 2022-09-28 14:25:18 +0000
  • 0ef9102ac6 Fix IGUIElements not getting a tab order because of invisible or disabled parents. First problem was that IGUIElement::getNextElement wasn't passing includeInvisible and includeDisabled flags recursively, so anything deeper than one level could fail if an element was disabled/invisible in between while it was created. Second problem was that setTabOrder(-1) did ignore disabled elements. So when any parent was disabled when elements were created they never got a tab order. cutealien 2022-09-27 16:02:39 +0000
  • 582bb54ce2 Avoid ambigious conversions when compiling with c++20 Yay, more ugly casts needed. cutealien 2022-09-25 11:18:55 +0000
  • 389ec11a58 Add comment when running tests on Linux how to see results Thanks @juozas for mentioning this (https://irrlicht.sourceforge.io/forum/viewtopic.php?p=306758#p306758) cutealien 2022-09-24 13:55:03 +0000
  • 07f17647d2 Merging r6405 through r6424 from trunk to ogl-es branch cutealien 2022-09-22 21:55:03 +0000
  • 1803413b49 Fix: SDL device can support FPS camera animator again Also no longer restricting mouse position to 0-windowsize (restriction for other devices got removed earlier) And adding some commented out lines to Makesfile for easier testing of SDL. We probably should use some parameter which can be passed to Makefiles for that in the future. Note: This does not fix all cursor troubles for SDL - it still does not support relative rectangle Bit arguably how to handle setting/getting mouse position for SDL, for example it still doesn't support a reference rectangle. cutealien 2022-09-22 21:47:19 +0000
  • a69969d6f9 Fix MouseButtonStates for mouse events in CIrrDeviceSDL when middle or right button are released Needed to use bitwise not instead of logical not to clear bits for EMBSM_RIGHT and EMBSM_MIDDLE. Thanks @gcc for it's warnings cutealien 2022-09-22 21:34:08 +0000
  • d7f49dd03d Pass CFLAGS and CPPFLAGS to build process #134 Tobias Frost 2022-09-22 15:30:18 +0200
  • 88b7bed20f Merging r6286 through r6421 from branch releases/1.8 to trunk cutealien 2022-09-21 20:09:28 +0000
  • 1cf0f3bef0
    Fix typo in CXMeshFileLoader.cpp (#133) Tobias Frost 2022-09-21 10:47:19 +0200
  • 3225007e8d Bump revision 1.9.0mt8 sfan5 2022-09-16 19:39:46 +0200
  • 10d52b8333 Fix typo s/tranfrom/transform/ #133 Tobias Frost 2022-09-15 20:11:36 +0200
  • 155434fd2a
    Update README.md #129 Herman Semenov 2022-09-15 11:50:37 +0300
  • e9f205f952 Avoid using XIWarpPointer on certain setups where it's broken sfan5 2022-09-12 16:19:44 +0200
  • d733e03430
    Fix glHint parameter, type size and add more null checks (#130) Herman Semenov 2022-09-02 09:40:02 +0300
  • ca7000aea8 Fix documentation of IMeshManipulator::transform (I forgot normal update is certainly also needed on rotation) cutealien 2022-08-26 14:23:18 +0000
  • eafbe063be IMeshManipulator::transform can now also normalize normals Also only update normals now using inner 3x3 matrix (same result usually as last column is 0,0,0 but faster) And adding some comments. cutealien 2022-08-26 14:09:04 +0000
  • 662001566b ILightManager now uses empty instead of pure virtual functions Making it a bit more comfortable for users to implement the class. cutealien 2022-08-26 10:38:14 +0000
  • 31965fe599 CMeshManipulator::createMeshWelded now cloning buffers it can't weld. Not optimal, but making this real 32-bit is sadly a bit more work. This way at lest meshes with mixed 16/32 bit buffers can weld the 16-bit ones. And hopefully a bit of step in the right direction to fully support 32-bit another day. cutealien 2022-08-24 22:14:50 +0000
  • 38e5bfe234 Fix Collada (.dae) writing with 32 bit meshbuffers Was still handling them as 16-bit buffers. cutealien 2022-08-24 12:55:45 +0000
  • d0a580596d Fixed glHint GL_MULTISAMPLE_FILTER_HINT_NV, type size cutting memsize->32 bit->memsize, null checks #130 lainon 2022-08-24 10:34:54 +0300
  • f0766c845f
    Fix crash in COGLES1Driver (#128) savilli 2022-08-22 19:12:40 +0200
  • 56d4109a07 Update README.md lainon 2022-08-22 11:53:50 +0300
  • 9025fcc377 Add IMeshBuffer::getColor functions Lazy access function - same as for all other members of S3DVertex (getPosition/getNormal/getTCoords). Not sure why color was missing, maybe got added later? Would probably be better to have a getS3DVertex function instead which would cover them all, but it's only some slow (but nice) helper function anyway. cutealien 2022-08-19 12:33:56 +0000
  • fbfb8b400e Fix crash on Android #128 savilli 2022-08-14 14:09:41 +0200
  • 94111a63c8 Fix jitter caused by relative mouse mode Andrei E 2022-08-12 10:49:58 +0100
  • c3870571cd Add setRelativeMode for SDL driver Andrei E 2022-08-01 21:28:36 +0100
  • 4744588696
    Actually draw the first point #110 Lars Müller 2022-07-27 11:25:28 +0200
  • ff645cc876 Bump revision 1.9.0mt7 sfan5 2022-07-21 20:20:13 +0200
  • f6ec00e1c4 Include revision in SOVERSION for (in)compatibility checks sfan5 2022-07-21 19:49:36 +0200
  • 0c49e49dc0 Include revision in SOVERSION for (in)compatibility checks #124 sfan5 2022-07-21 19:49:36 +0200
  • 51f0acb7c1 Replace std::min in irrArray.h sfan5 2022-07-20 22:09:07 +0200
  • 91edd214aa Enable XInput2 by default (and improve CMake detection) sfan5 2022-07-18 21:34:47 +0200
  • 538c9e5cde Drop gamma ramp code sfan5 2022-07-18 21:19:30 +0200