Clarify SDK scope and compatibility roadmap

This commit is contained in:
CRTkafa 2026-10-02 23:55:23 +07:00
parent 34ac58b9a2
commit dfec502678
2 changed files with 9 additions and 2 deletions

View file

@ -10,7 +10,7 @@ From an MSVC 2022/2026 developer shell:
./build.bat Release ./build.bat Release
``` ```
`build.bat` uses the currently installed Visual Studio 18 toolchain. For another environment, use ordinary CMake with C++20. `-DPLAYGROUND_USE_SYSTEM_SDL=ON` uses installed SDL3 packages. `-DPLAYGROUND_BUILD_GRAPHICS=OFF` builds the core and generic pointer controls only. Run `ctest --test-dir build --output-on-failure` after building. `build.bat` uses the currently installed Visual Studio 18 toolchain. For another environment, use ordinary CMake with C++20. `-DPLAYGROUND_USE_SYSTEM_SDL=ON` uses installed SDL3 packages. `-DPLAYGROUND_BUILD_GRAPHICS=OFF` builds core, generic pointer controls, and the Lua VM. Run `ctest --test-dir build --output-on-failure` after building.
`playground_example` opens an 800 × 600 window. Click the rectangle to close it. It requires no game assets. `playground_example` opens an 800 × 600 window. Click the rectangle to close it. It requires no game assets.
Run `verify-consumer.bat` after `build.bat` to install the exported core/UI/Lua targets locally and compile a separate `find_package(Playground)` consumer. Run `verify-consumer.bat` after `build.bat` to install the exported core/UI/Lua targets locally and compile a separate `find_package(Playground)` consumer.
@ -32,4 +32,4 @@ The SDK glue and reimplementation code in `core/`, `platform/`, `gfx/`, `audio/`
## Current limits ## Current limits
See [API coverage](docs/API_COVERAGE.md). In particular, Lua menu binding and complete game simulation are outside this extraction. MVC4/CADI support is based on the formats observed during reimplementation and is not a general guarantee for every Playground title. See [API coverage](docs/API_COVERAGE.md). Generic Lua API bindings, window tree, modal handling, renderer and audio parity are future SDK goals. Game simulation remains an application adapter. MVC4/CADI support is based on the formats observed during reimplementation and is not a general guarantee for every Playground title.

View file

@ -18,3 +18,10 @@
| Game simulation, quests, factories | Not packaged; belongs to game adapter | Not claimed | | Game simulation, quests, factories | Not packaged; belongs to game adapter | Not claimed |
This matrix covers only the standalone SDK. It does not imply source or binary compatibility with the historical PlayFirst SDK. This matrix covers only the standalone SDK. It does not imply source or binary compatibility with the historical PlayFirst SDK.
## Roadmap to a complete SDK
1. Extract the generic Lua-to-engine binding surface, including working focus, queue, tint, volume and user persistence semantics. Replace current no-op behavior with tested implementations.
2. Provide a reusable Lua-driven window tree, event dispatch, modal dialogs and layout/render pipeline, without game-specific scripts or data.
3. Export/install graphics and audio targets with dependency packaging that works for an out-of-tree consumer.
4. Add synthetic fixtures and compatibility tests for sprites, vector fonts, CADI events, callbacks and save/load, then compare coverage against the available Playground SDK reference. Compatibility claims will be per API and per tested format.