]> git.lizzy.rs Git - irrlicht.git/log
irrlicht.git
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

2 years agoRemove unused functions
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

2 years agoReduce _IRR_MATERIAL_MAX_TEXTURES_ to 4
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.

2 years agoGet rid of MATERIAL_MAX_TEXTURES_USED
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.

2 years agoUnconditionally load first texture matrix in OpenGL driver
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

2 years agoFix updating of vertex normals for animated meshes (#77)
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.

2 years agoReplace some questionable math implementations
sfan5 [Sat, 23 Oct 2021 23:11:31 +0000 (01:11 +0200)]
Replace some questionable math implementations

fixes #76

2 years agoLimit dimensions of all image loaders to 23000x23000
sfan5 [Thu, 30 Sep 2021 14:40:41 +0000 (16:40 +0200)]
Limit dimensions of all image loaders to 23000x23000

2 years agoCImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions
sfan5 [Tue, 14 Sep 2021 18:02:40 +0000 (20:02 +0200)]
CImageLoaderJPG: protect size calculation from overflow by rejecting huge dimensions

2 years agoBump revision to 1.9.0mt4
sfan5 [Sun, 12 Sep 2021 18:56:20 +0000 (20:56 +0200)]
Bump revision to 1.9.0mt4

2 years agoReadd TGA format support (#64)
ROllerozxa [Mon, 13 Sep 2021 19:21:26 +0000 (21:21 +0200)]
Readd TGA format support (#64)

2 years agoRemove unused locale-like code, utf8 functions and headers
sfan5 [Mon, 30 Aug 2021 20:18:43 +0000 (22:18 +0200)]
Remove unused locale-like code, utf8 functions and headers

2 years agoChange clipboard to UTF-8 on macOS
sfan5 [Mon, 30 Aug 2021 19:53:04 +0000 (21:53 +0200)]
Change clipboard to UTF-8 on macOS

(untested)

2 years agoMake clipboard UTF-8 on Windows too
sfan5 [Mon, 30 Aug 2021 19:51:24 +0000 (21:51 +0200)]
Make clipboard UTF-8 on Windows too

2 years agoFix X11 selections (#55)
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.

2 years agoDrop _IRR_WCHAR_FILESYSTEM
sfan5 [Mon, 30 Aug 2021 18:44:51 +0000 (20:44 +0200)]
Drop _IRR_WCHAR_FILESYSTEM

never used and never worked for us.

2 years agoAdd support for OpenBSD
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.

2 years agoMerging r6196 through r6248 from trunk to ogl-es branch
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

2 years agoCIrrDeviceLinux: Add support For TouchInput.touchedCount
TheBrokenRail [Fri, 27 Aug 2021 08:58:46 +0000 (04:58 -0400)]
CIrrDeviceLinux: Add support For TouchInput.touchedCount

2 years agoReadd CSceneCollisionManager with only the method we need
sfan5 [Tue, 24 Aug 2021 21:51:48 +0000 (23:51 +0200)]
Readd CSceneCollisionManager with only the method we need

2 years agoFix version variable bug
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.

2 years agoSet policies through CMake 3.9 to allow enabling IPO
JosiahWI [Sat, 21 Aug 2021 18:16:31 +0000 (13:16 -0500)]
Set policies through CMake 3.9 to allow enabling IPO

2 years agoFix absolute path $CXX not working in mingw build script
JosiahWI [Sat, 21 Aug 2021 12:50:56 +0000 (07:50 -0500)]
Fix absolute path $CXX not working in mingw build script

2 years agoRemove redundant and troublesome constants from the GL binding
hecks [Sat, 7 Aug 2021 20:50:13 +0000 (22:50 +0200)]
Remove redundant and troublesome constants from the GL binding

2 years agoAdd some missing constants to the GL binding
hecks [Sat, 7 Aug 2021 20:41:50 +0000 (22:41 +0200)]
Add some missing constants to the GL binding

2 years agoAdd a unified cross platform OpenGL core profile binding (#52)
hecks [Sat, 7 Aug 2021 19:56:00 +0000 (21:56 +0200)]
Add a unified cross platform OpenGL core profile binding (#52)

2 years agoFix incorrect documentation in README
JosiahWI [Sun, 1 Aug 2021 09:39:28 +0000 (04:39 -0500)]
Fix incorrect documentation in README

2 years agoExport targets to build tree (#49)
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.

2 years agoFix .x material slot parsing
hecks [Thu, 29 Jul 2021 03:05:34 +0000 (05:05 +0200)]
Fix .x material slot parsing

Co-authored-by: hecktest <>
2 years agoRestore missing entry in compile config
hecktest [Fri, 23 Jul 2021 16:22:59 +0000 (18:22 +0200)]
Restore missing entry in compile config

2 years agoDelete lots of unused features (#48)
hecks [Fri, 23 Jul 2021 14:23:44 +0000 (16:23 +0200)]
Delete lots of unused features (#48)

2 years agoFix CI by running apt-get update first
sfan5 [Thu, 22 Jul 2021 14:42:46 +0000 (16:42 +0200)]
Fix CI by running apt-get update first

2 years agoAdd macOS build to CI (#47)
fn ⌃ ⌥ [Sat, 17 Jul 2021 09:27:51 +0000 (02:27 -0700)]
Add macOS build to CI (#47)

2 years agoDrop unused and unportable "fast math" code
sfan5 [Fri, 16 Jul 2021 21:52:26 +0000 (23:52 +0200)]
Drop unused and unportable "fast math" code

2 years agoSet correct flags for static builds
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

2 years agoCIrrDeviceOSX: drop all video mode code
sfan5 [Fri, 16 Jul 2021 20:44:33 +0000 (22:44 +0200)]
CIrrDeviceOSX: drop all video mode code

2 years agoRemove various ancient support code
sfan5 [Thu, 15 Jul 2021 22:32:15 +0000 (00:32 +0200)]
Remove various ancient support code

2 years agoClone .editorconfig from minetest/master
hecks [Mon, 12 Jul 2021 16:03:15 +0000 (18:03 +0200)]
Clone .editorconfig from minetest/master

2 years agoAdd missing gitignore entries
hecks [Sat, 10 Jul 2021 10:28:17 +0000 (12:28 +0200)]
Add missing gitignore entries

2 years agoDrop XML implementation, related code and dependent features
sfan5 [Wed, 7 Jul 2021 14:52:49 +0000 (16:52 +0200)]
Drop XML implementation, related code and dependent features

2 years agoBump revision to 1.9.0mt3
sfan5 [Wed, 7 Jul 2021 14:32:35 +0000 (16:32 +0200)]
Bump revision to 1.9.0mt3

2 years agoDisable software drivers by default everywhere
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.

2 years agoFix path issues when imported as subdirectory
sfan5 [Wed, 30 Jun 2021 19:13:59 +0000 (21:13 +0200)]
Fix path issues when imported as subdirectory

2 years agoSet includes and libs on object targets
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.

2 years agoFix `getViewPort` returning incorrect results
Vincent Robinson [Mon, 21 Jun 2021 21:16:38 +0000 (14:16 -0700)]
Fix `getViewPort` returning incorrect results

2 years agoFix incorrect documentation on `setRenderTarget(Ex)`
Vincent Robinson [Mon, 21 Jun 2021 02:36:23 +0000 (19:36 -0700)]
Fix incorrect documentation on `setRenderTarget(Ex)`

2 years agoCXMeshFileLoader: initialize normals to zero during loading
sfan5 [Sat, 19 Jun 2021 20:22:47 +0000 (22:22 +0200)]
CXMeshFileLoader: initialize normals to zero during loading

3 years agoCIrrDeviceWin32: readd fullscreen using borderless maximized window
sfan5 [Tue, 15 Jun 2021 16:14:10 +0000 (18:14 +0200)]
CIrrDeviceWin32: readd fullscreen using borderless maximized window

3 years agoCIrrDeviceWin32: drop all video mode code
sfan5 [Tue, 15 Jun 2021 16:00:14 +0000 (18:00 +0200)]
CIrrDeviceWin32: drop all video mode code

3 years agoCIrrDeviceLinux: reimplement fullscreen using NetWM hint
sfan5 [Tue, 15 Jun 2021 15:43:40 +0000 (17:43 +0200)]
CIrrDeviceLinux: reimplement fullscreen using NetWM hint

3 years agoCIrrDeviceLinux: drop all video mode support code
sfan5 [Tue, 15 Jun 2021 15:05:06 +0000 (17:05 +0200)]
CIrrDeviceLinux: drop all video mode support code

3 years agoImproved IrrlichtMt target structure (#31)
JosiahWI [Mon, 24 May 2021 18:32:26 +0000 (13:32 -0500)]
Improved IrrlichtMt target structure (#31)

3 years agoCOGLES2Driver: fix swapped color screenshots
sfan5 [Sat, 8 May 2021 18:57:24 +0000 (20:57 +0200)]
COGLES2Driver: fix swapped color screenshots

3 years agoCI: Add verbose flag to build (#35)
JosiahWI [Sat, 8 May 2021 18:38:57 +0000 (13:38 -0500)]
CI: Add verbose flag to build (#35)

3 years agoCleanup C++0x support in irrUString.h (#33)
Loïc Blot [Wed, 28 Apr 2021 08:12:29 +0000 (10:12 +0200)]
Cleanup C++0x support in irrUString.h (#33)

3 years agoEnable ogles2 on mobile platforms by default
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.

3 years agoWork around bug installing targets created in a subdirectory
JosiahWI [Sat, 24 Apr 2021 09:03:09 +0000 (04:03 -0500)]
Work around bug installing targets created in a subdirectory

3 years agoAdd basic test application that runs under CI
sfan5 [Thu, 22 Apr 2021 08:46:31 +0000 (10:46 +0200)]
Add basic test application that runs under CI

3 years agoHook up examples to CMake
sfan5 [Thu, 22 Apr 2021 07:43:53 +0000 (09:43 +0200)]
Hook up examples to CMake

3 years agoCNullDriver: store real size for dummy textures
sfan5 [Wed, 21 Apr 2021 16:09:49 +0000 (18:09 +0200)]
CNullDriver: store real size for dummy textures

3 years agoCIrrDeviceLinux: don't create input context if no window
sfan5 [Wed, 21 Apr 2021 15:34:10 +0000 (17:34 +0200)]
CIrrDeviceLinux: don't create input context if no window

This broke the Null driver.

3 years agoFix misbehaving input after IME changes (Linux)
yw05 [Sun, 18 Apr 2021 19:27:15 +0000 (21:27 +0200)]
Fix misbehaving input after IME changes (Linux)

3 years agoFix Android build (again)
sfan5 [Sat, 17 Apr 2021 15:30:45 +0000 (17:30 +0200)]
Fix Android build (again)

closes #27

3 years agoWGLManager: fix wglCreateContextAttribsARB not being used
sfan5 [Sat, 17 Apr 2021 13:55:32 +0000 (15:55 +0200)]
WGLManager: fix wglCreateContextAttribsARB not being used

3 years agoAlways use system OpenGL extension headers
sfan5 [Fri, 16 Apr 2021 22:05:46 +0000 (00:05 +0200)]
Always use system OpenGL extension headers

3 years agoFix include install location
sfan5 [Tue, 13 Apr 2021 21:32:53 +0000 (23:32 +0200)]
Fix include install location

3 years agoCMake Config and Version exports (#22)
JosiahWI [Tue, 13 Apr 2021 19:08:16 +0000 (14:08 -0500)]
CMake Config and Version exports (#22)

3 years agoFix Android build
sfan5 [Fri, 9 Apr 2021 19:28:31 +0000 (21:28 +0200)]
Fix Android build

3 years agoDisable Software drivers on mobile platforms
sfan5 [Fri, 9 Apr 2021 19:24:58 +0000 (21:24 +0200)]
Disable Software drivers on mobile platforms

literally dead code

3 years agoFix segfault if non-i18n fallback input is used on Linux
sfan5 [Mon, 5 Apr 2021 15:09:08 +0000 (17:09 +0200)]
Fix segfault if non-i18n fallback input is used on Linux

3 years agoBump revision early
sfan5 [Fri, 2 Apr 2021 21:25:50 +0000 (23:25 +0200)]
Bump revision early

So we can leave CI at the last build while being able to test changes locally.

3 years agoAdd support for IMEs on Linux
yw05 [Tue, 30 Mar 2021 11:52:45 +0000 (13:52 +0200)]
Add support for IMEs on Linux

3 years agoPrepare GUI for IME support
yw05 [Tue, 30 Mar 2021 11:52:45 +0000 (13:52 +0200)]
Prepare GUI for IME support

3 years agoDo not distort images scaled by integer multiples
sfan5 [Wed, 31 Mar 2021 14:55:48 +0000 (16:55 +0200)]
Do not distort images scaled by integer multiples

3 years agoSkip unnecessary C compiler checks
sfan5 [Fri, 26 Mar 2021 22:08:09 +0000 (23:08 +0100)]
Skip unnecessary C compiler checks

3 years agoMake compiling using MSVC work
sfan5 [Fri, 26 Mar 2021 15:48:28 +0000 (16:48 +0100)]
Make compiling using MSVC work

3 years agoBump revision to 1.9.0mt1
sfan5 [Thu, 25 Mar 2021 13:50:10 +0000 (14:50 +0100)]
Bump revision to 1.9.0mt1

3 years agoRename library to IrrlichtMt
sfan5 [Thu, 25 Mar 2021 13:14:44 +0000 (14:14 +0100)]
Rename library to IrrlichtMt

for clarity and to avoid conflicts
closes #16

3 years agoMake Linux CI run upload a package
sfan5 [Thu, 25 Mar 2021 14:34:39 +0000 (15:34 +0100)]
Make Linux CI run upload a package

3 years agoInclude irrUString directly in irrlicht
Loic Blot [Fri, 19 Mar 2021 17:34:33 +0000 (18:34 +0100)]
Include irrUString directly in irrlicht

it's a derivate from irrString and originate from irrlicht, legitimate a return back to home

3 years agoIgnore all so, not only versioned ones
Loic Blot [Fri, 19 Mar 2021 17:33:58 +0000 (18:33 +0100)]
Ignore all so, not only versioned ones

3 years agoCIrrDeviceLinux: fix dead key/compose handling
sfan5 [Thu, 25 Mar 2021 11:29:34 +0000 (12:29 +0100)]
CIrrDeviceLinux: fix dead key/compose handling

3 years agoCIrrDeviceLinux: fix dumb key fallback behaviour
sfan5 [Wed, 24 Mar 2021 19:11:27 +0000 (20:11 +0100)]
CIrrDeviceLinux: fix dumb key fallback behaviour

Turns out giving the application KEY_UNKNOWN + the correct char
to work with is better than returning nonsense EKEY_CODEs.

3 years agoFix missing step in build instructions
Alistair Findlay [Thu, 18 Mar 2021 11:57:17 +0000 (22:57 +1100)]
Fix missing step in build instructions

3 years agoFix Irrlicht not properly resizing on macOS due to incorrect window size; thanks...
Jordan Snelling [Tue, 16 Mar 2021 20:55:30 +0000 (20:55 +0000)]
Fix Irrlicht not properly resizing on macOS due to incorrect window size; thanks @torleif

3 years agoCMemoryFile: fix seek bounds-checking
sfan5 [Fri, 12 Mar 2021 17:28:10 +0000 (18:28 +0100)]
CMemoryFile: fix seek bounds-checking

3 years agoCGLXManager: Use GLX window correctly
sfan5 [Fri, 12 Mar 2021 16:47:00 +0000 (17:47 +0100)]
CGLXManager: Use GLX window correctly

fixes #17

3 years agoFix pixel-perfect draw2DLine on OpenGL
sfan5 [Thu, 11 Mar 2021 22:48:05 +0000 (23:48 +0100)]
Fix pixel-perfect draw2DLine on OpenGL

3 years agoRemove trivial copy constructors and operators
sfan5 [Tue, 9 Mar 2021 11:47:54 +0000 (12:47 +0100)]
Remove trivial copy constructors and operators

3 years agoCI: add workflows for win32 and win64
sfan5 [Mon, 8 Mar 2021 22:48:28 +0000 (23:48 +0100)]
CI: add workflows for win32 and win64