look at public\filesystem.h - IFileSystem

2010/1/9 Darien Hager <[email protected]>

> OK, so I'm a C++ newbie poking around at making a utility DLL which
> differently-exposes some SDK code, and I'm trying to figure out the
> "right way" to access files. Specifically, the way the Source engine
> does with the gameinfo.txt file. I know how it's supposed to work, but
> I'm not sure what code I need to start at.
>
> Looking at FileSystem_Init(...) in
> utils\common\filesystem_tools.cpp:152, there's an assertion that some
> sort of command-line set-up has already been performed. I'm concerned
> that if I pursue this route (the one followed in the demoinfo utility)
> with a test .exe it may work fine and then come back and bite me later
> when it's not something launched from a console.
>
> Can anybody shed some light on this? I'm trying to manage information
> like: "Does mod X have file Y on-disk or inside an archive" once I have
> the gameinfo file or vconfig environment settings.
>
> Thanks in advance,
> --Darien Hager
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to