1950 Commits

Author SHA1 Message Date
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
Anders Jenbo
e3cbbee000
Implement CreateLightRGB() (#159) 2025-05-25 00:40:37 +00:00
Anders Jenbo
8782fdb62e
Implement 3D geometry rendering (#162) 2025-05-25 02:24:32 +02:00
Anders Jenbo
695b697c4b
Implement Get/SetWindowLong(), GetMenu(), AdjustWindowRectEx() (#155) 2025-05-25 01:28:40 +02:00
Anders Jenbo
755b126666
Add missing MINIWIN_NOT_IMPLEMENTED() (#158) 2025-05-25 00:39:54 +02:00
Anders Jenbo
df3c66ae39
Implement SetFront, SetBack, and SetField in Direct3DRMViewportImpl (#157) 2025-05-25 00:13:22 +02:00
Anders Jenbo
36243c165b
Correct type of IDirect3DRMDevice::SetDither() argument (#156) 2025-05-24 22:34:54 +02:00
Anders Jenbo
99cdeb6596
Mark IDirectDrawClipper::SetHWnd() as implemented (#154)
SDL does not allow rendering outside it's window and so there is no need to limit it to the window in the first place.
2025-05-24 21:06:10 +02:00
Anders Jenbo
2fec243378
miniwin: Mark ClientToScreen() as implemented (#153)
SDL rendering works relative to the window surface and do not need translation in to screen coordinates.
2025-05-24 21:06:01 +02:00
Christian Semmler
fbdb89cf20
Use SDL_strcasecmp for strcmpi 2025-05-24 08:17:36 -07:00
Christian Semmler
26cd442d95
Merge remote-tracking branch 'isle/master' 2025-05-24 08:12:54 -07:00
Christian Semmler
a860e76dba
Match LegoOmni::GetWorldId (#1517) 2025-05-24 17:12:07 +02:00
Florian Kaiser
90b5c27a8b
Clear unknowns in MxBackgroundAudioManager (#1516)
* Clear unknowns in `MxBackgroundAudioManager`

* Apply suggestions from code review

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-24 06:49:43 -07:00
Christian Semmler
390fef9f9a
Fix isledecomp/isle merge (#150)
* Fix isledecomp/isle merge

* Use constant
2025-05-23 18:48:29 +02:00
Christian Semmler
a75e3a4377
Merge remote-tracking branch 'isle/master' 2025-05-23 09:34:57 -07:00
MS
4e49712391
Match Tgl MeshImpl and GroupImpl functions (#1514) 2025-05-23 12:27:41 -04:00
Erik Schulze
eb1177b409
rename functions and parameters in OrientableROI (#1512) 2025-05-21 20:13:28 -07:00
Anders Jenbo
0a61be282e
miniwin: Implement IDirect3DRMMesh (#144)
* miniwin: Implement IDirect3DRMMesh

* Update miniwin/miniwin/src/include/miniwin_d3drmmesh_p.h

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

* Update miniwin/miniwin/src/include/miniwin_d3drmmesh_p.h

Co-authored-by: Christian Semmler <mail@csemmler.com>

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-21 19:59:17 -07:00
Anders Jenbo
0441296d37
Sky color controls (#149)
* d3drm: Clear background color

* Update miniwin/miniwin/src/include/miniwin_d3drmviewport_p.h

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

* Update miniwin/miniwin/src/include/miniwin_d3drmframe_p.h

---------

Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-21 19:19:53 -07:00
Anders Jenbo
92ee03ec4d
d3drm: Minor cleanup and improvments (#145) 2025-05-22 00:46:42 +02:00
Anders Jenbo
046cd0c7e9
NOT IMPLEMENTED corrections (#146) 2025-05-22 00:46:04 +02:00
Anonymous Maarten
711a6a21bf
extract d3drm{frame,mesh} to source file, and reduce stderr spam (#143)
* extract d3drm{frame,light,mesh} to source file and reduce stderr spam

* cmake: don't add  to miniwin

Visual Studio tries to compile the shaders, which does not work well
2025-05-21 20:00:14 +00:00