smpl_hits = al_load_sample("res\hits.ogg"); //<---- was not working
smpl_hits = al_load_sample("res/hits.ogg"); //<---- working
Yup I had backslashes in my path. This was even a dumber mistake because here I am trying to abstract the filesystem away, only to use relative resource paths on the filesystem. After I found that I immediately removed all folder references and used Allegro's path system instead. I am now almost done with the filesystem stuff, but came across the functions dealing with loading Breach 2 data. I now had a choice. I could disable it for now or implement it in case I have an opportunity to port Breach 2. I didn't have any samples of the files I needed, so I started to comment out the functions. I then realized this was breaking the whole reason why I'm keeping binary compatibility. I guess if I'm going to make the game feature complete for the beta, I need to have the Breach 2 stuff functional as well.
I procured myself a copy of Breach 2.
|Old School DRM|
Game is still going forward!
Sound Test Below....