| 129 |
|
mem := TMemoryStream.Create; |
| 130 |
|
|
| 131 |
|
case OniImage_New.Format of |
| 132 |
+ |
ifX1R5G5B5: new_storetype := 1; |
| 133 |
|
ifA1R5G5B5: new_storetype := 2; |
| 134 |
|
ifA4R4G4B4: new_storetype := 0; |
| 135 |
|
ifA8R8G8B8: |
| 165 |
|
ConManager.Connection[ConnectionID].UpdateRawFile(fileid, $9C, mem); |
| 166 |
|
end; |
| 167 |
|
|
| 167 |
– |
datbyte := $00; |
| 168 |
|
if check_fading.Checked then |
| 169 |
< |
datbyte := datbyte or $01; |
| 169 |
> |
oldfading := oldfading or $01 |
| 170 |
> |
else |
| 171 |
> |
oldfading := oldfading and (not Byte($01)); |
| 172 |
|
ConManager.Connection[ConnectionID].UpdateDatFilePart(fileid, $88, 1, @datbyte); |
| 173 |
|
datbyte := $10; |
| 174 |
|
// if check_transparency.Checked then |