This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated to newest FragmentFramework library - Added argument structure for better thread safety - Added thread breakpoints (app will shut down thread on exit) - Added VisualStudio 2013 project files
- Loading branch information
Matus Novak
committed
Aug 19, 2015
1 parent
47024ed
commit 7be213e
Showing
235 changed files
with
11,463 additions
and
13,231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,38 @@ | ||
# Compiled Object files | ||
*.obj | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
*.o | ||
|
||
log.txt | ||
# Visual Studio | ||
*.pdb | ||
*.ilk | ||
*.sdf | ||
*.suo | ||
*.log | ||
*.tlog | ||
*.ipch | ||
*.pdb | ||
*.exp | ||
*.opensdf | ||
*.user | ||
*.filters | ||
*.exe.manifest | ||
|
||
objects/ | ||
*.exe | ||
log.txt | ||
|
||
third-party-libs/wxWidgets | ||
!FragmentFramework.exp | ||
!FragmentFramework.pdb | ||
!FragmentFramework-debug.exp | ||
!FragmentFramework-debug.pdb | ||
|
||
# Code::Blocks files | ||
# Code::Blocks | ||
*.layout | ||
*.save | ||
*.save-failed | ||
*.save-fail | ||
*.depend | ||
|
||
objects/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Express 2013 for Windows Desktop | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SM2OBJ", "SM2OBJ.vcxproj", "{DC37F45B-306F-41D5-930D-82C708856CF1}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Win32 = Debug|Win32 | ||
Release|Win32 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{DC37F45B-306F-41D5-930D-82C708856CF1}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{DC37F45B-306F-41D5-930D-82C708856CF1}.Debug|Win32.Build.0 = Debug|Win32 | ||
{DC37F45B-306F-41D5-930D-82C708856CF1}.Release|Win32.ActiveCfg = Release|Win32 | ||
{DC37F45B-306F-41D5-930D-82C708856CF1}.Release|Win32.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup Label="ProjectConfigurations"> | ||
<ProjectConfiguration Include="Debug|Win32"> | ||
<Configuration>Debug</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
<ProjectConfiguration Include="Release|Win32"> | ||
<Configuration>Release</Configuration> | ||
<Platform>Win32</Platform> | ||
</ProjectConfiguration> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>{DC37F45B-306F-41D5-930D-82C708856CF1}</ProjectGuid> | ||
<Keyword>Win32Proj</Keyword> | ||
<RootNamespace>MySM2OBJ</RootNamespace> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v120</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>Application</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v120</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> | ||
<ImportGroup Label="ExtensionSettings"> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> | ||
</ImportGroup> | ||
<PropertyGroup Label="UserMacros" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<LinkIncremental>true</LinkIncremental> | ||
<OutDir>release\</OutDir> | ||
<IntDir>objects\release\msvc</IntDir> | ||
<TargetName>SM2OBJ-debug</TargetName> | ||
<EmbedManifest>false</EmbedManifest> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<LinkIncremental>false</LinkIncremental> | ||
<OutDir>release\</OutDir> | ||
<IntDir>objects\debug\msvc</IntDir> | ||
<TargetName>SM2OBJ</TargetName> | ||
<EmbedManifest>false</EmbedManifest> | ||
</PropertyGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
<WarningLevel>Level3</WarningLevel> | ||
<Optimization>Disabled</Optimization> | ||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<SDLCheck>true</SDLCheck> | ||
<AdditionalIncludeDirectories>dependencies\zlib\include;dependencies\FragmentFramework\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<AdditionalDependencies>FragmentFramework-debug.lib;libz.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>dependencies\zlib\lib\msvc;dependencies\FragmentFramework\lib\msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<PrecompiledHeader>NotUsing</PrecompiledHeader> | ||
<Optimization>MaxSpeed</Optimization> | ||
<FunctionLevelLinking>true</FunctionLevelLinking> | ||
<IntrinsicFunctions>true</IntrinsicFunctions> | ||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<SDLCheck>true</SDLCheck> | ||
<AdditionalIncludeDirectories>dependencies\zlib\include;dependencies\FragmentFramework\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Windows</SubSystem> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<AdditionalDependencies>FragmentFramework.lib;libz.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>dependencies\zlib\lib\msvc;dependencies\FragmentFramework\lib\msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
<EntryPointSymbol>main</EntryPointSymbol> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemGroup> | ||
<ClCompile Include="source\defaults.cpp" /> | ||
<ClCompile Include="source\exporter\blockConfig.cpp" /> | ||
<ClCompile Include="source\exporter\blockConstructor.cpp" /> | ||
<ClCompile Include="source\exporter\blockExtractor.cpp" /> | ||
<ClCompile Include="source\exporter\blockVerticeData.cpp" /> | ||
<ClCompile Include="source\exporter\chunkHeader.cpp" /> | ||
<ClCompile Include="source\exporter\chunkLoader.cpp" /> | ||
<ClCompile Include="source\exporter\chunkTempLoader.cpp" /> | ||
<ClCompile Include="source\exporter\config.cpp" /> | ||
<ClCompile Include="source\exporter\exportBlueprint.cpp" /> | ||
<ClCompile Include="source\exporter\loadMeta.cpp" /> | ||
<ClCompile Include="source\exporter\materialExport.cpp" /> | ||
<ClCompile Include="source\exporter\polygonFiltering.cpp" /> | ||
<ClCompile Include="source\exporter\textureExport.cpp" /> | ||
<ClCompile Include="source\main.cpp" /> | ||
<ClCompile Include="source\window.cpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClInclude Include="source\defaults.h" /> | ||
<ClInclude Include="source\exporter\blockConfig.h" /> | ||
<ClInclude Include="source\exporter\blockConstructor.h" /> | ||
<ClInclude Include="source\exporter\blockExtractor.h" /> | ||
<ClInclude Include="source\exporter\blockVerticeData.h" /> | ||
<ClInclude Include="source\exporter\chunkHeader.h" /> | ||
<ClInclude Include="source\exporter\chunkLoader.h" /> | ||
<ClInclude Include="source\exporter\chunkTempLoader.h" /> | ||
<ClInclude Include="source\exporter\config.h" /> | ||
<ClInclude Include="source\exporter\exportBlueprint.h" /> | ||
<ClInclude Include="source\exporter\loadMeta.h" /> | ||
<ClInclude Include="source\exporter\materialExport.h" /> | ||
<ClInclude Include="source\exporter\polygonFiltering.h" /> | ||
<ClInclude Include="source\exporter\textureExport.h" /> | ||
<ClInclude Include="source\window.hpp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ResourceCompile Include="resources\resources.rc" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Manifest Include="resources\application.manifest" /> | ||
</ItemGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#ifndef FFW_CONFIG | ||
#define FFW_CONFIG | ||
|
||
#if __cplusplus < 201103L | ||
// #error This library needs at least a C++11 compliant compiler | ||
#endif | ||
|
||
#define UNICODE 1 | ||
|
||
#ifdef FFW_EXPORTS | ||
#define FFW_API __declspec(dllexport) | ||
#else | ||
#define FFW_API __declspec(dllimport) | ||
#endif | ||
|
||
#ifdef _MSC_VER | ||
#define _USING_MSVC | ||
#pragma warning( disable: 4251 ) | ||
#endif | ||
#ifdef __MINGW32__ | ||
#define _USING_MINGW | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/* | ||
* This file is part of FragmentFramework framework. | ||
* Copyright (C) 2013-2015 by Matus Novak [email protected] | ||
* Licensed under the MIT License | ||
*/ | ||
|
||
#ifndef FRAGMENT_FRAMEWORK | ||
#define FRAGMENT_FRAMEWORK | ||
|
||
#include "config.h" | ||
#include "gl/monitors.hpp" | ||
#include "gl/extensions.hpp" | ||
#include "graphics/basicDraw.hpp" | ||
#include "graphics/bufferObjectPool.hpp" | ||
#include "graphics/bufferObject.hpp" | ||
#include "graphics/framebuffer.hpp" | ||
#include "graphics/shader.hpp" | ||
#include "graphics/texture2D.hpp" | ||
#include "graphics/texture2DArray.hpp" | ||
#include "graphics/font.hpp" | ||
#include "math/math.h" | ||
#include "network/networkUtils.hpp" | ||
#include "network/udpListener.hpp" | ||
#include "network/udpSender.hpp" | ||
#include "network/tcpServer.hpp" | ||
#include "network/tcpClient.hpp" | ||
#include "serial/serialManager.hpp" | ||
#include "systemUserInterface/uiWindow.hpp" | ||
#include "systemUserInterface/uiButton.hpp" | ||
#include "systemUtils/directory.hpp" | ||
#include "systemUtils/win32SysUtils.hpp" | ||
#include "utilities/fileUtilities.hpp" | ||
#include "fileLoaders/bmpFile.hpp" | ||
#include "fileLoaders/jsonFile.hpp" | ||
#include "fileLoaders/objFile.hpp" | ||
#include "fileLoaders/pbmFile.hpp" | ||
#include "fileLoaders/pngFile.hpp" | ||
#include "fileLoaders/jpgFile.hpp" | ||
#include "fileLoaders/txtFile.hpp" | ||
#include "fileLoaders/tgaFile.hpp" | ||
#include "fileLoaders/tiffFile.hpp" | ||
#include "fileLoaders/wavFile.hpp" | ||
#include "fileLoaders/xmlFile.hpp" | ||
#include "fileLoaders/oggFile.hpp" | ||
#include "utilities/file.hpp" | ||
#include "utilities/logger.hpp" | ||
#include "utilities/thread.hpp" | ||
#include "utilities/usleep.hpp" | ||
#include "utilities/mutex.hpp" | ||
#include "utilities/timer.hpp" | ||
#include "utilities/serialization.hpp" | ||
#include "render/renderContext.hpp" | ||
#include "render/appRenderWindow.hpp" | ||
|
||
#endif |
Oops, something went wrong.