I've got internet back now. Well, kinda. Pinging the router gives me 5% packet loss and 50% duplicates, but at least i've got access. In any case, here's a new patch for y'all, against current CVS. Fixes:
* Adds a terminating semicolon to DataPath.txt
This is done because text editors have a tendency to add a newline to the end of files, so people editing DataPath.txt for any reason (fx they may have moved the data, and drod doesn't find it) will create invalid DataPath.txt files. This is fixed by adding the second semicolon to the file, which acts as a string terminator, like the first one. End of file still acts as a string terminator too, of course, so excisting DataPath.txt files are still valid.
* DataPath.txt is now placed under the user's home directory by default in linux.
This way, if DataPath.txt exists under the home directory, DROD doesn't have to search multiple directories for DataPath.txt every time it starts. If it doesn't exist there, DROD still searches for it in other places before deciding if to create a new. Currently it is placed under $HOME/.caravel/<
gamename>
(this dir is created if it doesn't exist on writing of DataPath.txt). I added the .caravel part to make the home directory a little cleaner - it's a hidden dir, but still, the less the better. Game configs for future Caravel linux games can be put in here as well
* Bugfix in FileDialogWidget: Nonexistant path fix
If the path passed to CFileDialogWidget::SetDirectory is invalid, it sets the directory to the path stored in this->
dirpath, but it doesn't check if the path in this->
dirpath is valid. This were causing the filelist to be blank in these cases. I added a check to test if this->
dirpath is a valid path, and if it isn't, set it to the current DAT path.
* Misc. makefile fixes
Added a new file, link libgcc dynamically (libgcc_s.so is now included in the tarball), etc.
That's it. Enjoy, and make sure to test build 40 of the linux client
- Gerry