Closed colbyshores closed 2 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 :]
@chino Hey mate, some people were asking about this in discord. I am sure you are busy, are you still interested in this MR?
Some quick notes looking over this.
The music.c
file looks pretty great so thanks for that.
Needs a full rebase/squash:
$(LUA)
in makefile need to be backed outnet_enet_2.c
shouldn't be included in thisCurious about:
LoadLevel
bool is a bit undescriptive and I'm not sure why it was needed?CurrentLevel
deleted from sfx.c
?music.c
could just define it's own MAX_PATH
or be renamed to something like MAX_SOUND_PATH
?Questions:
I could use it as a great starting point if anything to build a clean branch.
Thanks for the contribution!
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.
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