cars.php

Go to the documentation of this file.
00001 <?php
00013 if(!class_exists('PPFBaseLookup'))
00014     include dirname(__FILE__).'/baselookup.php';
00015 
00022 class PPFCars extends PPFBaseLookup
00023 {
00056     function getLookupArray($from, $to)
00057     {
00058         static $indexes;
00059 
00060         if($indexes == null)
00061         {
00062             $indexes = array(   'zbi'=>array(   0,
00063                                                 1,
00064                                                 2,
00065                                                 3,
00066                                                 4,
00067                                                 5,
00068                                                 6,
00069                                                 7,
00070                                                 8,
00071                                                 9,
00072                                                 10,
00073                                                 11,
00074                                                 12,
00075                                                 13,
00076                                                 14,
00077                                                 15,
00078                                                 16,
00079                                                 17,
00080                                                 18),
00081                                                                                                 
00082                                 'bits'=>array(  1,
00083                                                 2,
00084                                                 4,
00085                                                 8,
00086                                                 16,
00087                                                 32,
00088                                                 64,
00089                                                 128,
00090                                                 256,
00091                                                 512,
00092                                                 1024,
00093                                                 2048,
00094                                                 4096,
00095                                                 8192,
00096                                                 16384,
00097                                                 32768,
00098                                                 65536,
00099                                                 131072,
00100                                                 262144),
00101 
00102                                 'codes'=>array( 'XFG',
00103                                                 'XRG',
00104                                                 'XRT',
00105                                                 'RB4',
00106                                                 'FXO',
00107                                                 'LX4',
00108                                                 'LX6',
00109                                                 'MRT',
00110                                                 'UF1',
00111                                                 'RAC',
00112                                                 'FZ5',
00113                                                 'FOX',
00114                                                 'XFR',
00115                                                 'UFR',
00116                                                 'FO8',
00117                                                 'FXR',
00118                                                 'XRR',
00119                                                 'FZR',
00120                                                 'BF1'),
00121 
00122                                 'words'=>array( 'XF GTi',
00123                                                 'XR GT',
00124                                                 'XR GT Turbo',
00125                                                 'RB4',
00126                                                 'FXO',
00127                                                 'LX4',
00128                                                 'LX6',
00129                                                 'MRT',
00130                                                 'UF1000',
00131                                                 'Raceabout',
00132                                                 'FZ50',
00133                                                 'Formula XR',
00134                                                 'XF GTR',
00135                                                 'UF GTR',
00136                                                 'Formula V8',
00137                                                 'FXO GTR',
00138                                                 'XR GTR',
00139                                                 'FZ50 GTR',
00140                                                 'BMW Sauber F1.06'));
00141         }
00142         
00143         return parent::getLookupArray($indexes, $from, $to, array());
00144     }
00145 }
00146 ?>

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