Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onMenuItemUpdated(values, updatedMenuItemIndex) Event #500

Open
GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment
Open

onMenuItemUpdated(values, updatedMenuItemIndex) Event #500

GoogleCodeExporter opened this issue Jul 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What new feature or enhancement would you like to request?

A new event available to plugins. Fires when a value is updated in the plugin's 
pre-run menu. `values` is a table of the values, much like the args variable 
for main() functions. updateMenuItemIndex tells the plugin which item was 
updated to fire the callback. After the callback is fired, a single render 
passed is performed on the level to display any changes made by the plugin. 
Wall triangulation should be deferred where possible until the results are 
committed (i.e. the plugin is "run").

This would allow "previews" or "live updating" the results of a plugin. 
Ideally, the state of the level would be saved, and reverted if the menu is 
exited via the Escape key.

Original issue reported on code.google.com by [email protected] on 20 Jan 2015 at 7:31

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 20 Jan 2015 at 7:32

  • Changed title: onMenuItemUpdated(values, updatedMenuItemIndex) Event

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

No branches or pull requests

1 participant