VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
trpgwImageHelper Class Reference

Public Member Functions

 trpgwImageHelper ()
 
 trpgwImageHelper (trpgEndian ness, char *dir, trpgTexTable &, bool separateGeoTypical)
 
virtual void Init (trpgEndian ness, char *dir, trpgTexTable &, bool separateGeoTypical)
 construction is really here More...
 
virtual ~trpgwImageHelper (void)
 
virtual bool AddExternal (char *name, int &texID, bool lookForExisting=true)
 Adds an entry to the texture table for an external texture. More...
 
virtual bool AddLocal (char *name, trpgTexture::ImageType type, int sizeX, int sizeY, bool isMipmap, char *data, int &texID, bool deferWrite)
 
virtual bool ReplaceLocal (char *data, int &texID)
 
virtual bool AddTileLocal (char *name, trpgTexture::ImageType type, int sizeX, int sizeY, bool isMipmap, char *data, int &texID, trpgwAppAddress &addr)
 
virtual void SetMaxTexFileLength (int len)
 
virtual trpgwAppFileIncrementTextureFile (bool geotyp)
 
virtual bool DesignateTextureFile (int)
 
virtual bool Flush (void)
 Flush current texture output files. More...
 
virtual trpgwAppFileGetNewWAppFile (trpgEndian inNess, const char *fileName, bool reuse=false)
 Get a new appendable file. More...
 
bool WriteToArchive (const trpgTexture &tex, char *data, trpgwAppAddress &addr, bool geotyp=false)
 Write the given texture data into one our local archives. More...
 

Protected Attributes

trpgEndian ness
 Merge block textable into a master. More...
 
char dir [1024]
 
trpgTexTabletexTable
 
std::vector< inttexFileIDs
 
trpgwAppFiletexFile
 
std::vector< intgeotypFileIDs
 
trpgwAppFilegeotypFile
 
bool separateGeoTypical
 
int maxTexFileLen
 

Constructor & Destructor Documentation

trpgwImageHelper::trpgwImageHelper ( )
inline
trpgwImageHelper::trpgwImageHelper ( trpgEndian  ness,
char dir,
trpgTexTable ,
bool  separateGeoTypical 
)
virtual trpgwImageHelper::~trpgwImageHelper ( void  )
virtual

Member Function Documentation

virtual void trpgwImageHelper::Init ( trpgEndian  ness,
char dir,
trpgTexTable ,
bool  separateGeoTypical 
)
virtual

construction is really here

virtual bool trpgwImageHelper::AddExternal ( char name,
int texID,
bool  lookForExisting = true 
)
virtual

Adds an entry to the texture table for an external texture.

virtual bool trpgwImageHelper::AddLocal ( char name,
trpgTexture::ImageType  type,
int  sizeX,
int  sizeY,
bool  isMipmap,
char data,
int texID,
bool  deferWrite 
)
virtual
virtual bool trpgwImageHelper::ReplaceLocal ( char data,
int texID 
)
virtual
virtual bool trpgwImageHelper::AddTileLocal ( char name,
trpgTexture::ImageType  type,
int  sizeX,
int  sizeY,
bool  isMipmap,
char data,
int texID,
trpgwAppAddress addr 
)
virtual
virtual void trpgwImageHelper::SetMaxTexFileLength ( int  len)
virtual
virtual trpgwAppFile* trpgwImageHelper::IncrementTextureFile ( bool  geotyp)
virtual
virtual bool trpgwImageHelper::DesignateTextureFile ( int  )
virtual
virtual bool trpgwImageHelper::Flush ( void  )
virtual

Flush current texture output files.

virtual trpgwAppFile* trpgwImageHelper::GetNewWAppFile ( trpgEndian  inNess,
const char fileName,
bool  reuse = false 
)
virtual

Get a new appendable file.

bool trpgwImageHelper::WriteToArchive ( const trpgTexture tex,
char data,
trpgwAppAddress addr,
bool  geotyp = false 
)

Write the given texture data into one our local archives.

Member Data Documentation

trpgEndian trpgwImageHelper::ness
protected

Merge block textable into a master.

char trpgwImageHelper::dir[1024]
protected
trpgTexTable* trpgwImageHelper::texTable
protected
std::vector<int> trpgwImageHelper::texFileIDs
protected
trpgwAppFile* trpgwImageHelper::texFile
protected
std::vector<int> trpgwImageHelper::geotypFileIDs
protected
trpgwAppFile* trpgwImageHelper::geotypFile
protected
bool trpgwImageHelper::separateGeoTypical
protected
int trpgwImageHelper::maxTexFileLen
protected

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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)