Commit Graph

  • 2331083837 Add CI for the new OpenGL 3 driver numzero 2023-03-13 18:39:03 +03:00
  • d84dc18e13 Add OpenGL3 support to the autotests numzero 2023-03-13 18:38:47 +03:00
  • ea0ca7f917 Small Fixes numzero 2023-03-13 18:33:58 +03:00
  • 82d1feb933 Accommodate lack of ETS_TEXTURE_1 numzero 2023-03-13 18:17:47 +03:00
  • d81db9dd6d Merge branch 'drop-irr-compile-config' into opengl3 numzero 2023-03-13 18:07:25 +03:00
  • 6c68217426 Merge branch 'master' into drop-irr-compile-config numzero 2023-03-13 18:05:36 +03:00
  • 21c61e9973 Bump revision early sfan5 2023-03-11 15:12:05 +01:00
  • 5a5a7d04b7
    Drop IrrCompileConfig (#163) Vitaliy 2023-03-11 17:04:09 +03:00
  • f989112dcb Fix: Listbox was sometimes sending EGET_LISTBOX_SELECTED_AGAIN instead of EGET_LISTBOX_CHANGED. When pressed mouse was moved over an item before releasing the mouse button it was sending immediately EGET_LISTBOX_SELECTED_AGAIN instead of expected EGET_LISTBOX_CHANGED (mouse move changes do not send any events). cutealien 2023-03-06 14:34:16 +00:00
  • b279810437 Consolidate import/export attribute definitions #163 numzero 2023-03-06 17:32:03 +03:00
  • 75d485b5cd Listbox items can now change individual background colors cutealien 2023-03-06 13:42:05 +00:00
  • e484698ba2 Restrict X11 options to X11 device numzero 2023-03-06 14:21:58 +03:00
  • 5f76be9380 Restore isDriverSupported, but in a cpp file numzero 2023-03-06 14:10:05 +03:00
  • 6de0afa8b3 Drop ETS_TEXTURE_1 numzero 2023-03-06 13:58:38 +03:00
  • 1d43ea17ca Bump revision 1.9.0mt10 sfan5 2023-03-05 21:44:44 +01:00
  • a6d062ebd9
    Apply suggestions from code review Vitaliy 2023-03-04 22:27:43 +03:00
  • 2e9ed529b1 Restore obsolete constants as they are still used in some code I don’t want to touch numzero 2023-03-03 21:59:11 +03:00
  • ceb53be9e3 Merge branch 'master' into opengl3 numzero 2023-03-03 21:52:25 +03:00
  • df28a4cc46 Fix ifdefs around includes in CIrrDeviceSDL numzero 2023-03-03 21:23:07 +03:00
  • 8dd8652f5f Split new GL3/GLES2 drivers numzero 2023-03-03 20:29:36 +03:00
  • 2932065346 Report as OpenGL 3 numzero 2023-03-02 03:03:17 +03:00
  • 1326dfbcb1 Error out on unsupported configurations numzero 2023-03-02 02:42:51 +03:00
  • 1bbe341daa Support both OpenGL3 and GLES2 on SDL2 numzero 2023-03-02 02:42:29 +03:00
  • d6716ec31b Support GLES2 numzero 2023-03-02 02:41:58 +03:00
  • 620f4869a1 Drop obsolete video drivers numzero 2023-03-02 01:22:04 +03:00
  • b4b28c367c Document some shader behaviour S3DVertexTangents also documents that it's passed as TEXCOORD1 and TEXCOORD2, but easy to miss, so added some comments to the hlsl shader. Also not all materials work well as base materials. cutealien 2023-02-28 20:21:00 +00:00
  • 05384fdc5e Unify drawing functions numzero 2023-02-28 00:51:29 +03:00
  • 48270029cd Drop obsolete stuff numzero 2023-02-27 23:36:56 +03:00
  • c5ce853148 Unify quad drawing numzero 2023-02-27 21:56:26 +03:00
  • 4fba496917 Unify plain image drawing numzero 2023-02-27 21:27:23 +03:00
  • 79fdab0551 Drop obsolete IVideoDriver features numzero 2023-02-27 21:23:11 +03:00
  • 608aa150ff Load extensions the OpenGL 3 way numzero 2023-02-27 20:32:06 +03:00
  • 1f750cd7b2 Add debug handler numzero 2023-02-27 20:31:51 +03:00
  • 8c521939b9 Enumerate extensions in the OpenGL 3 way numzero 2023-02-27 17:41:03 +03:00
  • cfa8dd7845 Request OpenGL 3.2 numzero 2023-02-27 17:39:28 +03:00
  • 01295c9ce6 Add OpenGL3 renderer numzero 2023-02-27 16:47:30 +03:00
  • 5a95b40a0e Reduce IrrCompileConfig usage to files that actually need it numzero 2023-02-22 20:59:47 +03:00
  • 8efd4527f6 Drop _IRR_MATERIAL_MAX_TEXTURES_ numzero 2023-02-22 20:21:27 +03:00
  • a0e1e39ea7 Drop _IRR_SCENEMANAGER_DEBUG numzero 2023-02-22 20:13:55 +03:00
  • d8e09f14bd Drop _IRR_COMPILE_WITH_GUI_ numzero 2023-02-22 20:01:44 +03:00
  • 67f852be57 Drop obsolete configuration macros numzero 2023-02-20 00:55:45 +03:00
  • 5a2b807890 Move import/export macros into CMake numzero 2023-02-20 00:16:55 +03:00
  • 06db7b7ab7 Move platform detection to CMake numzero 2023-02-19 22:44:02 +03:00
  • 09e6eeb65b Remove irr::core::hash Desour 2023-02-21 19:29:32 +01:00
  • 839bdc1a65 Fix -Wignored-qualifiers warnings in irrUString.h Desour 2023-02-21 18:54:07 +01:00
  • ea297196b7 Resolve some -Wreorder warnings Desour 2023-02-21 18:30:14 +01:00
  • 38f18eec56 Drop unused stuff from IrrCompileConfig numzero 2023-02-19 18:22:43 +03:00
  • 538e3ab353 Add comment that xml reader returns EXN_UNKNOWN for xml header nodes cutealien 2023-02-21 12:02:57 +00:00
  • 5527b9f373
    SDL: Use SDL_WINDOW_FULLSCREEN_DESKTOP and allow to maximize+fullscreen at once (#156) DS 2023-02-20 13:22:28 +01:00
  • cd3e784534
    Refactor SDL input code to fix menu exit (#146) ndren 2023-02-18 15:16:17 +00:00
  • 51dffc416a
    Add WindowMaximized creation parameter and isWindowMaximized() (#142) DS 2023-02-06 15:05:44 +01:00
  • 6c8767397b Add a comment to addSkyDomeSceneNode cutealien 2023-02-05 13:29:51 +00:00
  • 3c8541d0c0 Rename variable ISceneNode::UpdateAbsolutePosBehavior -> AbsPosUpdateBehavior Pretty new internal (protected) variable, so renaming shouldn't break yet too much. Reason is that VS code completion often showed that variable as first option before the way more used updateAbsolutePosition function. Which was a bit annoying. cutealien 2023-01-23 21:12:06 +00:00
  • cfc4b29a2c Use qualifed id instead of virtual function calls in CVertexBuffer constructors Another find by cppcheck tool cutealien 2023-01-19 23:26:20 +00:00
  • 8f13ae81e5
    Merge pull request #154 from lhofhansl/skinned lhofhansl 2023-01-12 11:02:52 -08:00
  • 3de3ff524a Avoid reskinning joints for animated meshes twice for each frame. #154 Lars 2023-01-07 16:59:02 -08:00
  • bda6bb8595 Avoid undefined arithmetic on nullptr in buffer_offset function Not quite sure why it was done that way. Maybe to ensure we work with byte-pointers of correct size or something? Anyway, this doesn't seem to be defined in c++, so let's try working with a cast instead. Just something cppcheck tool complained about. cutealien 2023-01-04 19:51:24 +00:00
  • f2c93d80be Prevent memory leaks when loding broken ms3d files cutealien 2023-01-04 19:02:42 +00:00
  • 7d3142b969 Remove leftover code from software rendering sfan5 2023-01-02 21:21:53 +01:00
  • a9230e5f49 Delete profiler sfan5 2023-01-02 21:05:07 +01:00
  • b5a6dc0a15 Delete leak hunter sfan5 2023-01-02 20:37:18 +01:00
  • ce0d29df93 Update workflow to address deprecations 1.9.0mt9 sfan5 2022-12-31 12:29:33 +01:00
  • 2ae816b5a6
    Use swap_control from MESA and EXT before SGI (#151) x2048 2022-12-29 23:42:52 +01:00
  • 61af99adfa Use swap_control from MESA and EXT before SGI #151 x2048 2022-12-29 22:44:03 +01:00
  • afbe41019c CGUITabControl: Center selected tab whenever possible SmallJoker 2022-07-09 22:15:34 +02:00
  • 05a00a8d91 Completely remove irrAllocator sfan5 2022-12-23 19:56:21 +01:00
  • 07fd32da50 Replace core::string implementation with std::basic_string sfan5 2022-12-22 23:55:35 +01:00
  • 735af8eec6 Add missing string tests sfan5 2022-12-23 17:13:32 +01:00
  • 44a61505c4 Fix spelling of enums in header comments cutealien 2022-12-22 14:56:44 +00:00
  • cfa42b743c Add comment that createScreenShot only supports ERT_FRAME_BUFFER Thanks @Eduuu for bringing this to attention cutealien 2022-11-29 21:38:35 +00:00
  • 29a448de4d Point to Irrlicht license in root Andrei E 2022-11-26 14:24:23 +00:00
  • 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 +00:00
  • fc96c50e53 Fix newly added Irrlicht17.sln file for VC2022 Was internally still using a VC16 project file cutealien 2022-11-19 14:28:27 +00:00
  • f1a572e8a7 Add VC17 (VS 2022) project files and solutions cutealien 2022-11-19 14:22:50 +00:00
  • 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 +00:00
  • 1579ce2740
    SDL: implement cursor icon API (#135) DS 2022-11-12 15:52:39 +01:00
  • b9e0641203 Add unittests for irrString sfan5 2022-11-11 16:25:49 +01:00
  • 6f98515f34 Fix two irrString bugs sfan5 2022-11-11 16:24:27 +01:00
  • a549d0bfed Add setRelativeMode for SDL driver (#123) Andrei E 2022-08-01 21:28:36 +01:00
  • a0af653c3d Bump revision early sfan5 2022-10-24 21:14:41 +02:00
  • cac4e62852 Fix buffer overflow in COBJMeshFileLoader sfan5 2022-10-24 11:07:51 +02:00
  • d6766fb8f4
    Add Windows build steps to README (#129) Herman Semenov 2022-10-20 20:02:37 +00:00
  • e46ab74859
    Fix line drawing: Explicitly draw both first & last pixel (#110) Lars Müller 2022-10-16 23:47:51 +02:00
  • 57705d57cf
    SDL: Always set X, Y, Shift and Control in mouse input events DS 2022-10-16 17:42:15 +02:00
  • 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 +00:00
  • e9908ca545 Add build with SDL2 to CI sfan5 2022-10-15 11:06:20 +02:00
  • 2709c937d9 Fix SDL device to work with null driver sfan5 2022-10-15 11:12:54 +02:00
  • 59fc4401f1 Replace _IRR_OVERRIDE_ macro with override keyword JosiahWI 2022-10-09 13:57:28 -05:00
  • f3a1f9f656 Move Ubuntu builds into docker to keep them working sfan5 2022-10-14 16:08:51 +02:00
  • 1128d9deab
    win32: use the unicode window instead of ansi window (#138) Riceball LEE 2022-10-14 21:52:10 +08:00
  • 9b541f2948 Fix buffer size for wchar-multibyte conversion sfan5 2022-10-14 15:44:57 +02:00
  • 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 +00:00
  • 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 +00:00
  • b3fff12423 Handle missing 3d models in example 07 No more crashing if some models are not found cutealien 2022-10-07 18:10:50 +00:00
  • 41f2f8654f Fix warning cutealien 2022-10-04 12:32:27 +00:00
  • 51f1ff6716 Avoid newly introduced reorder warnings in ISceneNode cutealien 2022-09-29 19:03:51 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00
  • 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 +00:00