
25 Aug
2012
25 Aug
'12
2:09 a.m.
I'm coding a resource tracker for a game that loads images, sounds, etc. from files, and wondering how the program will know where the files are located on the installation system. (With C/C++ programs I usually had the build system hardcode the appropriate share/ directory into the config.h file.) Assuming I package for cabal distribution, what approaches to this problem are available to me? (P.S. Thanks for the answer to the previous question about associative arrays.) -- frigidcode.com indicium.us