Add stubs for AFAFactory hll

This commit is contained in:
kichikuou
2026-02-14 12:41:01 +09:00
parent 65ccb29423
commit 3929de81f1
4 changed files with 43 additions and 0 deletions
+1
View File
@@ -107,6 +107,7 @@ target_sources(xsystem4 PRIVATE
src/hll/ACXLoader.c
src/hll/ADVSYS.c
src/hll/AFAFactory.c
src/hll/AliceLogo.c
src/hll/AliceLogo2.c
src/hll/AliceLogo3.c
+2
View File
@@ -417,6 +417,7 @@ void hll_call(int libno, int fno)
extern struct static_library lib_ACXLoader;
extern struct static_library lib_ACXLoaderP2;
extern struct static_library lib_ADVSYS;
extern struct static_library lib_AFAFactory;
extern struct static_library lib_AliceLogo;
extern struct static_library lib_AliceLogo2;
extern struct static_library lib_AliceLogo3;
@@ -534,6 +535,7 @@ static struct static_library *static_libraries[] = {
&lib_ACXLoader,
&lib_ACXLoaderP2,
&lib_ADVSYS,
&lib_AFAFactory,
&lib_AliceLogo,
&lib_AliceLogo2,
&lib_AliceLogo3,
+39
View File
@@ -0,0 +1,39 @@
/* Copyright (C) 2026 kichikuou <KichikuouChrome@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://gnu.org/licenses/>.
*/
#include "hll.h"
HLL_WARN_UNIMPLEMENTED(false, bool, AFAFactory, IsExistArchive, struct string *ArchiveName);
//bool AFAFactory_LoadArchive(int Type, struct string *ArchiveName);
//int AFAFactory_GetCountOfData(int Type);
//void AFAFactory_GetTitleByIndex(int Type, int Index, struct string **Name);
//int AFAFactory_SearchTitle(int Type, struct string *Name);
//int AFAFactory_PrefixSearchTitle(int Type, struct string *Name);
//int AFAFactory_SuffixSearchTitle(int Type, struct string *Name);
//int AFAFactory_GetCountOfSearchData(int Type);
//void AFAFactory_GetSearchTitleByIndex(int Type, int Index, struct string **Name);
HLL_LIBRARY(AFAFactory,
HLL_EXPORT(IsExistArchive, AFAFactory_IsExistArchive),
HLL_TODO_EXPORT(LoadArchive, AFAFactory_LoadArchive),
HLL_TODO_EXPORT(GetCountOfData, AFAFactory_GetCountOfData),
HLL_TODO_EXPORT(GetTitleByIndex, AFAFactory_GetTitleByIndex),
HLL_TODO_EXPORT(SearchTitle, AFAFactory_SearchTitle),
HLL_TODO_EXPORT(PrefixSearchTitle, AFAFactory_PrefixSearchTitle),
HLL_TODO_EXPORT(SuffixSearchTitle, AFAFactory_SuffixSearchTitle),
HLL_TODO_EXPORT(GetCountOfSearchData, AFAFactory_GetCountOfSearchData),
HLL_TODO_EXPORT(GetSearchTitleByIndex, AFAFactory_GetSearchTitleByIndex)
);
+1
View File
@@ -68,6 +68,7 @@ xsystem4 = [version_h,
'hll/ACXLoader.c',
'hll/ADVSYS.c',
'hll/AFAFactory.c',
'hll/AliceLogo.c',
'hll/AliceLogo2.c',
'hll/AliceLogo3.c',