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

add QuestLogic and JournalData stuff #399

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

add QuestLogic and JournalData stuff #399

wants to merge 7 commits into from

Conversation

Mr-Auto
Copy link
Contributor

@Mr-Auto Mr-Auto commented Nov 24, 2024

No description provided.

@Mr-Auto Mr-Auto marked this pull request as ready for review December 1, 2024 20:23
src/game_api/game_manager.hpp Outdated Show resolved Hide resolved
screencharacterselect_type["daily_challenge"] = sol::readonly(&ScreenCharacterSelect::daily_challenge);
/// Short for `screen->next_screen_to_load == SCREEN.TEAM_SELECT and not screen->seeded_run and not screen->daily_challenge`
screencharacterselect_type["arena"] = sol::property([](ScreenCharacterSelect* screen) -> bool
{ return screen->next_screen_to_load == 10 && !screen->seeded_run && !screen->daily_challenge; });
Copy link
Contributor

Choose a reason for hiding this comment

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

oh we don't have C++ enums for SCREEN too? it's fine to not have it in this PR if not, unless you want to

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 didn't bother since it's just one value

src/game_api/game_manager.hpp Outdated Show resolved Hide resolved
@@ -1246,7 +1246,7 @@ void register_usertypes(sol::state& lua)
auto customtheme_type = lua.new_usertype<CustomTheme>("CustomTheme", sol::constructors<CustomTheme(), CustomTheme(uint8_t, uint8_t), CustomTheme(uint8_t, uint8_t, bool)>(), sol::base_classes, sol::bases<ThemeInfo>());
customtheme_type["level_file"] = &CustomTheme::level_file;
customtheme_type["theme"] = &CustomTheme::theme;
// NoDoc
/// NoDoc
Copy link
Contributor

Choose a reason for hiding this comment

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

is the NoDoc supposed to work here due to the autodoc changes? or doesn't matter now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was working before since regex was just checking if there is NoDoc before the declaration
Now i changed it to get any comment that starts with /// and then check if the comment is NoDoc or an actual comment

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