/usr/local/games/datadir?
How can I let my game know its datadir?
I utilize the usual automake procedure, although I don't yet fully understand it. I suppose I should add something similar to this somewhere:
AC_DEFINE_UNQUOTED(DATADIR, "$DATADIR", [Data directory])
... and find the answer config.h?
thx!
|