Hello!
I'm rather new to Crystal Space, but I have quite good skills at C++
and programming in general.
So I know that, what i coded is not total crap ;)
I'm developing on MS WinXP SP2,
with MSVC7.1.
I'm using:
Crystal Space 1.0pre2 (crystalspace-src-1.0pre2.zip)
WinLibs 1_003, as it is said on the download-page, to use (cs-
win32libs-1.0rc1_003.exe)
So, what's my Problem now?
I expanded the simple1 application.
It is working properly up to here.
But when I use the following lines of code, to load a map, instead of
the bounding box from the simple1, this error appears on executing
the application (not yet at compiling):
crystalspace.maploader.parse.map: Could not open map file 'world' on
VFS!
-- The code:
csp_VFS->ChDir("/lev/terrainf");
if (!csp_loader->LoadMapFile("world")){
return false;
}
The file does exist and VFS also finds by checking it via the member
function of VFS, called Exists.
And the file is also not corrupted, because the part of startme.exe
which uses TerrainF is able to load it properly and also to display it.
The VFS path is also mounted in the right way:
VFS.Mount.lev/terrainf = [EMAIL PROTECTED]/terrainf$/
csp_VFS (the VFS) and csp_loader (iLoader) are both loaded without
any error.
So I stuck here.
Can somebody help me?
Greetings,
Thomas
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]