- Timestamp:
- Dec 25, 2006, 4:04:47 AM (18 years ago)
- Location:
- oup/current
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Main.dfm
r53 r54 374 374 Top = 112 375 375 Bitmap = { 376 494C01010D000E00040010001000FFFFFFFFFF 00FFFFFFFFFFFFFFFF424D3600376 494C01010D000E00040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 377 377 0000000000003600000028000000400000004000000001002000000000000040 378 378 0000000000000000000000000000000000000000000000000000000000000000 … … 906 906 0000000000000000000000000000000000000000000000000000000000000000 907 907 000000000000000000000000000000008001800180018001E007E007E007E007 908 F81FF81FF81FF81FFE7FFE7FFE7FFE7F} 908 F81FF81FF81FF81FFE7FFE7FFE7FFE7F00000000000000000000000000000000 909 000000000000} 909 910 end 910 911 end -
oup/current/Main.pas
r53 r54 600 600 toolform := TForm_BinEdit.Create(Self); 601 601 toolform.Caption := 'Binary .dat-Editor ' + IntToStr(tag); 602 iconindex := 4;602 iconindex := 5; 603 603 end; 604 604 if window_context = 'extractor' then … … 606 606 toolform := TForm_Extractor.Create(Self); 607 607 toolform.Caption := 'Extractor ' + IntToStr(tag); 608 iconindex := 7;608 iconindex := 8; 609 609 end; 610 610 if window_context = 'preview' then … … 612 612 toolform := TForm_Preview.Create(Self); 613 613 toolform.Caption := 'Preview-Window ' + IntToStr(tag); 614 iconindex := 3;614 iconindex := 4; 615 615 end; 616 616 if window_context = 'rawedit' then … … 618 618 toolform := TForm_RawEdit.Create(Self); 619 619 toolform.Caption := 'Binary .raw-Editor ' + IntToStr(tag); 620 iconindex := 5;620 iconindex := 6; 621 621 end; 622 622 if window_context = 'txmpreplace' then … … 624 624 toolform := TForm_TxmpReplace.Create(Application); 625 625 toolform.Caption := 'TXMP Replacer ' + IntToStr(tag); 626 iconindex := 6;626 iconindex := 7; 627 627 end; 628 628 -
oup/current/Tools/Template.dfm
r51 r54 49 49 PopupMenu = filepopup 50 50 TabOrder = 0 51 OnClick = listClick 51 52 OnMouseDown = listMouseDown 52 53 end -
oup/current/Tools/Template.pas
r53 r54 278 278 pt.X := x; 279 279 pt.Y := y; 280 filelist.ItemIndex := filelist.ItemAtPos(pt, true);281 Self.listClick(Self);280 // filelist.ItemIndex := filelist.ItemAtPos(pt, true); 281 // Self.listClick(Self); 282 282 end; 283 283 -
oup/current/Tools/TxmpReplace.pas
r46 r54 31 31 OniImage_Old: TOniImage; 32 32 OniImage_New: TOniImage; 33 old_size: Integer; 33 34 fileid: Integer; 34 35 public … … 58 59 59 60 OniImage_Old.LoadFromTXMP(fileid); 61 old_size := OniImage_Old.GetImageDataSize((fadingbyte and $01) > 0); 60 62 Data := OniImage_Old.GetAsBMP; 61 63 mem := TMemoryStream.Create; … … 92 94 procedure TForm_TxmpReplace.btn_replaceClick(Sender: TObject); 93 95 var 94 oldsize,newsize: LongWord;96 newsize: LongWord; 95 97 old_rawaddr, new_rawaddr: LongWord; 96 98 oldfading: Byte; … … 121 123 end; 122 124 123 oldsize := OniImage_Old.GetImageDataSize((oldfading and $01) > 0);124 125 125 if check_fading.Checked then 126 126 if not OniImage_New.GetMipMappedImage(tempd) then … … 137 137 138 138 newsize := OniImage_New.GetImageDataSize(check_fading.Checked); 139 ShowMessage(IntToStr(newsize)); 140 141 if (newsize > oldsize) and (OniDataConnection.Backend = ODB_Dat) then 139 140 if (newsize > old_size) and (OniDataConnection.Backend = ODB_Dat) then 142 141 new_rawaddr := OniDataConnection.AppendRawFile( 143 142 OniDataConnection.OSisMac, Length(tempd), tempd)
Note:
See TracChangeset
for help on using the changeset viewer.