Changeset 111 for oup/current
- Timestamp:
- Feb 21, 2007, 4:28:48 AM (18 years ago)
- Location:
- oup/current
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Global/Exporters.pas
r97 r111 84 84 TDatData = packed record 85 85 {0x00} 86 _fileid: LongWord;87 level: LongWord;88 FormatSize: LongWord;86 _fileid: Integer; 87 level: Integer; 88 FormatSize: Integer; 89 89 AudioFormat: Word; 90 90 NumChannels: Word; 91 91 {0x10} 92 SampleRate: LongWord;93 ByteRate: LongWord;92 SampleRate: Integer; 93 ByteRate: Integer; 94 94 BlockAlign: Word; 95 95 BitsPerSample: Word; … … 98 98 SamplesPerBlock: Word; 99 99 NumCoefficients: Word; 100 Coefficients: array[0..6] of LongWord;100 Coefficients: array[0..6] of Integer; 101 101 {0x3E} 102 102 Duration: Word; 103 103 {0x40} 104 RawSize: LongWord;105 RawPos: LongWord;104 RawSize: Integer; 105 RawPos: Integer; 106 106 end; 107 107 var … … 112 112 //Wave Header Stuff 113 113 ASCII_RIFF: LongWord; //"RIFF" 114 WAVE_Len: LongWord;114 WAVE_Len: Integer; 115 115 ASCII_WAVE: LongWord; //"WAVE" 116 116 ASCII_FMT: LongWord; //"fmt " 117 WAVE_FMT_Len: LongWord;117 WAVE_FMT_Len: Integer; 118 118 ASCII_DATA: LongWord; //"data" 119 WAVE_DataLen: LongWord;119 WAVE_DataLen: Integer; 120 120 begin 121 121 Result := 0; … … 190 190 var 191 191 loop_speed, unknown: Word; 192 linkcount: LongWord;193 link: LongWord;192 linkcount: Integer; 193 link: Integer; 194 194 i: Byte; 195 195 begin -
oup/current/Global/Functions.pas
r105 r111 202 202 var 203 203 string_build, ascii_version: String; 204 i: LongWord;204 i: Integer; 205 205 begin 206 206 string_build := ''; … … 235 235 function DecodeHexString(hex: String): TByteData; 236 236 var 237 i: LongWord;237 i: Integer; 238 238 begin 239 239 SetLength(Result, Length(hex) div 2); -
oup/current/Global/TypeDefs.pas
r106 r111 26 26 Ident: array[0..$7] of Byte; 27 27 Extension: array[0..$3] of Char; 28 ExtCount: LongWord;28 ExtCount: Integer; 29 29 end; 30 30 … … 98 98 99 99 TDatLinks = array of record 100 Src_Offset: LongWord;101 Target: LongWord;100 Src_Offset: Integer; 101 Target: Integer; 102 102 end; 103 103 } -
oup/current/Helper/ValueEdit.pas
r105 r111 19 19 procedure btn_cancelClick(Sender: TObject); 20 20 procedure btn_okClick(Sender: TObject); 21 procedure MakeVarInput(objectname: String; offset: LongWord;21 procedure MakeVarInput(objectname: String; offset: Integer; 22 22 datatype: Word; current: String; caller: TObject); 23 23 procedure FormCreate(Sender: TObject); … … 41 41 caller_win_raw: TForm_RawEdit; 42 42 _datatype: Word; 43 _offset: LongWord;43 _offset: Integer; 44 44 45 45 46 46 47 47 48 procedure TForm_ValueEdit.MakeVarInput(objectname: String; offset: LongWord;48 procedure TForm_ValueEdit.MakeVarInput(objectname: String; offset: Integer; 49 49 datatype: Word; current: String; caller: TObject); 50 50 begin -
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.