From 810961a0f695434255678e82e34cc6f28f5e27e7 Mon Sep 17 00:00:00 2001 From: Hendrik Albers Date: Wed, 9 Oct 2024 22:24:43 +0200 Subject: [PATCH] API: Remove double declarations --- NWNXLib/API/API/CExoResMan.hpp | 2 -- NWNXLib/API/API/CFactionManager.hpp | 2 -- NWNXLib/API/API/CNWSCreature.hpp | 2 -- NWNXLib/API/API/CNWSCreatureStats.hpp | 2 -- NWNXLib/API/API/CNWSCreatureStats_ClassInfo.hpp | 2 -- NWNXLib/API/API/CNWSObject.hpp | 2 -- NWNXLib/API/API/CNWSStore.hpp | 2 -- NWNXLib/API/API/CVirtualMachine.hpp | 2 -- 8 files changed, 16 deletions(-) diff --git a/NWNXLib/API/API/CExoResMan.hpp b/NWNXLib/API/API/CExoResMan.hpp index 2e759766a0f..b0118bc13e6 100644 --- a/NWNXLib/API/API/CExoResMan.hpp +++ b/NWNXLib/API/API/CExoResMan.hpp @@ -18,7 +18,6 @@ NWN_API_PROLOGUE(CExoResMan) struct CExoFile; struct CExoKeyTable; -struct CExoKeyTable; struct CExoStringList; struct CKeyTableEntry; @@ -122,4 +121,3 @@ struct CExoResMan #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CExoResMan) #endif - diff --git a/NWNXLib/API/API/CFactionManager.hpp b/NWNXLib/API/API/CFactionManager.hpp index b4cbfba0452..8bbe0f6d64f 100644 --- a/NWNXLib/API/API/CFactionManager.hpp +++ b/NWNXLib/API/API/CFactionManager.hpp @@ -10,7 +10,6 @@ NWN_API_PROLOGUE(CFactionManager) struct CExoString; struct CNWSFaction; -struct CNWSFaction; struct CResGFF; struct CResList; @@ -54,4 +53,3 @@ struct CFactionManager #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CFactionManager) #endif - diff --git a/NWNXLib/API/API/CNWSCreature.hpp b/NWNXLib/API/API/CNWSCreature.hpp index 85613f38ff3..7aec79d5a86 100644 --- a/NWNXLib/API/API/CNWSCreature.hpp +++ b/NWNXLib/API/API/CNWSCreature.hpp @@ -20,7 +20,6 @@ NWN_API_PROLOGUE(CNWSCreature) struct CEffectIconObject; struct CGameEffect; -struct CGameEffect; struct CItemRepository; struct CNWCCMessageData; struct CNWItemProperty; @@ -742,4 +741,3 @@ struct CNWSCreature : CNWSObject #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CNWSCreature) #endif - diff --git a/NWNXLib/API/API/CNWSCreatureStats.hpp b/NWNXLib/API/API/CNWSCreatureStats.hpp index 93747fb5ded..6d411f5d697 100644 --- a/NWNXLib/API/API/CNWSCreatureStats.hpp +++ b/NWNXLib/API/API/CNWSCreatureStats.hpp @@ -18,7 +18,6 @@ struct CFeatUseListEntry; struct CNWClass; struct CNWCreatureStatsUpdate; struct CNWLevelStats; -struct CNWLevelStats; struct CNWSCreature; struct CNWSCreatureAppearanceInfo; struct CNWSItem; @@ -391,4 +390,3 @@ struct CNWSCreatureStats #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CNWSCreatureStats) #endif - diff --git a/NWNXLib/API/API/CNWSCreatureStats_ClassInfo.hpp b/NWNXLib/API/API/CNWSCreatureStats_ClassInfo.hpp index 93c18f5e13e..00e264ecc2e 100644 --- a/NWNXLib/API/API/CNWSCreatureStats_ClassInfo.hpp +++ b/NWNXLib/API/API/CNWSCreatureStats_ClassInfo.hpp @@ -9,7 +9,6 @@ NWN_API_PROLOGUE(CNWSCreatureStats_ClassInfo) #endif struct CNWSStats_Spell; -struct CNWSStats_Spell; typedef int BOOL; @@ -69,4 +68,3 @@ struct CNWSCreatureStats_ClassInfo #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CNWSCreatureStats_ClassInfo) #endif - diff --git a/NWNXLib/API/API/CNWSObject.hpp b/NWNXLib/API/API/CNWSObject.hpp index 4bfd805f01e..33254fa47b3 100644 --- a/NWNXLib/API/API/CNWSObject.hpp +++ b/NWNXLib/API/API/CNWSObject.hpp @@ -26,7 +26,6 @@ NWN_API_PROLOGUE(CNWSObject) struct CExoString; struct CGameEffect; -struct CGameEffect; struct CLoopingVisualEffect; struct CNWCCMessageData; struct CNWSAnimBase; @@ -331,4 +330,3 @@ struct CNWSObject : CGameObject #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CNWSObject) #endif - diff --git a/NWNXLib/API/API/CNWSStore.hpp b/NWNXLib/API/API/CNWSStore.hpp index 82ecacc7488..0c77f4fd84a 100644 --- a/NWNXLib/API/API/CNWSStore.hpp +++ b/NWNXLib/API/API/CNWSStore.hpp @@ -20,7 +20,6 @@ struct CNWSPlayer; struct CResGFF; struct CResStruct; struct CStoreCustomer; -struct CStoreCustomer; typedef int BOOL; @@ -84,4 +83,3 @@ struct CNWSStore : CNWSObject #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CNWSStore) #endif - diff --git a/NWNXLib/API/API/CVirtualMachine.hpp b/NWNXLib/API/API/CVirtualMachine.hpp index a659317bbc7..87af9f6aa74 100644 --- a/NWNXLib/API/API/CVirtualMachine.hpp +++ b/NWNXLib/API/API/CVirtualMachine.hpp @@ -17,7 +17,6 @@ struct CResGFF; struct CResStruct; struct CScriptCompiler; struct CScriptLog; -struct CScriptLog; struct CVirtualMachineCmdImplementer; struct CVirtualMachineDebuggingContext; struct CVirtualMachineDebuggerInstance; @@ -111,4 +110,3 @@ struct CVirtualMachine #ifdef NWN_API_EPILOGUE NWN_API_EPILOGUE(CVirtualMachine) #endif -