Changeset 390 for dev/mods/signature_generator/signatures/default
- Timestamp:
- 06/23/09 17:45:47 (13 years ago)
- Location:
- dev/mods
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
dev/mods
-
Property
svn:ignore set
to
db_check
-
Property
svn:ignore set
to
-
dev/mods/signature_generator/signatures/default/default.php
r87 r390 45 45 46 46 // ship 47 $sid = $kill-> victimshipexternalid_;47 $sid = $kill->getVictimShipExternalID(); 48 48 $img = imagecreatefrompng("img/ships/64_64/".$sid.".png"); 49 imagecopyres ized($im, $img, 5, 5, 0, 0, 30, 30, 64, 64);49 imagecopyresampled($im, $img, 5, 5, 0, 0, 30, 30, 64, 64); 50 50 51 51 // player portrait 52 $pid = $pilot->row_['plt_externalid']; 52 53 53 if (!$pid) 54 54 { 55 55 $pid = 0; 56 56 } 57 $img = imagecreatefromjpeg("cache/portraits/".$pid."_ 128.jpg");57 $img = imagecreatefromjpeg("cache/portraits/".$pid."_256.jpg"); 58 58 imagefilledrectangle($im, 318, 18, 392, 92, $greyred_trans); 59 imagecopyres ized($im, $img, 320, 20, 0, 0, 70, 70, 128, 128);59 imagecopyresampled($im, $img, 320, 20, 0, 0, 70, 70, 256, 256); 60 60 imagedestroy($img); 61 61 ?>