Christian Semmler
3eba4fce12
Merge remote-tracking branch 'isle/master'
2025-05-30 17:33:33 -07:00
Anonymous Maarten
ac971f8c15
Assertion in MxTransitionManager::StartTransition is beta10-only ( #1534 )
...
This fixes an assertion error when:
1. Start the game
2 Skip intro (probably optional)
3. Turn left to the elevator room
4. Enter the elevator
5. Press the (I) button
2025-05-31 02:33:28 +02:00
Christian Semmler
a699a4316a
Merge remote-tracking branch 'isle/master'
2025-05-30 17:20:18 -07:00
Anonymous Maarten
941bc6ffa9
Fix UBSAN entering the petrol station car building minigame ( #1533 )
2025-05-31 02:19:11 +02:00
Christian Semmler
63a0be90a5
Merge remote-tracking branch 'isle/master'
2025-05-30 12:43:47 -07:00
Anonymous Maarten
e813a12a4a
Fix notification/presenter casts ( #1532 )
...
* LegoCarBuild: cast c_notificationType0 to MxNotificationParam
* MxBackgroundAuioManager gets a MxWavePresenter
2025-05-30 21:43:33 +02:00
Anonymous Maarten
58b5a2b96d
Allow entering helicopter build minigame ( #204 )
...
* LegoCarBuild: cast c_notificationType0 to MxNotificationParam
* MxBackgroundAuioManager gets a MxWavePresenter
2025-05-30 19:23:54 +00:00
Fabian Neundorf
d0f4725f0f
Fill in unknown color string descriptions ( #1531 )
2025-05-30 21:12:49 +02:00
Anonymous Maarten
364844d6d0
Use SDL_rand/SDL_randf ( #203 )
2025-05-30 19:01:01 +00:00
Christian Semmler
bcd0021bb1
Fix anim key construction ( #199 )
2025-05-29 16:11:43 -07:00
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
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 0897f75c7c )
* assert in LegoCarBUild::InitPresenter is BETA10-only
(cherry picked from commit 1a41b62f6f )
2025-05-28 20:25:05 -07: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
def1cf8a12
Fix missing filesystem map ( #190 )
2025-05-28 18:20:00 -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
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
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
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
MS
5ad885f958
TglImpl::DeviceImpl functions ( #1519 )
2025-05-25 11:37:16 -04: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
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
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 a81de08f78 .
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
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 254ae2d3a8 .
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
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
Erik Schulze
7b34eea690
Use SUCCESS and FAILURE in MxPalette::SetSkyColor ( #1506 )
2025-05-18 16:36:25 -07:00
Christian Semmler
3023b8a663
Merge remote-tracking branch 'isle/master' into mergei
2025-05-18 14:04:10 -07:00
Anonymous Maarten
2915aa014f
Use sizeof(type) instead of sizeof(variableName) when (de)serializing data ( #1505 )
...
* Use sizeof(type) instead of sizeof(variableName) when (de)serializing data
* Less usage of sizeof(variableName) while (de)serializing
2025-05-18 22:56:28 +02:00
Anders Jenbo
3a0366a3d9
Handle unaligned read/write ( #82 )
2025-05-18 13:27:44 -07:00
Christian Semmler
d5b5148cd5
Fix wrong delete in MxPtrList<LegoROI*> ( #111 )
...
* Use delete[] for array types in `MxPtrList::Destroy`
* Use template specialization solution
2025-05-18 12:50:20 -07:00
Christian Semmler
80f5e15cbf
Merge remote-tracking branch 'isle/master'
2025-05-18 09:24:02 -07:00
Anders Jenbo
c9b41e2db8
Fix delete in legoanimmmpresenter.cpp ( #1504 )
2025-05-17 19:09:44 -07:00
Anders Jenbo
d00c08cc19
Rename FUN_1009e020 to ClearBackBuffers ( #1503 )
...
* Rename FUN_1009e020 to ClearBackBuffers
* Update mxdirectdraw.h
2025-05-17 18:01:29 -07:00
Anders Jenbo
9b8bbc3e76
Fix game startup bits ( #102 )
2025-05-17 16:39:35 -07:00
Christian Semmler
c8b1e507c7
Merge remote-tracking branch 'isle/master'
2025-05-17 16:20:08 -07:00
Anders Jenbo
3f0fe654ff
Fix delete[] in mxstillpresenter.cpp ( #1496 )
...
* Fix delete[] in mxstillpresenter.cpp
Without this the game doesn't run on Linux :)
* Update LEGO1/omni/src/video/mxstillpresenter.cpp
Co-authored-by: Christian Semmler <mail@csemmler.com>
* Update mxstillpresenter.cpp
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 16:14:25 -07:00
Anders Jenbo
45e0e5bdd1
Correct delete[] in mxflcpresenter.cpp ( #1501 )
...
* Correct delete[] in mxflcpresenter.cpp
* Update LEGO1/omni/src/video/mxflcpresenter.cpp
Co-authored-by: Christian Semmler <mail@csemmler.com>
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-17 14:22:30 -07:00
Anders Jenbo
bc920a295b
Correct assert in view.cpp ( #1500 )
2025-05-17 13:26:01 -07:00
Anders Jenbo
d3cd491765
Correct delete[] in legowegedge.cpp ( #1499 )
2025-05-17 13:25:22 -07:00
Anders Jenbo
2d92aee589
Correct delete[] in mxcontrolpresenter.cpp ( #1498 )
2025-05-17 13:24:06 -07:00
Christian Semmler
fb54b4d1c2
Use dynamically allocated buffer ( #105 )
2025-05-17 17:14:36 +02:00
Anders Jenbo
00a68c44c6
Fix initilization and overlapping memcpu ( #101 )
2025-05-16 19:07:05 -07:00
Christian Semmler
5ae47c2b56
Map internal paths to filesystem paths ( #100 )
...
* Map internal paths to actual filesystem paths
* Only do this on non-Windows
* Update LEGO1/omni/src/common/mxstring.cpp
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
* add priority
* Revert for now
---------
Co-authored-by: Anonymous Maarten <madebr@users.noreply.github.com>
2025-05-17 03:46:50 +02:00
Christian Semmler
4ada014dfd
Merge remote-tracking branch 'isle/master'
2025-05-16 12:42:48 -07:00
Anders Jenbo
46ae3fbe89
Order enums the same way in both places ( #1495 )
...
To match LEGO1/mxdirectx/mxdirectdraw.cpp so it's not so confusing to compare uage
2025-05-15 21:11:06 -07:00
Anders Jenbo
9ae96cbff6
Implement a functional DirectDraw ( #81 )
2025-05-15 20:45:53 -07:00
Anders Jenbo
f5cb2d4732
Use consts in callbacks ( #1494 )
2025-05-15 19:22:40 -07:00
Anders Jenbo
96c962f857
Additional strict type checking in DirectX implementation ( #91 )
2025-05-15 23:18:21 +02:00
Christian Semmler
68f209b18c
Merge remote-tracking branch 'isle/master'
2025-05-14 22:11:52 -07:00
Anders Jenbo
4c754b376c
Enums in mxdisplaysurface.cpp ( #1493 )
...
* Enums in mxdisplaysurface.cpp
* Update mxdisplaysurface.cpp
2025-05-14 22:08:50 -07:00
Anders Jenbo
d52af9f4e3
Enum in legovideomanager.cpp ( #1492 )
2025-05-14 22:03:52 -07:00
Anders Jenbo
ad5ccd4e8b
Enums in mxtransitionmanager.cpp ( #1491 )
2025-05-14 22:03:33 -07:00
Anders Jenbo
dabd404111
Correct enums in mxdirectdraw.cpp ( #1490 )
2025-05-14 22:03:16 -07:00
Anders Jenbo
f99da0cea7
Correct enums in legotextureinfo.cpp ( #1489 )
2025-05-14 22:02:35 -07:00
Anders Jenbo
db7781473a
miniwin: Clean up headers and make bitflags and enums strict ( #90 )
2025-05-14 19:51:41 -07:00
Christian Semmler
7fa7643bfb
Merge remote-tracking branch 'isle/master'
2025-05-14 17:01:20 -07:00
Anders Jenbo
dbbf373748
Correct dwCaps bit flags ( #1487 )
...
* Correct dwCaps bit flags
* Update legotextureinfo.cpp
2025-05-15 02:01:10 +02:00
Christian Semmler
aec7426665
Merge remote-tracking branch 'isle/master'
2025-05-14 16:40:05 -07:00
Anders Jenbo
fce97ea06f
Correct check for lighting support ( #1486 )
2025-05-15 01:39:55 +02:00
Christian Semmler
18f24d1795
Merge remote-tracking branch 'isle/master'
2025-05-14 12:43:45 -07:00
Anders Jenbo
c9030c94fd
Fix warnings ( #83 )
2025-05-14 07:29:26 -07:00
Anders Jenbo
7c6cec2f54
Fix 32bit build 64bit MSVC ( #84 )
2025-05-14 07:29:00 -07:00