Lars Mueller
be03a435b8
Add copy & move constructor from STL string to Irrlicht string
2024-06-12 17:57:08 +02:00
Lars Mueller
50d20a854c
Fix -Wsign-compare warning
2024-06-12 17:57:08 +02:00
Josiah VanderZee
b45aa1cd72
Get unit tests to build
2024-06-12 17:57:08 +02:00
Lars Mueller
8c35461af2
Fix/improve reading from accessors
...
- Alignment issues
- Use os::Byteswap::byteswap
- Directly write into matrices
2024-06-12 17:57:08 +02:00
Lars Mueller
be375cdfb6
Do not stack-allocate SSkinMeshBuffer
2024-06-12 17:57:08 +02:00
Josiah VanderZee
b419d0e445
Use __BIG_ENDIAN_
...
This also corrects the function name to be snake_case because it is
not a method.
2024-06-12 17:57:08 +02:00
Josiah VanderZee
3a4dde48e8
Remove unneeded header
2024-06-12 17:57:08 +02:00
JosiahWI
28299e7910
Program more defensively
...
Co-authored-by: sfan5 <sfan5@live.de>
2024-06-12 17:57:08 +02:00
Lars Mueller
942d46d37c
Remove unused includes
2024-06-12 17:57:08 +02:00
Lars Mueller
88383e40db
Reduce verbosity by introducing SelfType alias
2024-06-12 17:57:08 +02:00
Lars Mueller
d4de89cbe7
Remove unnecessary constructor
2024-06-12 17:57:07 +02:00
Lars Mueller
b734119d05
Move data directly rather than copying
2024-06-12 17:57:07 +02:00
Lars Mueller
818ac9ea3d
Replace some spaces with tabs
2024-06-12 17:57:07 +02:00
Lars Mueller
a372397416
Remove now obsolete getters for accessor indices
2024-06-12 17:57:07 +02:00
Lars Mueller
a2311dc734
Check that enough bytes could be read
2024-06-12 17:57:07 +02:00
Lars Mueller
00d23d65e0
Add SPDX-License-Identifiers
2024-06-12 17:57:07 +02:00
Josiah VanderZee
315c03b99a
Change "reflecting" to "mirroring" for readability
2024-06-12 17:57:07 +02:00
Lars Mueller
411969c87c
Bring accessor implementation from other branch over
2024-06-12 17:57:07 +02:00
Josiah VanderZee
8a2cae1065
Mark transformation matrices as const
2024-06-12 17:57:07 +02:00
Josiah VanderZee
5bd1d052ad
Remove unused method isSparseAccessor
2024-06-12 17:57:07 +02:00
Josiah VanderZee
b95dcb7e7a
Preallocate the indices vector
2024-06-12 17:57:07 +02:00
Josiah VanderZee
da722a833f
Compile with runtime type information
2024-06-12 17:57:07 +02:00
Josiah VanderZee
c803a9c895
Add comment clarifying linking of object libraries
2024-06-12 17:57:07 +02:00
Josiah VanderZee
b9b03557c6
Use main project cxx standard for unit tests
2024-06-12 17:57:07 +02:00
Josiah VanderZee
1baa3f1e34
Clean up code style
2024-06-12 17:57:07 +02:00
Josiah VanderZee
26276729ed
Remove EAMT_GLTF as it serves no purpose
2024-06-12 17:57:07 +02:00
JosiahWI
ec5950033f
Add glTF loader for static meshes
2024-06-12 17:57:07 +02:00
grorp
85878d894a
Android: Fix back button sometimes not working as ESC ( #14743 )
2024-06-11 22:37:57 +02:00
sfan5
3539af7d77
Set some useful SDL hints
...
fixes #14596
2024-06-10 18:49:43 +02:00
sfan5
71893807b3
Call malloc_trim() regularly to improve deallocation behavior ( #14707 )
2024-06-07 16:57:30 +02:00
Lars Müller
ec9c000be9
Fix scrolling in scroll containers ( #14702 )
2024-06-03 20:38:09 +02:00
grorp
833bb542fc
Allow toggling fullscreen without restart and add keybind ( #14714 )
2024-06-02 21:05:16 +02:00
grorp
f6cfe6b873
Enable RTTI for Irrlicht on MSVC ( #14677 )
2024-05-17 13:27:31 +02:00
Lars Müller
5c187363b2
Fix some clang compiler warnings ( #14654 )
...
* Fix some clang compiler warnings
* Get rid of sdl_supports_primary_selection
* Fix draw2DImage hiding overloaded virtual function
2024-05-15 19:56:25 +02:00
sfan5
6303334cc2
Deduplicate GL extension detection
2024-05-12 14:20:34 +02:00
sfan5
472742266b
Fix invalid glDrawBuffer call on GLES
...
closes #14445
2024-05-12 14:20:34 +02:00
sfan5
af27d97003
Log delays introduced by SDL_PollEvent
2024-04-23 19:03:35 +02:00
sfan5
38cacfa577
Try to fix macro definition order problem with OpenGL code
2024-04-15 19:27:05 +02:00
sfan5
13e271c6cb
Improve error checks in COpenGL3DriverBase
2024-04-15 17:48:33 +02:00
sfan5
7a6ca85081
Expose OpenGL debugging as a normal setting
2024-04-15 17:48:33 +02:00
sfan5
30e280b694
Use MT's string conversion inside Irrlicht
2024-04-10 15:31:59 +02:00
sfan5
b9adf244e5
Simplify Irrlicht CMake for static linking
...
removes any dynamic linking capability, which will stop being possible soon anyway.
2024-04-10 15:31:59 +02:00
Gregor Parzefall
cc1bfc6d03
Improve SDL GL fallback code
...
It now works even if window creation succeeds and only context creation fails.
Adapted from https://github.com/MoNTE48/Irrlicht . This should be fine
license-wise since that repo still contains the original Irrlicht license
(this is no legal advice).
Original PR: https://github.com/MoNTE48/Irrlicht/pull/9
Co-authored-by: Deve <deveee@gmail.com>
2024-04-08 20:15:37 +02:00
Gregor Parzefall
07fdf7158d
Migrate the Android port to SDL2
2024-04-08 20:15:37 +02:00
DS
1d673ce075
Print filenames in irrlicht png warnings ( #14525 )
...
Makes warnings like this more informative:
`WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile`
2024-04-07 22:06:13 +02:00
sfan5
eb8785a209
Fix segfault if SDL GL context fails
2024-04-03 13:56:27 +02:00
sfan5
d53ef90a73
Remove Irrlicht versioning
2024-03-27 20:55:48 +01:00
import
f638482fba
Copy irrlichtmt to <root>/irr/
2024-03-26 21:39:02 +01:00