ForsakenX / forsaken

Forsaken game engine
https://forsakenx.github.io
Other
154 stars 30 forks source link

OGG Vorbis Music Patches #288

Closed colbyshores closed 2 years ago

colbyshores commented 7 years ago

This contains patches for ogg vorbis playback. Each .ogg track is stored in a folder called data/sound/music and there is also a file that is called music.dat music.dat is a text file containing the track listing where level1 is the first line, level2 is the second line, etc

for example:

track1

track2

track3

track4

where track1 is level1, track2 is level2 and so on.

the preconfigured tracks and mapping can be downloaded here https://drive.google.com/open?id=0B4z9LMg7J5EYTlltSVhwNmNuNzg

chino commented 6 years ago

I must have missed the email alert for this pull request and haven't noticed till now.

The code looks pretty simple so it should be easy for us to merge this in :]

willkillson commented 2 years ago

@chino Hey mate, some people were asking about this in discord. I am sure you are busy, are you still interested in this MR?

chino commented 2 years ago

Some quick notes looking over this.

The music.c file looks pretty great so thanks for that.

Needs a full rebase/squash:

Curious about:

Questions:

I could use it as a great starting point if anything to build a clean branch.

Thanks for the contribution!

chino commented 2 years ago

Ah I believe that drive contained the pre-built vorbis files and music.dat?

Would be great if you could share that again?

I have a new branch with all the changes I was asking for above at this point where we'll be working on a clean merge: https://github.com/ForsakenX/forsaken/pull/299

I'm going to close this to move the main work over there.