-
Notifications
You must be signed in to change notification settings - Fork 125
JADE: Play background music on main menu #272
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
Conversation
|
Hmm, could you rather save that ChannelHandle and use I.e. similar to how KotOR does it: https://github.com/xoreos/xoreos/blob/master/src/engines/kotor/game.cpp#L105 |
|
Oh heh that's definitely cleaner. |
ecb94fa to
f7696c0
Compare
|
OK let's try this. I decided that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, in principle what I imagined, but two minor style issue. Please fix :)
src/engines/jade/game.cpp
Outdated
| } | ||
|
|
||
| void Game::playMenuMusic() | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That opening brace needs to go into the previous line, please.
src/engines/jade/game.cpp
Outdated
| } | ||
|
|
||
| void Game::stopMenuMusic() | ||
| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here too
f7696c0 to
435627e
Compare
|
OK, here we go |
|
Merged as b9555a1, thanks! :) |
I mean, it works, I dunno :}