Alright tonight I checked in changes that
fix a bunch of things, now there is an install target whose prefix directory can be changed, and is provided to VDrift at compile time as the #define DATA_DIR (defaults to "/usr/share/games/vdrift"). I set it up so that each of the subdirectories of DATA_DIR are exactly like those in runtime/data/.The only big thing I need to add now is a define for the user settings directory (already available as an option but doesn't currently do anything). It defaults to ".vdrift" - note that I am not making it a full path to /home/user/.vdrift - I think that VDrift should get the HOME environment variable from bash or do some Windows trickery to get that in win32 land. This way each user on the system will have a separate settings directory. The contents of this directory will be as discussed before, basically the contents of runtime/ besides runtime/data/ and those .dll files that I haven't figured out the purpose of yet.
joevenzon Wrote:I dunno if all of this branching was really worth it... oh well. :-)
Come on, branching is fun!!
hock: