Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
WBGameFileClass Class Reference

Inherits GameFileClass.

Public Member Functions

 WBGameFileClass (char const *filename)
 
virtual char const * Set_Name (char const *filename)
 
- Public Member Functions inherited from GameFileClass
 GameFileClass (char const *filename)
 
 GameFileClass (void)
 
virtual ~GameFileClass (void)
 
virtual char const * File_Name (void) const
 
virtual int Create (void)
 
virtual int Delete (void)
 
virtual bool Is_Available (int forced=false)
 
virtual bool Is_Open (void) const
 
virtual int Open (char const *filename, int rights=READ)
 
virtual int Open (int rights=READ)
 
virtual int Read (void *buffer, int len)
 
virtual int Seek (int pos, int dir=SEEK_CUR)
 
virtual int Size (void)
 
virtual int Write (void const *buffer, int len)
 
virtual void Close (void)
 
- Public Member Functions inherited from FileClass
virtual ~FileClass (void)
 
virtual int Tell (void)
 
virtual unsigned long Get_Date_Time (void)
 
virtual bool Set_Date_Time (unsigned long)
 
virtual void * Get_File_Handle (void)
 
 operator char const * ()
 
int Printf (char *str,...)
 
int Printf (char *buffer, int bufferSize, char *str,...)
 
int Printf_Indented (unsigned depth, char *str,...)
 
virtual ~FileClass (void)
 
virtual int Tell (void)
 
virtual unsigned long Get_Date_Time (void)
 
virtual bool Set_Date_Time (unsigned long)
 
virtual void Error (int error, int canretry=false, char const *filename=NULL)=0
 
virtual void * Get_File_Handle (void)
 
 operator char const * ()
 
int Printf (char *str,...)
 
int Printf (char *buffer, int bufferSize, char *str,...)
 
int Printf_Indented (unsigned depth, char *str,...)
 

Additional Inherited Members

- Public Types inherited from FileClass
enum  { READ = 1 , WRITE = 2 , PRINTF_BUFFER_SIZE = 1024 }
 
enum  { READ = 1 , WRITE = 2 , PRINTF_BUFFER_SIZE = 1024 }
 
- Protected Attributes inherited from GameFileClass
Filem_theFile
 
Bool m_fileExists
 < The file
 
char m_filePath [_MAX_PATH]
 the file name and path (relative)
 
char m_filename [_MAX_PATH]
 The file name only.
 

Detailed Description

Definition at line 114 of file WorldBuilder.cpp.

Constructor & Destructor Documentation

◆ WBGameFileClass()

WBGameFileClass::WBGameFileClass ( char const * filename)
inline

Definition at line 118 of file WorldBuilder.cpp.

Member Function Documentation

◆ Set_Name()

char const * WBGameFileClass::Set_Name ( char const * filename)
virtual

Sets the file name, and finds the GDI asset if present.

Reimplemented from GameFileClass.

Definition at line 125 of file WorldBuilder.cpp.


The documentation for this class was generated from the following file: