]>
git.lizzy.rs Git - irrlicht.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
numzero [Tue, 14 Mar 2023 15:34:47 +0000 (18:34 +0300)]
Drop dependency on FileSystem from SceneManager
numzero [Tue, 14 Mar 2023 15:25:05 +0000 (18:25 +0300)]
Drop unused dependency of SceneManager on GUIEnvironment
numzero [Mon, 13 Mar 2023 19:28:09 +0000 (22:28 +0300)]
Drop unused dependency on FileSystem in mesh loaders
numzero [Tue, 14 Mar 2023 15:48:55 +0000 (18:48 +0300)]
Remove all mentions of iOS
numzero [Tue, 14 Mar 2023 15:48:34 +0000 (18:48 +0300)]
Remove CIrrDeviceiOS
sfan5 [Sat, 11 Mar 2023 14:12:05 +0000 (15:12 +0100)]
Bump revision early
Vitaliy [Sat, 11 Mar 2023 14:04:09 +0000 (17:04 +0300)]
Drop IrrCompileConfig (#163)
sfan5 [Sun, 5 Mar 2023 20:44:44 +0000 (21:44 +0100)]
Bump revision
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.
Desour [Tue, 21 Feb 2023 17:54:07 +0000 (18:54 +0100)]
Fix -Wignored-qualifiers warnings in irrUString.h
Desour [Tue, 21 Feb 2023 17:30:14 +0000 (18:30 +0100)]
Resolve some -Wreorder warnings
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)
ndren [Sat, 18 Feb 2023 15:16:17 +0000 (15:16 +0000)]
Refactor SDL input code to fix menu exit (#146)
DS [Mon, 6 Feb 2023 14:05:44 +0000 (15:05 +0100)]
Add WindowMaximized creation parameter and isWindowMaximized() (#142)
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.
Lars [Sun, 8 Jan 2023 00:59:02 +0000 (16:59 -0800)]
Avoid reskinning joints for animated meshes twice for each frame.
sfan5 [Mon, 2 Jan 2023 20:21:53 +0000 (21:21 +0100)]
Remove leftover code from software rendering
sfan5 [Mon, 2 Jan 2023 20:05:07 +0000 (21:05 +0100)]
Delete profiler
sfan5 [Mon, 2 Jan 2023 19:37:18 +0000 (20:37 +0100)]
Delete leak hunter
sfan5 [Sat, 31 Dec 2022 11:29:33 +0000 (12:29 +0100)]
Update workflow to address deprecations
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)
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)
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.
sfan5 [Fri, 23 Dec 2022 18:56:21 +0000 (19:56 +0100)]
Completely remove irrAllocator
sfan5 [Thu, 22 Dec 2022 22:55:35 +0000 (23:55 +0100)]
Replace core::string implementation with std::basic_string
sfan5 [Fri, 23 Dec 2022 16:13:32 +0000 (17:13 +0100)]
Add missing string tests
Andrei E [Sat, 26 Nov 2022 14:24:23 +0000 (14:24 +0000)]
Point to Irrlicht license in root
DS [Sat, 12 Nov 2022 14:52:39 +0000 (15:52 +0100)]
SDL: implement cursor icon API (#135)
sfan5 [Fri, 11 Nov 2022 15:25:49 +0000 (16:25 +0100)]
Add unittests for irrString
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
Andrei E [Mon, 1 Aug 2022 20:28:36 +0000 (21:28 +0100)]
Add setRelativeMode for SDL driver (#123)
sfan5 [Mon, 24 Oct 2022 19:14:41 +0000 (21:14 +0200)]
Bump revision early
sfan5 [Mon, 24 Oct 2022 09:07:51 +0000 (11:07 +0200)]
Fix buffer overflow in COBJMeshFileLoader
Herman Semenov [Thu, 20 Oct 2022 20:02:37 +0000 (20:02 +0000)]
Add Windows build steps to README (#129)
Lars Müller [Sun, 16 Oct 2022 21:47:51 +0000 (23:47 +0200)]
Fix line drawing: Explicitly draw both first & last pixel (#110)
DS [Sun, 16 Oct 2022 15:42:15 +0000 (17:42 +0200)]
SDL: Always set X, Y, Shift and Control in mouse input events
sfan5 [Sat, 15 Oct 2022 09:06:20 +0000 (11:06 +0200)]
Add build with SDL2 to CI
sfan5 [Sat, 15 Oct 2022 09:12:54 +0000 (11:12 +0200)]
Fix SDL device to work with null driver
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.
sfan5 [Fri, 14 Oct 2022 14:08:51 +0000 (16:08 +0200)]
Move Ubuntu builds into docker to keep them working
Riceball LEE [Fri, 14 Oct 2022 13:52:10 +0000 (21:52 +0800)]
win32: use the unicode window instead of ansi window (#138)
sfan5 [Fri, 14 Oct 2022 13:44:57 +0000 (15:44 +0200)]
Fix buffer size for wchar-multibyte conversion
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
sfan5 [Fri, 16 Sep 2022 17:39:46 +0000 (19:39 +0200)]
Bump revision
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
Herman Semenov [Fri, 2 Sep 2022 06:40:02 +0000 (09:40 +0300)]
Fix glHint parameter, type size and add more null checks (#130)
savilli [Mon, 22 Aug 2022 17:12:40 +0000 (19:12 +0200)]
Fix crash in COGLES1Driver (#128)
sfan5 [Thu, 21 Jul 2022 18:20:13 +0000 (20:20 +0200)]
Bump revision
sfan5 [Thu, 21 Jul 2022 17:49:36 +0000 (19:49 +0200)]
Include revision in SOVERSION for (in)compatibility checks
sfan5 [Wed, 20 Jul 2022 20:09:07 +0000 (22:09 +0200)]
Replace std::min in irrArray.h
should fix #122
sfan5 [Mon, 18 Jul 2022 19:34:47 +0000 (21:34 +0200)]
Enable XInput2 by default (and improve CMake detection)
closes #73
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.
sfan5 [Sun, 17 Jul 2022 10:22:10 +0000 (12:22 +0200)]
Return nullptr pointer for empty core::array
fixes minetest/minetest#12532
ndren [Sun, 17 Jul 2022 10:08:37 +0000 (11:08 +0100)]
Support Unicode characters properly in SDL2 (#114)
sfan5 [Sat, 9 Jul 2022 22:11:49 +0000 (00:11 +0200)]
Update README a bit
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
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.
sfan5 [Sat, 9 Jul 2022 20:04:51 +0000 (22:04 +0200)]
Fix CreateContextAttribsARB fallback behaviour
fixes minetest/minetest#12518
LoneWolfHT [Thu, 7 Jul 2022 19:44:48 +0000 (12:44 -0700)]
Add MSVC CI build (#26)
JosiahWI [Thu, 7 Jul 2022 19:44:15 +0000 (14:44 -0500)]
Cleaner ListItem initialization (#117)
Should fix Coverity report CIDs
1516434 and
1518460 .
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