Skip to content

T35591 Add remaining general blocks#195

Merged
manuq merged 9 commits intomainfrom
T35591-read-blocks-from-files
Aug 15, 2024
Merged

T35591 Add remaining general blocks#195
manuq merged 9 commits intomainfrom
T35591-read-blocks-from-files

Conversation

@manuq
Copy link
Copy Markdown
Contributor

@manuq manuq commented Aug 14, 2024

This completes the port for blocks that don't depend on the node class.

Changes compared with #147:

  • The definitions for sound, graphics and "await_scene_ready" blocks were missing.
  • Added some missing defaults too.

https://phabricator.endlessm.com/T35591

Copy link
Copy Markdown
Member

@dbnicholson dbnicholson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't look super closely at every commit, but they seem correct. Since these changes are primarily copied from #147, I think it would be nice to retain @wnbaum as the author of the commits. Like git commit --amend --author='Will Baumgartner <wnb@endlessos.org>'.

@manuq
Copy link
Copy Markdown
Contributor Author

manuq commented Aug 15, 2024

I didn't look super closely at every commit, but they seem correct. Since these changes are primarily copied from #147, I think it would be nice to retain @wnbaum as the author of the commits. Like git commit --amend --author='Will Baumgartner <wnb@endlessos.org>'.

Good point! Although most of this is not in #147 I will add @wnbaum as co-author.

Copy link
Copy Markdown
Contributor

@dylanmccall dylanmccall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I didn't spot any issues here either :)

manuq and others added 9 commits August 14, 2024 21:26
These have variant type that it must be passed to the scene.
Like previously done for entry and statement blocks in 13e5700.
The resource file was missing.
Please note that the block name has changed slightly for the call
methods. They are now: "call_method_group" and "call_method_node". But
we are not considering this ABI yet.

Also the node parameters have changed from NODE_PATH to OBJECT and the
code templates have been simplified. They still work as before, passing
node references like %UniqueName to the input field.

Co-authored-by: Will Baumgartner <wnb@endlessos.org>
Co-authored-by: Will Baumgartner <wnb@endlessos.org>
And add missing defaults to the resource files.

Please note that the type for arguments and return value have changed
from integer to floating point.

Co-authored-by: Will Baumgartner <wnb@endlessos.org>
And add missing defaults to the compare resource file.

Co-authored-by: Will Baumgartner <wnb@endlessos.org>
And add the resource files for the block definitions.
And add the resource files for the block definitions.
@manuq manuq force-pushed the T35591-read-blocks-from-files branch from 8e329c0 to 5fa8e9d Compare August 15, 2024 00:29
@manuq manuq merged commit b482f38 into main Aug 15, 2024
@manuq manuq deleted the T35591-read-blocks-from-files branch August 15, 2024 00:32
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.

3 participants