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

Some more documentation and cleanup #176

Merged
merged 16 commits into from
Jan 4, 2025
Merged

Some more documentation and cleanup #176

merged 16 commits into from
Jan 4, 2025

Conversation

JaceCear
Copy link
Collaborator

No description provided.

Comment on lines +1734 to +1735
#include "../chao_garden/include/language.h"
#include "../chao_garden/include/program_params.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not sure I like the relative includes. We can add chao_garden include to the -I path and then name the headers something with chao_garden in the name, or we can have a folder called chao_garden in there?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also, why are these not at the top?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm also for just not passing headers to SA2 since they likely just hard coded these anyway :/

// TODO: what is going on here, doesn't work as a struct
// TODO: what's unk374
TinyChaoGardenConfig[0] = unk374;
#if (GAME == GAME_SA1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tbh, are we really gonna share these files between sa1 and sa2? I would imagine the rest of the file is completely differnent.

/* 0x06 */ u16 unk6;
/* 0x08 */ Sprite s;
} BrakeDustEffect;

typedef struct {
s8 unk0;
u8 filler1[3];
Copy link
Collaborator

Choose a reason for hiding this comment

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

You can probably remove this now :)

@JaceCear JaceCear merged commit 4aa35ee into main Jan 4, 2025
8 checks passed
github-actions bot pushed a commit that referenced this pull request Jan 4, 2025
@JaceCear JaceCear deleted the new_doc branch January 5, 2025 22:45
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