Roland Schmitt <>
Carsten Bormann <jisuga@terta.kn-bremen.de>
Robert Vock <smir@andaloria.de>
Definition at line 24 of file lib/map.php.
Public Member Functions | |
| Map (&$oDB, $oUser) | |
| constructor. | |
| getPaletteColor ($im, $color) | |
| Hilfsfunktion zum erzeugen einer Palettenfarbe aus einem Hex-Wert. | |
| getImg ($strEffort=', $strWaytext=') | |
| generate and output the map image | |
Public Attributes | |
| $oDB | |
| DB object. | |
| $oUser | |
| user data as in user table | |
| $aTerrainColor | |
| $aTerrainText | |
| $aTerrainPoints | |
| $aBuildingText | |
| $aBuildingKeys | |
| $aColor | |
| $intZoom | |
| current zoom | |
| $intFieldWidth | |
| field width | |
| $intFieldHeight | |
| field height | |
| $booShowFog | |
| should fog be visible | |
| $x | |
| $y | |
| $xx | |
| $yy | |
| $xs | |
| $ys | |
| $xe | |
| $ye | |
| $xx0 | |
| $yy0 | |
| $xx1 | |
| $yy1 | |
| some other vars ;) | |
|
||||||||||||
|
constructor. set DB object
Definition at line 48 of file lib/map.php. References $aBuildingKeys, $aBuildingText, $aColor, $aTerrainColor, $aTerrainPoints, $aTerrainText, $aZoomstufen, $oDB, $oUser, intZoom, xs, and ys. |
|
||||||||||||
|
generate and output the map image
Definition at line 155 of file lib/map.php. References $aRow, $booShowFog, $i, $img, $intFieldHeight, $intFieldWidth, $intX, $intY, $intZoom, $mapdata, $result, $strFilter, $strWaytext, $x, $xx0, $xx1, $y, $yy0, $yy1, getPaletteColor(), intZoom, xs, and ys. |
|
||||||||||||
|
Hilfsfunktion zum erzeugen einer Palettenfarbe aus einem Hex-Wert.
Definition at line 130 of file lib/map.php. Referenced by getImg(). |
|
|
Definition at line 32 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 31 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 33 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 28 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 30 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 29 of file lib/map.php. Referenced by Map(). |
|
|
should fog be visible
Definition at line 39 of file lib/map.php. Referenced by getImg(). |
|
|
field height
Definition at line 38 of file lib/map.php. Referenced by getImg(). |
|
|
field width
Definition at line 37 of file lib/map.php. Referenced by getImg(). |
|
|
current zoom
Definition at line 36 of file lib/map.php. Referenced by getImg(). |
|
|
DB object.
Definition at line 26 of file lib/map.php. Referenced by Map(). |
|
|
user data as in user table
Definition at line 27 of file lib/map.php. Referenced by Map(). |
|
|
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
|
|
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
|
|
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. |
|
|
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
|
|
some other vars ;)
Definition at line 40 of file lib/map.php. Referenced by getImg(). |
1.4.2