]> git.lizzy.rs Git - irrlicht.git/log
irrlicht.git
14 months agoAccommodate lack of ETS_TEXTURE_1
numzero [Mon, 13 Mar 2023 15:17:47 +0000 (18:17 +0300)]
Accommodate lack of ETS_TEXTURE_1

14 months agoMerge branch 'drop-irr-compile-config' into opengl3
numzero [Mon, 13 Mar 2023 15:07:25 +0000 (18:07 +0300)]
Merge branch 'drop-irr-compile-config' into opengl3

14 months agoMerge branch 'master' into drop-irr-compile-config
numzero [Mon, 13 Mar 2023 15:05:36 +0000 (18:05 +0300)]
Merge branch 'master' into drop-irr-compile-config

14 months agoBump revision early
sfan5 [Sat, 11 Mar 2023 14:12:05 +0000 (15:12 +0100)]
Bump revision early

14 months agoDrop IrrCompileConfig (#163)
Vitaliy [Sat, 11 Mar 2023 14:04:09 +0000 (17:04 +0300)]
Drop IrrCompileConfig (#163)

14 months agoConsolidate import/export attribute definitions
numzero [Mon, 6 Mar 2023 14:32:03 +0000 (17:32 +0300)]
Consolidate import/export attribute definitions

14 months agoRestrict X11 options to X11 device
numzero [Mon, 6 Mar 2023 11:21:58 +0000 (14:21 +0300)]
Restrict X11 options to X11 device

14 months agoRestore isDriverSupported, but in a cpp file
numzero [Mon, 6 Mar 2023 11:10:05 +0000 (14:10 +0300)]
Restore isDriverSupported, but in a cpp file

14 months agoDrop ETS_TEXTURE_1
numzero [Mon, 6 Mar 2023 10:58:38 +0000 (13:58 +0300)]
Drop ETS_TEXTURE_1

The transformation state itself is still available via ETS_TEXTURE_0+1

14 months agoBump revision
sfan5 [Sun, 5 Mar 2023 20:44:44 +0000 (21:44 +0100)]
Bump revision

14 months agoApply suggestions from code review
Vitaliy [Sat, 4 Mar 2023 19:27:43 +0000 (22:27 +0300)]
Apply suggestions from code review

Co-authored-by: sfan5 <sfan5@live.de>
14 months agoRestore obsolete constants as they are still used in some code I don’t want to touch
numzero [Fri, 3 Mar 2023 18:59:11 +0000 (21:59 +0300)]
Restore obsolete constants as they are still used in some code I don’t want to touch

14 months agoMerge branch 'master' into opengl3
numzero [Fri, 3 Mar 2023 18:52:25 +0000 (21:52 +0300)]
Merge branch 'master' into opengl3

14 months agoFix ifdefs around includes in CIrrDeviceSDL
numzero [Fri, 3 Mar 2023 18:23:07 +0000 (21:23 +0300)]
Fix ifdefs around includes in CIrrDeviceSDL

14 months agoSplit new GL3/GLES2 drivers
numzero [Fri, 3 Mar 2023 17:29:36 +0000 (20:29 +0300)]
Split new GL3/GLES2 drivers

The classes are tiny wrappers currently but should they be customized, they are there

15 months agoReport as OpenGL 3
numzero [Thu, 2 Mar 2023 00:03:17 +0000 (03:03 +0300)]
Report as OpenGL 3

15 months agoError out on unsupported configurations
numzero [Wed, 1 Mar 2023 23:42:51 +0000 (02:42 +0300)]
Error out on unsupported configurations

15 months agoSupport both OpenGL3 and GLES2 on SDL2
numzero [Wed, 1 Mar 2023 23:42:29 +0000 (02:42 +0300)]
Support both OpenGL3 and GLES2 on SDL2

15 months agoSupport GLES2
numzero [Wed, 1 Mar 2023 23:41:58 +0000 (02:41 +0300)]
Support GLES2

15 months agoDrop obsolete video drivers
numzero [Wed, 1 Mar 2023 22:22:04 +0000 (01:22 +0300)]
Drop obsolete video drivers

15 months agoUnify drawing functions
numzero [Mon, 27 Feb 2023 21:51:29 +0000 (00:51 +0300)]
Unify drawing functions

15 months agoDrop obsolete stuff
numzero [Mon, 27 Feb 2023 20:36:56 +0000 (23:36 +0300)]
Drop obsolete stuff

15 months agoUnify quad drawing
numzero [Mon, 27 Feb 2023 18:56:26 +0000 (21:56 +0300)]
Unify quad drawing

15 months agoUnify plain image drawing
numzero [Mon, 27 Feb 2023 18:27:23 +0000 (21:27 +0300)]
Unify plain image drawing

15 months agoDrop obsolete IVideoDriver features
numzero [Mon, 27 Feb 2023 18:23:11 +0000 (21:23 +0300)]
Drop obsolete IVideoDriver features

15 months agoLoad extensions the OpenGL 3 way
numzero [Mon, 27 Feb 2023 17:32:06 +0000 (20:32 +0300)]
Load extensions the OpenGL 3 way

15 months agoAdd debug handler
numzero [Mon, 27 Feb 2023 17:31:51 +0000 (20:31 +0300)]
Add debug handler

15 months agoEnumerate extensions in the OpenGL 3 way
numzero [Mon, 27 Feb 2023 14:41:03 +0000 (17:41 +0300)]
Enumerate extensions in the OpenGL 3 way

15 months agoRequest OpenGL 3.2
numzero [Mon, 27 Feb 2023 14:39:28 +0000 (17:39 +0300)]
Request OpenGL 3.2

15 months agoAdd OpenGL3 renderer
numzero [Mon, 27 Feb 2023 13:47:30 +0000 (16:47 +0300)]
Add OpenGL3 renderer

15 months agoReduce IrrCompileConfig usage to files that actually need it
numzero [Wed, 22 Feb 2023 17:59:47 +0000 (20:59 +0300)]
Reduce IrrCompileConfig usage to files that actually need it

15 months agoDrop _IRR_MATERIAL_MAX_TEXTURES_
numzero [Wed, 22 Feb 2023 17:21:27 +0000 (20:21 +0300)]
Drop _IRR_MATERIAL_MAX_TEXTURES_

15 months agoDrop _IRR_SCENEMANAGER_DEBUG
numzero [Wed, 22 Feb 2023 17:13:55 +0000 (20:13 +0300)]
Drop _IRR_SCENEMANAGER_DEBUG

15 months agoDrop _IRR_COMPILE_WITH_GUI_
numzero [Wed, 22 Feb 2023 17:01:44 +0000 (20:01 +0300)]
Drop _IRR_COMPILE_WITH_GUI_

15 months agoDrop obsolete configuration macros
numzero [Sun, 19 Feb 2023 21:55:45 +0000 (00:55 +0300)]
Drop obsolete configuration macros

15 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

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

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

15 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

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

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

15 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

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

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

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

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

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

17 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

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

18 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

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

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

19 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

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

21 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

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

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