]>
git.lizzy.rs Git - irrlicht.git/log
JosiahWI [Mon, 4 Jul 2022 10:12:33 +0000 (05:12 -0500)]
Fix null dereference reported by coverity (#115)
JosiahWI [Sun, 3 Jul 2022 17:34:12 +0000 (12:34 -0500)]
Remove dead code detected by Coverity (#116)
fixes coverity reports CID
1518478 ,
1518465
Dmitry Kostenko [Thu, 9 Jun 2022 19:56:09 +0000 (21:56 +0200)]
Reset blend equation in 2D mode in OGLES1 and OGLES2 drivers
Dmitry Kostenko [Wed, 8 Jun 2022 21:04:06 +0000 (23:04 +0200)]
Reset blend operation in 2d mode
paradust7 [Mon, 6 Jun 2022 03:05:07 +0000 (03:05 +0000)]
Use CGWarpMouseCursorPosition
sfan5 [Wed, 1 Jun 2022 21:31:50 +0000 (23:31 +0200)]
Don't crash attempting to scale zero-sized images
fixes minetest/minetest#12393
sfan5 [Wed, 1 Jun 2022 13:03:52 +0000 (15:03 +0200)]
Remove more dead code (#108)
paradust7 [Sat, 21 May 2022 22:00:32 +0000 (15:00 -0700)]
Remove core::list and replace uses with std::list (#105)
paradust7 [Sat, 21 May 2022 21:56:36 +0000 (14:56 -0700)]
Make irrArray backed by std::vector (#101)
sfan5 [Sat, 21 May 2022 13:19:57 +0000 (15:19 +0200)]
Refactor SDL device to use the same abstraction as other devices
In particular this makes the OpenGL procedure stuff work.
fixes https://github.com/minetest/minetest/issues/12265
sfan5 [Sat, 21 May 2022 12:26:52 +0000 (14:26 +0200)]
Improve IrrCompileConfig handling in cmake
paradust7 [Mon, 9 May 2022 06:00:12 +0000 (06:00 +0000)]
Remove irrMap and use std::map instead
paradust7 [Wed, 11 May 2022 11:25:50 +0000 (04:25 -0700)]
Remove extra memcpy in ogles2 driver
Richard Try [Tue, 10 May 2022 17:26:24 +0000 (20:26 +0300)]
Add hash for vector2d and vector3d (#93)
sfan5 [Sat, 7 May 2022 09:24:38 +0000 (11:24 +0200)]
Bump revision
paradust7 [Sat, 7 May 2022 09:21:41 +0000 (02:21 -0700)]
Unit tests for irrArray (#103)
sfan5 [Fri, 6 May 2022 12:05:16 +0000 (14:05 +0200)]
Properly strip windows binaries produced by CI
paradust7 [Wed, 4 May 2022 02:06:15 +0000 (02:06 +0000)]
Enable GL_ALPHA_TEST in OpenGL driver for custom transparent alpha shaders
ndren [Sat, 30 Apr 2022 14:53:53 +0000 (15:53 +0100)]
Add missing overrides to fix compiler warnings
paradust7 [Fri, 29 Apr 2022 10:04:22 +0000 (03:04 -0700)]
Replace HWBufferMap with a list and back pointers (#99)
sfan5 [Thu, 28 Apr 2022 19:16:10 +0000 (21:16 +0200)]
Sort out two -Wdeprecated-copy warnings
- SMaterial copy constructor is removed entirely
(same change in upstream trunk r6362)
- CMatrix4 gets an explicit, but default copy constructor readded
sfan5 [Wed, 9 Mar 2022 21:43:35 +0000 (22:43 +0100)]
AutomatedTest: improve and run under macOS CI too
sfan5 [Wed, 9 Mar 2022 21:39:25 +0000 (22:39 +0100)]
Fix COSOperator::getSystemMemory
The values it returns are in Kilobytes and it was broken on macOS.
sfan5 [Sat, 26 Feb 2022 10:38:43 +0000 (11:38 +0100)]
Get rid of various old compiler and platform checks
sfan5 [Sat, 26 Feb 2022 10:23:23 +0000 (11:23 +0100)]
Delete more old files
sfan5 [Sat, 26 Feb 2022 10:18:19 +0000 (11:18 +0100)]
Get rid of all sprintf calls
sfan5 [Sat, 26 Feb 2022 11:09:18 +0000 (12:09 +0100)]
Fix uninitialized variable in previous commit
sfan5 [Sun, 20 Feb 2022 22:18:17 +0000 (23:18 +0100)]
Create OpenGL context using CreateContextAttribsARB
sfan5 [Mon, 14 Feb 2022 17:26:59 +0000 (18:26 +0100)]
Fix SDL2 include paths
closes #96
cutealien [Tue, 8 Feb 2022 21:00:12 +0000 (21:00 +0000)]
IBillboardSceneNode got functions to access meshbuffers.
So uv-coordinates can now be modified directly (previously only possible via texture matrix).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6299
dfc29bdd -3216-0410-991c-
e03cc46cb475
cutealien [Thu, 3 Feb 2022 14:47:41 +0000 (14:47 +0000)]
vector3d scalar operator/ and operator/= no longer multiply by the inverse but use the expected division.
That was a bad case of premature optimization.
Multiplication is indeed faster, but when working with floats this can introduce some rather unexpected inaccuracies.
Like x/x suddenly no longer being 1.0 (something guaranteed by division).
If someone really needs this back, then please add some new function which makes it clear we don't just have a typical division here.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6298
dfc29bdd -3216-0410-991c-
e03cc46cb475
cutealien [Sat, 22 Jan 2022 15:54:43 +0000 (15:54 +0000)]
Avoid some warnings from static code analysis.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6296
dfc29bdd -3216-0410-991c-
e03cc46cb475
cutealien [Sat, 8 Jan 2022 18:22:20 +0000 (18:22 +0000)]
Prefer static_cast to reinterpret_cast where possible.
Just safer. Could probably do in a lot more places... another time.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6293
dfc29bdd -3216-0410-991c-
e03cc46cb475
cutealien [Wed, 13 Oct 2021 10:12:04 +0000 (10:12 +0000)]
de-deprecate clearZBuffer
Lets just keep this one around. Easy to use, downward compatible and generally works as expected.
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6259
dfc29bdd -3216-0410-991c-
e03cc46cb475
sfan5 [Fri, 4 Feb 2022 20:08:37 +0000 (21:08 +0100)]
Update MinGW CI setup to match MT's
sfan5 [Thu, 3 Feb 2022 20:50:14 +0000 (21:50 +0100)]
Bump revision
sfan5 [Mon, 31 Jan 2022 19:48:00 +0000 (20:48 +0100)]
Gracefully handle lack of bundle on macOS
should fix https://github.com/minetest/minetest/issues/10170
sfan5 [Sat, 22 Jan 2022 20:00:54 +0000 (21:00 +0100)]
Get rid of ancient workaround
...that probably negatively impacted performance or something else
Emmanuel Hansen [Sun, 16 Jan 2022 11:16:15 +0000 (11:16 +0000)]
Update CIrrDeviceSDL to support SDL2 (#85)
sfan5 [Sat, 15 Jan 2022 15:05:01 +0000 (16:05 +0100)]
CB3DMeshFileLoader: abort if offsets point outside of file
fixes #70
x2048 [Sun, 2 Jan 2022 19:41:03 +0000 (20:41 +0100)]
Reset mesh animation state before recalculating normals (#90)
ROllerozxa [Wed, 29 Dec 2021 22:00:56 +0000 (23:00 +0100)]
Remove unused attribute saving and loading (#86)
sfan5 [Wed, 29 Dec 2021 12:12:09 +0000 (13:12 +0100)]
Remove more unused code (#87)
William L. DeRieux IV [Sat, 11 Dec 2021 11:43:23 +0000 (06:43 -0500)]
Automatically use SSE registers for FP operations on i386 (#83)
JosiahWI [Thu, 11 Nov 2021 21:53:46 +0000 (15:53 -0600)]
Fix various GCC warnings
- fix overload hiding
- handle missing enumeration values in switch
- remove extraenous semicolons
- always have defaults in color converter switch
- fix root cause of stringop warning
JosiahWI [Tue, 9 Nov 2021 19:47:54 +0000 (13:47 -0600)]
Remove unused functions
renderLine16_Blend(), renderLine16_Decal(), renderLine32_Blend(), renderLine32_Decal()
clipLine()
frand()
drawRectangle() and drawLine()
remove unused private fields
sfan5 [Fri, 19 Nov 2021 19:27:51 +0000 (20:27 +0100)]
Reduce _IRR_MATERIAL_MAX_TEXTURES_ to 4
We don't use any more and reducing this is free memory savings.
sfan5 [Fri, 19 Nov 2021 19:16:57 +0000 (20:16 +0100)]
Get rid of MATERIAL_MAX_TEXTURES_USED
Another configurable knob of questionable usefulness,
especially since this inhibits certain optimizations
by making loop length dependent on a global variable.
sfan5 [Fri, 19 Nov 2021 18:27:47 +0000 (19:27 +0100)]
Unconditionally load first texture matrix in OpenGL driver
This used to work in Irrlicht 1.8 and I tried to figure out
why it no longer did, but failed.
fixes minetest/minetest#11206
x2048 [Tue, 16 Nov 2021 11:30:31 +0000 (12:30 +0100)]
Fix updating of vertex normals for animated meshes (#77)
Updates cached positions and normals of animated vertices
from the mesh. Useful when using meshManipulator to update
the normals.
sfan5 [Sat, 23 Oct 2021 23:11:31 +0000 (01:11 +0200)]
Replace some questionable math implementations
fixes #76
sfan5 [Thu, 30 Sep 2021 14:40:41 +0000 (16:40 +0200)]
Limit dimensions of all image loaders to 23000x23000
sfan5 [Tue, 14 Sep 2021 18:02:40 +0000 (20:02 +0200)]
CImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions
sfan5 [Sun, 12 Sep 2021 18:56:20 +0000 (20:56 +0200)]
Bump revision to 1.9.0mt4
ROllerozxa [Mon, 13 Sep 2021 19:21:26 +0000 (21:21 +0200)]
Readd TGA format support (#64)
sfan5 [Mon, 30 Aug 2021 20:18:43 +0000 (22:18 +0200)]
Remove unused locale-like code, utf8 functions and headers
sfan5 [Mon, 30 Aug 2021 19:53:04 +0000 (21:53 +0200)]
Change clipboard to UTF-8 on macOS
(untested)
sfan5 [Mon, 30 Aug 2021 19:51:24 +0000 (21:51 +0200)]
Make clipboard UTF-8 on Windows too
DS [Mon, 30 Aug 2021 19:44:56 +0000 (21:44 +0200)]
Fix X11 selections (#55)
This fixes all the issues with the X11 selection in addition to switching the clipboard to always be UTF-8.
sfan5 [Mon, 30 Aug 2021 18:44:51 +0000 (20:44 +0200)]
Drop _IRR_WCHAR_FILESYSTEM
never used and never worked for us.
JosiahWI [Sat, 28 Aug 2021 16:12:40 +0000 (11:12 -0500)]
Add support for OpenBSD
There were three patches OpenBSD applied to build Irrlicht, and I implemented two of them. The first required turning off joystick events on OpenBSD, and the second (which I didn't confirm was necessary) required some defines in os.h. The third patch would have added an include to CIrrDeviceLinux.cpp, but the file had changed quite a bit and I could not tell whether this was necessary, so I left it out, and it appears Irrlicht builds fine.
cutealien [Thu, 26 Aug 2021 21:57:27 +0000 (21:57 +0000)]
Merging r6196 through r6248 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6249
dfc29bdd -3216-0410-991c-
e03cc46cb475
TheBrokenRail [Fri, 27 Aug 2021 08:58:46 +0000 (04:58 -0400)]
CIrrDeviceLinux: Add support For TouchInput.touchedCount
sfan5 [Tue, 24 Aug 2021 21:51:48 +0000 (23:51 +0200)]
Readd CSceneCollisionManager with only the method we need
JosiahWI [Mon, 23 Aug 2021 14:44:06 +0000 (09:44 -0500)]
Fix version variable bug
The variables had the wrong names, and wouldn't work properly.
JosiahWI [Sat, 21 Aug 2021 18:16:31 +0000 (13:16 -0500)]
Set policies through CMake 3.9 to allow enabling IPO
JosiahWI [Sat, 21 Aug 2021 12:50:56 +0000 (07:50 -0500)]
Fix absolute path $CXX not working in mingw build script
hecks [Sat, 7 Aug 2021 20:50:13 +0000 (22:50 +0200)]
Remove redundant and troublesome constants from the GL binding
hecks [Sat, 7 Aug 2021 20:41:50 +0000 (22:41 +0200)]
Add some missing constants to the GL binding
hecks [Sat, 7 Aug 2021 19:56:00 +0000 (21:56 +0200)]
Add a unified cross platform OpenGL core profile binding (#52)
JosiahWI [Sun, 1 Aug 2021 09:39:28 +0000 (04:39 -0500)]
Fix incorrect documentation in README
JosiahWI [Sat, 31 Jul 2021 11:04:06 +0000 (06:04 -0500)]
Export targets to build tree (#49)
It is insecure and inconvenient to necessitate installing IrrlichtMt to access the target export. A copy of the export is now placed in the build tree during configuration so that it can be directly accessed from any project by pointing find_package() to look at the IrrlichtMt source directory.
hecks [Thu, 29 Jul 2021 03:05:34 +0000 (05:05 +0200)]
Fix .x material slot parsing
Co-authored-by: hecktest <>
hecktest [Fri, 23 Jul 2021 16:22:59 +0000 (18:22 +0200)]
Restore missing entry in compile config
hecks [Fri, 23 Jul 2021 14:23:44 +0000 (16:23 +0200)]
Delete lots of unused features (#48)
sfan5 [Thu, 22 Jul 2021 14:42:46 +0000 (16:42 +0200)]
Fix CI by running apt-get update first
fn ⌃ ⌥ [Sat, 17 Jul 2021 09:27:51 +0000 (02:27 -0700)]
Add macOS build to CI (#47)
sfan5 [Fri, 16 Jul 2021 21:52:26 +0000 (23:52 +0200)]
Drop unused and unportable "fast math" code
sfan5 [Fri, 16 Jul 2021 21:11:59 +0000 (23:11 +0200)]
Set correct flags for static builds
this is only really relevant on Windows
sfan5 [Fri, 16 Jul 2021 20:44:33 +0000 (22:44 +0200)]
CIrrDeviceOSX: drop all video mode code
sfan5 [Thu, 15 Jul 2021 22:32:15 +0000 (00:32 +0200)]
Remove various ancient support code
hecks [Mon, 12 Jul 2021 16:03:15 +0000 (18:03 +0200)]
Clone .editorconfig from minetest/master
hecks [Sat, 10 Jul 2021 10:28:17 +0000 (12:28 +0200)]
Add missing gitignore entries
sfan5 [Wed, 7 Jul 2021 14:52:49 +0000 (16:52 +0200)]
Drop XML implementation, related code and dependent features
sfan5 [Wed, 7 Jul 2021 14:32:35 +0000 (16:32 +0200)]
Bump revision to 1.9.0mt3
sfan5 [Fri, 2 Jul 2021 17:48:00 +0000 (19:48 +0200)]
Disable software drivers by default everywhere
They'll likely be dropped entirely soon.
sfan5 [Wed, 30 Jun 2021 19:13:59 +0000 (21:13 +0200)]
Fix path issues when imported as subdirectory
NeroBurner [Sun, 27 Jun 2021 21:04:56 +0000 (23:04 +0200)]
Set includes and libs on object targets
Instead of using the global `include_directories()` and
`link_libraries()` calls use the target versions
`target_include_directories()` and `target_include_libraries()` with
`PRIVATE` keyword instead.
The dependencies are libraries only, the headers are added to the build
instructions in a separate call. So the `target_link_libraries()` calls
are not needed for the object-libraries to be built.
Vincent Robinson [Mon, 21 Jun 2021 21:16:38 +0000 (14:16 -0700)]
Fix `getViewPort` returning incorrect results
Vincent Robinson [Mon, 21 Jun 2021 02:36:23 +0000 (19:36 -0700)]
Fix incorrect documentation on `setRenderTarget(Ex)`
sfan5 [Sat, 19 Jun 2021 20:22:47 +0000 (22:22 +0200)]
CXMeshFileLoader: initialize normals to zero during loading
sfan5 [Tue, 15 Jun 2021 16:14:10 +0000 (18:14 +0200)]
CIrrDeviceWin32: readd fullscreen using borderless maximized window
sfan5 [Tue, 15 Jun 2021 16:00:14 +0000 (18:00 +0200)]
CIrrDeviceWin32: drop all video mode code
sfan5 [Tue, 15 Jun 2021 15:43:40 +0000 (17:43 +0200)]
CIrrDeviceLinux: reimplement fullscreen using NetWM hint
sfan5 [Tue, 15 Jun 2021 15:05:06 +0000 (17:05 +0200)]
CIrrDeviceLinux: drop all video mode support code
JosiahWI [Mon, 24 May 2021 18:32:26 +0000 (13:32 -0500)]
Improved IrrlichtMt target structure (#31)
sfan5 [Sat, 8 May 2021 18:57:24 +0000 (20:57 +0200)]
COGLES2Driver: fix swapped color screenshots
JosiahWI [Sat, 8 May 2021 18:38:57 +0000 (13:38 -0500)]
CI: Add verbose flag to build (#35)
Loïc Blot [Wed, 28 Apr 2021 08:12:29 +0000 (10:12 +0200)]
Cleanup C++0x support in irrUString.h (#33)
sfan5 [Tue, 27 Apr 2021 07:25:58 +0000 (09:25 +0200)]
Enable ogles2 on mobile platforms by default
It wasn't meant to be disabled.