00001 <?php 00013 if(!class_exists('PPFBaseLookup')) 00014 include dirname(__FILE__).'/baselookup.php'; 00015 00022 class PPFHotlapFlags extends PPFBaseLookup 00023 { 00049 function getLookupArray($from, $to, $ignore=array()) 00050 { 00051 static $indexes; 00052 00053 if($indexes == null) 00054 { 00055 $indexes = array( 'zbi'=>array( 0, 00056 1, 00057 2, 00058 3, 00059 4, 00060 5, 00061 6, 00062 7, 00063 8, 00064 9, 00065 10, 00066 11, 00067 12), 00068 00069 'bits'=>array( 1, 00070 2, 00071 4, 00072 8, 00073 16, 00074 32, 00075 64, 00076 128, 00077 256, 00078 512, 00079 1024, 00080 2048, 00081 4096), 00082 00083 'words'=>array( 'Left Hand Drive', 00084 'Gear Change Cut', 00085 'Gear Change Blip', 00086 'Automatic Gears', 00087 '', 00088 '', 00089 'Brake Help', 00090 'Throttle Help', 00091 '', 00092 '', 00093 'Mouse', 00094 'Keyboard No Assist', 00095 'Keyboard Stablised')); 00096 } 00097 00098 return parent::getBaseLookup($indexes, $from, $to, $ignore); 00099 } 00100 } 00101 ?>