]> git.lizzy.rs Git - irrlicht.git/log
irrlicht.git
14 months agoUse qualifed id instead of virtual function calls in CVertexBuffer constructors
cutealien [Thu, 19 Jan 2023 23:26:20 +0000 (23:26 +0000)]
Use qualifed id instead of virtual function calls in CVertexBuffer constructors

Another find by cppcheck tool

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6448 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid undefined arithmetic on nullptr in buffer_offset function
cutealien [Wed, 4 Jan 2023 19:51:24 +0000 (19:51 +0000)]
Avoid undefined arithmetic on nullptr in buffer_offset function

Not quite sure why it was done that way. Maybe to ensure we work with byte-pointers of correct size or something?
Anyway, this doesn't seem to be defined in c++, so let's try working with a cast instead.
Just something cppcheck tool complained about.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6447 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoFix spelling of enums in header comments
cutealien [Thu, 22 Dec 2022 14:56:44 +0000 (14:56 +0000)]
Fix spelling of enums in header comments

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6445 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoPrevent potential 0 pointer access when release not acquired joystick.
cutealien [Sat, 19 Nov 2022 16:41:11 +0000 (16:41 +0000)]
Prevent potential 0 pointer access when release not acquired joystick.

Found by clang analyser. Not sure if it could really ever have happened, but won't hurt to fix

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6443 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoFix some problems with CMatrix4::getRotationDegrees
cutealien [Sat, 15 Oct 2022 15:46:03 +0000 (15:46 +0000)]
Fix some problems with CMatrix4::getRotationDegrees

- Only the getRotationDegrees without parameter is allowed to try fixing scale.
  My fault when I added a new function which takes scale parameter, that one is
  not allowed to be changed.
  On the up-side - we know have for the first time an option which works in cases only
  scale and rotation had been used and the user still has the correct scale.
  Before any solution for that was broken
- getRotationDegrees fixes 2 places which caused wrong results due to floating point inaccuracies
  New test for that got added
- Document the current restrains and problems of getRotationDegrees and getScale some more.
- Improve docs for other matrix4 functions.
- Add some comments about further improvements (I'll try if I find time)

Note: Irrlicht still assumes in at least 2 places (getting bone animations and Collada loader) that matrix
decomposing works. Which it doesn't yet for matrices which switch handedness (or have further transformations like skewing axes)
The bone animation is mostly fine for now with recent workaround (but that might cause other problems as it may be used too often), haven't checked Collada yet in detail.

TL/DR: This improves things with getRotationDegrees, but does not yet fix all troubles.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6439 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid some broken calculations for IBoneSceneNode positions.
cutealien [Tue, 11 Oct 2022 22:54:44 +0000 (22:54 +0000)]
Avoid some broken calculations for IBoneSceneNode positions.

This is based on bugreport #458 reported by viwrap who also made a nice test-case model.
Note: While solution seems to work and would even be faster, I'm not 100% sure yet if there are no downsides.
The other solution seems to regard last column in matrices - thought I don't think we ever set or use that.
And I also haven't found out yet _why_ the original solution goes wrong.
But animation system uses right-hand quaternions unlike rest of Irrlicht which is obviously a bit dangerous, will have to check the conversions some day.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6438 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoFix warning
cutealien [Tue, 4 Oct 2022 12:32:27 +0000 (12:32 +0000)]
Fix warning

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6434 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoFix: Make CBillboardSceneNode bounding-box large enough to fit the billboard inside.
cutealien [Thu, 29 Sep 2022 14:12:12 +0000 (14:12 +0000)]
Fix: Make CBillboardSceneNode bounding-box large enough to fit the billboard inside.

It still won't work yet for scaled boundingboxes (or parents being scaled).
But at least it's now large enough for typical unscaled boundingboxes.
Before it was always too small - even for the simplest quadratic billboard case seen without rotation.
Now it's always a bit too large, but that's way less of a problem (collisions still work and culling simply happens a bit less often, but not too often which is way worse)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6431 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoFix IGUIElements not getting a tab order because of invisible or disabled parents.
cutealien [Tue, 27 Sep 2022 16:02:39 +0000 (16:02 +0000)]
Fix IGUIElements not getting a tab order because of invisible or disabled parents.

First problem was that IGUIElement::getNextElement wasn't passing includeInvisible and includeDisabled flags recursively, so anything deeper than one level could fail if an element was disabled/invisible in between while it was created.
Second problem was that setTabOrder(-1) did ignore disabled elements. So when any parent was disabled when elements were created they never got a tab order.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6428 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid ambigious conversions when compiling with c++20
cutealien [Sun, 25 Sep 2022 11:18:55 +0000 (11:18 +0000)]
Avoid ambigious conversions when compiling with c++20
Yay, more ugly casts needed.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6427 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoUnify & improve log messages
cutealien [Thu, 30 Jun 2022 16:23:48 +0000 (16:23 +0000)]
Unify & improve log messages

Lots of places where coders did not realize our Printer::log with hint adds a ": " string between message and hint
Which caused uglier messages in a few places (added documentation for that, maybe helps?)
Some added info in a few places
Some whitespace unification
Some spelling unification

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6414 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoPrevent crash when creating CCameraSceneNode while rendertarget has height 0
cutealien [Mon, 30 May 2022 20:13:28 +0000 (20:13 +0000)]
Prevent crash when creating CCameraSceneNode while rendertarget has height 0

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6405 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoMinor const changes.
cutealien [Sun, 15 May 2022 13:43:32 +0000 (13:43 +0000)]
Minor const changes.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6402 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid potential number overflows.
cutealien [Fri, 13 May 2022 14:56:22 +0000 (14:56 +0000)]
Avoid potential number overflows.
Found by VS code analyser

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6393 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoSpriteBank: error check on non existing textureNumber
engineer_apple [Sun, 1 May 2022 09:50:32 +0000 (09:50 +0000)]
SpriteBank: error check on non existing textureNumber

seen in broken Fonts. unified getFrameNr

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6368 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoS3DVertex initialize color always. It's derived classes now both accept const S3DVert...
cutealien [Mon, 25 Apr 2022 14:24:43 +0000 (14:24 +0000)]
S3DVertex initialize color always. It's derived classes now both accept const S3DVertex& constructor.

color intitialization has some cost, but we initialized all other values already (vectors are always set to 0).
Don't think it's a good idea to have one value around which is random.
S3DVertex2TCoords(S3DVertex& o) to S3DVertex2TCoords(const S3DVertex& o) simply because it makes more sense
S3DVertexTangents(const S3DVertex& o) added because I'll need it later (and no idea why only S3DVertex2TCoords got one of those before).

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6359 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoCVertexBuffer no longer re-allocates stuff when type doesn't change
cutealien [Tue, 19 Apr 2022 12:21:44 +0000 (12:21 +0000)]
CVertexBuffer no longer re-allocates stuff when type doesn't change

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6339 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAdd documentation that sourceRect of draw2dImage is based on the OriginalSize
cutealien [Wed, 30 Mar 2022 10:49:13 +0000 (10:49 +0000)]
Add documentation that sourceRect of draw2dImage is based on the OriginalSize

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6324 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid some more warnings when working with CMatrix4<f64>
cutealien [Thu, 10 Mar 2022 12:51:10 +0000 (12:51 +0000)]
Avoid some more warnings when working with CMatrix4<f64>

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6304 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoAvoid warnings when working with CMatrix4<f64>
cutealien [Thu, 10 Mar 2022 12:24:03 +0000 (12:24 +0000)]
Avoid warnings when working with CMatrix4<f64>

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6303 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoIVideoDriver::setMaterialRendererName now using u32 for index like other similar...
cutealien [Wed, 9 Feb 2022 19:28:45 +0000 (19:28 +0000)]
IVideoDriver::setMaterialRendererName now using u32 for index like other similar functions
Other functions like getMaterialRendererName got switched to u32 in the past. I can see no reason why this one was left out, so changing it to be same as the rest.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6300 dfc29bdd-3216-0410-991c-e03cc46cb475

14 months agoDelete changes.txt
sfan5 [Mon, 20 Mar 2023 13:41:11 +0000 (14:41 +0100)]
Delete changes.txt

Gets in the way of cherry-picking and isn't up to date anyway.

14 months agoDrop dependency on FileSystem from SceneManager
numzero [Tue, 14 Mar 2023 15:34:47 +0000 (18:34 +0300)]
Drop dependency on FileSystem from SceneManager

14 months agoDrop unused dependency of SceneManager on GUIEnvironment
numzero [Tue, 14 Mar 2023 15:25:05 +0000 (18:25 +0300)]
Drop unused dependency of SceneManager on GUIEnvironment

14 months agoDrop unused dependency on FileSystem in mesh loaders
numzero [Mon, 13 Mar 2023 19:28:09 +0000 (22:28 +0300)]
Drop unused dependency on FileSystem in mesh loaders

14 months agoRemove all mentions of iOS
numzero [Tue, 14 Mar 2023 15:48:55 +0000 (18:48 +0300)]
Remove all mentions of iOS

14 months agoRemove CIrrDeviceiOS
numzero [Tue, 14 Mar 2023 15:48:34 +0000 (18:48 +0300)]
Remove CIrrDeviceiOS

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 agoBump revision
sfan5 [Sun, 5 Mar 2023 20:44:44 +0000 (21:44 +0100)]
Bump revision

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

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