PPFHotlapFlags Class Reference

Inheritance diagram for PPFHotlapFlags:

PPFBaseLookup List of all members.

Public Member Functions

 getLookupArray ($from, $to, $ignore=array())

Detailed Description

Static class for creating lookup arrays between commonly used formats to represent hotlap flags in LFS.

Version:
1.0.00

Definition at line 22 of file hlflags.php.


Member Function Documentation

PPFHotlapFlags::getLookupArray from,
to,
ignore = array()
 

Public function for retrieving a lookup array from one format to another.

 LEFTHANDDRIVE		1
 GEARCHANGECUT		2
 GEARCHANGEBLIP		4
 AUTOGEAR				8
  • 16
  • 32 BRAKEHELP 64 THROTTLEHELP 128
  • 256
  • 512 MOUSESTEER * 1024 KN * 2048 KS * 4096 (*) if not 1024, 2048 or 4096, steering is wheel.

Parameters:
from (String) The source format. Valid values are 'zbi', 'bits', 'words'.
to (String) The target format. Valid values are 'zbi', 'bits', 'words'.
Returns:
(Array) An array providing a bridge between the two specified formats.

Definition at line 49 of file hlflags.php.


Generated on Wed Oct 25 03:13:33 2006 for LFSWorldParsingProviderFramework by  doxygen 1.4.6