2071 Commits

Author SHA1 Message Date
Christian Semmler
a9be411c48
Merge remote-tracking branch 'isle/master' 2025-05-29 14:42:07 -07:00
Christian Semmler
168bd4b26c
Fix LegoTreeNode* construction (#1530)
* Fix LegoTreeNode* construction

* Fix
2025-05-29 23:41:57 +02:00
Anders Jenbo
91e72261d0
Apply clipping and culling on hardware (#198) 2025-05-29 20:28:01 +02:00
Anders Jenbo
f1bf52db4c
Fix sky color (#196) 2025-05-29 19:14:06 +02:00
Christian Semmler
a1ec97ac6e
Merge remote-tracking branch 'isle/master' 2025-05-29 08:50:07 -07:00
Anders Jenbo
211d409992
Apply RAND_MAX to legoanimationmanager.cpp (#1528) 2025-05-29 06:52:15 -07:00
Anders Jenbo
6e0b580b86
Correct delete[] in legocarbuildpresenter.cpp (#1529) 2025-05-29 06:51:42 -07:00
Anders Jenbo
8c9feaac1e
Merge pull request #186 from AJenbo/renderbackends
Implement software rendering backend for d3drm
2025-05-29 10:46:57 +02:00
Anonymous Maarten
e030ed739b
Fixing some ubsan errors while walking around on the island (#194)
* LegoMeterPresenter: use array deleter

* Avoid unaligned access in MxDSSelectionAction::Deserialize

* assert in LegoCarBUild::InitPresenter is BETA10-only

* clang-format
2025-05-29 03:46:13 +00:00
Anonymous Maarten
30ae89f483
LegoMeterPresenter: use array deleter + BETA10-only assertion (#1527)
* LegoMeterPresenter: use array deleter

(cherry picked from commit 0897f75c7ca0b10df2b43783d0e99ff5059a29fb)

* assert in LegoCarBUild::InitPresenter is BETA10-only

(cherry picked from commit 1a41b62f6f7ae5f5926941e621a740a31d3c745f)
2025-05-28 20:25:05 -07:00
Anders Jenbo
4abd404f2d Implement Software rendering 2025-05-29 04:08:01 +02:00
Anders Jenbo
ef7499bdb9 Restructure miniwin and add support for 3D backends 2025-05-29 04:07:53 +02:00
MS
5646d017f1
RendererImpl, CameraImpl, LightImpl (#1525) 2025-05-28 22:04:01 -04:00
Anonymous Maarten
ea7cac8359
legoanimationmanager: use delete[] (#191) 2025-05-28 18:28:50 -07:00
Anonymous Maarten
45890eec94
legoanimationmanager: use delete[] (#1526) 2025-05-28 18:28:30 -07:00
Christian Semmler
ddba1bc5c1
Fix DirectDrawPalette_SDL3GPUImpl::SetEntries (#189) 2025-05-28 18:22:24 -07:00
Christian Semmler
def1cf8a12
Fix missing filesystem map (#190) 2025-05-28 18:20:00 -07:00
Anonymous Maarten
8f8bf3142e
Fix color space of SDL3_gpu texture (#188) 2025-05-28 03:40:46 +00:00
Anonymous Maarten
19f1bedd16
Add depth buffer (#185)
* Add depth buffer and calcuate normals

* Forgot do divide with the determinant

* Address review
2025-05-27 19:44:37 -07:00
jonschz
b7090bd838
Match LegoActor and LegoPathActor in BETA10 (#1524)
* Match `LegoActor` in BETA10

* Cleanup

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-27 22:04:01 +02:00
Anders Jenbo
6bbddf5508
Implement Viewport::Pick() (#183) 2025-05-26 22:07:57 -07:00
jonschz
4186bae786
Match Helicopter::FUN_100042a0 (#1523)
* Match `Helicopter::FUN_100042a0`

* Add comment

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-26 23:33:52 +02:00
Christian Semmler
ca3ced4d26
Merge pull request #182 from foxtacles/mergeii
Merge from isledecomp/isle
2025-05-26 10:02:15 -07:00
Christian Semmler
3973f84a18 Fix PCH 2025-05-26 09:52:55 -07:00
Christian Semmler
5fc3bfb921 Change to unsigned int 2025-05-26 09:52:18 -07:00
Christian Semmler
70633de3f6 Merge remote-tracking branch 'isle/master' into mergeii 2025-05-26 09:49:34 -07:00
MS
b28fcae005
Match TextureImpl functions (#1521)
* TextureImpl functions

* TglD3DRMIMAGE functions
2025-05-26 18:46:22 +02:00
Christian Semmler
04b669cf96
Fix type cast in MxControlPresenter::FUN_10044270 (#1522) 2025-05-26 18:45:06 +02:00
Anders Jenbo
4e3cf45aba
Implement Direct3DRMPickedArray constructor (#181) 2025-05-26 07:39:43 -07:00
jonschz
f7744f5550
Fix ambiguous matches in BETA10 (#1520)
* Fix ambiguous matches in BETA10

* Add more functions, fix one LINE annotation

* Fix LEGO1 matches

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-26 07:25:47 +02:00
Anonymous Maarten
e1cddc5c0e
Move DirectDraw entry functions to backends (#178) 2025-05-26 01:33:39 +00:00
Anders Jenbo
3df6be1122
Correct FOV calculation (#176)
* Correct FOV calculation

* Update miniwin/sdl3gpu/src/miniwin_d3drmviewport.cpp

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-26 01:09:41 +00:00
AllMeatball
b1a04f43ff
Make FOV perspective work better (#174)
* Add camera position to the rendering

* Rebase with anders' camera code

* Add perspective matrix

* Add (at least) a better fov

* Fix formatting

* Zero out matrix in perspective function

* Fix formatting again

* Make functions static in D3DRM viewport code

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>

* Implement GetGroupMaterial() (#175)

* Fix naming conflict

* Fix conflict in HMM_Perspective_LH_NO

* Fix formating

---------

Co-authored-by: Anders Jenbo <anders@jenbo.dk>
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-25 15:57:51 -07:00
Anders Jenbo
343bbbd563
Add camera position to the rendering (#173) 2025-05-25 22:36:04 +00:00
Anders Jenbo
cea10248aa
Implement GetGroupMaterial() (#175) 2025-05-25 14:35:02 -07:00
Anonymous Maarten
48958c304e
Verbose logging and static multiply (#172)
* Log SDL3GPU device creation errors

* Give D3DRMMatrixMultiply static visibility
2025-05-25 20:16:48 +00:00
Anders Jenbo
0fe44b28b8
Set viewport frustrum again (#171) 2025-05-25 20:03:13 +00:00
Anonymous Maarten
b24271a51b
Move miniwin to sdl3gpu subdirectory + add suffix to classes (#170) 2025-05-25 17:38:02 +00:00
MS
5ad885f958
TglImpl::DeviceImpl functions (#1519) 2025-05-25 11:37:16 -04:00
Christian Semmler
110d9d4f7d
Update isleapp.cpp (#169) 2025-05-25 07:39:41 -07:00
Anders Jenbo
f2a4ce9353
Apply 3D transformations (#168) 2025-05-25 07:26:22 -07:00
Anders Jenbo
c6e5e10921
Implement IDirect3DRM2::CreateMaterial() (#167) 2025-05-25 06:53:58 -07:00
Anders Jenbo
ea73d76b7d
Fix bad assert and fail fast on bad input (#166) 2025-05-25 10:59:08 +00:00
Florian Kaiser
804632b13f
Refactor LegoUnknown100db7f4 to LegoOrientedEdge (#1515)
* Refactor `LegoUnknown100db7f4` to `LegoOrientedEdge`

* Update LEGO1/lego/sources/geom/legoorientededge.h

* Update legopathcontroller.h

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-24 23:09:24 -07:00
jonschz
8e54a20d7d
Match DecodeSS2 (#1476)
---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-05-25 07:59:58 +02:00
Anonymous Maarten
bdbd0e31d7
Add D3DRMFrame parent <-> child relation (#161)
* Add D3DRMFrame parent <-> child relation

* Apply suggestions from code review
2025-05-24 22:18:53 -07:00
Anonymous Maarten
61c2ca27c2
cmake: explicitly create generated directories (#164) 2025-05-24 22:18:18 -07:00
Anonymous Maarten
14e269f29f
ci: fail fast (don't build with -k) (#165) 2025-05-24 22:18:09 -07:00
Anders Jenbo
4006c35090
Remove unused Add/DeleteVisual() (#163) 2025-05-25 00:52:57 +00:00
Anders Jenbo
440581bb78
Implement CreateFrame() (#160) 2025-05-25 00:40:50 +00:00