Changeset 111 for oup/current/Tools
- Timestamp:
- Feb 21, 2007, 4:28:48 AM (18 years ago)
- Location:
- oup/current/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Tools/BinEdit.pas
r105 r111 34 34 procedure LoadDat(_fileid: Integer); 35 35 function Save: Boolean; 36 function GetValue(datatype: Word; offset: LongWord): String;37 procedure SetNewValue(datatype: Word; offset: LongWord; Value: String);36 function GetValue(datatype: Word; offset: Integer): String; 37 procedure SetNewValue(datatype: Word; offset: Integer; Value: String); 38 38 39 39 procedure WriteStructureInfos; … … 179 179 180 180 181 function TForm_BinEdit.GetValue(datatype: Word; offset: LongWord): String;181 function TForm_BinEdit.GetValue(datatype: Word; offset: Integer): String; 182 182 var 183 183 Data: TByteData; … … 274 274 procedure TForm_BinEdit.WriteStructureInfos; 275 275 var 276 i, j: LongWord;276 i, j: Integer; 277 277 pdata: PNodeData; 278 278 Data: TNodeData; … … 376 376 Data: TByteData; 377 377 str: String; 378 Value: LongWord;378 Value: Integer; 379 379 floatformat: TFormatSettings; 380 380 begin … … 489 489 var 490 490 mem: TMemoryStream; 491 i: LongWord;491 i: Integer; 492 492 begin 493 493 case MessageBox(Self.Handle, PChar('Save changes to file ' + … … 671 671 var 672 672 Name: String; 673 Value: LongWord;673 Value: Integer; 674 674 begin 675 675 Name := TMenuItem(Sender).Name; … … 856 856 857 857 858 procedure TForm_BinEdit.SetNewValue(datatype: Word; offset: LongWord; Value: String);858 procedure TForm_BinEdit.SetNewValue(datatype: Word; offset: Integer; Value: String); 859 859 var 860 860 Data: TByteData; … … 923 923 procedure TForm_BinEdit.value_viewerDblClick(Sender: TObject); 924 924 var 925 offset: LongWord;925 offset: Integer; 926 926 datatype: Word; 927 927 objectname: String; -
oup/current/Tools/Extractor.pas
r105 r111 70 70 var 71 71 begintime: Double; 72 files: LongWord;73 i, done: LongWord;72 files: Integer; 73 i, done: Integer; 74 74 selonly: Boolean; 75 fileid: LongWord;75 fileid: Integer; 76 76 filename: String; 77 77 path: String; -
oup/current/Tools/Preview.pas
r101 r111 138 138 var 139 139 loop_speed: Word; 140 linkcount: LongWord;141 link: LongWord;140 linkcount: Integer; 141 link: Integer; 142 142 i: Byte; 143 143 begin -
oup/current/Tools/RawEdit.pas
r105 r111 39 39 procedure FormKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); 40 40 41 function GetValue(datatype: Word; offset: LongWord): String;41 function GetValue(datatype: Word; offset: Integer): String; 42 42 procedure ClearValues; 43 43 procedure WriteValues; 44 procedure SetNewValue(datatype: Word; offset: LongWord; Value: String);44 procedure SetNewValue(datatype: Word; offset: Integer; Value: String); 45 45 46 46 procedure value_viewerDblClick(Sender: TObject); … … 101 101 procedure TForm_RawEdit.LoadRaw(raw_info: TRawDataInfo); 102 102 var 103 i: LongWord;103 i: Integer; 104 104 mem: TMemoryStream; 105 105 begin … … 154 154 155 155 156 function TForm_RawEdit.GetValue(datatype: Word; offset: LongWord): String;156 function TForm_RawEdit.GetValue(datatype: Word; offset: Integer): String; 157 157 var 158 158 Data: TByteData; … … 228 228 Data: TByteData; 229 229 str: String; 230 Value: LongWord;230 Value: Integer; 231 231 floatformat: TFormatSettings; 232 232 begin … … 340 340 procedure TForm_RawEdit.FormCreate(Sender: TObject); 341 341 var 342 i: LongWord;342 i: Integer; 343 343 exts: String; 344 344 begin … … 388 388 var 389 389 mem: TMemoryStream; 390 i: LongWord;390 i: Integer; 391 391 begin 392 392 case MessageBox(Self.Handle, PChar('Save changes to .raw-part of file ' + … … 635 635 // i: Byte; 636 636 Name: String; 637 Value: LongWord;637 Value: Integer; 638 638 begin 639 639 Name := TMenuItem(Sender).Name; … … 694 694 695 695 696 procedure TForm_RawEdit.SetNewValue(datatype: Word; offset: LongWord; Value: String);696 procedure TForm_RawEdit.SetNewValue(datatype: Word; offset: Integer; Value: String); 697 697 var 698 698 Data: TByteData; … … 761 761 procedure TForm_RawEdit.value_viewerDblClick(Sender: TObject); 762 762 var 763 offset: LongWord;763 offset: Integer; 764 764 datatype: Word; 765 765 objectname: String; -
oup/current/Tools/TxmpReplace.pas
r105 r111 90 90 procedure TForm_TxmpReplace.btn_replaceClick(Sender: TObject); 91 91 var 92 newsize: LongWord;93 old_rawaddr, new_rawaddr: LongWord;92 newsize: Integer; 93 old_rawaddr, new_rawaddr: Integer; 94 94 oldfading: Byte; 95 95 datbyte: Word;
Note:
See TracChangeset
for help on using the changeset viewer.