Skip to content

Conversation

@kwiesmueller
Copy link
Contributor

Tracking my WIP progress on a lander game mode in the test app.

g_testApp.close_session(g_testApp.m_windowApp);

OSP_LOG_INFO("Closed Magnum Application");
std::exit(0);
Copy link
Member

Choose a reason for hiding this comment

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

i'm fairly certain we would want to keep the behavior of a "graceful" exit.

if that's not working, we should debug why and get it fixed.

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 think this was for debugging something. Will remove.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, if I remove it and close the window it doesn't stop the application. So I think exiting here is more expected behavior.

Copy link
Member

Choose a reason for hiding this comment

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

closing the window isn't supposed to exit the application in the current code.

Arguably that's not really what most people want, but it's what the current code was intended to do.

Comment on lines 386 to 464
auto const defaultPkg = rTestApp.m_defaultPkg;
auto const application = rTestApp.m_application;
auto & rTopData = rTestApp.m_topData;
Copy link
Member

Choose a reason for hiding this comment

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

minor: whitespace alignment.

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's a little rough maintaining style without automation to do it.
For now while working on the PR I'll rely on automated formatting of my editor to not go insane. If needed I'll update formatting when this is somewhat ready.

@jonesmz
Copy link
Member

jonesmz commented Jun 23, 2024

Note that the newton dynamics physics engine is very likely to be replaced with Jolt in the very near future,

and there's a big change about to be submitted for planet rendering / generation

@kwiesmueller
Copy link
Contributor Author

Note that the newton dynamics physics engine is very likely to be replaced with Jolt in the very near future,

and there's a big change about to be submitted for planet rendering / generation

Is that merged already? Then I'll rebase. Might have some time today to continue working on this.

@jonesmz
Copy link
Member

jonesmz commented Jun 23, 2024

Note that the newton dynamics physics engine is very likely to be replaced with Jolt in the very near future,
and there's a big change about to be submitted for planet rendering / generation

Is that merged already? Then I'll rebase. Might have some time today to continue working on this.

not quite yet, but should be very soon.

* Move the scenario (involved moving some things into dedicated files like magnum.*)
* Rebase to main
@jonesmz
Copy link
Member

jonesmz commented Jun 24, 2024

Jolt physics PR was just merged, planet code change is likely to be merged in the next day or so. (That'll be CapitalAsterix to merge it, probably)

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