Skip to content

feat: Lua Scripting v1#37

Merged
michyaraque merged 44 commits intoOTAcademy:masterfrom
michyaraque:lua-scripting
Jan 24, 2026
Merged

feat: Lua Scripting v1#37
michyaraque merged 44 commits intoOTAcademy:masterfrom
michyaraque:lua-scripting

Conversation

@michyaraque
Copy link
Collaborator

This PR introduces a major modernization and a complete Lua scripting system.

Summary

  • Refactors and modernizes io_service.
  • Adds a full Lua engine with exposed APIs and sandboxed execution.
  • Introduces script management, menu integration, and event emitters.
  • Adds map overlay support to render custom data in the map view.
  • Exposes input handling (keyboard, mouse) and internal selection to Lua.
  • Includes documentation and example Lua scripts.

Security

  • Adds sandbox restrictions to prevent access to malicious or unknown paths.

Build & CI

  • Fixes and improves CMake configuration and dependency resolution.
  • Resolves Linux and Windows build issues (vcpkg, Lua, sol2, FastNoiseLite).
  • Updates MSVC flags and build flow.
  • Improves CI pipelines, caching, and release handling (Windows CI temporarily dropped).

Maintenance

  • Version adjustments and formatting (clang-format).
  • Multiple bug fixes, typo fixes, and warning cleanups.
  • Updated and expanded documentation.

This lays the foundation for extensible scripting, safer execution, and improved cross-platform builds.

michyaraque and others added 30 commits January 23, 2026 18:57
@michyaraque michyaraque added the feature New features, new code label Jan 24, 2026
@michyaraque michyaraque merged commit 0866af2 into OTAcademy:master Jan 24, 2026
2 checks passed
@michyaraque michyaraque deleted the lua-scripting branch January 28, 2026 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features, new code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant