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
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
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
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
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
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
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
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
Anders Jenbo
9ae96cbff6
Implement a functional DirectDraw ( #81 )
2025-05-15 20:45:53 -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
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
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
Anders Jenbo
c9030c94fd
Fix warnings ( #83 )
2025-05-14 07:29:26 -07:00
Christian Semmler
5a0b976994
Use WM_QUIT consistently ( #80 )
...
* Use `WM_CLOSE` consistently
* Use `WM_QUIT`
2025-05-14 03:19:10 +02:00
Anonymous Maarten
537cde485a
Remove d3drm-wine ( #75 )
...
* remove d3drm-wine
* Update miniwin/miniwin/src/miniwin_ddraw.cpp
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
* Run clang-format
* Update miniwin/miniwin/src/miniwin.cpp
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
* Update miniwin/miniwin/src/miniwin_ddraw.cpp
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
---------
Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2025-05-13 19:18:20 +00:00
Christian Semmler
c921773d4e
Merge remote-tracking branch 'isle/master'
2025-05-12 14:17:33 -07:00
Anders Jenbo
08b2dab108
Make things build on Linux ( #69 )
2025-05-12 23:10:53 +02:00
Anders Jenbo
7e98f0e11c
Rename FUN_1009d0d0 into GetBestDevice ( #1478 )
2025-05-12 22:34:37 +02:00
Christian Semmler
b1623302c9
Merge remote-tracking branch 'isle/master' into mergeisle8
2025-05-12 08:39:16 -07:00
Florian Kaiser
e59345c88c
Rename SetUnknown84 to SetNotificationObject ( #1474 )
2025-05-12 17:20:38 +02:00
Ramen2X
2b3e7176d3
make all calls to winapi format-agnostic ( #1470 )
2025-05-11 15:03:32 -04:00
Christian Semmler
f4ba9301d5
Fix bad merge
2025-05-11 08:36:01 -07:00
Christian Semmler
d9dac02db5
Merge remote-tracking branch 'isle/master'
2025-05-11 08:31:25 -07:00
Anders Jenbo
00ac032761
Fix input to FUN_10064740 ( #1467 )
2025-05-10 17:37:02 -07:00
Christian Semmler
fff2021bb5
Match Hospital::ReadyWorld ( #1465 )
2025-05-10 18:11:53 +02:00
Christian Semmler
447fcd0c00
Match LegoCarBuild::FUN_100246e0 ( #1464 )
2025-05-10 17:48:08 +02:00
Christian Semmler
30facd3c90
Match JetskiRace::Create ( #1463 )
2025-05-10 17:16:18 +02:00
Florian Kaiser
a3d773f629
Rename functions in LegoWorldPresenter : FUN_10067360 to LoadWorldPart and FUN_100674b0 to LoadWorldModel. Update m_unk0x50 to m_maxObjectId. ( #1460 )
2025-05-09 21:23:02 +02:00
Florian Kaiser
c59343c220
Rename m_unk0x64 to m_world in LegoAnimMMPresenter ( #1461 )
2025-05-09 20:55:22 +02:00
Florian Kaiser
81ce446628
Rename m_unk0x28 to m_characterIndex in AnimInfo struct and update references in LegoAnimationManager ( #1462 )
2025-05-09 20:54:44 +02:00
Florian Kaiser
674197555c
Rename m_list0x68 to m_pathControllerList in LegoWorld class ( #1459 )
2025-05-09 20:49:52 +02:00
Christian Semmler
fa126f77ce
Merge remote-tracking branch 'isle/master' into mergeisle7
2025-05-09 09:27:32 -07:00
Florian Kaiser
5fd5a4cec0
Clear unknowns in LegoROI and related classes ( #1457 )
...
* Clear unknowns in LegoROI and related classes
* Update names
* Consistently naming: `GetTextureInfo`
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-05-09 18:13:19 +02:00
Florian Kaiser
3811d61ea4
Rename c_bit5 to c_ctrl in LegoInputManager, change m_unk0x6c to m_isAccelerating and clear some local unknowns ( #1458 )
2025-05-09 07:40:00 -07:00
Florian Kaiser
711134b3b8
Replace m_unk0x04 and m_unk0x08 with m_modelDataLength and m_modelDataOffset ( #1456 )
2025-05-09 07:35:11 -07:00
Christian Semmler
fa6c62f7b3
Match MxCompositeMediaPresenter::Tickle ( #1437 )
...
* Match `MxCompositeMediaPresenter::Tickle`
* Remove file
2025-05-06 01:04:55 +02:00
Christian Semmler
9d01f67abb
Merge remote-tracking branch 'isle/master' into mergeisle4
2025-04-06 08:36:09 -07:00
MS
3b63506648
Fix FUN_10044270 ( #1423 )
2025-04-03 17:10:11 -04:00
MS
8821593b63
Improve MxControlPresenter::FUN_10044270 ( #1422 )
2025-04-03 16:25:40 -04:00
Christian Semmler
a301f84566
Match LegoAnimPresenterSetCompare comparison ( #1415 )
2025-03-16 22:58:48 +01:00
Christian Semmler
e9467864d8
Match LegoHideAnimPresenter::FUN_1006db60 ( #1414 )
...
* Match `LegoHideAnimPresenter::FUN_1006db60`
* Remove comment
2025-03-16 22:57:23 +01:00
Christian Semmler
401fa7674e
Match MxBackgroundAudioManager::FadeInOrFadeOut ( #1413 )
2025-03-16 22:19:11 +01:00
Christian Semmler
67c71cb9e6
Match MxControlPresenter::HasTickleStatePassed ( #1412 )
2025-03-15 14:19:09 -07:00
Christian Semmler
622f00f628
Merge remote-tracking branch 'isle/master' into mergeisle3
2025-03-14 13:59:52 -07:00
Christian Semmler
b0b68052d4
Improve Isle::Enable match ( #1410 )
2025-03-14 21:45:53 +01:00
Christian Semmler
421a317050
Match Isle::HandleEndAction ( #1409 )
2025-03-14 21:24:50 +01:00
Christian Semmler
77435427b3
Match Radio::HandleControl ( #1408 )
2025-03-14 21:24:11 +01:00
MS
d663e26321
Use MxGeometry header ( #1399 )
...
* Use MxGeometry header
* Fix comment
---------
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-03-11 21:13:13 -04:00
jonschz
87d13aa277
Add various BETA10 references and fixes ( #1398 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-03-02 19:59:03 +01:00
MS
92f20e7f7b
Fix enum in Ambulance::HandlePathStruct ( #1395 )
2025-02-27 21:32:27 -05:00
Christian Semmler
67b25b0bcc
Adapt MxRegion.h ( #1393 )
...
* Adapt MxRegion.h
* Use specific GH action version
* Disable clang32 for now
* Fix regression
* Add space
* Add BETA annotations
2025-02-27 03:30:11 +01:00
Christian Semmler
ea5a722311
Fix Matrix4::operator[] annotation ( #1390 )
2025-02-22 06:48:11 -07:00
Christian Semmler
5e5b048b34
Match Act3::DebugCopter ( #1392 )
...
* Match `Act3::DebugCopter`
* Rename param
2025-02-21 23:50:38 +01:00
jonschz
78e924e4ee
Match Infocenter::ReadyWorld ( #1389 )
...
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-02-21 21:26:10 +01:00
Christian Semmler
44d131ad18
Merge from isledecomp/isle
2025-02-17 17:52:38 -07:00
jonschz
777dfa82ec
Match Infocenter::HandleControl ( #1386 )
...
* Add BETA10 references
* Refactor non-existent getters
* Infocenter::HandleControl maybe down to entropy
* Rename variable
* More refactoring
* Refactor public variable
* 100 %
* Fix clang-format
* Fix clang-format
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-02-18 01:12:51 +01:00
jonschz
d88ab0a50a
Match Act2Brick::Create ( #1385 )
...
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-02-15 16:47:55 +01:00
Christian Semmler
347da7d555
Match Infocenter::HandleButtonUp ( #1383 )
2025-02-11 23:23:20 +01:00
Christian Semmler
82453f62d8
Match Hospital::HandleButtonDown ( #1381 )
2025-02-02 17:42:37 +01:00
Christian Semmler
5a6482c6cf
Merge remote-tracking branch 'isle/master' into mergeisle
2025-02-02 08:38:16 -07:00
jonschz
bc0344a8c4
Match Jetski::HandleClick ( #1380 )
...
* Match `Jetski::HandleClick`
* Formatting
* Clean up, document, add BETA10 references
* Fix formatting
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-02-02 15:44:00 +01:00
MS
dad44535bd
Beta matching LegoCacheSound ( #1379 )
2025-01-29 10:41:50 -05:00
MS
29bf588870
LegoRaceCar and LegoJetski tweaks ( #1378 )
2025-01-26 21:00:51 -05:00
jonschz
fe36c2543e
BETA10 match RegistrationBook::ReadyWorld() ( #1376 )
...
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-01-26 08:02:01 +01:00
Christian Semmler
382f058c23
Match RegistrationBook::ReadyWorld ( #1375 )
2025-01-25 00:32:08 +01:00
jonschz
82f2e2e755
Match HistoryBook::ReadyWorld() ( #1373 )
...
* Some progress on HistoryBook::ReadyWorld
* Refactor getter
* 48 %
* 49 %
* 53 %
* Improve BETA10 stack, LEGO1 now at 91
* variable number match on BETA10, 91 % on LEGO1
* Cleanup
* Match
---------
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
Co-authored-by: Christian Semmler <mail@csemmler.com>
2025-01-25 00:09:04 +01:00
Christian Semmler
99befafff2
Remove LegoEventNotificationParam unit ( #1372 )
2025-01-23 01:25:53 +01:00
Christian Semmler
00dee618c0
Merge remote-tracking branch 'isle/master' into mergeisle
2025-01-22 16:34:28 -07:00
Christian Semmler
49cb120795
Order symbols until end of LegoOmni ( #1371 )
...
* Order
* Improve
* Move function
* Order until end of LegoOmni
* Remove header
2025-01-22 22:22:58 +01:00
MS
4db8b44ce0
Implement LegoCarBuildAnimPresenter::Serialize ( #1366 )
2025-01-20 21:43:24 -05:00
Christian Semmler
5a7df7f95d
Order until LegoCarBuildAnimPresenter ( #1365 )
...
* Order until `Infocenter`
* Order until RaceSkel
* More order
* Order until `LegoCarBuildAnimPresenter`
* Add blank line
* Add BETA annotation
2025-01-21 01:31:28 +01:00
MS
9480fd9d98
Fix annotations for overloaded functions ( #1354 )
2025-01-19 13:46:42 -07:00
MS
038ec6b2ec
Some improvements to LegoGameState ( #1353 )
...
* Beta match ReadVariable and WriteVariable
* Change param type for GetFileSavePath
* Remove copy constructor for LegoGameState::Username
2025-01-19 13:34:06 -07:00
Christian Semmler
fc03e7a682
Improve order until legomain.cpp ( #1350 )
...
* Fix `LegoBackgroundColor` order
* Order
* Improve order in Act3Actors
* Improve order
* Add BETA annotation
* Order more
* More order
* More order
* Order
* Match/order
* Remove blank line
* Modern compiler fix
* vtable annotation
2025-01-17 18:33:27 -07:00
Christian Semmler
e1ce96c473
Order symbols until end of LegoGameState ( #1340 )
...
* Order `Ambulance`
* More ordering
* Order until `LegoGameState`
* Move
2025-01-17 03:42:38 +01:00