.
諏訪子 <suwako@076.moe>、2026-01-29 04:08
コミット df9da374cf22ec5957bae26362a43e0f1f186e3f
・親 b035b9b
・ファイルを見る
21個のファイル、+7 -1
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
バイナリファイル
| @@ -0,0 +1,5 @@ | ||
| 1 | +<?php | |
| 2 | +namespace Site\Lib; | |
| 3 | + | |
| 4 | +class Mfa { | |
| 5 | +} |
| @@ -63,7 +63,6 @@ | ||
| 63 | 63 | $asm = new Syntax('asm'); |
| 64 | 64 | $c = new Syntax('c'); |
| 65 | 65 | |
| 66 | - $tmpl->assign('img', $img); | |
| 67 | 66 | $tmpl->assign('cCode', $c->colorize($codeC)); |
| 68 | 67 | $tmpl->assign('asmCode', $asm->colorize($codeAsm)); |
| 69 | 68 |
| @@ -134,6 +134,7 @@ | ||
| 134 | 134 | $this->colorMapData = $colorMapBytes > 0 ? fread($fp, $colorMapBytes) : ''; |
| 135 | 135 | $tga->imageId = $this->imageId; |
| 136 | 136 | $tga->colorMapData = $this->colorMapData; |
| 137 | + $tga->colorMapDataHex = bin2hex($this->colorMapData); // デバッグ用 | |
| 137 | 138 | |
| 138 | 139 | if (in_array($this->imageTypeByte, [9, 10, 11])) { // RLE |
| 139 | 140 | // TODO |
| @@ -146,6 +147,7 @@ | ||
| 146 | 147 | } |
| 147 | 148 | |
| 148 | 149 | fclose($fp); |
| 150 | + kys($tga); | |
| 149 | 151 | return $tga; |
| 150 | 152 | } |
| 151 | 153 | } |