Hi!
I have a C++ function that I use in one of my apps that is written with DGDK. Now I would use the same function in VB.net with DGDK.Net. The problem is I don't know how to convert some of the things over, for example:
#include "globstruct.h"
bool CreateNewObject ( int iID, LPSTR pName, int iFrame );
sObject* dbGetObject ( int iID );
bool SetupMeshFVFData ( sMesh* pMesh, DWORD dwFVF, DWORD dwVertexCount, DWORD dwIndexCount );
bool SetupStandardVertex ( DWORD dwFVF, BYTE* pVertex, int iOffset, float x, float y, float z, float nx, float ny, float nz, DWORD dwDiffuseColour, float tu, float tv );
bool SetNewObjectFinalProperties ( int iID, float fRadius );
void SetTexture ( int iID, int iImage );
My main function uses these functions from the DGDK. How to I "export them" or call them from VB.Net w/ DGDK.Net?