Hello. We are creating a game and we can't find answer on question: How to set in code path where to search data files (for example sounds, images, etc). Of course we can hardcode '/usr/share/game/...' but what if game was installed with prefix? What is the best practice? Thanks for help.
Attachment:
signature.asc
Description: OpenPGP digital signature