2071 Commits

Author SHA1 Message Date
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
Anonymous Maarten
183efa3d8f
More debug features: pause/step/resume (#140)
* More debug features: pause/step/resume

* Fix palette order (I think)

* Revert "Fix palette order (I think)"

This reverts commit a81de08f7889398285e44a9798a604826b720c4f.
2025-05-21 19:54:22 +02:00
Wouter Wijsman
911330e61c
Use SDL_EVENT_QUIT for window close (#126) 2025-05-21 19:33:53 +02:00
Anders Jenbo
af554676e4
Update README.md (#141) 2025-05-21 08:20:31 -07:00
Anders Jenbo
ecda6c57d6
Initialize GPU 3D rendere (#132)
* Initialize GPU 3D rendere

* Embed compiled shaders in miniwin

* miniwin: Refactor D3DRM

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
2025-05-21 07:25:46 -07:00
Christian Semmler
67f3ce37fa
Hotfix: fix wrong return value 2025-05-20 16:36:29 -07:00
Christian Semmler
9e3e039c3f
Remove dynamic_cast (#139) 2025-05-21 01:29:51 +02:00
Anonymous Maarten
9d06cd9e53
Show imgui window when starting app with --debug (#138)
* Show imgui window when starting app with --debug

* g_closed test in SDL_AppIterate is still needed

* Allow disabling isleapp debugging by configuring with -DISLE_DEBUG=OFF

* clang-format
2025-05-20 23:36:51 +02:00
Christian Semmler
70b1ebea87
Revert "Use template specialization solution" (#137)
This reverts commit 254ae2d3a8defd5a15669e6d8e888a122cd69e2b.
2025-05-20 23:10:51 +02:00
Anders Jenbo
bf22b8712c
Move to C++17 (#135)
* Move to C++17

* Move dtor

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-20 20:48:48 +02:00
Christian Semmler
9fc0306b58
Merge remote-tracking branch 'isle/master' 2025-05-20 11:43:28 -07:00
Anders Jenbo
5c67c26c3f
Fix MxHashTableNode constructor (#1511) 2025-05-20 20:42:42 +02:00
Anders Jenbo
63ae856370
miniwin: Remove unused code (#136) 2025-05-20 11:00:32 -07:00
Anonymous Maarten
cd32924c47
cmake: use precompiled headers (#133)
* cmake: use precompiled headers

* Apply suggestions from code review
2025-05-19 18:20:28 -07:00
Anonymous Maarten
c0a4cbd34a
Fix mouse clicks in registration book (#134) 2025-05-19 18:05:51 -07:00
Anonymous Maarten
40a21867e8
Document buttonId in RegistrationBook (#1510) 2025-05-19 18:05:35 -07:00
Anonymous Maarten
0b778de731
Let LegoStorage know of memory size (#129) 2025-05-20 02:18:11 +02:00
Christian Semmler
23182618cc
Merge remote-tracking branch 'isle/master' 2025-05-19 17:16:56 -07:00
Anonymous Maarten
0b9c1756c7
Fix inclusion guards of 3 files (#1509)
* Fix inclusion guards of 3 files

* Apply suggestions from code review

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

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-20 02:15:30 +02:00
Christian Semmler
3192eb551a
Add MxMiniaudio wrapper to fix resource issues (#131)
* Add `MxMiniaudio` wrapper to fix resource issues

* Fix naming

* Updated wrapper

* Use implicit cast
2025-05-20 02:07:20 +02:00
Christian Semmler
d4d77644d1
Fix broken 3D on non-miniwin Win32 (#130) 2025-05-20 01:06:06 +02:00
Erik Schulze
d67318e78b
propagate name changes from commit fce97ea (#1508)
* propagate name changes from commit fce97ea

* remove dependency on omni types

* rename parameter too
2025-05-19 21:25:52 +02:00
Anders Jenbo
70536c50bd
Fix remaning UBSAN issues (#115) 2025-05-19 19:02:24 +02:00
Anders Jenbo
4e2df63d9c
Get the game working on 64bit systems (#113)
* Use int instead of long

* Move static_asserts to the bottom

---------

Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com>
2025-05-19 17:56:12 +02:00
Anders Jenbo
fdde353b1f
minwin: Fix bitmap colors (#125) 2025-05-19 07:16:05 -07:00
Anders Jenbo
7972918472
miniwin: 16bit color key support (#124) 2025-05-19 07:15:12 -07:00
MS
6808669da0
Use argument file for reccmp-aggregate samples (#1507) 2025-05-18 21:47:00 -07:00
Anders Jenbo
a19827e10f
Minor palette corrections (#122) 2025-05-18 20:31:37 -07:00
Erik Schulze
7b34eea690
Use SUCCESS and FAILURE in MxPalette::SetSkyColor (#1506) 2025-05-18 16:36:25 -07:00
Christian Semmler
cd047211cf
Merge pull request #114 from foxtacles/mergei
Merge from isledecomp/isle
2025-05-18 14:58:11 -07:00