Skip to content

Commit

Permalink
Merge pull request #680 from mtijanic/build8193
Browse files Browse the repository at this point in the history
8193 api update
  • Loading branch information
mtijanic authored Dec 3, 2019
2 parents 1b5f0d1 + aabf978 commit 8371427
Show file tree
Hide file tree
Showing 124 changed files with 29,984 additions and 29,915 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/Build/CMa
# -DSANITIZE_ADDRESS=On
find_package(Sanitizers)

set(TARGET_NWN_BUILD 8192)
set(TARGET_NWN_BUILD 8193)
set(PLUGIN_PREFIX NWNX_)
set(NWNX64 1)

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY ./ .
# Compile nwnx
RUN Scripts/buildnwnx.sh -j $(nproc)

FROM beamdog/nwserver:8192
FROM beamdog/nwserver:8193
RUN mkdir /nwn/nwnx
COPY --from=builder /nwnx/home/Binaries/* /nwn/nwnx/

Expand Down
2 changes: 2 additions & 0 deletions NWNXLib/API/API/ALL_CLASSES.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ struct CNetLayerSessionInfo;
struct CNetLayer;
struct CNetLayerPlayerCDKeyInfo;
struct CNetLayerPlayerInfo;
struct CNWAmbientSound;
struct NWERFHEADER;
struct CERFFile;
struct CERFKey;
Expand Down Expand Up @@ -174,6 +175,7 @@ struct CExoEncapsulatedFile;
struct CExoResourceImageFile;
struct CNetLayerWindow;
struct CNetLayerInternal;
struct KXPacket;
struct IntendedConnectionData;
struct CScriptParseTreeNode;
struct CScriptParseTreeNodeBlock;
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/C2DA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#include "nwn_api.hpp"

#include "CResHelper.hpp"
#include "CResRef.hpp"
#include "CExoString.hpp"
#include "CRes2DA.hpp"
#include "CResRef.hpp"


#ifdef NWN_API_PROLOGUE
Expand Down
8 changes: 4 additions & 4 deletions NWNXLib/API/API/CAppManager.hpp
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
#pragma once
#include "nwn_api.hpp"

#include "CExoLocString.hpp"
#include "CExoString.hpp"
#include "CExoLocString.hpp"


#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CAppManager)
#endif

struct CNWReentrantServerStats;
struct CObjectTableManager;
struct CServerExoApp;
struct CNWTileSetManager;
struct CClientExoApp;
struct CNWTileSetManager;
struct CNWReentrantServerStats;
struct CServerExoApp;


typedef int BOOL;
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CBaseExoApp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "nwn_api.hpp"

#include "CExoArrayList.hpp"
#include "CExoLocString.hpp"
#include "CExoString.hpp"
#include "CExoLocString.hpp"


#ifdef NWN_API_PROLOGUE
Expand Down
4 changes: 2 additions & 2 deletions NWNXLib/API/API/CCombatInformation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
NWN_API_PROLOGUE(CCombatInformation)
#endif

struct CCombatInformationNode;
struct CResGFF;
struct CResStruct;
struct CResGFF;
struct CCombatInformationNode;


typedef int BOOL;
Expand Down
10 changes: 5 additions & 5 deletions NWNXLib/API/API/CERFFile.hpp
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#pragma once
#include "nwn_api.hpp"

#include "CERFRes.hpp"
#include "CExoLinkedList.hpp"
#include "NWERFHEADER.hpp"
#include "CERFKey.hpp"
#include "CExoLinkedList.hpp"
#include "CERFString.hpp"
#include "NWERFHEADER.hpp"
#include "CERFRes.hpp"


#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CERFFile)
#endif

struct CExoFile;
struct CExoString;
struct CRes;
struct CExoFile;


typedef uint16_t RESTYPE;
typedef int BOOL;
typedef uint16_t RESTYPE;


struct CERFFile
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CERFKey.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
NWN_API_PROLOGUE(CERFKey)
#endif

struct CExoFile;
struct CExoString;
struct CExoFile;


typedef int BOOL;
Expand Down
16 changes: 8 additions & 8 deletions NWNXLib/API/API/CExoBase.hpp
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
#pragma once
#include "nwn_api.hpp"

#include "CFileInfo.hpp"
#include "CExoArrayList.hpp"
#include "CExoString.hpp"
#include "CExoArrayList.hpp"
#include "CFileInfo.hpp"


#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CExoBase)
#endif

struct CExoAliasList;
struct CExoTimers;
struct CExoIdentity;
struct CExoConfig;
struct CExoDebug;
struct CExoIdentity;
struct CExoRand;
struct CExoBaseInternal;
struct CExoConfig;
struct CExoIni;
struct CExoBaseInternal;
struct CExoAliasList;
struct CExoTimers;


typedef uint16_t RESTYPE;
typedef int BOOL;
typedef uint16_t RESTYPE;


struct CExoBase
Expand Down
4 changes: 2 additions & 2 deletions NWNXLib/API/API/CExoBaseInternal.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once
#include "nwn_api.hpp"

#include "CFileInfo.hpp"
#include "CExoArrayList.hpp"
#include "CExoString.hpp"
#include "CExoArrayList.hpp"
#include "CFileInfo.hpp"


#ifdef NWN_API_PROLOGUE
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoEncapsulatedFile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
NWN_API_PROLOGUE(CExoEncapsulatedFile)
#endif

struct ENCAPSULATED_HEADER;
struct ENCAPSULATED_RESLISTENTRY_E1;
struct ENCAPSULATED_HEADER;


typedef int BOOL;
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoIdentity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ NWN_API_PROLOGUE(CExoIdentity)



typedef uint32_t STRREF;
typedef int BOOL;
typedef uint32_t STRREF;


struct CExoIdentity
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoInput.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ NWN_API_PROLOGUE(CExoInput)
#endif

struct CExoInputEvent;
struct CExoFile;
struct CExoInputInternal;
struct CExoFile;


typedef int BOOL;
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoInputClass.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#include "nwn_api.hpp"

#include "CExoString.hpp"
#include "CExoInputEventDesc.hpp"
#include "CExoLinkedList.hpp"
#include "CExoInputEventDesc.hpp"


#ifdef NWN_API_PROLOGUE
Expand Down
10 changes: 5 additions & 5 deletions NWNXLib/API/API/CExoKeyTable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
#include "nwn_api.hpp"

#include "CExoString.hpp"
#include "CExoLinkedList.hpp"
#include "RESID.hpp"
#include "CKeyTableInfo.hpp"
#include "CExoLinkedList.hpp"


#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CExoKeyTable)
#endif

struct CKeyTableEntry;
struct CResRef;
struct CExoPackedFile;
struct CExoStringList;
struct CResRef;
struct CRes;
struct CExoPackedFile;
struct CKeyTableEntry;


typedef uint16_t RESTYPE;
typedef int BOOL;
typedef uint16_t RESTYPE;


struct CExoKeyTable
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoLocString.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ NWN_API_PROLOGUE(CExoLocString)
struct CExoLocStringInternal;


typedef uint32_t STRREF;
typedef int BOOL;
typedef uint32_t STRREF;


struct CExoLocString
Expand Down
4 changes: 2 additions & 2 deletions NWNXLib/API/API/CExoLocStringInternal.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#pragma once
#include "nwn_api.hpp"

#include "EXOLOCSTRING.hpp"
#include "CExoString.hpp"
#include "CExoLinkedList.hpp"
#include "CExoString.hpp"
#include "EXOLOCSTRING.hpp"


#ifdef NWN_API_PROLOGUE
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoResFile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
NWN_API_PROLOGUE(CExoResFile)
#endif

struct BIFFFILE_HEADER;
struct BIFFFILE_VARRESENTRY_E1;
struct BIFFFILE_HEADER;


typedef int BOOL;
Expand Down
26 changes: 13 additions & 13 deletions NWNXLib/API/API/CExoResMan.hpp
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
#pragma once
#include "nwn_api.hpp"

#include "CExoArrayList.hpp"
#include "CNWSync.hpp"
#include "CExoString.hpp"
#include "CExoLinkedList.hpp"
#include "CRes.hpp"
#include "CNWSync.hpp"
#include "CExoLocString.hpp"
#include "RESID.hpp"
#include "CExoArrayList.hpp"
#include "CRes.hpp"
#include "CExoLinkedList.hpp"


#ifdef NWN_API_PROLOGUE
NWN_API_PROLOGUE(CExoResMan)
#endif

struct CExoStringList;
struct CResRef;
struct CExoKeyTable;
struct CKeyTableEntry;
struct CResRef;
struct CExoFile;
struct CExoStringList;
struct CExoKeyTable;
struct CExoFile;


typedef uint16_t RESTYPE;
typedef int BOOL;
typedef uint16_t RESTYPE;


struct CExoResMan
{
int32_t m_nTotalPhysicalMemory;
int32_t m_nTotalAvailableMemory;
int32_t m_nAvailableMemory;
int64_t m_nTotalPhysicalMemory;
int64_t m_nTotalAvailableMemory;
int64_t m_nAvailableMemory;
CExoArrayList<CExoKeyTable *> m_pKeyTables;
CExoLinkedList<CRes> m_lstToBeFreed;
CExoLinkedList<CRes> m_lstAsyncResQueue;
Expand Down Expand Up @@ -59,7 +59,7 @@ struct CExoResMan
CExoStringList * GetResOfType(RESTYPE nType, BOOL bERFOnly = false);
CExoStringList * GetResOfType(RESTYPE nType, CRes * pRes);
RESID GetResID(const CResRef & cResRef, RESTYPE nType);
uint32_t GetTotalPhysicalMemory();
int64_t GetTotalPhysicalMemory();
int32_t ReleaseResObject(CRes * pRes, bool bDontCache = false);
BOOL RemoveEncapsulatedResourceFile(const CExoString & sName, BOOL bEmitWarningOnFailure = true);
BOOL RemoveResourceImageFile(const CExoString & sName);
Expand All @@ -68,7 +68,7 @@ struct CExoResMan
BOOL RemoveManifest(const CExoString & sManifestHash);
void ResumeServicing();
void SetResObject(const CResRef & cResRef, RESTYPE nType, CRes * pNewRes);
BOOL SetTotalResourceMemory(int32_t totalAvailableMemory);
BOOL SetTotalResourceMemory(int64_t totalAvailableMemory);
void SuspendServicing();
void Update(uint32_t nTimeSlice);
BOOL UpdateEncapsulatedResourceFile(const CExoString & sName);
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CExoResourceImageFile.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once
#include "nwn_api.hpp"

#include "ENCAPSULATED_KEYLISTENTRY.hpp"
#include "RESID.hpp"
#include "ENCAPSULATED_KEYLISTENTRY.hpp"
#include "CExoPackedFile.hpp"


Expand Down
4 changes: 2 additions & 2 deletions NWNXLib/API/API/CFactionManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
NWN_API_PROLOGUE(CFactionManager)
#endif

struct CExoString;
struct CResList;
struct CNWSFaction;
struct CResGFF;
struct CResList;
struct CExoString;
struct CNWSFaction;


Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CGameEffect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
NWN_API_PROLOGUE(CGameEffect)
#endif

struct CResGFF;
struct CResStruct;
struct CResGFF;


typedef int BOOL;
Expand Down
2 changes: 1 addition & 1 deletion NWNXLib/API/API/CGameEffectApplierRemover.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
NWN_API_PROLOGUE(CGameEffectApplierRemover)
#endif

struct CNWSObject;
struct CGameEffect;
struct CNWSObject;


typedef int BOOL;
Expand Down
Loading

0 comments on commit 8371427

Please sign in to comment.