Commit Graph

  • b11c4c142c Remove several copy-constructors and assignment operators which did nothing special. They all just implemented the same the default functions do. This causes now warnings with newer gcc -Wdeprecated settings (otherwise they would have had to implement always both, but makes no sense as they did nothing special). cutealien 2022-01-06 14:02:12 +00:00
  • 1e7ceac26c Remove assignment operator in quaternion. It's identical to the implicit one generated, so we don't need that. And it triggers warnings with -Wdeprecated in newer gcc. It's because the implicit definition of a copy constructor is deprecated if the class has a user-declared copy assignment operator. cutealien 2022-01-06 12:01:36 +00:00
  • 66f9511745 Fix: 64 bit integer typedefs have different definitions in different compilation units Mac OS Thanks @edo9300 for reporting: https://irrlicht.sourceforge.io/forum/viewtopic.php?f=7&t=52795 This is also once more trying to fix bug #433 cutealien 2022-01-04 18:44:35 +00:00
  • dadbf64a8c Merging r6274 through r6276 from branch releases/1.8 to trunk - Security fix for md2 loader cutealien 2022-01-02 20:15:24 +00:00
  • 2fec5e5dd3
    Reset mesh animation state before recalculating normals (#90) x2048 2022-01-02 20:41:03 +01:00
  • 52e03a8485
    Remove unused attribute saving and loading (#86) ROllerozxa 2021-12-29 23:00:56 +01:00
  • dd09fdcb4e
    Remove more unused code (#87) sfan5 2021-12-29 13:12:09 +01:00
  • e7c7e36347 obj file loader now allows using mtl files with spaces in the filename. mtllib commands previously used only the first word, now they use the rest of the line. Different obj format descriptions describe the mtllib command in 2 different ways: - http://paulbourke.net says it can load several mtl files separated by spaces - Wikipedia says it can load one mtl file (but there can be several mtllib commands) We previously loaded 1 file - using the name up to the first space character, so it basically was not correct for either solution. We now go with Wikipedia, because it allows using space in filenames and I tested several other tools and they all handled it like this. cutealien 2021-12-22 16:19:59 +00:00
  • 4bdecbc6b7 Automatically use SSE registers for FP operations on i386 (#83) William L. DeRieux IV 2021-12-11 06:43:23 -05:00
  • 6d96663c9a Merging r6256 through r6273 from trunk to ogl-es branch cutealien 2021-12-12 14:06:53 +00:00
  • e037502141 Merging r6272 from branch releases/1.8 to trunk - readme.txt fix cutealien 2021-12-12 14:04:12 +00:00
  • 2bed22acbb Merging r6270 from branch releases/1.8 to trunk - Prevent buffer overflow in md2 loader cutealien 2021-12-12 13:55:03 +00:00
  • 73d562d745 Merging r6266 through r6268 from branch releases/1.8 to trunk - Spelling fixes - Makefile adding to CFLAGS instead of replacing them. cutealien 2021-12-05 20:25:26 +00:00
  • 6d133e1bcc Fix various GCC warnings JosiahWI 2021-11-11 15:53:46 -06:00
  • d4119ba664 Remove unused functions JosiahWI 2021-11-09 13:47:54 -06:00
  • 2f2d37dce6 Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4 sfan5 2021-11-19 20:27:51 +01:00
  • d322b73e4c Get rid of MATERIAL_MAX_TEXTURES_USED sfan5 2021-11-19 20:16:57 +01:00
  • 6779cb7254 Unconditionally load first texture matrix in OpenGL driver sfan5 2021-11-19 19:27:47 +01:00
  • 39cad3e618
    Fix updating of vertex normals for animated meshes (#77) x2048 2021-11-16 12:30:31 +01:00
  • 853939405b Add XMLFontConverter source file #78 bitmapfont sfan5 2021-11-09 22:19:35 +01:00
  • 9b0bc2aaed Readd simple text format to replace bitmap font XML sfan5 2021-11-09 22:19:05 +01:00
  • 3e61e81b06 Merging r6203 through r6264 from branch releases/1.8 to trunk Just updating text files after Irrlicht 1.8.5 release. All other changes had been backports and were in trunk already. cutealien 2021-11-01 15:47:21 +00:00
  • 81bae5b717 Replace some questionable math implementations sfan5 2021-10-24 01:11:31 +02:00
  • 60b245bf4f de-deprecate clearZBuffer Lets just keep this one around. Easy to use, downward compatible and generally works as expected. cutealien 2021-10-13 10:12:04 +00:00
  • dbd39120e7 Limit dimensions of all image loaders to 23000x23000 sfan5 2021-09-30 16:40:41 +02:00
  • 594de99153 CImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions sfan5 2021-09-14 20:02:40 +02:00
  • 713471e9a2 Bump revision to 1.9.0mt4 sfan5 2021-09-12 20:56:20 +02:00
  • ac57007c55
    Readd TGA format support (#64) ROllerozxa 2021-09-13 21:21:26 +02:00
  • 4389a15e0f Remove unused locale-like code, utf8 functions and headers 1.9.0mt3 sfan5 2021-08-30 22:18:43 +02:00
  • 8f386999a6 Change clipboard to UTF-8 on macOS sfan5 2021-08-30 21:53:04 +02:00
  • 34f1f8d089 Make clipboard UTF-8 on Windows too sfan5 2021-08-30 21:51:24 +02:00
  • 9c4b6f25ab
    Fix X11 selections (#55) DS 2021-08-30 21:44:56 +02:00
  • 75b4c05741 Drop _IRR_WCHAR_FILESYSTEM sfan5 2021-08-30 20:44:51 +02:00
  • 2dc2846c3f
    Add support for OpenBSD JosiahWI 2021-08-28 11:12:40 -05:00
  • 6025242ee9 Fix compiling Android and iOS cutealien 2021-08-27 19:26:01 +00:00
  • 1efc93d766 Merging r6256 from trunk to ogl-es branch (fixing OSX again) cutealien 2021-08-27 19:20:42 +00:00
  • 377e9c59df Change _IRR_OVERRIDE to IRR_OVERRIDE also on OSX headers. cutealien 2021-08-27 19:19:09 +00:00
  • ee3579015b Merging r6250 through r6254 from trunk to ogl-es branch cutealien 2021-08-27 19:14:39 +00:00
  • b691098fae Unify VS project files some more. Trying to clarify comments in irrLegacyDefines.h cutealien 2021-08-27 18:09:14 +00:00
  • 3d2a55e788 Replace header guards in source folder to avoid using identifiers reserved by c++ Basically fixing original Bug#427 reported by MArkus Elfring. Unfortunately there are still more defines (in IrrCompileConfig.h) which also are not nice c++ Lots of files touched for very minor cleanup *sigh* cutealien 2021-08-27 15:55:04 +00:00
  • 0c6385cb92 Replace public header guards to avoid using indentifiers reserved by c++ Usually something like __IRR_SOME_GUARD_INCLUDED__ replaced by IRR_SOME_GUARD_INCLUDED. Removing underscores at the end wasn't necessary, but more symmetric (probably the reason they got added there as well). While this touches every header it shouldn't affect users (I hope). cutealien 2021-08-27 15:03:34 +00:00
  • ffd7b63af0 API BREAKER: Replacing defines in irrTypes.h which are conflicting with c++ reserved identifier rules. C++ has undefined behavior for identifiers starting with __ or with _ followed by an uppercase letter. We still have many more (in IrrCompileConfig.h and in all header-guards), will likely replace those later as well. As a workaround for users which might use irrlicht defines in their code, I've added the header irrLegacyDefines.h Including that allows to continue using old defines for a while - or make it easier to have code which compiles with old and new Irrlicht library versions. cutealien 2021-08-27 12:55:10 +00:00
  • ee180dbd24 Unify VS project files and add a few more headers into them. cutealien 2021-08-27 10:47:05 +00:00
  • 9690c1b3e3 Merging r6196 through r6248 from trunk to ogl-es branch cutealien 2021-08-26 21:57:27 +00:00
  • c26ff3476f
    CIrrDeviceLinux: Add support For TouchInput.touchedCount TheBrokenRail 2021-08-27 04:58:46 -04:00
  • 21302d038a Merging r6196 through r6248 from trunk to ogl-es branch cutealien 2021-08-26 21:57:27 +00:00
  • dba40bb36f PACK_STRUCT was likely ignored in ieee654 struct. clang warned about that and I think warning made sense. Also still works on gcc - will test on VS tomorrow. cutealien 2021-08-26 21:32:17 +00:00
  • 9564827d57 Avoid clang warning. cutealien 2021-08-26 21:30:44 +00:00
  • 8e149ffb40 Avoid gcc warning and fix some indention/whitespace. cutealien 2021-08-26 21:09:08 +00:00
  • 0c2049610a Add missing _IRR_OVERRIDE_ Clang complained. Slightly interesting case - pure virtual function with override - I suppose for documentation purposes. cutealien 2021-08-26 21:00:31 +00:00
  • da33f80bb8 Readd CSceneCollisionManager with only the method we need sfan5 2021-08-24 23:51:48 +02:00
  • 7812d914f2 Add comments in IRenderTarget interface. cutealien 2021-08-26 16:49:47 +00:00
  • d03881b83a Reworking IRenderTarget interface to avoid constant memory allocations. setTexture functions for single textures (more or less the usual case) IRenderTarget no longer need memory allocations on each call. Also calling IRenderTarget::setTexture with a nullpointer no longer sets a rendertarget with an array which contains a single nullpointer but clears the array instead. cutealien 2021-08-26 16:45:20 +00:00
  • 075c64bebb Add equals and set_data functions to core::array for easier working with blocks of data. cutealien 2021-08-26 16:41:14 +00:00
  • a5f38804a3 Fix singular/plural in some variable names used in rendertargets. Still can't decide on fixing/leaving function names... brr cutealien 2021-08-26 14:09:35 +00:00
  • ef85ff7fba Add comment in path.h that the corresponding functions for path are in coreutil.h Not going to change that as it breaks too much code moving it into another namespace (and arguably both are ok), but should at least be mentioned somehwere. cutealien 2021-08-25 17:39:35 +00:00
  • 502376efbd Add some stuff which is defined-out by default to doxygen documentation. leakhunter and profiler now have correct docs. cutealien 2021-08-25 17:29:23 +00:00
  • 806665354d Fix include guard in leakHunter.h cutealien 2021-08-25 17:23:16 +00:00
  • feb3d07466 SIrrlichtCreationParameters::IgnoreInput set to false works again on X11. Thanks @ Victor Gaydov for report + patch + very good test cases! (bug #401) This had been broken since Irrlicht 1.6 The reason was that Irrlicht 1.6 wanted to ensure Irrlicht renders to given parent window instead of creating a child window in the parent window. That still works, but only with SIrrlichtCreationParameters::IgnoreInput set to true. Added a few comments about further improvements as rendering to the given parent Window is likely also possible for this case, but that will need more work. cutealien 2021-08-25 14:33:22 +00:00
  • f9078a6a12 Fix version variable bug JosiahWI 2021-08-23 09:44:06 -05:00
  • 1aab3db68b
    Set policies through CMake 3.9 to allow enabling IPO JosiahWI 2021-08-21 13:16:31 -05:00
  • 4ba0f8d100
    Fix absolute path $CXX not working in mingw build script JosiahWI 2021-08-21 07:50:56 -05:00
  • 4cebe6fbde Remove commented out code. Forgot to remove that earlier. cutealien 2021-08-20 16:44:23 +00:00
  • fab0c53b85 Add steer parameter to CSceneNodeAnimatorFollowSpline which allows rotating node toward direction of movement. Thanks @ Bate for the patch (patch #175 with minor changes). cutealien 2021-08-20 16:39:37 +00:00
  • 54e10d0dbe Fix problem with legacy mipmap code on legacy ATI radeon X cards. This was patch #285 from Danyal Zia and is about old radeon cards not supporting npot textures despite claiming so I think. Was never applied as needed some rewrite first (did string-comparisons a bit too often), so got stuck on patch-tracker. Well, lets hope this fixes it in case anyone ever needs that specific combination ever again ;-) cutealien 2021-08-20 14:46:12 +00:00
  • 7ce229a658 Add missing break in CGUIModalScreen::OnEvent. Recently added code to allow using tab-key's inside modal dialogs could also be called when moving the mouse while the tab-key was pressed. cutealien 2021-08-20 12:27:05 +00:00
  • e98b3bed57 Cast away warning in gcc cutealien 2021-08-20 12:22:44 +00:00
  • 84b1fa30f0 Add a workaround for XWarpPointer bug mentioned reported by vikaig (#450) Problem is that the mouse jumps when users have set a coordinate transformation matrix for their mouse on X11. XWarpPointer first sets the correct coordinates, but X11 then moves the mouse wrongly to the scaled position on the next mouse event. On X-Org bugtracker it's this bug: https://gitlab.freedesktop.org/xorg/xserver/-/issues/600 The fix needs compiling with _IRR_LINUX_X11_XINPUT2_ enabled (so far disabled by default) Note: We only use XINPUT2 so far for touch-input... I hope this patch won't conflict with that. Also I mix now IInput2 and X11 functions as getting the mouse-position still uses X11. But seems to work in my tests. cutealien 2021-08-19 17:25:08 +00:00
  • 34f4ae4797 Cast away gcc warning. cutealien 2021-08-16 13:04:43 +00:00
  • da22e5d7c0 Remove redundant and troublesome constants from the GL binding hecks 2021-08-07 22:50:13 +02:00
  • f83dab83cf Add some missing constants to the GL binding hecks 2021-08-07 22:41:50 +02:00
  • 5bf68b5731
    Add a unified cross platform OpenGL core profile binding (#52) hecks 2021-08-07 21:56:00 +02:00
  • 7709e1e5f8
    Fix incorrect documentation in README JosiahWI 2021-08-01 04:39:28 -05:00
  • 864e24774d
    Export targets to build tree (#49) JosiahWI 2021-07-31 06:04:06 -05:00
  • 27db3a6a0c Make sure all headers in include can be compiled independently Also adding some to VS2010 project file (for better project search) Some empty line removal. cutealien 2021-07-29 18:50:03 +00:00
  • 6c78f181b5
    Fix .x material slot parsing hecks 2021-07-29 05:05:34 +02:00
  • ae81dbd942 Restore missing entry in compile config hecktest 2021-07-23 18:22:59 +02:00
  • 4ab3de3bab
    Delete lots of unused features (#48) hecks 2021-07-23 16:23:44 +02:00
  • dc2246dae7 Fix CI by running apt-get update first sfan5 2021-07-22 16:42:46 +02:00
  • b0876d1e1a Fix compiling with _IRR_COMPILE_WITH_PROFILING_ enabled cutealien 2021-07-20 18:46:21 +00:00
  • 3cf9532a06
    Add macOS build to CI (#47) fn ⌃ ⌥ 2021-07-17 02:27:51 -07:00
  • 1d66c921c2 Drop unused and unportable "fast math" code sfan5 2021-07-16 23:52:26 +02:00
  • 22c3219ff0 Set correct flags for static builds sfan5 2021-07-16 23:11:59 +02:00
  • b2b000597a CIrrDeviceOSX: drop all video mode code sfan5 2021-07-16 22:44:33 +02:00
  • 0afd799002 Remove various ancient support code sfan5 2021-07-16 00:32:15 +02:00
  • ccd0b13fd0 Add documentation about LOCALE_DECIMAL_POINTS Include fast_atof.h header in VS2010 project file. cutealien 2021-07-15 19:33:28 +00:00
  • 2cc1a4e20a
    Clone .editorconfig from minetest/master hecks 2021-07-12 18:03:15 +02:00
  • 95471afdcf
    Add missing gitignore entries hecks 2021-07-10 12:28:17 +02:00
  • 729c214c00 Drop XML implementation, related code and dependent features sfan5 2021-07-07 16:52:49 +02:00
  • ecb30e3d96 Bump revision to 1.9.0mt3 sfan5 2021-07-07 16:32:35 +02:00
  • accf927874 Disable software drivers by default everywhere 1.9.0mt2 sfan5 2021-07-02 19:48:00 +02:00
  • d62e0424f2 Fix path issues when imported as subdirectory sfan5 2021-06-30 21:13:59 +02:00
  • 38e2aa1338 createTorusMesh can now create a partial torus Capping the torus also supported. Bit arguably if caps belong in this function, but default for caps is off and they can be useful. (one could also code partial minor circles ... but I'm stopping there) cutealien 2021-06-28 14:33:08 +00:00
  • 28fd5f8a4f Reduce warnings in CGeometryCreator::createTorusMesh Also simplify it a bit. cutealien 2021-06-28 12:22:04 +00:00
  • 924178ebf6
    Set includes and libs on object targets NeroBurner 2021-06-27 23:04:56 +02:00
  • dfba4bd4e5 Comment fix. cutealien 2021-06-25 16:28:44 +00:00
  • 9ba392e902 Add createTorusMesh function to IGeometryCreator Mmmm .... Donuts! cutealien 2021-06-25 16:19:11 +00:00
  • 78d1a3f73e
    Fix getViewPort returning incorrect results Vincent Robinson 2021-06-21 14:16:38 -07:00
  • b43f9b96e0 Fix incorrect documentation on setRenderTarget(Ex) Vincent Robinson 2021-06-20 19:36:23 -07:00
  • 0500a7798b CXMeshFileLoader: initialize normals to zero during loading sfan5 2021-06-19 22:22:47 +02:00