Commit Graph

  • 7173c2c629
    Update README.md: Add notice about IrrlichtMt having been moved into the main repo master celeron55 2024-05-13 15:29:27 +03:00
  • 124708784f Restore buildability with SDL 2.0.10 sfan5 2024-03-21 22:42:35 +01:00
  • bcb952c3ca Move source/Irrlicht/ to src/ Desour 2024-03-20 19:10:33 +01:00
  • 594e88bf3b Remove the tab removal script again Desour 2024-03-21 17:31:11 +01:00
  • dd1043c4c0 Replace non-leading tabs with spaces, using: Desour 2024-03-21 17:30:28 +01:00
  • 72e303238e Add a small script for tab removal Desour 2024-03-21 17:23:59 +01:00
  • adc96072cd Fix ugly formatted arrays Desour 2024-03-21 15:22:20 +01:00
  • 7cf801244c Reformat test/image_loader_test.cpp manually Desour 2024-03-20 19:38:29 +01:00
  • b01a3ea781 Fix ifs clang-format didn’t get numzero 2023-10-04 21:10:58 +03:00
  • e5b97d440a Remove .clang-format again Desour 2024-03-20 19:03:04 +01:00
  • f5c6d3e945 Reformat the code, using: Desour 2024-03-20 19:35:52 +01:00
  • 9814510b1b Add clang-format file, based on that from Minetest numzero 2023-10-04 20:39:08 +03:00
  • 05c8bc8314 Try to fix macOS CI sfan5 2024-03-20 20:37:22 +01:00
  • a9c4683b18 Do not include core::string in matrix4.h sfan5 2024-03-17 23:24:02 +01:00
  • b10141887f obj/mtl loader no longer messes up bump textures when the name starts with a number Mtl loader was assuming bump textures starting with a number are always using that to scale the bump. No idea if there are mtl files out there assuming that, but usually scaling parameter is -bm But it always assumed real filename was following, so as compromise I still allow pure numbers (no other characters following) to be scaling parameters. svn-trunk cutealien 2024-03-16 16:32:50 +00:00
  • ac341472d6 Add error checks and log warnings in CIrrDeviceWin32::CCursorControl::addIcon cutealien 2024-03-15 14:52:22 +00:00
  • 8f8a4ef5e1 CImageLoaderBMP now supports loading 1-bit images with palette data The feature everyone has been waiting for!!! Or not... Anyway it works now :-) cutealien 2024-03-13 19:30:48 +00:00
  • 26c4f4e63d Ensure enough alignment for IImages sfan5 2024-03-10 13:57:48 +01:00
  • 9d07f906a7 Delete mesh writing support entirely sfan5 2024-03-09 22:37:22 +01:00
  • d26c0aeaaf Remove more dead code sfan5 2024-03-09 22:34:05 +01:00
  • 70b0b46d50 Delete deprecated video driver methods sfan5 2024-03-09 22:22:07 +01:00
  • a7dd075dec Mark some common constructors and other stuff as constexpr sfan5 2024-03-09 22:05:06 +01:00
  • b17fe835bc Hardware meshbuffers are now deleted when they hold the last reference to a meshbuffer HW buffers were keeping meshbuffers alive for 20000 frames even when no one else was using them anymore. In cases of rapid creating/destroying static meshbuffers this could lead to serious memory leaks (which then kinda topped out after 5 minutes, but at that point it could already be too late). cutealien 2024-02-29 13:42:22 +00:00
  • 1e89db1b80 Consistently include C headers by their C++ wrapper sfan5 2024-02-25 22:09:38 +01:00
  • 44a368ef0e Migrate public headers to #pragma once sfan5 2024-02-25 22:01:20 +01:00
  • 7ddf740f9b Remove unused includes in public headers sfan5 2024-02-25 21:50:24 +01:00
  • 989e82d5dd Initialize SJoint.Animatedscale to 1,1,1 No scale should be 1,1,1 not 0,0,0 Wasn't a bug as animation system ensured the initial value is never used, but more correct and no extra cost (vectors initialize to 0 otherwise). cutealien 2024-02-24 19:11:42 +00:00
  • 2bbfa178ea
    Don't link against SDL2main (#265) 1.9.0mt15 ROllerozxa 2024-02-23 22:44:16 +01:00
  • 61682104df COpenGLCoreTexture: fix abort when format not supported sfan5 2024-02-21 19:20:01 +01:00
  • 46542793d6 OpenGL: Fix BGRA format mapping sfan5 2024-02-21 19:07:36 +01:00
  • 9f2d13a2b6 OpenGL: Print more debug info at init time sfan5 2024-02-21 18:58:42 +01:00
  • 602a4050b5 Adjust CI vcpkg run package installation sfan5 2024-02-17 22:08:49 +01:00
  • 54de743641 Workaround for too old GL header on older SDL versions sfan5 2024-02-17 00:51:36 +01:00
  • 3e8d8440e3 Vendor GL headers again sfan5 2024-02-17 00:14:01 +01:00
  • 8189b2338a Remove now unused legacy OGLES2 driver sfan5 2024-02-16 23:27:28 +01:00
  • 0a77ef5dc2 Enable unified driver with all devices sfan5 2024-02-16 23:24:53 +01:00
  • 19f0f707a6 Use ContextManager to resolve symbols in GL driver sfan5 2024-02-17 00:30:32 +01:00
  • 83998f7471 Reduce OGLES extension array to ones actually used sfan5 2024-01-16 21:34:48 +01:00
  • b7bb4b5958 Remove all !_IRR_OGLES1_USE_EXTPOINTER_ code sfan5 2024-01-16 21:03:52 +01:00
  • f28e442bfa Drop all !_IRR_OGLES2_USE_EXTPOINTER_ code sfan5 2024-01-16 21:01:36 +01:00
  • 4cd5c3489e Drop all !_IRR_OPENGL_USE_EXTPOINTER_ code sfan5 2024-01-16 20:59:36 +01:00
  • 52e4d72ae2 Migrate OpenGL cache and texture handler to GL pointers sfan5 2024-01-16 20:17:33 +01:00
  • 7241a49566 Compile at least one CI build as debug sfan5 2024-02-23 13:18:56 +01:00
  • 2db8c8728e Missing value_or() when printing std::optional Muhammad Rifqi Priyo Susanto 2024-02-23 11:00:00 +07:00
  • ec4e690f02 Change order of variables in SMaterial for better packing Saves 8 byte when compiling for 64-bit with VS. Breaks binary compatibility which I'd usually avoid, but as this happened before since 1.8, I don't care. cutealien 2024-02-22 17:57:37 +00:00
  • d9de5f2306 Optimize memory layout for SMaterialLayer SMaterialLayer going down from 40 to 32 bytes on 64-bit systems according to the new VS memory layout tool (nice toy!) cutealien 2024-02-22 11:19:58 +00:00
  • 270b2bec6e Ensure that std::abs is used and not integer abs paradust7 2024-02-21 13:06:29 -08:00
  • c83f28431b Add API to delete shader materials sfan5 2024-02-20 21:27:15 +01:00
  • e60921f0cb Drop old shader material functions sfan5 2024-02-20 21:01:25 +01:00
  • 92252f70d2 Drop low-level shader constant setters sfan5 2024-02-20 20:51:01 +01:00
  • 4e9d0db4be Delete a broken method sfan5 2024-02-19 21:08:29 +01:00
  • 2bb2d3fe01
    CFileSystem: Fix signed integer conversion on MinGW SmallJoker 2024-02-18 23:45:39 +01:00
  • 45ace61007 OpenGL: support scene::EHM_STREAM sfan5 2024-02-18 22:42:36 +01:00
  • 89d0717779 Delete some dead code sfan5 2024-02-18 16:32:45 +01:00
  • 19819bd23a Reduce needless use of wchar / stringw sfan5 2024-02-18 16:29:03 +01:00
  • 2894d9ab03 Add debug output to GL shader loading sfan5 2024-02-18 15:27:42 +01:00
  • e56605d7ce
    Update README for new SDL status sfan5 2024-02-17 22:15:02 +01:00
  • f91be59811 Remove support for GL_POINT_SMOOTH and GL_LINE_SMOOTH antialiasing HybridDog 2024-02-17 22:01:37 +01:00
  • 0069837920
    Upgrade CI actions (#290) wsor4035 2024-02-17 15:07:25 -05:00
  • ad96fabe4a Remove mistaken code block from OGLES1 driver sfan5 2024-02-17 21:00:17 +01:00
  • 6ba6118b8c Upgrade SDL CI to 22.04 everywhere sfan5 2024-02-16 22:42:49 +01:00
  • 7f11d2f950 Switch to llvm-mingw sfan5 2024-01-30 13:37:20 +01:00
  • fe3e41e7ea Set minimum SDL version sfan5 2024-02-15 10:37:24 +01:00
  • 4478b1f1ec Remove old SDL Windows workaround sfan5 2024-02-15 10:35:21 +01:00
  • 3992129735 Bind keypad enter on SDL sfan5 2024-02-15 10:31:06 +01:00
  • e3f3f753de Make text about available texture memory in d3d9 more precise The value returned doesn't seem that useful :-/ cutealien 2024-02-13 19:53:16 +00:00
  • 0dab737d60 Do not use core::max_() with variable that can not be addressed Fatih Uzunoglu 2024-02-11 19:28:32 +02:00
  • 330150854b SDL: set default for ActiveIcon Fatih Uzunoglu 2024-02-11 19:21:06 +02:00
  • 6779ac83f9
    SDL: Improve handling of IMEs (#285) y5nw 2024-02-09 00:08:03 +01:00
  • f1504093d1
    Ensure that absent bone names work (#284) Lars Müller 2024-02-06 20:22:44 +01:00
  • cd1ce549ab Update documentation for EMT_SOLID_2_LAYER Remove comment that it's not working on OpenGL. Not sure when it got fixed, but it's implemented and seems to work as described. cutealien 2024-02-01 20:49:37 +00:00
  • ffec673146 line3d::getClosestPoint can now chose between using line or line segment Also the case of start/end points being identical now avoids invalid numbers from division by 0 and just returns the start point Basically it's now the same again as line2d::getClosestPoint (which also got a comment fix) cutealien 2024-01-30 14:51:08 +00:00
  • 8482cc3db8 Adjust package config dependency again sfan5 2024-01-30 14:22:31 +01:00
  • c7dddff71c Simplify aabbox3d::getSideCenters Unnecessary computations in my last version cutealien 2024-01-29 16:23:43 +00:00
  • ea9a001808 Add aabbox3d::getSideCenters Returns centers of the side faces. Just another tool function to fatten up Irrlicht cutealien 2024-01-29 16:05:31 +00:00
  • 2d880e4cfe Update comments about getEdges (it's about corners...) Wish I could rename those functions, but that breaks a bit too much. So at least document that getEdges is about getting corners and not about getting edges. cutealien 2024-01-29 15:41:42 +00:00
  • a4f94b7656 Add missing dependency find to package config sfan5 2024-01-27 22:09:34 +01:00
  • 67fa713038 Minor code cleanup fixing trivial level 4 warnings cutealien 2024-01-27 15:57:28 +00:00
  • 56db5a39ea Deprecated and disable MY3D loader I tried to find out about this format, but last info seems to be from 2005 (https://irrlicht.sourceforge.io/forum/viewtopic.php?p=37385) Website for it no longer exists and I also couldn't find My3DTools on any other place on the web. We don't even have an example for it in Irrlicht. Also CMY3DHelper.h introduces quite a bunch of functions and global variables in the irr::core namespace and I'm not really interested in spending time in cleaning this up. cutealien 2024-01-27 15:14:28 +00:00
  • 1d3794c8b4 Reduce redundant code in core::quaternion Instead of using same matrix calculations 3 times, getMatrixCenter and getMatrix now both call getMatrixFast. Additional function call might be slight cost in debug, in release compilers hopefully inline it away. Also getMatrix_transposed now split into getMatrix_transposed and getMatrixFast_transposed to make it similar to getMatrix. This also avoids a bunch of level 4 warnings in VS about function variables hiding class variables, which was why I started on this. Thought I also prefer having less code here. cutealien 2024-01-27 14:31:08 +00:00
  • c35e0412a3 Remove unused variable cutealien 2024-01-25 18:08:53 +00:00
  • b3e228ef43 Make more internals for CVertexBuffer and CIndexBuffer public I don't see the point of giving access to Indices and Vertices if they are of a class type which is private. Now it's at least possible (with a few casts) to access the freaking array having the data which is often all we want. cutealien 2024-01-24 11:44:49 +00:00
  • 1a86bbd38a Update VS code analysis ruleset cutealien 2024-01-24 11:38:50 +00:00
  • 4299ee21d8
    CMake: Move generator conditional expressions (#281) SmallJoker 2024-01-22 09:50:29 +01:00
  • 5b81694b1d
    CI: Android support (#197) Vitaliy 2024-01-21 17:51:11 +03:00
  • 66786d0059
    Make IrrlichtDevice::isWindowVisible do what it says on the tin (#279) grorp 2024-01-19 18:17:26 +01:00
  • 9df2f0b944 Undefine SDL2 DirectFB video driver David Heidelberg 2024-01-16 23:43:41 +01:00
  • c3571261ca Fix build with OpenGL ES 1 sfan5 2024-01-17 17:55:19 +01:00
  • bdcd27ab5b Bump revision 1.9.0mt14 sfan5 2024-01-17 17:19:03 +01:00
  • 345285786f Make vector comparison operators transitive savilli 2024-01-08 01:41:39 +01:00
  • dda9b23c3d Make equals method symmetric savilli 2023-12-21 02:14:54 +01:00
  • b349266855 Enable SDL to compile on macOS sfan5 2024-01-17 00:05:13 +01:00
  • ee2467d622 Remove some dead code sfan5 2024-01-16 23:59:33 +01:00
  • 88ca26c418 Define extpointer for SDL + OGLES2 sfan5 2024-01-16 19:56:59 +01:00
  • 8f44270e4a Rip out compressed color formats sfan5 2024-01-16 19:42:21 +01:00
  • edc678f995
    Update minimum CMake version jordan4ibanez 2024-01-16 12:48:30 -05:00
  • 0faeea33c3
    build.yml: Upgrade bionic/jammy -> focal (current oldest LTS) Lars Müller 2024-01-16 18:34:24 +01:00
  • f86b9b93e8 Fix crash when SDL context fails to create sfan5 2024-01-16 18:24:02 +01:00
  • a3ec3a88e8 Fix scene nodes not dropping meshes (memleak) Lars Mueller 2024-01-13 17:55:41 +01:00
  • 7df45b4cf3 SDL: Implement touchscreen support Gregor Parzefall 2024-01-13 14:07:10 +01:00