* Removed heContrns dependency (replaced by fgl ... again)
This commit is contained in:
parent
d334728b6c
commit
1ddaee39d5
|
@ -32,7 +32,7 @@ interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, SysUtils, Imaging, ImagingTypes, ImagingClasses, ImagingCanvases,
|
Classes, SysUtils, Imaging, ImagingTypes, ImagingClasses, ImagingCanvases,
|
||||||
ImagingOpenGL, GL, GLu, GLext, Math, heContnrs, ULandscape, UWorldItem,
|
ImagingOpenGL, GL, GLu, GLext, Math, fgl, ULandscape, UWorldItem,
|
||||||
UCacheManager, DOM, XMLRead;
|
UCacheManager, DOM, XMLRead;
|
||||||
|
|
||||||
const
|
const
|
||||||
|
@ -85,7 +85,7 @@ type
|
||||||
property Material: TLightMaterial read FMaterial;
|
property Material: TLightMaterial read FMaterial;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TLightSources = specialize TheObjectVector<TLightSource>;
|
TLightSources = specialize TFPGObjectList<TLightSource>;
|
||||||
|
|
||||||
{ TLightManager }
|
{ TLightManager }
|
||||||
|
|
||||||
|
|
|
@ -1,54 +0,0 @@
|
||||||
(*
|
|
||||||
* CDDL HEADER START
|
|
||||||
*
|
|
||||||
* The contents of this file are subject to the terms of the
|
|
||||||
* Common Development and Distribution License, Version 1.0 only
|
|
||||||
* (the "License"). You may not use this file except in compliance
|
|
||||||
* with the License.
|
|
||||||
*
|
|
||||||
* You can obtain a copy of the license at
|
|
||||||
* http://www.opensource.org/licenses/cddl1.php.
|
|
||||||
* See the License for the specific language governing permissions
|
|
||||||
* and limitations under the License.
|
|
||||||
*
|
|
||||||
* When distributing Covered Code, include this CDDL HEADER in each
|
|
||||||
* file and include the License file at
|
|
||||||
* http://www.opensource.org/licenses/cddl1.php. If applicable,
|
|
||||||
* add the following below this CDDL HEADER, with the fields enclosed
|
|
||||||
* by brackets "[]" replaced with your own identifying * information:
|
|
||||||
* Portions Copyright [yyyy] [name of copyright owner]
|
|
||||||
*
|
|
||||||
* CDDL HEADER END
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Portions Copyright 2012 Andreas Schneider
|
|
||||||
*)
|
|
||||||
unit UContnrExt;
|
|
||||||
|
|
||||||
{$mode objfpc}{$H+}
|
|
||||||
|
|
||||||
interface
|
|
||||||
|
|
||||||
uses
|
|
||||||
heContnrs;
|
|
||||||
|
|
||||||
type
|
|
||||||
|
|
||||||
{ TPointerVectorSet }
|
|
||||||
|
|
||||||
generic TPointerVectorSet<T> = class(specialize TheCmpVectorSet<T>)
|
|
||||||
public
|
|
||||||
function Compare(const A, B: T): Integer; override;
|
|
||||||
end;
|
|
||||||
|
|
||||||
implementation
|
|
||||||
|
|
||||||
{ TPointerVectorSet }
|
|
||||||
|
|
||||||
function TPointerVectorSet.Compare(const A, B: T): Integer;
|
|
||||||
begin
|
|
||||||
Result := @A - @B;
|
|
||||||
end;
|
|
||||||
|
|
||||||
end.
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ unit UMap;
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Classes, heContnrs, UWorldItem;
|
SysUtils, Classes, fgl, UWorldItem;
|
||||||
|
|
||||||
const
|
const
|
||||||
MapCellSize = 3;
|
MapCellSize = 3;
|
||||||
|
@ -60,7 +60,7 @@ type
|
||||||
procedure Write(AData: TStream); override;
|
procedure Write(AData: TStream); override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TMapCellList = specialize TheObjectVector<TMapCell>;
|
TMapCellList = specialize TFPGObjectList<TMapCell>;
|
||||||
|
|
||||||
{ TMapBlock }
|
{ TMapBlock }
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ unit UStatics;
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Classes, heContnrs, UGenericIndex, UWorldItem, UTiledata;
|
SysUtils, Classes, fgl, UGenericIndex, UWorldItem, UTiledata;
|
||||||
|
|
||||||
type
|
type
|
||||||
{ TStaticItem }
|
{ TStaticItem }
|
||||||
|
@ -56,7 +56,7 @@ type
|
||||||
procedure Write(AData: TStream); override;
|
procedure Write(AData: TStream); override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TStaticItemList = specialize TheObjectVector<TStaticItem>;
|
TStaticItemList = specialize TFPGObjectList<TStaticItem>;
|
||||||
|
|
||||||
{ TStaticBlock}
|
{ TStaticBlock}
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ unit UWorldItem;
|
||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Classes, heContnrs, UMulBlock;
|
Classes, fgl, UMulBlock;
|
||||||
|
|
||||||
type
|
type
|
||||||
TWorldBlock = class;
|
TWorldBlock = class;
|
||||||
|
@ -81,7 +81,7 @@ type
|
||||||
property RawZ: ShortInt read FZ;
|
property RawZ: ShortInt read FZ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TWorldItemList = specialize TheObjectVector<TWorldItem>;
|
TWorldItemList = specialize TFPGObjectList<TWorldItem>;
|
||||||
|
|
||||||
{ TWorldBlock }
|
{ TWorldBlock }
|
||||||
|
|
||||||
|
|
7370
heContnrs.pas
7370
heContnrs.pas
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue