UMLComputerGraphics / GraphicsProject

UML Graphics 2 Final Project 2013
7 stars 1 forks source link

Sound only works from the Binaries directory #79

Closed InspectorConstructor closed 11 years ago

InspectorConstructor commented 11 years ago

Soundfile paths are hardcoded relative.

Dunno how to use the Util namespace stuff yet,

but we have sounds.

nuclearmistake commented 11 years ago

The function is called "getRelativePath", and it takes any BINARIES-relative path... basically, you just need to add a function call to Util::getRelativePath around whatever it works with from the binaries folder, and it'll work from anywhere.

nuclearmistake commented 11 years ago

Fixed filename resolution

InspectorConstructor commented 11 years ago

thanks