[SDL] runtime data path
Tim Goya
tuxdev103 at gmail.com
Fri Feb 1 17:49:19 PST 2008
The key is that we (SuperTux) don't do it based on current *working*
directory, but current *executable* directory, obtained through
PhysFS. It's not as clean as it could be since it differentiates
between Unix and Windows when both can be handled by the same code.
Hmm, I should go fix that. It also does funny stuff with char * where
std::string is clearer and less error-prone. I should fix that too.
Tim
More information about the SDL
mailing list