fs/ras/fsTgaLdr.cpp File Reference

#include <fs/ras/fsTgaLdr.h>
#include <fs/sys/fsAssert.h>
#include <stdio.h>
#include <vector>

Include dependency graph for fsTgaLdr.cpp:

Go to the source code of this file.

Defines

#define FS_VERIFY_RETURN(exp)   if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; }
#define FS_VERIFY_RETURN_VAL(exp, ret)   if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); }

Typedefs

typedef unsigned char uint8
typedef unsigned short uint16
typedef std::vector< TgaHdr_t::uint8Data_t

Functions

template<typename T>
bool ReadType (T &Dest, FILE *pIn)

Variables

uint8 m_uTagLen
uint8 m_uNoPal
uint8 m_uImgFmt
uint16 m_uPalStart
uint16 m_uPalLen
uint8 m_uPalBits
uint16 m_uXoff
uint16 m_uYoff
uint16 m_uW
uint16 m_uH
uint8 m_uPxBits
uint8 m_uImgDsc
int m_nW
int m_nH
int m_nPxBits
Data_t m_Data


Define Documentation

#define FS_VERIFY_RETURN ( exp   )     if(!(exp)) { FS_ASSERT_MSG(0, #exp "<return>"); return; }

Definition at line 40 of file fsTgaLdr.cpp.

#define FS_VERIFY_RETURN_VAL ( exp,
ret   )     if(!(exp)) { FS_ASSERT_MSG(0, #exp "<returns:>" #ret); return (ret); }

Definition at line 44 of file fsTgaLdr.cpp.


Typedef Documentation

typedef std::vector<TgaHdr_t::uint8> Data_t

Definition at line 137 of file fsTgaLdr.cpp.

typedef unsigned short uint16

Definition at line 76 of file fsTgaLdr.cpp.

typedef unsigned char uint8

Definition at line 75 of file fsTgaLdr.cpp.


Function Documentation

template<typename T>
bool @6::ReadType ( T &  Dest,
FILE *  pIn 
) [static]

Definition at line 68 of file fsTgaLdr.cpp.


Variable Documentation

Data_t m_Data

Definition at line 138 of file fsTgaLdr.cpp.

int m_nH

Definition at line 135 of file fsTgaLdr.cpp.

int m_nPxBits

Definition at line 136 of file fsTgaLdr.cpp.

int m_nW

Definition at line 135 of file fsTgaLdr.cpp.

uint16 m_uH

Definition at line 87 of file fsTgaLdr.cpp.

uint8 m_uImgDsc

Definition at line 89 of file fsTgaLdr.cpp.

uint8 m_uImgFmt

Definition at line 80 of file fsTgaLdr.cpp.

uint8 m_uNoPal

Definition at line 79 of file fsTgaLdr.cpp.

uint8 m_uPalBits

Definition at line 83 of file fsTgaLdr.cpp.

uint16 m_uPalLen

Definition at line 82 of file fsTgaLdr.cpp.

uint16 m_uPalStart

Definition at line 81 of file fsTgaLdr.cpp.

uint8 m_uPxBits

Definition at line 88 of file fsTgaLdr.cpp.

uint8 m_uTagLen

Definition at line 78 of file fsTgaLdr.cpp.

uint16 m_uW

Definition at line 86 of file fsTgaLdr.cpp.

uint16 m_uXoff

Definition at line 84 of file fsTgaLdr.cpp.

uint16 m_uYoff

Definition at line 85 of file fsTgaLdr.cpp.


FipS' Code (Thu Feb 15 22:43:43 2007) - (c) Filip STOKLAS (FipS) - [ www ] [ Guest Book ]