RomRep::AfrMap Class Reference

Inheritance diagram for RomRep::AfrMap:

RomRep::Map RomRep::ByteChangeNotify List of all members.

Public Member Functions

virtual ~AfrMap (void)
 AfrMap (int x, int y, unsigned int loc, unsigned char themap __gc[,], unsigned char fil __gc[], int ind, int mod)
virtual float calculate (int x, int y, int intval)
virtual int calculate (int x, int y, float mapval)
virtual RomRep::ByteChangesetMultiplier (int column, int val)
 Sets a multiplier (if fuel map; ign maps return null).
virtual int getMultiplierLocation (int column)
 Returns the ROM location of the multiplier.

Constructor & Destructor Documentation

RomRep::AfrMap::~AfrMap void   )  [virtual]
 

RomRep::AfrMap::AfrMap int  x,
int  y,
unsigned int  loc,
unsigned char themap  __gc[,],
unsigned char fil  __gc[],
int  ind,
int  mod
 


Member Function Documentation

int RomRep::AfrMap::calculate int  x,
int  y,
float  mapval
[virtual]
 

Takes real world value and returns an integer (0-255 byte)

This must be overridden so this base class can properly convert between bytes and real world values.

Implements RomRep::Map.

float RomRep::AfrMap::calculate int  x,
int  y,
int  intval
[virtual]
 

Takes byte (an integer) and returns real world value

This must be overridden so this base class can properly convert between bytes and real world values.

Implements RomRep::Map.

virtual int RomRep::AfrMap::getMultiplierLocation int  column  )  [virtual]
 

Returns the ROM location of the multiplier.

Implements RomRep::Map.

virtual RomRep::ByteChange* RomRep::AfrMap::setMultiplier int  column,
int  val
[virtual]
 

Sets a multiplier (if fuel map; ign maps return null).

Implements RomRep::Map.




BRE Documentation Home