A work-in-progress modernization of LEGO Island (1997)
Find a file
Christian Semmler 8a802bcf85
Replace DirectSound with miniaudio (#21)
* Add miniaudio

* WIP

* static const

* Fix missing looping

* Fix volume

* Implement 3D sound, WIP

* Remove unused WinMM code

* Update README.md

* Fixes

* Fix naming

* Fix naming

* disable ma threading

* Invert Z axis for OpenGL system

* Update comment

* Set rolloff

* Fix minimize/maximize suspension

* Rename function

* SDL3: changed macro name
2024-06-16 15:26:04 +02:00
.github/workflows Add SDL3 and replace Windows semaphores (#4) 2024-05-30 20:41:20 +02:00
3rdparty Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
CONFIG Updates from isledecomp/isle (#1) 2024-05-23 18:09:49 +02:00
ISLE Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
LEGO1 Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
tools Add back some stuff from decomp (#2) 2024-05-23 20:09:57 +02:00
util Remove dependency on dinput, use SDL keyboard state for navigation (#14) 2024-06-01 05:13:27 +02:00
.clang-format initial commit 2024-05-16 19:42:54 -04:00
.clang-tidy initial commit 2024-05-16 19:42:54 -04:00
.editorconfig initial commit 2024-05-16 19:42:54 -04:00
.gitattributes initial commit 2024-05-16 19:42:54 -04:00
.gitignore initial commit 2024-05-16 19:42:54 -04:00
.gitmodules Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
.pylintrc initial commit 2024-05-16 19:42:54 -04:00
CMakeLists.txt Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2024-05-23 19:33:28 +02:00
pyproject.toml initial commit 2024-05-16 19:42:54 -04:00
README.md Replace DirectSound with miniaudio (#21) 2024-06-16 15:26:04 +02:00

LEGO Island Modernization

Development Vlog | Contributing | Matrix | Forums | Patreon

This initiative is a work-in-progress modernization of LEGO Island (Version 1.1, English) based on the decompilation project. Our primary goal is to transform the codebase to achieve platform independence, thereby enhancing compatibility across various systems while preserving the original game's experience as faithfully as possible.

Please note: this project is dedicated to achieving platform independence without altering the core gameplay, adding new features, enhancing visual quality, or rewriting code for improvement's sake. While those are worthwhile objectives, they are not within the scope of this project.

Status

Supported platforms

Platform Implementation status
Windows
Linux
macOS

Library substitutions

To achieve our goal of platform independence, we need to replace any Windows-only libraries with platform-independent alternatives. This ensures that our codebase remains versatile and compatible across various systems. The following table serves as an overview of major libraries / subsystems and their chosen replacements. For any significant changes or additions, it's recommended to discuss them with the team on the Matrix chat first to ensure consistency and alignment with our project's objectives.

Library/subsystem Substitution Status
Window, Events SDL3 WIP Remarks
Windows Registry (Configuration) libiniparser Remarks
Filesystem SDL3 Remarks
Threads, Mutexes (Synchronization) SDL3 Remarks
Keyboard/Mouse, Joystick, DirectInput (Input) SDL3 WIP Remarks
WinMM, DirectSound (Audio) SDL3, miniaudio WIP Remarks
DirectDraw (2D video) SDL3 Remarks
Smacker libsmacker Remarks
Direct3D (3D video) SDL3, OpenGL ES (TBD) Remarks
Direct3D Retained Mode Custom re-implementation (TBD) Remarks
SmartHeap Default memory allocator - -

Building

This project uses the CMake build system, which allows for a high degree of versatility regarding compilers and development environments. Please refer to the GitHub action for guidance.

Contributing

If you're interested in helping or contributing to this project, check out the CONTRIBUTING page.