Skip to content

Conversation

@Perdu
Copy link
Contributor

@Perdu Perdu commented Oct 18, 2025

This paves the road towards more movie control in lua

Note: I have to add MovieFile to context for this. I'm quite unsure whether this should be updated after SaveState.cpp:35 (in any case, this does not impact markers)

Perdu added 2 commits October 18, 2025 17:30
This paves the road towards more movie control in lua
@Perdu Perdu changed the title lua: add movie.getMarker() lua: add movie.getMarker() and movie.setMarker() Oct 19, 2025
@clementgallet
Copy link
Owner

Thanks for the PR! I'm not super fan of adding the movie to the context. I would like to keep the context struct as short as possible, for code clarity. You could maybe look at what I did for passing the inputs to lua (see Lua::Input::registerInputs call)?

@Perdu
Copy link
Contributor Author

Perdu commented Nov 4, 2025

OK, done and tested

@Perdu Perdu changed the title lua: add movie.getMarker() and movie.setMarker() lua: add movie.getMarker(), movie.setMarker(), movie.insertFrame() and movie.insertFrames() Nov 4, 2025
@Perdu
Copy link
Contributor Author

Perdu commented Nov 4, 2025

Added a commit to add movie.insertFrame() and movie.insertFrames() (not making a separate PR because this is built on top of this as this also requires access to movie)

@Perdu
Copy link
Contributor Author

Perdu commented Nov 5, 2025

CI error is unrelated ("Build execution time has reached the maximum allowed time for your plan (60 minutes).")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants