vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MediaPath.h
Go to the documentation of this file.
1 #ifndef __MEDIA_PATH__
2 #define __MEDIA_PATH__
3 
4 /*
5 This function locates the media associated with the sample in a non platform specific way.
6 
7 For example it searches the Samples\Media directory on the PC (assuming the exe is in the bin directory or
8 or project directory after a compile). This helps prevent duplicate resources for samples.
9 
10 On the XBox360 the game specific drive alias is added to the path(ie d:\).
11 
12 On PS3 no change is made.
13 
14  fname - File name of media file
15  buff - buffer to put media path in
16  return - buff.
17 */
18 char* FindMediaFile(const char *fname,char *buff);
19 
20 char* GetTempFilePath(char *buff);
21 
22 #endif