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
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
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
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
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
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
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