Commit Graph

1803 Commits

Author SHA1 Message Date
jonschz
2980f88bb0
Fix filenames based on BETA10 MxAutoLock (#1640)
* Inline LegoAnimPresenters
---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-20 18:20:40 +02:00
Fabian Neundorf
0a58d112e8
Clear unknowns in LegoOmni and misc.h (#1642) 2025-07-20 08:18:59 -07:00
Fabian Neundorf
56c15699da
Clear unknown in MxSoundManager (#1641) 2025-07-20 16:05:28 +02:00
jonschz
6b5f3724c0
Beta match MxAutoLock and MxCriticalSection (#1638)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-20 07:57:26 +02:00
Fabian Neundorf
9e860d910c
Name spawn areas (#1636) 2025-07-19 07:29:34 -07:00
jonschz
73d9ef1d80
Improve FUN_10061010, other fixes (#1634)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-19 16:28:35 +02:00
jonschz
29d7a5df89
Get BETA10 to compile again (#1635)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-19 12:24:49 +02:00
Fabian Neundorf
bd71370602
Clear unknown in LegoControlManagerNotificationParam (#1633) 2025-07-19 01:09:37 +02:00
Christian Semmler
10195dcbcb
Add more rumble events (#627)
* Add more rumble events

* Add check for haptic
2025-07-18 22:52:42 +00:00
Christian Semmler
6b551b14c0
Add assert for dynamic_cast (#626) 2025-07-18 22:06:47 +00:00
Christian Semmler
10d4142c39
Merge remote-tracking branch 'isle/master' 2025-07-18 14:44:18 -07:00
Christian Semmler
556b2deef2
Fix ViewLODList leaks (#623)
* Fix ViewLODList leaks

* Add vector clear

* Fix naming
2025-07-18 21:34:23 +00:00
Fabian Neundorf
cfd36ec88f
Clear unknowns in LegoPhonemePresenter (#1632) 2025-07-18 23:26:34 +02:00
Fabian Neundorf
66844aa945
Clear unknown in TimeROI (#1631) 2025-07-18 01:53:35 +02:00
Fabian Neundorf
6d6971734b
Clear unknowns in LegoROI (#1630) 2025-07-17 01:19:17 +02:00
Helloyunho
df84f4d7a5
🩹 fix: use actual transparent pixel if surface supports alpha channel (#616) 2025-07-16 17:32:37 +02:00
Christian Semmler
deca5e5a2e
Add device and gamepad haptics to web port (#613)
* Add device and gamepad haptics to web port

* Update skip.yml
2025-07-15 23:50:14 +00:00
Christian Semmler
d0dc595fc5
(Touch controls) Use full virtual joystick instead of hybrid (#612)
* Test touch joystick

* Change radius
2025-07-15 22:18:55 +00:00
Christian Semmler
f20fc475c7
Integrate SDL Haptic API (#607)
* Integrate SDL Haptic API

* Close other devices

* Fixes
2025-07-15 23:47:37 +02:00
Christian Semmler
87c89885ba
For MaxLOD values > 5, disable LOD threshold and view limits (#609) 2025-07-15 22:21:41 +02:00
Christian Semmler
4f3ce064e8
Merge remote-tracking branch 'isle/master' 2025-07-15 12:05:45 -07:00
Fabian Neundorf
05360b4468
Clear unknowns in TowTrack and TowTrackMissionState (#1629) 2025-07-15 20:39:22 +02:00
Joshua Peisach
8a82ebeb7e
Fix typo in SetSkyColor (#1628) 2025-07-15 19:16:25 +02:00
MS
9c9baf3c3e
Beta matching in mxdirectxinfo.cpp (#1626)
* Use goto

* Fix constructors

* Reorder error strings

* Compat mode todo

* Rename p_context to p_d

* Use count variable

* Fix typo
2025-07-15 10:43:40 -04:00
Fabian Neundorf
3b79b4c834
Use enum values for LegoPathStructNotificationParam.GetTrigger() (#1625) 2025-07-14 22:18:21 +02:00
MS
e155bea7fd
Remove GetDriverList getter (#1624) 2025-07-14 11:44:14 -04:00
Helloyunho
7cf24ae358
🩹 fix: no black border on virtual cursor (#604) 2025-07-14 15:10:15 +00:00
Christian Semmler
21ce906a32
Add haptic feedback (rumble) (#596)
* Add rumble event for hit actor

* Add ini option
2025-07-13 20:26:47 -07:00
Christian Semmler
42f877e177
(Web port) Fix virtual cursor transparency (#595) 2025-07-14 04:16:03 +02:00
Fabian Neundorf
356c64ce0e
Name state field, getter and setter in Act1State (#1621) 2025-07-13 12:01:06 -07:00
Christian Semmler
c9930d10f9
Refine gamepad touch controls (#591) 2025-07-13 18:23:59 +00:00
jonschz
40c1a40d2b
Match FUN_1006b140() and related functions (#1623)
* Match on BETA10

* Possible improvement on Matrix4::Swap

* Document entropy build result

* Comments at at Matrix4::Invert

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-13 16:50:51 +02:00
jonschz
657720c825
Match Act3List::FUN_100720d0 (#1622) 2025-07-13 16:50:20 +02:00
Christian Semmler
42bac60ec5
Add new touch control scheme ("gamepad") (#587)
* Add new touch control scheme

* Add export

* Fix enum naming
2025-07-13 04:13:37 +02:00
jonschz
ac46537599
Interpret Act3List properties, minor fixes (#1619)
Co-authored-by: jonschz <jonschz@users.noreply.github.com>
2025-07-12 17:05:29 +02:00
Fabian Neundorf
d9d9880d8b
Clear unknowns in LegoAnimNodeData (#1617) 2025-07-11 17:11:12 -07:00
Fabian Neundorf
a34c293177
Name Disable function in LegoOmni and misc (#1616) 2025-07-11 17:10:36 -07:00
Fabian Neundorf
6497cb42b7
Clear unknowns in Matrix (#1615) 2025-07-10 18:58:53 -07:00
Christian Semmler
0da46262bf
Merge remote-tracking branch 'isle/master' 2025-07-10 12:06:53 -07:00
Christian Semmler
68c967ebdf
Add extensions, TextureLoader (#570)
* Add extensions, `TextureLoader`

* Fix wording

* Add to default ini

* Add folder to flatpak

* Use different enable strategy
2025-07-10 00:24:59 -07:00
MS
c784fc32f1
Move g_skeletonKickPhases to .data (#1614) 2025-07-10 00:29:22 -04:00
Fabian Neundorf
f0f771f3f4
Clear global unknowns in LegoROI (#1611) 2025-07-09 21:28:59 -07:00
MS
4ebc5b453f
Improve match for Act3Ammo::Animate (#1612)
* Improve Act3Ammo

* Early return
2025-07-09 14:09:49 -04:00
Anders Jenbo
b8e7c8f774
Fix uninitialized ddpfPixelFormat in VTable0x44 (#563) 2025-07-09 05:40:24 +00:00
Fabian Neundorf
5d3b6884e0
Clear unknowns in legoutils.h (#1610) 2025-07-08 07:26:32 -07:00
Fabian Neundorf
c7fda26cf4
Clear unknowns in Infocenter and InfocenterMapEntry (#1609) 2025-07-08 02:35:21 +02:00
Anders Jenbo
7045607c6c
Remove fake transition (#550) 2025-07-08 00:47:49 +02:00
Anders Jenbo
c6b94dabcf
Align FakeMosaicTransition with MosaicTransition (#545)
The palette is a bit off but I have no strong urge to fix it
2025-07-07 04:59:44 +02:00
Helloyunho
b82cfc4b36
Recheck through gamepads when gamepad is added or removed (#546)
* 🩹 fix: recheck through gamepads when gamepad is added or removed

* 🚑️ fix: oops i forgot to put lego1_export
2025-07-07 02:36:37 +00:00
Anders Jenbo
bb86ee3172
Fix clear screen on buffered deevices (#544) 2025-07-07 03:40:53 +02:00
Christian Semmler
1ee2f45e7c
Merge remote-tracking branch 'isle/master' 2025-07-06 08:29:53 -07:00
Helloyunho
04bcfde38b
Add Xbox One/Series X|S port (#526)
* chore: update README.md

*  feat: got the audio working

* 🔧 feat: add appxmanifest

* 🩹 fix: remove opengl stuff

* ⚗️ feat: add button support

* ⚗️ chore: try to make less modification from upstream

* 🩹 fix: doesnt compile

*  feat: forcibly draw cursor and map right joystick to cursor

* 🩹 fix: remap joystick

* 🎨 fix: formatting

* 🎨 fix: cmakelists formatting

* 🩹 fix: 3ds build

* 👷 feat: add xbox one ci build

* 💚 fix: github hates xbox series naming

* 💚 fix: dont run cpack for xbox one, vs does that for you

* 💚 fix: xbox one need to use vs as generator

* 💚 fix: please

* 💚 fix: it could be msix not bundle

* 💚 fix: try recursive directory search when upload release

* 🔨 feat: support cpack

* 👷 feat: better packaging

* 💚 fix: ignore if mv fails

* 🔧 feat: add mouse sensitivity config

* 🔥 chore: dont need you

* ⚗️ chore: use d3d11

*  feat: hardware acceleration!!

* 🚸 chore: change default cd path so user can easily copy the assets to xbox

* 🧑‍💻 chore: improve reusability

* 🚨 fix: formatting error

* 🚸 chore: draw cursor by default

* 🎨 chore: cmakelists formatting

* chore: match with upstream

* chore: more matching with upstream

* chore: don't need you

* 🩹 fix: apply changes

* 🔥 fix: we don't need controller map anymore

* 🩹 fix: use isle style include guard

* 🩹 fix: last newline fix

* 👷 chore: use cpack

* 💚 fix: try to fix ci

* 💚 fix: i tried my best...
2025-07-06 07:28:00 -07:00
Anders Jenbo
58338fecfc
Faster and cleaner mosaic transition (#530) 2025-07-06 05:17:06 +00:00
Anders Jenbo
1b8f662090
Correctly init p_povPosition (#531) 2025-07-06 07:12:20 +02:00
Fabian Neundorf
8ffe7b776a
Clear unknowns in LegoControlManager (#1607) 2025-07-05 18:23:00 -07:00
Fabian Neundorf
d3aecadb07
Clear unknown in LegoModelPresenter (#1608) 2025-07-05 16:55:59 -07:00
Helloyunho
80514e2af7
Support gamepad (#527) 2025-07-05 21:27:24 +02:00
Anders Jenbo
761dc31ac0
Render buttons as sprites (#488) 2025-07-05 07:39:51 +02:00
Anders Jenbo
b2156c94bf
Fix uninitialized presenter (#525) 2025-07-05 05:21:32 +02:00
Anders Jenbo
af9f7cd791
3DS: Account for sprite scaling when resizing UI (#503) 2025-07-05 01:48:13 +02:00
Christian Semmler
1c0588727e
Merge remote-tracking branch 'isle/master' 2025-07-04 12:59:02 -07:00
Fabian Neundorf
5544640b22
Clear unknowns in MxControlPresenter (#1606) 2025-07-04 21:53:50 +02:00
Anders Jenbo
77c832c237
Use sprites to render things on screen (#478) 2025-07-04 21:27:01 +02:00
Anders Jenbo
af045eefed
Add fake mosaic to config tool (#522) 2025-07-04 17:41:18 +02:00
Anders Jenbo
0d2cbd50d5
Fake mosaic transition (#516) 2025-07-04 14:48:01 +02:00
Anders Jenbo
5e62e7e39f
Remove unused rendering function (#517) 2025-07-04 05:32:35 +02:00
MasterTimeThief
df3d144ed9
Renamed more functions and variables in Car Build sections (#1605)
* Renamed variables and functions related to the Car Build sections

* Car Build variable renaming - fixed issues and added enum `ShelfState`

* Fixed some spacing in `legocarbuildpresenter.h`

* Fixed tab spacing

* Changed `m_shelfState` back to `MxU16`

* Cleared up `InitBuildPlatform`

* Fixed comments

* Renamed more functions and variables in Car Build sections

* Named `SelectPartFromMousePosition`

* Updated spacing formatting in `LegoCarBuild`
2025-07-04 02:23:07 +02:00
Anders Jenbo
c63d725b64
Port WipeDown and Window to use DDBLT_COLORFILL (#506) 2025-07-03 22:20:31 +00:00
Fabian Neundorf
16c76c96f2
Clear time started unknown in MxDSAction (#1604)
This should not be confused with `GetStartTime()`, as that represents the time offset from the SI file.
2025-07-03 23:56:48 +02:00
Anders Jenbo
e2eda71883
Yet another clearscreen ported to use COLORFILL (#508) 2025-07-03 22:04:21 +02:00
Anders Jenbo
1ae9933bd5
Drop old cursor code (#509) 2025-07-03 22:04:13 +02:00
Anders Jenbo
44d1ad13fe
Set dwDDFX using flag (#1603) 2025-07-03 21:57:47 +02:00
Anders Jenbo
920ba63a31
Avoid texture updates when we just need the size (#507) 2025-07-03 21:56:58 +02:00
Anders Jenbo
3868071fb8
Use DDBLT_COLORFILL to clear screen (#505) 2025-07-03 20:12:55 +02:00
Helloyunho
0191be7461
Make draw cursor feature work for modern platforms (#480) 2025-07-03 18:05:46 +02:00
Anders Jenbo
8e9f531b88
Render surfaces in a single blit (#489) 2025-07-03 16:58:32 +02:00
Anders Jenbo
605163b755
Fix WindowsTransition (#495) 2025-07-03 04:57:57 +02:00
Anders Jenbo
3894d58efc
Fix disolve and wipe transitions on 32bit (#492) 2025-07-03 02:06:45 +00:00
Christian Semmler
04b0e9a470
Fix saving of default textures (#490) 2025-07-03 02:45:21 +02:00
Christian Semmler
4d8ba1986e
Fix writing default texture (#1602) 2025-07-03 02:07:16 +02:00
Anders Jenbo
d74e6ab401
Use DDBLT_COLORFILL to clear screen on start (#487) 2025-07-03 00:49:47 +02:00
Christian Semmler
822e037d40
Merge remote-tracking branch 'isle/master' 2025-07-02 13:51:09 -07:00
Christian Semmler
89fe7fa924
Fix wrong notification type in LegoRace::Notify (#1601) 2025-07-02 22:43:57 +02:00
Fabian Neundorf
40ec911811
Clear unknown in MxWavePresenter (#1600) 2025-07-02 21:09:25 +02:00
Anders Jenbo
cb6fcd4194
Remove dead debug features (#471) 2025-07-02 14:52:24 +02:00
Christian Semmler
ba14b48284
Merge remote-tracking branch 'isle/master' 2025-07-01 17:05:59 -07:00
Fabian Neundorf
805c57b6aa
Clear unknowns in ViewLOD (#1599) 2025-07-02 02:02:03 +02:00
Anders Jenbo
e2ff65cf91
Expose window during device probing (#462) 2025-07-01 02:23:13 +02:00
Fabian Neundorf
f825b053ff
Clear unknown in mxutilities.h (#1598)
Also change the parameter name to mask as it better represents the
usage.
2025-07-01 00:29:23 +02:00
Anders Jenbo
225adda309
Rendering refactoring (#459)
* Hint texture intent to renderer

* improve transparancy for 32bit rendering

* Align OpenGL ES 2.0 with SDL_GPU's 2D rendering
2025-06-30 22:51:26 +02:00
Korbo
f0df3cd0ef
Clear a few unknowns in act 3 (#1597)
* Clear a few unknowns in act 3

* fix build error

* fix other build error

* requested changes
2025-06-30 12:20:53 -07:00
Christian Semmler
77bbbfe2ca
(Pepper) Fix building variant switch bug (#451)
* (Pepper) Fix building variant switch bug

* Add comment
2025-06-29 18:15:42 +02:00
Christian Semmler
99be9c8767
Merge remote-tracking branch 'isle/master' 2025-06-29 08:56:06 -07:00
Christian Semmler
aa825aeecf
Add macro for switchable building index (#1596) 2025-06-29 17:55:34 +02:00
Christian Semmler
020969c483
Add transition type to ini (#441) 2025-06-29 02:49:46 +02:00
Fabian Neundorf
0982038453
Clear unknown in Hospital (#1595) 2025-06-28 15:38:48 -07:00
Fabian Neundorf
9dcc701fcb
Clear unknowns in GetSoundId (#1594) 2025-06-28 20:32:09 +02:00
Fabian Neundorf
89539a64f1
Clear unknown 0x10 in LegoEntity (#1593)
The naming is a bit weird, as only one bit is used so there are no other usages of this value.
2025-06-28 07:28:13 -07:00
Christian Semmler
02dd261ca9
Fix isle/master merge 2025-06-27 16:15:08 -07:00
Christian Semmler
c0e41a8ef6
Merge remote-tracking branch 'isle/master' 2025-06-27 16:10:31 -07:00