X-Git-Url: https://harrygodden.com/git/?p=csRadar.git;a=blobdiff_plain;f=vfilesys.h;h=be7e319ed39e9b3904caa3dd3d72946c2db1ffb3;hp=4e4faa9aaa3ae76e5e5a3ff77173e1cbb7366932;hb=8382aed7f0cdc38bc5c58832d4a15277cf56d4be;hpb=0bd8697a99ced50789a5d41b84a4b87f39cb1653 diff --git a/vfilesys.h b/vfilesys.h index 4e4faa9..be7e319 100644 --- a/vfilesys.h +++ b/vfilesys.h @@ -1,6 +1,24 @@ +// This software is not affiliated with Valve Corporation +// We are not affiliated, associated, authorized, endorsed by, or in any way officially +// connected with Valve Corporation, or any of its subsidiaries or its affiliates. +// +// All trademarks are property of their respective owners + // Abstract Valve file system //======================================================================================================================= +// Initialize game directories / pakfile +void fs_set_gameinfo( const char *path ); +void fs_exit(void); + +// Read asset as binary in full. Will search VPK, then searchpaths, or return NULL if not found +char *valve_fs_get( const char *path ); + +// Implementation +//======================================================================================================================= + +#ifdef VALVE_IMPLEMENTATION + struct valve_filesystem { char gamedir[ 512 ]; @@ -182,3 +200,5 @@ char *valve_fs_get( const char *path ) return NULL; } + +#endif