]> git.lizzy.rs Git - irrlicht.git/log
irrlicht.git
14 months agoMove import/export macros into CMake
numzero [Sun, 19 Feb 2023 21:16:55 +0000 (00:16 +0300)]
Move import/export macros into CMake

14 months agoMove platform detection to CMake
numzero [Sun, 19 Feb 2023 19:44:02 +0000 (22:44 +0300)]
Move platform detection to CMake

14 months agoRemove irr::core::hash
Desour [Tue, 21 Feb 2023 18:29:32 +0000 (19:29 +0100)]
Remove irr::core::hash

Its use of std::unary_function was deprecated.
And it wasn't used anywhere.

14 months agoFix -Wignored-qualifiers warnings in irrUString.h
Desour [Tue, 21 Feb 2023 17:54:07 +0000 (18:54 +0100)]
Fix -Wignored-qualifiers warnings in irrUString.h

14 months agoResolve some -Wreorder warnings
Desour [Tue, 21 Feb 2023 17:30:14 +0000 (18:30 +0100)]
Resolve some -Wreorder warnings

14 months agoDrop unused stuff from IrrCompileConfig
numzero [Sun, 19 Feb 2023 15:22:43 +0000 (18:22 +0300)]
Drop unused stuff from IrrCompileConfig

14 months agoSDL: Use SDL_WINDOW_FULLSCREEN_DESKTOP and allow to maximize+fullscreen at once ...
DS [Mon, 20 Feb 2023 12:22:28 +0000 (13:22 +0100)]
SDL: Use SDL_WINDOW_FULLSCREEN_DESKTOP and allow to maximize+fullscreen at once (#156)

15 months agoRefactor SDL input code to fix menu exit (#146)
ndren [Sat, 18 Feb 2023 15:16:17 +0000 (15:16 +0000)]
Refactor SDL input code to fix menu exit (#146)

15 months agoAdd WindowMaximized creation parameter and isWindowMaximized() (#142)
DS [Mon, 6 Feb 2023 14:05:44 +0000 (15:05 +0100)]
Add WindowMaximized creation parameter and isWindowMaximized() (#142)

16 months agoMerge pull request #154 from lhofhansl/skinned
lhofhansl [Thu, 12 Jan 2023 19:02:52 +0000 (11:02 -0800)]
Merge pull request #154 from lhofhansl/skinned

Avoid reskinning joints for animated meshes twice for each frame.

16 months agoAvoid reskinning joints for animated meshes twice for each frame.
Lars [Sun, 8 Jan 2023 00:59:02 +0000 (16:59 -0800)]
Avoid reskinning joints for animated meshes twice for each frame.

16 months agoRemove leftover code from software rendering
sfan5 [Mon, 2 Jan 2023 20:21:53 +0000 (21:21 +0100)]
Remove leftover code from software rendering

16 months agoDelete profiler
sfan5 [Mon, 2 Jan 2023 20:05:07 +0000 (21:05 +0100)]
Delete profiler

16 months agoDelete leak hunter
sfan5 [Mon, 2 Jan 2023 19:37:18 +0000 (20:37 +0100)]
Delete leak hunter

16 months agoUpdate workflow to address deprecations
sfan5 [Sat, 31 Dec 2022 11:29:33 +0000 (12:29 +0100)]
Update workflow to address deprecations

16 months agoUse swap_control from MESA and EXT before SGI (#151)
x2048 [Thu, 29 Dec 2022 22:42:52 +0000 (23:42 +0100)]
Use swap_control from MESA and EXT before SGI (#151)

SGI extension does not support interval == 0 (disabling VSync)

16 months agoUse swap_control from MESA and EXT before SGI
x2048 [Thu, 29 Dec 2022 21:44:03 +0000 (22:44 +0100)]
Use swap_control from MESA and EXT before SGI

SGI does not support disabling vsync (interval == 0)

16 months agoCGUITabControl: Center selected tab whenever possible
SmallJoker [Sat, 9 Jul 2022 20:15:34 +0000 (22:15 +0200)]
CGUITabControl: Center selected tab whenever possible

This greatly improves the navigation speed by clicking through the tabs
without losing track of the current scroll position.

16 months agoCompletely remove irrAllocator
sfan5 [Fri, 23 Dec 2022 18:56:21 +0000 (19:56 +0100)]
Completely remove irrAllocator

16 months agoReplace core::string implementation with std::basic_string
sfan5 [Thu, 22 Dec 2022 22:55:35 +0000 (23:55 +0100)]
Replace core::string implementation with std::basic_string

16 months agoAdd missing string tests
sfan5 [Fri, 23 Dec 2022 16:13:32 +0000 (17:13 +0100)]
Add missing string tests

17 months agoPoint to Irrlicht license in root
Andrei E [Sat, 26 Nov 2022 14:24:23 +0000 (14:24 +0000)]
Point to Irrlicht license in root

18 months agoSDL: implement cursor icon API (#135)
DS [Sat, 12 Nov 2022 14:52:39 +0000 (15:52 +0100)]
SDL: implement cursor icon API (#135)

18 months agoAdd unittests for irrString
sfan5 [Fri, 11 Nov 2022 15:25:49 +0000 (16:25 +0100)]
Add unittests for irrString

18 months agoFix two irrString bugs
sfan5 [Fri, 11 Nov 2022 15:24:27 +0000 (16:24 +0100)]
Fix two irrString bugs

* append() missing null-termination
* eraseTrailingFloatZeros() was accidentally broken, comment it out for now

18 months agoAdd setRelativeMode for SDL driver (#123)
Andrei E [Mon, 1 Aug 2022 20:28:36 +0000 (21:28 +0100)]
Add setRelativeMode for SDL driver (#123)

18 months agoBump revision early
sfan5 [Mon, 24 Oct 2022 19:14:41 +0000 (21:14 +0200)]
Bump revision early

18 months agoFix buffer overflow in COBJMeshFileLoader
sfan5 [Mon, 24 Oct 2022 09:07:51 +0000 (11:07 +0200)]
Fix buffer overflow in COBJMeshFileLoader

19 months agoAdd Windows build steps to README (#129)
Herman Semenov [Thu, 20 Oct 2022 20:02:37 +0000 (20:02 +0000)]
Add Windows build steps to README (#129)

19 months agoFix line drawing: Explicitly draw both first & last pixel (#110)
Lars Müller [Sun, 16 Oct 2022 21:47:51 +0000 (23:47 +0200)]
Fix line drawing: Explicitly draw both first & last pixel (#110)

19 months agoSDL: Always set X, Y, Shift and Control in mouse input events
DS [Sun, 16 Oct 2022 15:42:15 +0000 (17:42 +0200)]
SDL: Always set X, Y, Shift and Control in mouse input events

19 months agoAdd build with SDL2 to CI
sfan5 [Sat, 15 Oct 2022 09:06:20 +0000 (11:06 +0200)]
Add build with SDL2 to CI

19 months agoFix SDL device to work with null driver
sfan5 [Sat, 15 Oct 2022 09:12:54 +0000 (11:12 +0200)]
Fix SDL device to work with null driver

19 months agoReplace _IRR_OVERRIDE_ macro with override keyword
JosiahWI [Sun, 9 Oct 2022 18:57:28 +0000 (13:57 -0500)]
Replace _IRR_OVERRIDE_ macro with override keyword

The commit also establishes a precedent of leaving off the `virtual`
keyword in overrides. Although not strictly necessary, I believe this is
good for readability because it makes it clear it is an override and not
a pure virtual function, and it helps keep line lengths shorter. We
should move towards eliminating the macro altogether, but the definition
has been left in with a note on deprecation so that in-progress work
will not suffer merge conflicts.

19 months agoMove Ubuntu builds into docker to keep them working
sfan5 [Fri, 14 Oct 2022 14:08:51 +0000 (16:08 +0200)]
Move Ubuntu builds into docker to keep them working

19 months agowin32: use the unicode window instead of ansi window (#138)
Riceball LEE [Fri, 14 Oct 2022 13:52:10 +0000 (21:52 +0800)]
win32: use the unicode window instead of ansi window (#138)

19 months agoFix buffer size for wchar-multibyte conversion
sfan5 [Fri, 14 Oct 2022 13:44:57 +0000 (15:44 +0200)]
Fix buffer size for wchar-multibyte conversion

19 months agoFix typo in CXMeshFileLoader.cpp (#133)
Tobias Frost [Wed, 21 Sep 2022 08:47:19 +0000 (10:47 +0200)]
Fix typo in CXMeshFileLoader.cpp (#133)

This patch was provided from J. Puydt to Debian.
Origin: https://salsa.debian.org/games-team/minetest/-/blob/master/debian/patches/fix-typos.patch

20 months agoBump revision
sfan5 [Fri, 16 Sep 2022 17:39:46 +0000 (19:39 +0200)]
Bump revision

20 months agoAvoid using XIWarpPointer on certain setups where it's broken
sfan5 [Mon, 12 Sep 2022 14:19:44 +0000 (16:19 +0200)]
Avoid using XIWarpPointer on certain setups where it's broken

fixes minetest/minetest#12697

20 months agoFix glHint parameter, type size and add more null checks (#130)
Herman Semenov [Fri, 2 Sep 2022 06:40:02 +0000 (09:40 +0300)]
Fix glHint parameter, type size and add more null checks (#130)

20 months agoFix crash in COGLES1Driver (#128)
savilli [Mon, 22 Aug 2022 17:12:40 +0000 (19:12 +0200)]
Fix crash in COGLES1Driver (#128)

22 months agoBump revision
sfan5 [Thu, 21 Jul 2022 18:20:13 +0000 (20:20 +0200)]
Bump revision

22 months agoInclude revision in SOVERSION for (in)compatibility checks
sfan5 [Thu, 21 Jul 2022 17:49:36 +0000 (19:49 +0200)]
Include revision in SOVERSION for (in)compatibility checks

22 months agoReplace std::min in irrArray.h
sfan5 [Wed, 20 Jul 2022 20:09:07 +0000 (22:09 +0200)]
Replace std::min in irrArray.h

should fix #122

22 months agoEnable XInput2 by default (and improve CMake detection)
sfan5 [Mon, 18 Jul 2022 19:34:47 +0000 (21:34 +0200)]
Enable XInput2 by default (and improve CMake detection)

closes #73

22 months agoDrop gamma ramp code
sfan5 [Mon, 18 Jul 2022 19:19:30 +0000 (21:19 +0200)]
Drop gamma ramp code

We definitely won't be wanting to set the gamma for the entire display in the future.

22 months agoReturn nullptr pointer for empty core::array
sfan5 [Sun, 17 Jul 2022 10:22:10 +0000 (12:22 +0200)]
Return nullptr pointer for empty core::array

fixes minetest/minetest#12532

22 months agoSupport Unicode characters properly in SDL2 (#114)
ndren [Sun, 17 Jul 2022 10:08:37 +0000 (11:08 +0100)]
Support Unicode characters properly in SDL2 (#114)

22 months agoUpdate README a bit
sfan5 [Sat, 9 Jul 2022 22:11:49 +0000 (00:11 +0200)]
Update README a bit

22 months agoDrop Console and Framebuffer device
sfan5 [Sat, 9 Jul 2022 21:53:04 +0000 (23:53 +0200)]
Drop Console and Framebuffer device

fbdev is long legacy and the console was just an ASCII art gimmick

22 months agoStop dlopening libGL(ESv2).so
sfan5 [Sat, 9 Jul 2022 20:49:15 +0000 (22:49 +0200)]
Stop dlopening libGL(ESv2).so

GLX/EGL are supposed to abstract exactly this away,
this is a bad hack at best and might totally break stuff at worst.

22 months agoFix CreateContextAttribsARB fallback behaviour
sfan5 [Sat, 9 Jul 2022 20:04:51 +0000 (22:04 +0200)]
Fix CreateContextAttribsARB fallback behaviour

fixes minetest/minetest#12518

22 months agoAdd MSVC CI build (#26)
LoneWolfHT [Thu, 7 Jul 2022 19:44:48 +0000 (12:44 -0700)]
Add MSVC CI build (#26)

22 months agoCleaner ListItem initialization (#117)
JosiahWI [Thu, 7 Jul 2022 19:44:15 +0000 (14:44 -0500)]
Cleaner ListItem initialization (#117)

Should fix Coverity report CIDs 1516434 and 1518460.

22 months agoFix null dereference reported by coverity (#115)
JosiahWI [Mon, 4 Jul 2022 10:12:33 +0000 (05:12 -0500)]
Fix null dereference reported by coverity (#115)

22 months agoRemove dead code detected by Coverity (#116)
JosiahWI [Sun, 3 Jul 2022 17:34:12 +0000 (12:34 -0500)]
Remove dead code detected by Coverity (#116)

fixes coverity reports CID 15184781518465

23 months agoReset blend equation in 2D mode in OGLES1 and OGLES2 drivers
Dmitry Kostenko [Thu, 9 Jun 2022 19:56:09 +0000 (21:56 +0200)]
Reset blend equation in 2D mode in OGLES1 and OGLES2 drivers

23 months agoReset blend operation in 2d mode
Dmitry Kostenko [Wed, 8 Jun 2022 21:04:06 +0000 (23:04 +0200)]
Reset blend operation in 2d mode

23 months agoUse CGWarpMouseCursorPosition
paradust7 [Mon, 6 Jun 2022 03:05:07 +0000 (03:05 +0000)]
Use CGWarpMouseCursorPosition

23 months agoDon't crash attempting to scale zero-sized images
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

23 months agoRemove more dead code (#108)
sfan5 [Wed, 1 Jun 2022 13:03:52 +0000 (15:03 +0200)]
Remove more dead code (#108)

2 years agoRemove core::list and replace uses with std::list (#105)
paradust7 [Sat, 21 May 2022 22:00:32 +0000 (15:00 -0700)]
Remove core::list and replace uses with std::list (#105)

2 years agoMake irrArray backed by std::vector (#101)
paradust7 [Sat, 21 May 2022 21:56:36 +0000 (14:56 -0700)]
Make irrArray backed by std::vector (#101)

2 years agoRefactor SDL device to use the same abstraction as other devices
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

2 years agoImprove IrrCompileConfig handling in cmake
sfan5 [Sat, 21 May 2022 12:26:52 +0000 (14:26 +0200)]
Improve IrrCompileConfig handling in cmake

2 years agoRemove irrMap and use std::map instead
paradust7 [Mon, 9 May 2022 06:00:12 +0000 (06:00 +0000)]
Remove irrMap and use std::map instead

2 years agoRemove extra memcpy in ogles2 driver
paradust7 [Wed, 11 May 2022 11:25:50 +0000 (04:25 -0700)]
Remove extra memcpy in ogles2 driver

2 years agoAdd hash for vector2d and vector3d (#93)
Richard Try [Tue, 10 May 2022 17:26:24 +0000 (20:26 +0300)]
Add hash for vector2d and vector3d (#93)

2 years agoBump revision
sfan5 [Sat, 7 May 2022 09:24:38 +0000 (11:24 +0200)]
Bump revision

2 years agoUnit tests for irrArray (#103)
paradust7 [Sat, 7 May 2022 09:21:41 +0000 (02:21 -0700)]
Unit tests for irrArray (#103)

2 years agoProperly strip windows binaries produced by CI
sfan5 [Fri, 6 May 2022 12:05:16 +0000 (14:05 +0200)]
Properly strip windows binaries produced by CI

2 years agoEnable GL_ALPHA_TEST in OpenGL driver for custom transparent alpha shaders
paradust7 [Wed, 4 May 2022 02:06:15 +0000 (02:06 +0000)]
Enable GL_ALPHA_TEST in OpenGL driver for custom transparent alpha shaders

2 years agoAdd missing overrides to fix compiler warnings
ndren [Sat, 30 Apr 2022 14:53:53 +0000 (15:53 +0100)]
Add missing overrides to fix compiler warnings

2 years agoReplace HWBufferMap with a list and back pointers (#99)
paradust7 [Fri, 29 Apr 2022 10:04:22 +0000 (03:04 -0700)]
Replace HWBufferMap with a list and back pointers (#99)

2 years agoSort out two -Wdeprecated-copy warnings
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

2 years agoAutomatedTest: improve and run under macOS CI too
sfan5 [Wed, 9 Mar 2022 21:43:35 +0000 (22:43 +0100)]
AutomatedTest: improve and run under macOS CI too

2 years agoFix COSOperator::getSystemMemory
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.

2 years agoGet rid of various old compiler and platform checks
sfan5 [Sat, 26 Feb 2022 10:38:43 +0000 (11:38 +0100)]
Get rid of various old compiler and platform checks

2 years agoDelete more old files
sfan5 [Sat, 26 Feb 2022 10:23:23 +0000 (11:23 +0100)]
Delete more old files

2 years agoGet rid of all sprintf calls
sfan5 [Sat, 26 Feb 2022 10:18:19 +0000 (11:18 +0100)]
Get rid of all sprintf calls

2 years agoFix uninitialized variable in previous commit
sfan5 [Sat, 26 Feb 2022 11:09:18 +0000 (12:09 +0100)]
Fix uninitialized variable in previous commit

2 years agoCreate OpenGL context using CreateContextAttribsARB
sfan5 [Sun, 20 Feb 2022 22:18:17 +0000 (23:18 +0100)]
Create OpenGL context using CreateContextAttribsARB

2 years agoFix SDL2 include paths
sfan5 [Mon, 14 Feb 2022 17:26:59 +0000 (18:26 +0100)]
Fix SDL2 include paths

closes #96

2 years agoIBillboardSceneNode got functions to access meshbuffers.
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

2 years agovector3d scalar operator/ and operator/= no longer multiply by the inverse but use...
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

2 years agoAvoid some warnings from static code analysis.
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

2 years agoPrefer static_cast to reinterpret_cast where possible.
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

2 years agode-deprecate clearZBuffer
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

2 years agoUpdate MinGW CI setup to match MT's
sfan5 [Fri, 4 Feb 2022 20:08:37 +0000 (21:08 +0100)]
Update MinGW CI setup to match MT's

2 years agoBump revision
sfan5 [Thu, 3 Feb 2022 20:50:14 +0000 (21:50 +0100)]
Bump revision

2 years agoGracefully handle lack of bundle on macOS
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

2 years agoGet rid of ancient workaround
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

2 years agoUpdate CIrrDeviceSDL to support SDL2 (#85)
Emmanuel Hansen [Sun, 16 Jan 2022 11:16:15 +0000 (11:16 +0000)]
Update CIrrDeviceSDL to support SDL2 (#85)

2 years agoCB3DMeshFileLoader: abort if offsets point outside of file
sfan5 [Sat, 15 Jan 2022 15:05:01 +0000 (16:05 +0100)]
CB3DMeshFileLoader: abort if offsets point outside of file

fixes #70

2 years agoReset mesh animation state before recalculating normals (#90)
x2048 [Sun, 2 Jan 2022 19:41:03 +0000 (20:41 +0100)]
Reset mesh animation state before recalculating normals (#90)

2 years agoRemove unused attribute saving and loading (#86)
ROllerozxa [Wed, 29 Dec 2021 22:00:56 +0000 (23:00 +0100)]
Remove unused attribute saving and loading (#86)

2 years agoRemove more unused code (#87)
sfan5 [Wed, 29 Dec 2021 12:12:09 +0000 (13:12 +0100)]
Remove more unused code (#87)

2 years agoAutomatically use SSE registers for FP operations on i386 (#83)
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)

2 years agoFix various GCC warnings
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