Commit Graph

488 Commits

Author SHA1 Message Date
3d07245ab9 Tear out mesh writers
Totally unused in Minetest
2023-11-29 04:28:20 -05:00
3b650b1cb1 Get this thing ready 2023-11-29 03:57:10 -05:00
396655e073 Destroy the B3D mess file loaders 2023-11-29 03:55:08 -05:00
796e7a63a1 Wipe B3D refs 2023-11-29 03:54:11 -05:00
44a23622ea I don't even know why we have file writers 2023-11-29 03:54:03 -05:00
af49570aec B3D is annihilated 2023-11-29 03:51:11 -05:00
04c1ab298b Rip out .x 2023-11-29 03:46:57 -05:00
821ad77f92 Rip out OBJ 2023-11-29 03:41:36 -05:00
a95de833c8 smf 2023-11-29 03:39:38 -05:00
58d5696db3 csm 2023-11-29 03:39:19 -05:00
3ba74129e3 Collada 2023-11-29 03:37:24 -05:00
e288082268 DMF 2023-11-29 03:35:09 -05:00
61648605f5 mdl 2023-11-29 03:34:35 -05:00
c87c314443 lwo 2023-11-29 03:34:20 -05:00
6c6868b1fa Update ISceneManager.h 2023-11-29 03:29:50 -05:00
bb7afff293 stl 2023-11-29 03:29:30 -05:00
684736b757 .mesh 2023-11-29 03:29:11 -05:00
471a066247 ply 2023-11-29 03:28:26 -05:00
8c487bc020 OCT 2023-11-29 03:27:44 -05:00
ac3aea4bbd lmts 2023-11-29 03:27:03 -05:00
0e21716ae6 It's no one's 3d anymore 2023-11-29 02:06:51 -05:00
f4bc32e20d 3d studio is 0d 2023-11-29 02:05:53 -05:00
b7e60746fa bsp is gone 2023-11-29 02:04:32 -05:00
43e61fb8bf Rip out some BSP 2023-11-29 02:03:31 -05:00
dad3dbae3a *asterisk asterisk* 2023-11-29 01:57:16 -05:00
4b30b4e7ef Remove any ref to md2 2023-11-29 01:56:21 -05:00
8af4128464 Half life 3 2023-11-29 01:51:27 -05:00
f379cd69fd Obliterate OCTAL 2023-11-29 01:49:53 -05:00
a25db8f2fa DESTROY CSM file 2023-11-29 01:49:09 -05:00
f7bf20a1e4 Rip out 2 forgotten formats 2023-11-29 01:48:55 -05:00
dde2ef0a4c Rip out 3ds studio 2023-11-29 01:48:41 -05:00
d3771fd6a8 Rip out quake 3 static map 2023-11-29 01:48:29 -05:00
5b0bddd852 Rip out quake 2 & 3 enums 2023-11-29 01:48:11 -05:00
39f87fd37c Update .gitignore 2023-11-29 01:45:29 -05:00
85081d6fe0 Fix off-by-one error in the TGA RLE decompressor 2023-11-01 14:40:11 +01:00
eafc282efd Add unit tests for image loaders 2023-11-01 14:40:11 +01:00
8c2ad025b1 Add CTest 2023-11-01 14:40:11 +01:00
a07cfc0f7a Require C++17 at the top level 2023-11-01 14:40:11 +01:00
f725b68c57 Remove irrUString.h
now unused
2023-10-31 10:10:31 +01:00
99be15f40b Bump revision 1.9.0mt13 2023-10-27 17:48:29 +02:00
6fccc79270 Convert built-in font to PNG 2023-10-25 16:54:43 +02:00
7cade6f27f cleanup: remove _IRR_COMPILE_ANDROID_ASSET_READER_ build flag
it's enabled inconditionally on android

also remove some _IRR_COMPILE_WITH_ANDROID_DEVICE_ which are useless because cmake is already properly configured
2023-10-22 12:19:14 +02:00
ae63f1bf02 build: drop _IRR_COMPILE_WITH_SKINNED_MESH_SUPPORT_
it's enabled inconditionally
2023-10-22 12:19:14 +02:00
dd14486d3f cleanup: replace remaining #ifndef #define with #pragma once 2023-10-22 12:19:14 +02:00
4a7d3de89a Merging r6555 through r6560 from branch releases/1.8 to trunk
- Fixing buffer overflow in tga loader

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6561 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-21 17:27:11 +02:00
631c0fa77b Add warning about rotateXZBy using right handed rotation
Rest of Irrlicht is using left-handed rotatations.
But 2d vector rotations all uses ccw which is kinda the same direction as this one if you consider those as rotations around Y, so I guess that was maybe the reason back then.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6536 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:54:48 +02:00
9813b460e1 Fix number overflows in TGA loader causing crashes
Image size calculation could overflow s32 in one place (but not others where it was done correct), which first lead to wrong amount of memory getting allocated for image data and later crash in the CColorConverter.
Thanks @sfan5 for his fuzzing tests @https://github.com/minetest/irrlicht/issues/236
and @erlehmann for passing them on: https://irrlicht.sourceforge.io/forum/viewtopic.php?t=52925
Also updating changes.txt with TGA loader changes from this and previous commits.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6535 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:54:39 +02:00
565f14677c Fix crash caused by memory overwriting in TGA loader caused by bad RLE data
From sfan5's fuzzing test reported in Minetest here: https://github.com/minetest/irrlicht/issues/236
Was missing test if it writes beyond allocated memory which can be triggered by TGA's which lie in their RLE data.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6534 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:54:24 +02:00
f53af0f2cf TGA images with palettes in 24 or 32 bit now create 32 bit images
Was creating 16-bit images for those before.
Could also support 24-bit images, but either we need another convert function or another palette for that (the 16 and 32 bit both work with 32 bit palettes, the 24 bit conversion function only with 24 bit palettes)

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6533 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:54:21 +02:00
05ebc43222 Fix TGA's with bad palette colors reading from behind palette memory
TGA's can claim to use less palette colors than they later do.
We only support 8-bit palettes, so to make this safer lets just always allocate at least 256 bytes.
Thanks @erlehmann for report and testcase: https://irrlicht.sourceforge.io/forum/viewtopic.php?p=307191
Based on Minetest bug report: https://github.com/minetest/irrlicht/issues/236

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6532 dfc29bdd-3216-0410-991c-e03cc46cb475
2023-10-15 13:54:16 +02:00