I'm glad to know that I am not the only person to have had this happen! I ran into this less than a week ago and thought I'd done something crazy because all my comments and formatting throughout all my logics had seemed to disappear. I wasn't even able to retrieve them by opening my backups. All my comments/editing had just disappeared. I even uninstalled my old version of WinAGI and reinstalled the most current version to see if it would fix it, without success. I just started to process of trying to re-add comments and rename variables yesterday so I could read my code again. But, thanks to your post, I have been able to find that my comments aren't really gone into oblivion. I'm sure it was something I did that caused the issue, but I don't know what it was, so wouldn't be able to reproduce it (on purpose anyway). Thanks a million!
-klownstein
I'm sorry you had trouble with this. It's hard to do thorough testing on such a complex application, but I still should have caught this one before release.
One thing I did make sure I incorporated into WinAGI was a philosophy of protecting game files as much as possible from catastrophic errors; it's pretty hard to make things actually disappear; backup copies are made of game files before running critical file operations, so if something does go wrong, it should be possible to recover. And if the WAG file gets corrupted, it may not know where resources are anymore but they aren't gone - they'll still be in the source directory.
I prefer (and strongly recommend) using the 'AutoExport' option (on the General tab of the Settings form) to always have backup copies of non-logic resources as well. That way, if disaster strikes your VOL and DIR files, you still have all your pictures, sounds, and views as individual files.
I am curious how you got into this situation - for the WAG file to get confused about the location of your source files, it had to have been modified somehow to point to the wrong subdirectory. If you still have the 'broken' WAG file on your system, can open it in a text editor and see what it looks like? It might give a hint as to what happened if I know what properties got changed. I'm hoping it's something you did, and not a bug!
Oh, and btw, have you had a chance to check out Flag Quest? It's got code in there that shows how to move objects in a straight line. Check it out, and let me know if you have any questions. Hopefully it's something you can use in your project.