Changeset 243 for oup/current
- Timestamp:
- Aug 10, 2007, 7:26:03 PM (17 years ago)
- Location:
- oup/current
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/DataAccess/Access_OUP_ADB.pas
r241 r243 549 549 SetLength(Result, 0); 550 550 FQuery.SQL.Text := 'SELECT [src_id],[src_link_offset],[name],[size],[sep] FROM rawmap ' + 551 'WHERE [type]="' + RawType + '" ORDER BY src_id ASC, src_link_offset ASC;';551 'WHERE [type]="' + RawType + '" and [size]>0 ORDER BY src_id ASC, src_link_offset ASC;'; 552 552 FQuery.Open; 553 553 if FQuery.RecordCount > 0 then -
oup/current/DataAccess/Access_OniArchive.pas
r241 r243 508 508 for j := 0 to Length(list) - 1 do 509 509 begin 510 if list[j].RawType = RawTypethen510 if (list[j].RawType = RawType) and (list[j].RawSize > 0) then 511 511 begin 512 512 SetLength(Result, Length(Result)+1); -
oup/current/FileClasses/_DataTypes.pas
r241 r243 835 835 FNames := TStringList.Create; 836 836 for i := 0 to High(ExtraArgs) do 837 begin 837 838 case ExtraArgs[i].VType of 838 vtChar: FNames.Add(ExtraArgs[ 0].VChar);839 vtAnsiString: FNames.Add(String(ExtraArgs[ 0].VAnsiString));839 vtChar: FNames.Add(ExtraArgs[i].VChar); 840 vtAnsiString: FNames.Add(String(ExtraArgs[i].VAnsiString)); 840 841 end; 842 if Length(FDescription) > 0 then 843 FDescription := FDescription + #13#10; 844 FDescription := FDescription + '$' + IntToHex(1 shl i,2) + ': ' + FNames.Strings[FNames.Count - 1]; 845 end; 841 846 FDataLength := 1; 842 847 FType := 'BitSet'; -
oup/current/Tools/MetaEditor.dfm
r241 r243 85 85 object tab_hex: TTabSheet 86 86 Caption = 'Binary Edit' 87 ExplicitLeft = 0 88 ExplicitTop = 0 89 ExplicitWidth = 0 90 ExplicitHeight = 0 87 91 object splitter_hex_1: TSplitter 88 92 Left = 0 -
oup/current/Tools/MetaEditor.pas
r242 r243 264 264 i: Integer; 265 265 links: TStrings; 266 ifile: TFile; 266 267 begin 267 268 inherited; … … 279 280 end; 280 281 end; 281 if (data.Field is _MetaTypes.TDatLink) and (Column = 2)then282 if data.Field is TFile then 282 283 begin 283 links := nil; 284 links := ConManager.Connection[FConnectionID].GetFilesList(_MetaTypes.TDatLink(data.Field).PosExts, '', False, ST_NameAsc); 285 HintText := IntToStr(links.Count); 286 for i := 0 to Min(links.Count - 1, 99) do 287 begin 288 if (i mod 5) = 0 then 289 HintText := HintText + #13+#10; 290 HintText := HintText + links.Strings[i] + ' '; 284 ifile := TFile(data.Field); 285 case Column of 286 0: HintText := 287 'FileID: ' + IntToStr(ifile.FileInfo.ID) + #13#10 + 288 'Name: ' + ifile.FileInfo.Name + #13#10 + 289 'Extension: ' + ifile.FileInfo.Extension + #13#10 + 290 '.dat-size: ' + IntToStr(ifile.FileInfo.Size) + #13#10; 291 291 end; 292 292 end;
Note:
See TracChangeset
for help on using the changeset viewer.