From 5ac65b425d5b1b39b29144207071a1824b699235 Mon Sep 17 00:00:00 2001 From: kwizatz <> Date: Thu, 21 Apr 2005 22:08:37 +0000 Subject: [PATCH] Added VC++ 2003 solution and project --- freesolid/FreeSOLID.sln | 21 ++ freesolid/FreeSOLID.vcproj | 446 ++++++++++++++++++++++++++++++++ freesolid/include/SOLID/types.h | 4 +- freesolid/libsolid/C-api.cpp | 2 +- 4 files changed, 469 insertions(+), 4 deletions(-) create mode 100644 freesolid/FreeSOLID.sln create mode 100644 freesolid/FreeSOLID.vcproj diff --git a/freesolid/FreeSOLID.sln b/freesolid/FreeSOLID.sln new file mode 100644 index 0000000..00f4c32 --- /dev/null +++ b/freesolid/FreeSOLID.sln @@ -0,0 +1,21 @@ +Microsoft Visual Studio Solution File, Format Version 8.00 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FreeSOLID", "FreeSOLID.vcproj", "{A8809DA4-2ADE-4948-80CD-CB766119CE5C}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfiguration) = preSolution + Debug = Debug + Release = Release + EndGlobalSection + GlobalSection(ProjectConfiguration) = postSolution + {A8809DA4-2ADE-4948-80CD-CB766119CE5C}.Debug.ActiveCfg = Debug|Win32 + {A8809DA4-2ADE-4948-80CD-CB766119CE5C}.Debug.Build.0 = Debug|Win32 + {A8809DA4-2ADE-4948-80CD-CB766119CE5C}.Release.ActiveCfg = Release|Win32 + {A8809DA4-2ADE-4948-80CD-CB766119CE5C}.Release.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + EndGlobalSection + GlobalSection(ExtensibilityAddIns) = postSolution + EndGlobalSection +EndGlobal diff --git a/freesolid/FreeSOLID.vcproj b/freesolid/FreeSOLID.vcproj new file mode 100644 index 0000000..78a5c52 --- /dev/null +++ b/freesolid/FreeSOLID.vcproj @@ -0,0 +1,446 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/freesolid/include/SOLID/types.h b/freesolid/include/SOLID/types.h index 14c3167..dcb7249 100644 --- a/freesolid/include/SOLID/types.h +++ b/freesolid/include/SOLID/types.h @@ -8,7 +8,7 @@ #ifndef SOLID_TYPES_H #define SOLID_TYPES_H -/* + #if defined(DLL_EXPORT) && defined(WIN32) #define DLL __declspec( dllexport ) #else @@ -18,9 +18,7 @@ #define DLL #endif #endif -*/ -#define DLL #define DT_DECLARE_HANDLE(name) typedef struct name##__ { int unused; } *name diff --git a/freesolid/libsolid/C-api.cpp b/freesolid/libsolid/C-api.cpp index d1a67bd..4e17034 100644 --- a/freesolid/libsolid/C-api.cpp +++ b/freesolid/libsolid/C-api.cpp @@ -153,7 +153,7 @@ void dtVertexIndices(DtPolyType type,DT_Count cnt,const DT_Index *indices) { poly = new Simplex(currentComplex->getBase(), cnt, indices); break; case DT_POLYGON: - poly = new Polygon::Polygon(currentComplex->getBase(), cnt, indices); + poly = new Polygon(currentComplex->getBase(), cnt, indices); break; case DT_POLYHEDRON: if (currentComplex->getBase().getPointer()==0) {