File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -126,14 +126,6 @@ function InstrumentIsUsed(Instrument: Integer; Type_: TInstrumentType; const Use
126126 itWave: Result := Instrument <= UsedStuff.HighestWaveInst;
127127 itNoise: Result := Instrument <= UsedStuff.HighestNoiseInst;
128128 end ;
129-
130- function OrderCount (const Song: TSong): Integer;
131- var
132- OrderMatrix: TOrderMatrix;
133- begin
134- OrderMatrix := Song.OrderMatrix;
135- Result := MaxIntValue([High(OrderMatrix[0 ]), High(OrderMatrix[1 ]),
136- High(OrderMatrix[2 ]), High(OrderMatrix[3 ])]) * 2 ;
137129end ;
138130
139131procedure RenderSongToGBDKC (Song: TSong; DescriptorName: String; Filename: string; Bank: Integer = -1 );
Original file line number Diff line number Diff line change @@ -143,7 +143,6 @@ function UpgradeSong(S: TSongV4): TSong; overload;
143143function UpgradeSong (S: TSongV6): TSong; overload;
144144
145145function OptimizeSong (const S: TSong): TSong;
146- function PatternIsUsed (Idx: Integer; const Song: TSong): Boolean;
147146function OrderCount (const Song: TSong): Integer;
148147
149148implementation
@@ -943,19 +942,6 @@ function OptimizeSong(const S: TSong): TSong;
943942 end ;
944943end ;
945944
946- <<<<<<< HEAD
947- =======
948- function PatternIsUsed (Idx: Integer; const Song: TSong): Boolean;
949- var
950- I, J: Integer;
951- begin
952- for I := Low(Song.OrderMatrix) to High(Song.OrderMatrix) do
953- for J := Low(Song.OrderMatrix[I]) to High(Song.OrderMatrix[I])-1 do
954- if Song.OrderMatrix[I, J] = Idx then Exit(True);
955-
956- Result := False;
957- end ;
958-
959945function OrderCount (const Song: TSong): Integer;
960946var
961947 OrderMatrix: TOrderMatrix;
@@ -965,5 +951,4 @@ function OrderCount(const Song: TSong): Integer;
965951 High(OrderMatrix[2 ]), High(OrderMatrix[3 ])]);
966952end ;
967953
968- >>>>>>> 71f550f (Fix reading order count from symbol table)
969954end .
You can’t perform that action at this time.
0 commit comments