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

GameFrameworkNx: Add member variables #141

Merged
merged 4 commits into from
Jul 25, 2024

Conversation

LynxDev2
Copy link
Contributor

@LynxDev2 LynxDev2 commented Jul 23, 2024

SMO's al::GameFrameworkNx requires the sead one to have the correct size. Besides filling the struct with the correct size, I also added some names and types based on @MonsterDruide1 's struct


This change is Reviewable

Copy link
Contributor

@ThePixelGamer ThePixelGamer left a comment

Choose a reason for hiding this comment

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

I would prefer if there was more information used from the constructor but I'd be happy to merge with at least these 2 changes

include/framework/nx/seadGameFrameworkNx.h Outdated Show resolved Hide resolved
include/framework/nx/seadGameFrameworkNx.h Outdated Show resolved Hide resolved
@@ -7,6 +7,21 @@

namespace sead
{

class DisplayBufferNvn;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm unsure if I prefer this over just an include though I don't think that should block this PR, @leoetlino I would like your opinion

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just did that from habit since we do that for smo

@LynxDev2
Copy link
Contributor Author

About adding more info: I can add more info from the ctor, but @MonsterDruide1 suggested just adding one line for a filler, so idk

@ThePixelGamer
Copy link
Contributor

Having fillers is fine tbh, I just looked at the constructor myself and noticed a bunch of small details that could be included in this PR (floats, sead::SafeString, other structs/array memcpys)

@ThePixelGamer ThePixelGamer merged commit 1decfbf into open-ead:master Jul 25, 2024
1 check passed
@LynxDev2 LynxDev2 deleted the GameFrameworkNx-header branch July 26, 2024 08:11
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