Crystal Space
Welcome, Guest. Please login or register.
March 29, 2017, 02:10:38 pm

Login with username, password and session length
Search:     Advanced search
8993 Posts in 2044 Topics by 33098 Members
Latest Member: Bradbutaddeo127
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Support
| | |-+  question about mounting directories to the VFS
« previous next »
Pages: [1] Print
Author Topic: question about mounting directories to the VFS  (Read 1907 times)
Posts: 10

View Profile Email
« on: February 04, 2006, 09:53:22 pm »

Have been going through the simple 3 tutorial, and as a twist tried to put the resource files(the world files etc.) to a location outside of CS firectory. Since i wanted to mount the desired directory which is located at (im using Win XP) C:\Crystalspace\Crystalspace apps\Resources, without changing the vfs.cfg file, i had to make an environment variable to define C:. I named the environment variable ROT.

the code i used to mount was:

csRef<iVFS> VFS (csQueryRegistry<iVFS> (object_reg));

VFS->Mount("resources", "$(ROT)$/Crystalspace$/Crystalspace apps$/Resources$/");

The question i have is: if there is another way to define a physical path in Win xp and map it to VFS cia code without having to create an environment varaible?
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.227 seconds with 16 queries.