estherau opened this issue on May 21, 2008 · 127 posts
kuroyume0161 posted Fri, 23 May 2008 at 7:52 PM
This is exactly what my software does.
First it tests the path given (good for absolute paths only of course), then the path is stripped down to the relative path (where possible) and all available runtime paths are prepended to test. If that fails, and content is being loaded, it checks the folder wherein the content resides. If it's a scene or content, then the appropriate runtime folders are searched (textures/reflection maps for images files and geometries for obj files). I don't do a full Runtime folder search as that would be ludicrous. ;)
C makes it easy to shoot yourself in the
foot. C++ makes it harder, but when you do, you blow your whole leg
off.
-- Bjarne
Stroustrup
Contact Me | Kuroyume's DevelopmentZone