Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Добавлен проект библиотеки для Lazarus'а.
- Loading branch information
1 parent
da449b4
commit cf9dc32
Showing
7 changed files
with
172 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# BeaRLibItems | ||
|
||
##DemoProgram | ||
Исходники программы, что демонстр. работу библиотеки: FreePascal. | ||
Исходники программы, демонстр. работу библиотеки: FreePascal. | ||
|
||
##Include | ||
Исходники файлов, необходимых для подключения библиотеки (биндинги). | ||
Поддерживаемые языки программирования: FreePascal (Delphi). | ||
Поддерживаемые языки программирования: FreePascal/Delphi. | ||
|
||
##Library | ||
Исходники библиотеки: Delphi. | ||
Исходники библиотеки: FreePascal/Delphi. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CONFIG> | ||
<ProjectOptions> | ||
<Version Value="9"/> | ||
<PathDelim Value="\"/> | ||
<General> | ||
<Flags> | ||
<MainUnitHasCreateFormStatements Value="False"/> | ||
<MainUnitHasTitleStatement Value="False"/> | ||
</Flags> | ||
<SessionStorage Value="InProjectDir"/> | ||
<MainUnit Value="0"/> | ||
<Title Value="BeaRLibItems"/> | ||
<UseAppBundle Value="False"/> | ||
<ResourceType Value="res"/> | ||
</General> | ||
<i18n> | ||
<EnableI18N LFM="False"/> | ||
</i18n> | ||
<VersionInfo> | ||
<StringTable ProductVersion=""/> | ||
</VersionInfo> | ||
<BuildModes Count="1"> | ||
<Item1 Name="Default" Default="True"/> | ||
</BuildModes> | ||
<PublishOptions> | ||
<Version Value="2"/> | ||
</PublishOptions> | ||
<RunParams> | ||
<local> | ||
<FormatVersion Value="1"/> | ||
</local> | ||
</RunParams> | ||
<Units Count="1"> | ||
<Unit0> | ||
<Filename Value="BeaRLibItems.lpr"/> | ||
<IsPartOfProject Value="True"/> | ||
</Unit0> | ||
</Units> | ||
</ProjectOptions> | ||
<CompilerOptions> | ||
<Version Value="11"/> | ||
<PathDelim Value="\"/> | ||
<Target> | ||
<Filename Value="../../demo/BeaRLibItems"/> | ||
</Target> | ||
<SearchPaths> | ||
<IncludeFiles Value="$(ProjOutDir)"/> | ||
</SearchPaths> | ||
<CodeGeneration> | ||
<RelocatableUnit Value="True"/> | ||
</CodeGeneration> | ||
<Linking> | ||
<Options> | ||
<ExecutableType Value="Library"/> | ||
</Options> | ||
</Linking> | ||
</CompilerOptions> | ||
<Debugging> | ||
<Exceptions Count="3"> | ||
<Item1> | ||
<Name Value="EAbort"/> | ||
</Item1> | ||
<Item2> | ||
<Name Value="ECodetoolError"/> | ||
</Item2> | ||
<Item3> | ||
<Name Value="EFOpenError"/> | ||
</Item3> | ||
</Exceptions> | ||
</Debugging> | ||
</CONFIG> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
library BeaRLibItems; | ||
|
||
{$mode objfpc}{$H+} | ||
|
||
uses | ||
uCommon in 'uCommon.pas', | ||
uMaps in 'uMaps.pas', | ||
uInventory in 'uInventory.pas'; | ||
|
||
exports | ||
// Library | ||
Items_Open, | ||
Items_Close, | ||
Items_GetVersion, | ||
// Map | ||
Items_Maps_Clear, | ||
Items_Maps_MapClear, | ||
Items_Maps_MapClearXY, | ||
|
||
Items_Maps_GetCount, | ||
Items_Maps_GetMapCount, | ||
Items_Maps_GetMapCountXY, | ||
|
||
Items_Maps_GetItemCount, | ||
Items_Maps_GetMapItemCount, | ||
Items_Maps_GetMapItemCountXY, | ||
|
||
Items_Maps_SetItem, | ||
Items_Maps_GetItem, | ||
|
||
Items_Maps_SetMapItemXY, | ||
Items_Maps_GetMapItemXY, | ||
|
||
Items_Maps_SetItems, | ||
Items_Maps_GetItems, | ||
Items_Maps_GetMapItems, | ||
Items_Maps_GetMapItemsXY, | ||
|
||
Items_Maps_Items_Append, | ||
Items_Maps_Items_Delete, | ||
Items_Maps_Items_DeleteXY, | ||
|
||
Items_Maps_GetMapItemAmountXY, | ||
|
||
// Inventory | ||
Items_Inventory_Clear, | ||
Items_Inventory_GetCount, | ||
|
||
Items_Inventory_GetItemCount, | ||
Items_Inventory_GetItemAmount, | ||
|
||
Items_Inventory_SetItem, | ||
Items_Inventory_GetItem, | ||
|
||
Items_Inventory_SetItems, | ||
Items_Inventory_GetItems, | ||
|
||
Items_Inventory_Items_Append, | ||
Items_Inventory_Items_Delete; | ||
|
||
begin | ||
|
||
end. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.