Compare commits
6 Commits
JointsServ
...
SplashHTML
| Author | SHA1 | Date | |
|---|---|---|---|
| 359af6326b | |||
|
|
cb6be1e183 | ||
|
|
6f9e9da771 | ||
| 88176d317c | |||
| 9dc3577bc8 | |||
| 3bdef8e3ab |
25
.github/workflows/sync-develop.yml
vendored
@@ -1,25 +0,0 @@
|
|||||||
name: Sync Back to Develop
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync-branches:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Syncing branches
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
- name: Set up Node
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 12
|
|
||||||
- name: Opening pull request
|
|
||||||
id: pull
|
|
||||||
uses: tretuna/sync-branches@1.2.0
|
|
||||||
with:
|
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
|
||||||
FROM_BRANCH: 'master'
|
|
||||||
TO_BRANCH: 'develop'
|
|
||||||
11
.gitignore
vendored
@@ -39,11 +39,6 @@
|
|||||||
*.res
|
*.res
|
||||||
*.ilk
|
*.ilk
|
||||||
*.dep
|
*.dep
|
||||||
*.bin
|
|
||||||
*.7z
|
|
||||||
|
|
||||||
# ResEditor files
|
|
||||||
*.aps
|
|
||||||
|
|
||||||
/Debug
|
/Debug
|
||||||
/Release
|
/Release
|
||||||
@@ -55,10 +50,12 @@ G3DTest.suo
|
|||||||
G3DTest.suo
|
G3DTest.suo
|
||||||
stderr.txt
|
stderr.txt
|
||||||
desktop.ini
|
desktop.ini
|
||||||
|
UpgradeLog.XML
|
||||||
|
/_UpgradeReport_Files
|
||||||
|
/.vs
|
||||||
|
*.7.10.old
|
||||||
*.db
|
*.db
|
||||||
|
|
||||||
#Redist
|
#Redist
|
||||||
!Installer/Redist/*
|
!Installer/Redist/*
|
||||||
UpgradeLog.htm
|
UpgradeLog.htm
|
||||||
click_output.JPEG
|
|
||||||
click_output.PNG
|
|
||||||
|
|||||||
20
Backup/Blocks3D.sln
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 9.00
|
||||||
|
# Visual C++ Express 2005
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Blocks3D", "Blocks3D.vcproj", "{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Win32 = Debug|Win32
|
||||||
|
Release|Win32 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
|
<assemblyIdentity
|
||||||
|
version="0.0.106.2"
|
||||||
|
processorArchitecture="*"
|
||||||
|
name="Blocks3D.Blocks3D.Blocks3D"
|
||||||
|
type="win32"
|
||||||
|
/>
|
||||||
<dependency>
|
<dependency>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
|
||||||
|
|||||||
112
Blocks3D.vcproj
@@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="8,00"
|
Version="8.00"
|
||||||
Name="Blocks3D"
|
Name="Blocks3D"
|
||||||
ProjectGUID="{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}"
|
ProjectGUID="{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}"
|
||||||
RootNamespace="Blocks3D"
|
RootNamespace="Blocks3D"
|
||||||
@@ -49,11 +49,7 @@
|
|||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="2"
|
Optimization="2"
|
||||||
InlineFunctionExpansion="2"
|
InlineFunctionExpansion="1"
|
||||||
EnableIntrinsicFunctions="true"
|
|
||||||
FavorSizeOrSpeed="1"
|
|
||||||
OmitFramePointers="true"
|
|
||||||
WholeProgramOptimization="true"
|
|
||||||
AdditionalIncludeDirectories="".\src\include""
|
AdditionalIncludeDirectories="".\src\include""
|
||||||
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS"
|
||||||
StringPooling="true"
|
StringPooling="true"
|
||||||
@@ -79,17 +75,12 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Advapi32.lib Comctl32.lib Comdlg32.lib Shell32.lib ode.lib Ole32.lib"
|
AdditionalDependencies="Advapi32.lib Comctl32.lib Comdlg32.lib Shell32.lib ode.lib OPCODE.lib Ole32.lib"
|
||||||
OutputFile="./Blocks3D.exe"
|
OutputFile="./Blocks3D.exe"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
ProgramDatabaseFile=".\Release/Blocks3D.pdb"
|
ProgramDatabaseFile=".\Release/Blocks3D.pdb"
|
||||||
SubSystem="2"
|
SubSystem="2"
|
||||||
StackReserveSize="16777216"
|
|
||||||
OptimizeReferences="2"
|
|
||||||
EnableCOMDATFolding="2"
|
|
||||||
OptimizeForWindows98="2"
|
|
||||||
LinkTimeCodeGeneration="1"
|
|
||||||
TargetMachine="1"
|
TargetMachine="1"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -181,14 +172,13 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
AdditionalDependencies="Advapi32.lib UxTheme.lib Comctl32.lib Comdlg32.lib Shell32.lib Urlmon.lib ole32.lib oleaut32.lib uuid.lib oded.lib"
|
AdditionalDependencies="Advapi32.lib UxTheme.lib Comctl32.lib Comdlg32.lib Shell32.lib Urlmon.lib ole32.lib oleaut32.lib uuid.lib ode.lib OPCODE.lib"
|
||||||
OutputFile="./Blocks3D-Debug.exe"
|
OutputFile="./Blocks3D-Debug.exe"
|
||||||
LinkIncremental="2"
|
LinkIncremental="2"
|
||||||
SuppressStartupBanner="true"
|
SuppressStartupBanner="true"
|
||||||
GenerateDebugInformation="true"
|
GenerateDebugInformation="true"
|
||||||
ProgramDatabaseFile=".\Debug/Blocks3D.pdb"
|
ProgramDatabaseFile=".\Debug/Blocks3D.pdb"
|
||||||
SubSystem="1"
|
SubSystem="1"
|
||||||
StackReserveSize="16777216"
|
|
||||||
TargetMachine="1"
|
TargetMachine="1"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@@ -302,6 +292,10 @@
|
|||||||
RelativePath=".\src\source\Renderer.cpp"
|
RelativePath=".\src\source\Renderer.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\src\source\SplashHTML.cpp"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\source\StringFunctions.cpp"
|
RelativePath=".\src\source\StringFunctions.cpp"
|
||||||
>
|
>
|
||||||
@@ -321,10 +315,6 @@
|
|||||||
RelativePath=".\src\source\Tool\ArrowTool.cpp"
|
RelativePath=".\src\source\Tool\ArrowTool.cpp"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\Tool\DraggerTool.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\source\Tool\SurfaceTool.cpp"
|
RelativePath=".\src\source\Tool\SurfaceTool.cpp"
|
||||||
>
|
>
|
||||||
@@ -439,10 +429,6 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\DataModelV2\JointsService.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\source\DataModelV2\LevelInstance.cpp"
|
RelativePath=".\src\source\DataModelV2\LevelInstance.cpp"
|
||||||
>
|
>
|
||||||
@@ -465,10 +451,6 @@
|
|||||||
/>
|
/>
|
||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\DataModelV2\LightingInstance.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\source\DataModelV2\PartInstance.cpp"
|
RelativePath=".\src\source\DataModelV2\PartInstance.cpp"
|
||||||
>
|
>
|
||||||
@@ -514,23 +496,7 @@
|
|||||||
</FileConfiguration>
|
</FileConfiguration>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\source\DataModelV2\SelectionService.cpp"
|
RelativePath=".\src\source\DataModel\SelectionService.cpp"
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\DataModelV2\SnapInstance.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\DataModelV2\SoundInstance.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\DataModelV2\SoundService.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\ThumbnailGeneratorInstance.cpp"
|
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
<File
|
||||||
@@ -694,14 +660,6 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
|
||||||
Name="Helpers"
|
|
||||||
>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\source\base64.cpp"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Header Files"
|
Name="Header Files"
|
||||||
@@ -771,6 +729,10 @@
|
|||||||
RelativePath=".\src\include\resource.h"
|
RelativePath=".\src\include\resource.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\src\include\SplashHTML.h"
|
||||||
|
>
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\StringFunctions.h"
|
RelativePath=".\src\include\StringFunctions.h"
|
||||||
>
|
>
|
||||||
@@ -779,18 +741,6 @@
|
|||||||
RelativePath=".\src\include\TextureHandler.h"
|
RelativePath=".\src\include\TextureHandler.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\ToolEnum.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\versioning.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\VS2005CompatShim.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\win32Defines.h"
|
RelativePath=".\src\include\win32Defines.h"
|
||||||
>
|
>
|
||||||
@@ -866,10 +816,6 @@
|
|||||||
RelativePath=".\src\include\Tool\ArrowTool.h"
|
RelativePath=".\src\include\Tool\ArrowTool.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\Tool\DraggerTool.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\Tool\SurfaceTool.h"
|
RelativePath=".\src\include\Tool\SurfaceTool.h"
|
||||||
>
|
>
|
||||||
@@ -894,18 +840,10 @@
|
|||||||
RelativePath=".\src\include\DataModelV2\Instance.h"
|
RelativePath=".\src\include\DataModelV2\Instance.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\JointsService.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\DataModelV2\LevelInstance.h"
|
RelativePath=".\src\include\DataModelV2\LevelInstance.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\LightingInstance.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\DataModelV2\PartInstance.h"
|
RelativePath=".\src\include\DataModelV2\PartInstance.h"
|
||||||
>
|
>
|
||||||
@@ -918,22 +856,6 @@
|
|||||||
RelativePath=".\src\include\DataModelV2\SelectionService.h"
|
RelativePath=".\src\include\DataModelV2\SelectionService.h"
|
||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\SnapInstance.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\SoundInstance.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\SoundService.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\DataModelV2\ThumbnailGeneratorInstance.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
<File
|
<File
|
||||||
RelativePath=".\src\include\DataModelV2\WorkspaceInstance.h"
|
RelativePath=".\src\include\DataModelV2\WorkspaceInstance.h"
|
||||||
>
|
>
|
||||||
@@ -987,14 +909,6 @@
|
|||||||
>
|
>
|
||||||
</File>
|
</File>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
|
||||||
Name="Helpers"
|
|
||||||
>
|
|
||||||
<File
|
|
||||||
RelativePath=".\src\include\base64.h"
|
|
||||||
>
|
|
||||||
</File>
|
|
||||||
</Filter>
|
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter
|
<Filter
|
||||||
Name="Resource Files"
|
Name="Resource Files"
|
||||||
|
|||||||
340
Blocks3D.vcxproj
Normal file
@@ -0,0 +1,340 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="Current" 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">
|
||||||
|
<VCProjectVersion>17.0</VCProjectVersion>
|
||||||
|
<ProjectGuid>{6C4D6EEF-B1D1-456A-B850-92CAB17124BE}</ProjectGuid>
|
||||||
|
<RootNamespace>Blocks3D</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
<CLRSupport>false</CLRSupport>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<UseOfMfc>false</UseOfMfc>
|
||||||
|
<UseOfAtl>false</UseOfAtl>
|
||||||
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
<Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<_ProjectFileVersion>17.0.32505.173</_ProjectFileVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<OutDir>.\Release\</OutDir>
|
||||||
|
<IntDir>.\Release\</IntDir>
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<OutDir>.\Debug\</OutDir>
|
||||||
|
<IntDir>.\Debug\</IntDir>
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>Win32</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Release/Blocks3D.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName />
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
|
<AdditionalIncludeDirectories>.\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Release/Blocks3D.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\Release/</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\Release/</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\Release/</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>Advapi32.lib;Comctl32.lib;Comdlg32.lib;Shell32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>./Blocks3D.exe</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<ProgramDatabaseFile>.\Release/Blocks3D.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Release/Blocks3D.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Midl>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MkTypLibCompatible>true</MkTypLibCompatible>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<TargetEnvironment>Win32</TargetEnvironment>
|
||||||
|
<TypeLibraryName>.\Debug/Blocks3D.tlb</TypeLibraryName>
|
||||||
|
<HeaderFileName />
|
||||||
|
</Midl>
|
||||||
|
<ClCompile>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<AdditionalIncludeDirectories>.\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<MinimalRebuild>false</MinimalRebuild>
|
||||||
|
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
|
||||||
|
<FunctionLevelLinking>false</FunctionLevelLinking>
|
||||||
|
<PrecompiledHeaderOutputFile>.\Debug/Blocks3D.pch</PrecompiledHeaderOutputFile>
|
||||||
|
<AssemblerListingLocation>.\Debug/</AssemblerListingLocation>
|
||||||
|
<ObjectFileName>.\Debug/</ObjectFileName>
|
||||||
|
<ProgramDataBaseFileName>.\Debug/</ProgramDataBaseFileName>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
|
</ClCompile>
|
||||||
|
<ResourceCompile>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<Culture>0x1009</Culture>
|
||||||
|
</ResourceCompile>
|
||||||
|
<Link>
|
||||||
|
<AdditionalDependencies>Advapi32.lib;UxTheme.lib;Comctl32.lib;Comdlg32.lib;Shell32.lib;Urlmon.lib;ole32.lib;oleaut32.lib;uuid.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
|
<OutputFile>./Blocks3D-Debug.exe</OutputFile>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<ProgramDatabaseFile>.\Debug/Blocks3D.pdb</ProgramDatabaseFile>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<TargetMachine>MachineX86</TargetMachine>
|
||||||
|
</Link>
|
||||||
|
<Bscmake>
|
||||||
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
|
<OutputFile>.\Debug/Blocks3D.bsc</OutputFile>
|
||||||
|
</Bscmake>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<CopyLocalSatelliteAssemblies>true</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="src\source\Application.cpp" />
|
||||||
|
<ClCompile Include="src\source\AudioPlayer.cpp" />
|
||||||
|
<ClCompile Include="src\source\ax.cpp" />
|
||||||
|
<ClCompile Include="src\source\BrowserCallHandler.cpp" />
|
||||||
|
<ClCompile Include="src\source\CameraController.cpp" />
|
||||||
|
<ClCompile Include="src\source\DataModelV2\BaseButtonInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\BaseGuiInstance.cpp" />
|
||||||
|
<ClCompile Include="src\source\DataModelV2\DataModelInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\GroupInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\GuiRootInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\ImageButtonInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\Instance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\LevelInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\PartInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\PVInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\TextButtonInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\ToggleImageButtonInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\WorkspaceInstance.cpp">
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
<ObjectFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.obj</ObjectFileName>
|
||||||
|
<XMLDocumentationFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(IntDir)%(Filename)1.xdc</XMLDocumentationFileName>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\ErrorFunctions.cpp" />
|
||||||
|
<ClCompile Include="src\source\Globals.cpp" />
|
||||||
|
<ClCompile Include="src\source\IEBrowser.cpp" />
|
||||||
|
<ClCompile Include="src\source\IEDispatcher.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\ButtonListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\CameraButtonListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\DeleteListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\GUDButtonListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\MenuButtonListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\ModeSelectionListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\RotateButtonListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\Listener\ToolbarListener.cpp" />
|
||||||
|
<ClCompile Include="src\source\main.cpp" />
|
||||||
|
<ClCompile Include="src\source\Mouse.cpp" />
|
||||||
|
<ClCompile Include="src\source\Properties\BoolProperty.cpp" />
|
||||||
|
<ClCompile Include="src\source\Properties\Property.cpp" />
|
||||||
|
<ClCompile Include="src\source\propertyGrid.cpp" />
|
||||||
|
<ClCompile Include="src\source\PropertyWindow.cpp" />
|
||||||
|
<ClCompile Include="src\source\Renderer.cpp" />
|
||||||
|
<ClCompile Include="src\source\StringFunctions.cpp" />
|
||||||
|
<ClCompile Include="src\source\TextureHandler.cpp" />
|
||||||
|
<ClCompile Include="src\source\Tool\ArrowTool.cpp" />
|
||||||
|
<ClCompile Include="src\source\Tool\SurfaceTool.cpp" />
|
||||||
|
<ClCompile Include="src\source\Tool\Tool.cpp" />
|
||||||
|
<ClCompile Include="src\source\WindowFunctions.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="resource.h" />
|
||||||
|
<ClInclude Include="src\include\Application.h" />
|
||||||
|
<ClInclude Include="src\include\AudioPlayer.h" />
|
||||||
|
<ClInclude Include="src\include\ax.h" />
|
||||||
|
<ClInclude Include="src\include\BrowserCallHandler.h" />
|
||||||
|
<ClInclude Include="src\include\CameraController.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\BaseButtonInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\BaseGuiInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\DataModelInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\GroupInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\GuiRootInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\ImageButtonInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\Instance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\LevelInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\PartInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\PVInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\TextButtonInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\ToggleImageButtonInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModelV2\WorkspaceInstance.h" />
|
||||||
|
<ClInclude Include="src\include\DataModel\WorkspaceInstance.h" />
|
||||||
|
<ClInclude Include="src\include\Enum.h" />
|
||||||
|
<ClInclude Include="src\include\ErrorFunctions.h" />
|
||||||
|
<ClInclude Include="src\include\Faces.h" />
|
||||||
|
<ClInclude Include="src\include\Globals.h" />
|
||||||
|
<ClInclude Include="src\include\IEBrowser.h" />
|
||||||
|
<ClInclude Include="src\include\IEDispatcher.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\ButtonListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\CameraButtonListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\DeleteListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\GUDButtonListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\MenuButtonListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\ModeSelectionListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\RotateButtonListener.h" />
|
||||||
|
<ClInclude Include="src\include\Listener\ToolbarListener.h" />
|
||||||
|
<ClInclude Include="src\include\Mouse.h" />
|
||||||
|
<ClInclude Include="src\include\Properties\BoolProperty.h" />
|
||||||
|
<ClInclude Include="src\include\Properties\Property.h" />
|
||||||
|
<ClInclude Include="src\include\propertyGrid.h" />
|
||||||
|
<ClInclude Include="src\include\PropertyWindow.h" />
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml.hpp" />
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_iterators.hpp" />
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_print.hpp" />
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_utils.hpp" />
|
||||||
|
<ClInclude Include="src\include\Renderer.h" />
|
||||||
|
<ClInclude Include="src\include\StringFunctions.h" />
|
||||||
|
<ClInclude Include="src\include\TextureHandler.h" />
|
||||||
|
<ClInclude Include="src\include\Tool\ArrowTool.h" />
|
||||||
|
<ClInclude Include="src\include\Tool\SurfaceTool.h" />
|
||||||
|
<ClInclude Include="src\include\Tool\Tool.h" />
|
||||||
|
<ClInclude Include="src\include\win32Defines.h" />
|
||||||
|
<ClInclude Include="src\include\WindowFunctions.h" />
|
||||||
|
<ClInclude Include="src\include\winver.h" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="B3dIcon.ico" />
|
||||||
|
<None Include="FatB3dIcon.ico" />
|
||||||
|
<None Include="Parts.bmp" />
|
||||||
|
<None Include="roblox_RN1_icon.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="Dialogs.rc" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
<ProjectExtensions>
|
||||||
|
<VisualStudio>
|
||||||
|
<UserProperties RESOURCE_FILE="Dialogs.rc" />
|
||||||
|
</VisualStudio>
|
||||||
|
</ProjectExtensions>
|
||||||
|
</Project>
|
||||||
358
Blocks3D.vcxproj.filters
Normal file
@@ -0,0 +1,358 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<Filter Include="Source Files">
|
||||||
|
<UniqueIdentifier>{9571c986-a719-4aa9-8f06-edd22511bbbf}</UniqueIdentifier>
|
||||||
|
<Extensions>cpp;c;cxx;rc;def;r;odl;idl;hpj;bat</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\Tool">
|
||||||
|
<UniqueIdentifier>{10225c23-5e14-45ed-aa65-5e2952d83749}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\Listener">
|
||||||
|
<UniqueIdentifier>{9a362f2a-3ea4-4130-80e1-c7dae14a8862}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\DataModelV2">
|
||||||
|
<UniqueIdentifier>{018ed0d2-9b98-424f-9af8-172600aa12e3}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\DataModelV2\Gui">
|
||||||
|
<UniqueIdentifier>{870b4a49-cf43-4f47-8321-f48d7b01816b}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Source Files\Properties">
|
||||||
|
<UniqueIdentifier>{7d5f8016-5447-4c00-b9cd-d2c5bb2e59b8}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files">
|
||||||
|
<UniqueIdentifier>{f959d8b8-bb6a-4c70-ad2c-f1c66758c461}</UniqueIdentifier>
|
||||||
|
<Extensions>h;hpp;hxx;hm;inl</Extensions>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\RapidXML">
|
||||||
|
<UniqueIdentifier>{6db93330-5b80-4675-8d44-4db372d9d5b5}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\Listener">
|
||||||
|
<UniqueIdentifier>{8bb34ca3-25fe-465c-a77e-8057005450b0}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\Tool">
|
||||||
|
<UniqueIdentifier>{b00aefef-dafe-4dc3-8aec-d5a4d56dd2e0}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\DataModelV2">
|
||||||
|
<UniqueIdentifier>{c13ee511-5b6b-4b79-8402-31323e149b75}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\DataModelV2\Gui">
|
||||||
|
<UniqueIdentifier>{2414eb84-1360-4601-af93-51eb6639ba14}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Header Files\Properties">
|
||||||
|
<UniqueIdentifier>{1ff12666-0b54-4e78-8a68-43853c4f7f12}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="Resource Files">
|
||||||
|
<UniqueIdentifier>{f27a93e2-d403-4b4e-ac57-4081d78febbc}</UniqueIdentifier>
|
||||||
|
<Extensions>ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe</Extensions>
|
||||||
|
</Filter>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="src\source\Application.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\AudioPlayer.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\ax.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\BrowserCallHandler.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\CameraController.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\ErrorFunctions.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Globals.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\IEBrowser.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\IEDispatcher.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\main.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Mouse.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\propertyGrid.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\PropertyWindow.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Renderer.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\StringFunctions.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\TextureHandler.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\WindowFunctions.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Tool\ArrowTool.cpp">
|
||||||
|
<Filter>Source Files\Tool</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Tool\SurfaceTool.cpp">
|
||||||
|
<Filter>Source Files\Tool</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Tool\Tool.cpp">
|
||||||
|
<Filter>Source Files\Tool</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\ButtonListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\CameraButtonListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\DeleteListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\GUDButtonListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\MenuButtonListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\ModeSelectionListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\RotateButtonListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Listener\ToolbarListener.cpp">
|
||||||
|
<Filter>Source Files\Listener</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\DataModelInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\GroupInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\Instance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\LevelInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\PartInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\PVInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\WorkspaceInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\BaseButtonInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\BaseGuiInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\GuiRootInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\ImageButtonInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\TextButtonInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\DataModelV2\ToggleImageButtonInstance.cpp">
|
||||||
|
<Filter>Source Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Properties\BoolProperty.cpp">
|
||||||
|
<Filter>Source Files\Properties</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="src\source\Properties\Property.cpp">
|
||||||
|
<Filter>Source Files\Properties</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClInclude Include="src\include\Application.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\AudioPlayer.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\ax.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\BrowserCallHandler.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\CameraController.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Enum.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\ErrorFunctions.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Faces.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Globals.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\IEBrowser.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\IEDispatcher.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Mouse.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\propertyGrid.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\PropertyWindow.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Renderer.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="resource.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\StringFunctions.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\TextureHandler.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\win32Defines.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\WindowFunctions.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\winver.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml.hpp">
|
||||||
|
<Filter>Header Files\RapidXML</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_iterators.hpp">
|
||||||
|
<Filter>Header Files\RapidXML</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_print.hpp">
|
||||||
|
<Filter>Header Files\RapidXML</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\rapidxml\rapidxml_utils.hpp">
|
||||||
|
<Filter>Header Files\RapidXML</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\ButtonListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\CameraButtonListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\DeleteListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\GUDButtonListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\MenuButtonListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\ModeSelectionListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\RotateButtonListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Listener\ToolbarListener.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModel\WorkspaceInstance.h">
|
||||||
|
<Filter>Header Files\Listener</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Tool\ArrowTool.h">
|
||||||
|
<Filter>Header Files\Tool</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Tool\SurfaceTool.h">
|
||||||
|
<Filter>Header Files\Tool</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Tool\Tool.h">
|
||||||
|
<Filter>Header Files\Tool</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\DataModelInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\GroupInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\Instance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\LevelInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\PartInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\PVInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\WorkspaceInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\BaseButtonInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\BaseGuiInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\GuiRootInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\ImageButtonInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\TextButtonInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\DataModelV2\ToggleImageButtonInstance.h">
|
||||||
|
<Filter>Header Files\DataModelV2\Gui</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Properties\BoolProperty.h">
|
||||||
|
<Filter>Header Files\Properties</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="src\include\Properties\Property.h">
|
||||||
|
<Filter>Header Files\Properties</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="B3dIcon.ico">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="FatB3dIcon.ico">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="Parts.bmp">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
|
<None Include="roblox_RN1_icon.ico">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ResourceCompile Include="Dialogs.rc">
|
||||||
|
<Filter>Resource Files</Filter>
|
||||||
|
</ResourceCompile>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
BIN
Dialogs.aps
Normal file
12
Dialogs.rc
@@ -6,7 +6,17 @@
|
|||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include <richedit.h>
|
#include <richedit.h>
|
||||||
#include "src/include/resource.h"
|
#include "src/include/resource.h"
|
||||||
#include "src/include/versioning.h"
|
|
||||||
|
#define APP_GENER 0
|
||||||
|
#define APP_MAJOR 0
|
||||||
|
#define APP_MINOR 106
|
||||||
|
#define APP_PATCH 2
|
||||||
|
#define APP_VER_STRING APP_GENER.APP_MAJOR.APP_MINOR.APP_PATCH
|
||||||
|
|
||||||
|
#define VER_PREFIX( N ) v##N
|
||||||
|
#define HSTR( N ) #N
|
||||||
|
#define STR( N ) HSTR( N )
|
||||||
|
#define VER_STR( N ) STR( VER_PREFIX( N ) )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ Type: filesandordirs; Name: "{app}"
|
|||||||
|
|
||||||
[Files]
|
[Files]
|
||||||
Source: "Redist\vcredist_x86.exe"; DestDir: "{tmp}"; Flags: ignoreversion
|
Source: "Redist\vcredist_x86.exe"; DestDir: "{tmp}"; Flags: ignoreversion
|
||||||
;Source: "Redist\vcredist_x64.exe"; DestDir: "{tmp}"; Check: "IsWin64"; Flags: ignoreversion
|
Source: "Redist\vcredist_x64.exe"; DestDir: "{tmp}"; Check: "IsWin64"; Flags: ignoreversion
|
||||||
Source: "..\content\*"; DestDir: "{app}\content"; Flags: ignoreversion recursesubdirs
|
Source: "..\content\*"; DestDir: "{app}\content"; Flags: ignoreversion recursesubdirs
|
||||||
Source: "..\SDL.DLL"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
Source: "..\SDL.DLL"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
||||||
Source: "..\Blocks3D.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
Source: "..\Blocks3D.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
||||||
@@ -31,7 +31,7 @@ Source: "..\Blocks3D.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
|||||||
|
|
||||||
[Run]
|
[Run]
|
||||||
Filename: "{tmp}\vcredist_x86.exe"; Parameters: "/q"; Tasks: instvc;
|
Filename: "{tmp}\vcredist_x86.exe"; Parameters: "/q"; Tasks: instvc;
|
||||||
;Filename: "{tmp}\vcredist_x64.exe"; Parameters: "/q"; Tasks: instvc; Check: "IsWin64";
|
Filename: "{tmp}\vcredist_x64.exe"; Parameters: "/q"; Tasks: instvc; Check: "IsWin64";
|
||||||
Filename: "iexplore.exe"; Parameters: "http://www.blocks3d.com/FirstInstall"; Description: Start playing Blocks3D; Flags: shellexec postinstall nowait skipifsilent
|
Filename: "iexplore.exe"; Parameters: "http://www.blocks3d.com/FirstInstall"; Description: Start playing Blocks3D; Flags: shellexec postinstall nowait skipifsilent
|
||||||
|
|
||||||
[Icons]
|
[Icons]
|
||||||
|
|||||||
@@ -1,51 +0,0 @@
|
|||||||
;InnoSetupVersion=5.4.3
|
|
||||||
#define AppVer GetFileVersion('..\Blocks3D.exe')
|
|
||||||
|
|
||||||
[Setup]
|
|
||||||
AppName=Blocks3D
|
|
||||||
AppVersion=v{#AppVer}
|
|
||||||
AppId={{4C5DF268-0208-4CDE-A7F0-65F7E2CB5067}
|
|
||||||
AppPublisherURL=http://blocks3d.com/
|
|
||||||
AppSupportURL=http://blocks3d.com/
|
|
||||||
AppUpdatesURL=http://blocks3d.com/
|
|
||||||
DefaultDirName={%localappdata}\Blocks3D
|
|
||||||
OutputBaseFilename=B3DSTP
|
|
||||||
Compression=lzma2
|
|
||||||
PrivilegesRequired=lowest
|
|
||||||
WizardImageFile=setup.bmp
|
|
||||||
DefaultGroupName=Blocks3D
|
|
||||||
DiskSpanning=yes
|
|
||||||
SlicesPerDisk=1
|
|
||||||
DiskSliceSize=1457664
|
|
||||||
|
|
||||||
|
|
||||||
[UninstallDelete]
|
|
||||||
Type: filesandordirs; Name: "{app}"
|
|
||||||
|
|
||||||
[Files]
|
|
||||||
Source: "Redist\vcredist_x86.exe"; DestDir: "{tmp}"; Flags: ignoreversion
|
|
||||||
;Source: "Redist\vcredist_x64.exe"; DestDir: "{tmp}"; Check: "IsWin64"; Flags: ignoreversion
|
|
||||||
Source: "..\content\*"; DestDir: "{app}\content"; Flags: ignoreversion recursesubdirs
|
|
||||||
Source: "..\SDL.DLL"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
|
||||||
Source: "..\Blocks3D.exe"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
|
|
||||||
|
|
||||||
[Registry]
|
|
||||||
|
|
||||||
|
|
||||||
[Run]
|
|
||||||
Filename: "{tmp}\vcredist_x86.exe"; Parameters: "/q"; Tasks: instvc;
|
|
||||||
;Filename: "{tmp}\vcredist_x64.exe"; Parameters: "/q"; Tasks: instvc; Check: "IsWin64";
|
|
||||||
Filename: "iexplore.exe"; Parameters: "http://www.blocks3d.com/FirstInstall"; Description: Start playing Blocks3D; Flags: shellexec postinstall nowait skipifsilent
|
|
||||||
|
|
||||||
[Icons]
|
|
||||||
Name: "{group}\Play Blocks3D"; Filename: "{%programfiles}\Internet Explorer\iexplore.exe"; Parameters: "http://www.blocks3d.com/Games"; IconFilename: "{app}\Blocks3D.exe"; Tasks: startscut;
|
|
||||||
Name: "{group}\Blocks3D Editor"; Filename: "{app}\Blocks3D.exe"; Tasks: startscut;
|
|
||||||
|
|
||||||
Name: "{userdesktop}\Play Blocks3D"; Filename: "{%programfiles}\Internet Explorer\iexplore.exe"; Parameters: "http://www.blocks3d.com/Games"; IconFilename: "{app}\Blocks3D.exe"; Tasks: startscut;
|
|
||||||
Name: "{userdesktop}\Blocks3D Editor"; Filename: "{app}\Blocks3D.exe"; Tasks: desktopicon
|
|
||||||
|
|
||||||
[Tasks]
|
|
||||||
Name: "instvc"; Description: "Install Visual C++ Redistributable 2005 SP1 (Requires elevated permissions)";
|
|
||||||
Name: "desktopicon"; Description: "Create Desktop Icons";
|
|
||||||
Name: "startscut"; Description: "Create Start Menu Icons";
|
|
||||||
|
|
||||||
@@ -1,588 +0,0 @@
|
|||||||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
|
||||||
<External>null</External>
|
|
||||||
<External>nil</External>
|
|
||||||
<Item class="Workspace" referent="RBX0">
|
|
||||||
<Properties>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<Ref name="CurrentCamera">RBX1</Ref>
|
|
||||||
<double name="DistributedGameTime">0</double>
|
|
||||||
<CoordinateFrame name="ModelInPrimary">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Workspace</string>
|
|
||||||
<Ref name="PrimaryPart">null</Ref>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
<Item class="Camera" referent="RBX1">
|
|
||||||
<Properties>
|
|
||||||
<Ref name="CameraSubject">null</Ref>
|
|
||||||
<token name="CameraType">0</token>
|
|
||||||
<CoordinateFrame name="CoordinateFrame">
|
|
||||||
<X>-2.9603548</X>
|
|
||||||
<Y>115.389259</Y>
|
|
||||||
<Z>44.9416084</Z>
|
|
||||||
<R00>0.112786211</R00>
|
|
||||||
<R01>0.522245169</R01>
|
|
||||||
<R02>-0.845304191</R02>
|
|
||||||
<R10>-2.22539209e-009</R10>
|
|
||||||
<R11>0.850732446</R11>
|
|
||||||
<R12>0.525598884</R12>
|
|
||||||
<R20>0.993619263</R20>
|
|
||||||
<R21>-0.0592803061</R21>
|
|
||||||
<R22>0.0959508941</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<CoordinateFrame name="Focus">
|
|
||||||
<X>13.9457293</X>
|
|
||||||
<Y>104.877281</Y>
|
|
||||||
<Z>43.0225906</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Camera</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX2">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">21</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>87.0174942</X>
|
|
||||||
<Y>48.0466728</Y>
|
|
||||||
<Z>25.0001202</Z>
|
|
||||||
<R00>-0.969314575</R00>
|
|
||||||
<R01>0.245822206</R01>
|
|
||||||
<R02>4.6762093e-006</R02>
|
|
||||||
<R10>0.245822206</R10>
|
|
||||||
<R11>0.969314933</R11>
|
|
||||||
<R12>6.9744442e-007</R12>
|
|
||||||
<R20>-4.35209677e-006</R20>
|
|
||||||
<R21>1.87532066e-006</R21>
|
|
||||||
<R22>-0.999999642</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">2</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>6</X>
|
|
||||||
<Y>6</Y>
|
|
||||||
<Z>6</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX3">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>108.911415</X>
|
|
||||||
<Y>38.7803154</Y>
|
|
||||||
<Z>27.5002155</Z>
|
|
||||||
<R00>-0.969314575</R00>
|
|
||||||
<R01>0.245822206</R01>
|
|
||||||
<R02>4.6762093e-006</R02>
|
|
||||||
<R10>0.245822206</R10>
|
|
||||||
<R11>0.969314933</R11>
|
|
||||||
<R12>6.9744442e-007</R12>
|
|
||||||
<R20>-4.35209677e-006</R20>
|
|
||||||
<R21>1.87532066e-006</R21>
|
|
||||||
<R22>-0.999999642</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>53</X>
|
|
||||||
<Y>1.20000005</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX4">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>141.499893</X>
|
|
||||||
<Y>38.1177788</Y>
|
|
||||||
<Z>27.0499611</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>-1.07914104e-006</R01>
|
|
||||||
<R02>-4.49890285e-006</R02>
|
|
||||||
<R10>-5.98966139e-008</R10>
|
|
||||||
<R11>0.969315231</R11>
|
|
||||||
<R12>-0.245820925</R12>
|
|
||||||
<R20>4.6261307e-006</R20>
|
|
||||||
<R21>0.245820925</R21>
|
|
||||||
<R22>0.969315231</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>1</X>
|
|
||||||
<Y>16.8000011</Y>
|
|
||||||
<Z>12</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX5">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>108.911438</X>
|
|
||||||
<Y>38.7803192</Y>
|
|
||||||
<Z>22.5002174</Z>
|
|
||||||
<R00>-0.969314575</R00>
|
|
||||||
<R01>0.245822206</R01>
|
|
||||||
<R02>4.6762093e-006</R02>
|
|
||||||
<R10>0.245822206</R10>
|
|
||||||
<R11>0.969314933</R11>
|
|
||||||
<R12>6.9744442e-007</R12>
|
|
||||||
<R20>-4.35209677e-006</R20>
|
|
||||||
<R21>1.87532066e-006</R21>
|
|
||||||
<R22>-0.999999642</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>53</X>
|
|
||||||
<Y>1.20000005</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX6">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>140.499786</X>
|
|
||||||
<Y>24.7802944</Y>
|
|
||||||
<Z>47.911438</Z>
|
|
||||||
<R00>4.35209677e-006</R00>
|
|
||||||
<R01>-1.87532066e-006</R01>
|
|
||||||
<R02>0.999999642</R02>
|
|
||||||
<R10>0.245822206</R10>
|
|
||||||
<R11>0.969314933</R11>
|
|
||||||
<R12>6.9744442e-007</R12>
|
|
||||||
<R20>-0.969314575</R20>
|
|
||||||
<R21>0.245822206</R21>
|
|
||||||
<R22>4.6762093e-006</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>53</X>
|
|
||||||
<Y>1.20000005</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX7">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>135.499786</X>
|
|
||||||
<Y>24.7802944</Y>
|
|
||||||
<Z>47.9114227</Z>
|
|
||||||
<R00>4.35515585e-006</R00>
|
|
||||||
<R01>-1.85873387e-006</R01>
|
|
||||||
<R02>0.999999881</R02>
|
|
||||||
<R10>0.245822236</R10>
|
|
||||||
<R11>0.969314933</R11>
|
|
||||||
<R12>7.14274279e-007</R12>
|
|
||||||
<R20>-0.969314814</R20>
|
|
||||||
<R21>0.245822236</R21>
|
|
||||||
<R22>4.67732343e-006</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>53</X>
|
|
||||||
<Y>1.20000005</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
</Item>
|
|
||||||
<Item class="RunService" referent="RBX8">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Run Service</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX9</External>
|
|
||||||
<External>RBX10</External>
|
|
||||||
<Item class="Players" referent="RBX11">
|
|
||||||
<Properties>
|
|
||||||
<int name="MaxPlayers">12</int>
|
|
||||||
<string name="Name">Players</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="StarterPack" referent="RBX12">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">StarterPack</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="SoundService" referent="RBX13">
|
|
||||||
<Properties>
|
|
||||||
<token name="AmbientReverb">0</token>
|
|
||||||
<float name="DistanceFactor">10</float>
|
|
||||||
<float name="DopplerScale">1</float>
|
|
||||||
<string name="Name">Soundscape</string>
|
|
||||||
<float name="RolloffScale">1</float>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
<External>RBX14</External>
|
|
||||||
<External>RBX15</External>
|
|
||||||
<External>RBX16</External>
|
|
||||||
<External>RBX17</External>
|
|
||||||
<External>RBX18</External>
|
|
||||||
<External>RBX19</External>
|
|
||||||
<External>RBX20</External>
|
|
||||||
<External>RBX21</External>
|
|
||||||
<External>RBX22</External>
|
|
||||||
<External>RBX23</External>
|
|
||||||
<External>RBX24</External>
|
|
||||||
<External>RBX25</External>
|
|
||||||
<External>RBX26</External>
|
|
||||||
<External>RBX27</External>
|
|
||||||
</Item>
|
|
||||||
<Item class="ContentProvider" referent="RBX28">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Instance</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="PhysicsService" referent="RBX29">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">PhysicsService</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX30</External>
|
|
||||||
<Item class="Selection" referent="RBX31">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Selection</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX32</External>
|
|
||||||
<Item class="Lighting" referent="RBX33">
|
|
||||||
<Properties>
|
|
||||||
<Color3 name="Ambient">4286940549</Color3>
|
|
||||||
<float name="Brightness">1</float>
|
|
||||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
|
||||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
|
||||||
<float name="GeographicLatitude">41.7332993</float>
|
|
||||||
<string name="Name">Lighting</string>
|
|
||||||
<Color3 name="ShadowColor">4290295997</Color3>
|
|
||||||
<string name="TimeOfDay">14:00:00</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="ControllerService" referent="RBX34">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Instance</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="ChangeHistoryService" referent="RBX35">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">ChangeHistoryService</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX36</External>
|
|
||||||
</roblox>
|
|
||||||
586202
Physics Test/Roblox HQ.rbxl
@@ -1,578 +0,0 @@
|
|||||||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
|
||||||
<External>null</External>
|
|
||||||
<External>nil</External>
|
|
||||||
<Item class="RunService">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Run Service</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Selection">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Selection</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Workspace">
|
|
||||||
<Properties>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<Ref name="CurrentCamera">RBX0</Ref>
|
|
||||||
<CoordinateFrame name="ModelInPrimary">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Workspace</string>
|
|
||||||
<Ref name="PrimaryPart">RBX1</Ref>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
<Item class="Camera" referent="RBX0">
|
|
||||||
<Properties>
|
|
||||||
<Ref name="CameraSubject">null</Ref>
|
|
||||||
<token name="CameraType">0</token>
|
|
||||||
<CoordinateFrame name="CoordinateFrame">
|
|
||||||
<X>202.42688</X>
|
|
||||||
<Y>55.4607582</Y>
|
|
||||||
<Z>3.2956109</Z>
|
|
||||||
<R00>0.0106770508</R00>
|
|
||||||
<R01>0.00328579429</R01>
|
|
||||||
<R02>0.999937654</R02>
|
|
||||||
<R10>4.65661287e-010</R10>
|
|
||||||
<R11>0.999994576</R11>
|
|
||||||
<R12>-0.00328598148</R12>
|
|
||||||
<R20>-0.999943018</R20>
|
|
||||||
<R21>3.50852497e-005</R21>
|
|
||||||
<R22>0.010676994</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<CoordinateFrame name="Focus">
|
|
||||||
<X>182.428116</X>
|
|
||||||
<Y>55.5264778</Y>
|
|
||||||
<Z>3.08207107</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Camera</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX1">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">37</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>2.79999995</Y>
|
|
||||||
<Z>-4</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">true</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>64</X>
|
|
||||||
<Y>1</Y>
|
|
||||||
<Z>248</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>78.3000031</Y>
|
|
||||||
<Z>-96</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>2</Y>
|
|
||||||
<Z>2</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>79.3000031</Y>
|
|
||||||
<Z>-62</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>4</X>
|
|
||||||
<Y>4</Y>
|
|
||||||
<Z>4</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>81.3000031</Y>
|
|
||||||
<Z>-25</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>8</X>
|
|
||||||
<Y>8</Y>
|
|
||||||
<Z>8</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>85.3000031</Y>
|
|
||||||
<Z>18</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>16</X>
|
|
||||||
<Y>16</Y>
|
|
||||||
<Z>16</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">0</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">23</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>93.3000031</Y>
|
|
||||||
<Z>73</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<bool name="CastsShadows">false</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="Cullable">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Part</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">0</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>32</X>
|
|
||||||
<Y>32</Y>
|
|
||||||
<Z>32</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
</Item>
|
|
||||||
<External>RBX2</External>
|
|
||||||
<External>RBX3</External>
|
|
||||||
<Item class="Players">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Players</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<int name="maxPlayers">10</int>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="StarterPack">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">StarterPack</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="SoundService">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">SoundService</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<float name="distancefactor">10</float>
|
|
||||||
<float name="dopplerscale">1</float>
|
|
||||||
<float name="rolloffscale">1</float>
|
|
||||||
</Properties>
|
|
||||||
<External>RBX4</External>
|
|
||||||
<External>RBX5</External>
|
|
||||||
<External>RBX6</External>
|
|
||||||
<External>RBX7</External>
|
|
||||||
<External>RBX8</External>
|
|
||||||
<External>RBX9</External>
|
|
||||||
<External>RBX10</External>
|
|
||||||
<External>RBX11</External>
|
|
||||||
<External>RBX12</External>
|
|
||||||
<External>RBX13</External>
|
|
||||||
<External>RBX14</External>
|
|
||||||
<External>RBX15</External>
|
|
||||||
<External>RBX16</External>
|
|
||||||
<External>RBX17</External>
|
|
||||||
</Item>
|
|
||||||
<Item class="Lighting">
|
|
||||||
<Properties>
|
|
||||||
<Color3 name="BottomAmbientV9">4286220152</Color3>
|
|
||||||
<Color3 name="ClearColor">4278190080</Color3>
|
|
||||||
<string name="Name">Lighting</string>
|
|
||||||
<Color3 name="SpotLightV9">4290822336</Color3>
|
|
||||||
<string name="TimeOfDay">14:00:00</string>
|
|
||||||
<Color3 name="TopAmbientV9">4292006362</Color3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="ControllerService">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Instance</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX18</External>
|
|
||||||
<External>RBX19</External>
|
|
||||||
<External>RBX20</External>
|
|
||||||
</roblox>
|
|
||||||
@@ -1,660 +0,0 @@
|
|||||||
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
|
||||||
<External>null</External>
|
|
||||||
<External>nil</External>
|
|
||||||
<Item class="Workspace" referent="RBX0">
|
|
||||||
<Properties>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<Ref name="CurrentCamera">RBX1</Ref>
|
|
||||||
<double name="DistributedGameTime">0</double>
|
|
||||||
<CoordinateFrame name="ModelInPrimary">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Workspace</string>
|
|
||||||
<Ref name="PrimaryPart">null</Ref>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
<Item class="Camera" referent="RBX1">
|
|
||||||
<Properties>
|
|
||||||
<Ref name="CameraSubject">null</Ref>
|
|
||||||
<token name="CameraType">0</token>
|
|
||||||
<CoordinateFrame name="CoordinateFrame">
|
|
||||||
<X>-62.3436203</X>
|
|
||||||
<Y>290.964996</Y>
|
|
||||||
<Z>130.047195</Z>
|
|
||||||
<R00>0.900759101</R00>
|
|
||||||
<R01>0.385544956</R01>
|
|
||||||
<R02>-0.199970409</R02>
|
|
||||||
<R10>3.07713033e-009</R10>
|
|
||||||
<R11>0.460422784</R11>
|
|
||||||
<R12>0.887699783</R12>
|
|
||||||
<R20>0.434319079</R20>
|
|
||||||
<R21>-0.799603641</R21>
|
|
||||||
<R22>0.414730012</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<CoordinateFrame name="Focus">
|
|
||||||
<X>-58.3442116</X>
|
|
||||||
<Y>273.210999</Y>
|
|
||||||
<Z>121.752594</Z>
|
|
||||||
<R00>1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<string name="Name">Camera</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX2">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">true</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">37</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0.600000024</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>-0</R02>
|
|
||||||
<R10>-0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>-0</R12>
|
|
||||||
<R20>-0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">1</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">true</bool>
|
|
||||||
<string name="Name">Baseplate</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>512</X>
|
|
||||||
<Y>1.20000005</Y>
|
|
||||||
<Z>512</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX3">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>-2</X>
|
|
||||||
<Y>5.69999981</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>9</Y>
|
|
||||||
<Z>2</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX4">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>6</X>
|
|
||||||
<Y>5.69999981</Y>
|
|
||||||
<Z>1</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>9</Y>
|
|
||||||
<Z>2</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX5">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>6</X>
|
|
||||||
<Y>5.69999981</Y>
|
|
||||||
<Z>-7</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>9</Y>
|
|
||||||
<Z>2</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX6">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>-2</X>
|
|
||||||
<Y>5.69999981</Y>
|
|
||||||
<Z>-7</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>9</Y>
|
|
||||||
<Z>2</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX7">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>11.1999998</Y>
|
|
||||||
<Z>-3</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>10</X>
|
|
||||||
<Y>2</Y>
|
|
||||||
<Z>10</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="Part" referent="RBX8">
|
|
||||||
<Properties>
|
|
||||||
<bool name="Anchored">false</bool>
|
|
||||||
<float name="BackParamA">-0.5</float>
|
|
||||||
<float name="BackParamB">0.5</float>
|
|
||||||
<token name="BackSurface">0</token>
|
|
||||||
<token name="BackSurfaceInput">0</token>
|
|
||||||
<float name="BottomParamA">-0.5</float>
|
|
||||||
<float name="BottomParamB">0.5</float>
|
|
||||||
<token name="BottomSurface">4</token>
|
|
||||||
<token name="BottomSurfaceInput">0</token>
|
|
||||||
<int name="BrickColor">28</int>
|
|
||||||
<CoordinateFrame name="CFrame">
|
|
||||||
<X>2</X>
|
|
||||||
<Y>13.1999998</Y>
|
|
||||||
<Z>-3</Z>
|
|
||||||
<R00>-1</R00>
|
|
||||||
<R01>0</R01>
|
|
||||||
<R02>0</R02>
|
|
||||||
<R10>0</R10>
|
|
||||||
<R11>1</R11>
|
|
||||||
<R12>0</R12>
|
|
||||||
<R20>0</R20>
|
|
||||||
<R21>0</R21>
|
|
||||||
<R22>-1</R22>
|
|
||||||
</CoordinateFrame>
|
|
||||||
<bool name="CanCollide">true</bool>
|
|
||||||
<token name="Controller">0</token>
|
|
||||||
<bool name="ControllerFlagShown">true</bool>
|
|
||||||
<bool name="DraggingV1">false</bool>
|
|
||||||
<float name="Elasticity">0.5</float>
|
|
||||||
<token name="FormFactor">0</token>
|
|
||||||
<float name="Friction">0.300000012</float>
|
|
||||||
<float name="FrontParamA">-0.5</float>
|
|
||||||
<float name="FrontParamB">0.5</float>
|
|
||||||
<token name="FrontSurface">0</token>
|
|
||||||
<token name="FrontSurfaceInput">0</token>
|
|
||||||
<float name="LeftParamA">-0.5</float>
|
|
||||||
<float name="LeftParamB">0.5</float>
|
|
||||||
<token name="LeftSurface">0</token>
|
|
||||||
<token name="LeftSurfaceInput">0</token>
|
|
||||||
<bool name="Locked">false</bool>
|
|
||||||
<string name="Name">Smooth Block Model</string>
|
|
||||||
<float name="Reflectance">0</float>
|
|
||||||
<float name="RightParamA">-0.5</float>
|
|
||||||
<float name="RightParamB">0.5</float>
|
|
||||||
<token name="RightSurface">0</token>
|
|
||||||
<token name="RightSurfaceInput">0</token>
|
|
||||||
<Vector3 name="RotVelocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<float name="TopParamA">-0.5</float>
|
|
||||||
<float name="TopParamB">0.5</float>
|
|
||||||
<token name="TopSurface">3</token>
|
|
||||||
<token name="TopSurfaceInput">0</token>
|
|
||||||
<float name="Transparency">0</float>
|
|
||||||
<Vector3 name="Velocity">
|
|
||||||
<X>0</X>
|
|
||||||
<Y>0</Y>
|
|
||||||
<Z>0</Z>
|
|
||||||
</Vector3>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
<token name="shape">1</token>
|
|
||||||
<Vector3 name="size">
|
|
||||||
<X>6</X>
|
|
||||||
<Y>2</Y>
|
|
||||||
<Z>6</Z>
|
|
||||||
</Vector3>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
</Item>
|
|
||||||
<Item class="RunService" referent="RBX9">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Run Service</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX10</External>
|
|
||||||
<External>RBX11</External>
|
|
||||||
<Item class="Players" referent="RBX12">
|
|
||||||
<Properties>
|
|
||||||
<int name="MaxPlayers">12</int>
|
|
||||||
<string name="Name">Players</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="StarterPack" referent="RBX13">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">StarterPack</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="SoundService" referent="RBX14">
|
|
||||||
<Properties>
|
|
||||||
<token name="AmbientReverb">0</token>
|
|
||||||
<float name="DistanceFactor">10</float>
|
|
||||||
<float name="DopplerScale">1</float>
|
|
||||||
<string name="Name">Soundscape</string>
|
|
||||||
<float name="RolloffScale">1</float>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
<External>RBX15</External>
|
|
||||||
<External>RBX16</External>
|
|
||||||
<External>RBX17</External>
|
|
||||||
<External>RBX18</External>
|
|
||||||
<External>RBX19</External>
|
|
||||||
<External>RBX20</External>
|
|
||||||
<External>RBX21</External>
|
|
||||||
<External>RBX22</External>
|
|
||||||
<External>RBX23</External>
|
|
||||||
<External>RBX24</External>
|
|
||||||
<External>RBX25</External>
|
|
||||||
<External>RBX26</External>
|
|
||||||
<External>RBX27</External>
|
|
||||||
<External>RBX28</External>
|
|
||||||
</Item>
|
|
||||||
<Item class="ContentProvider" referent="RBX29">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Instance</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="PhysicsService" referent="RBX30">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">PhysicsService</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX31</External>
|
|
||||||
<Item class="Selection" referent="RBX32">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Selection</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX33</External>
|
|
||||||
<Item class="Lighting" referent="RBX34">
|
|
||||||
<Properties>
|
|
||||||
<Color3 name="Ambient">4286611584</Color3>
|
|
||||||
<float name="Brightness">1</float>
|
|
||||||
<Color3 name="ColorShift_Bottom">4278190080</Color3>
|
|
||||||
<Color3 name="ColorShift_Top">4278190080</Color3>
|
|
||||||
<float name="GeographicLatitude">41.7332993</float>
|
|
||||||
<string name="Name">Lighting</string>
|
|
||||||
<Color3 name="ShadowColor">4289967032</Color3>
|
|
||||||
<string name="TimeOfDay">14:00:00</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="ControllerService" referent="RBX35">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">Instance</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<Item class="ChangeHistoryService" referent="RBX36">
|
|
||||||
<Properties>
|
|
||||||
<string name="Name">ChangeHistoryService</string>
|
|
||||||
<bool name="archivable">true</bool>
|
|
||||||
</Properties>
|
|
||||||
</Item>
|
|
||||||
<External>RBX37</External>
|
|
||||||
</roblox>
|
|
||||||
@@ -1,56 +0,0 @@
|
|||||||
#include "DataModelV2/ThumbnailGeneratorInstance.h"
|
|
||||||
#include "Application.h"
|
|
||||||
#include "Globals.h"
|
|
||||||
#include "base64.h"
|
|
||||||
#include <fstream>
|
|
||||||
|
|
||||||
ThumbnailGeneratorInstance::ThumbnailGeneratorInstance(void)
|
|
||||||
{
|
|
||||||
Instance::Instance();
|
|
||||||
name = "ThumbnailGenerator";
|
|
||||||
className = "ThumbnailGenerator";
|
|
||||||
canDelete = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
ThumbnailGeneratorInstance::~ThumbnailGeneratorInstance(void) {}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* TODO:
|
|
||||||
* Move functions like toggleSky into their own "Lighting" instance
|
|
||||||
* Make this headless, and allow for resolutions greater than the screen resolution
|
|
||||||
*/
|
|
||||||
std::string ThumbnailGeneratorInstance::click(std::string fileType, int cx, int cy, bool hideSky)
|
|
||||||
{
|
|
||||||
if(!G3D::GImage::supportedFormat(fileType)) {
|
|
||||||
printf("%s is not a valid fileType.", fileType);
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
RenderDevice* rd = g_usableApp->getRenderDevice();
|
|
||||||
GuiRootInstance* guiRoot = g_dataModel->getGuiRoot();
|
|
||||||
const G3D::GImage::Format format = G3D::GImage::stringToFormat(fileType);
|
|
||||||
|
|
||||||
int prevWidth = rd->width();
|
|
||||||
int prevHeight = rd->height();
|
|
||||||
G3D::GImage imgBuffer(cx, cy, 4);
|
|
||||||
G3D::BinaryOutput binOut;
|
|
||||||
|
|
||||||
guiRoot->hideGui(true);
|
|
||||||
g_usableApp->resize3DView(cx, cy);
|
|
||||||
|
|
||||||
if(hideSky)
|
|
||||||
g_dataModel->getLighting()->suppressSky(true);
|
|
||||||
|
|
||||||
g_usableApp->onGraphics(rd);
|
|
||||||
rd->screenshotPic(imgBuffer, true, hideSky);
|
|
||||||
imgBuffer.encode(format, binOut);
|
|
||||||
|
|
||||||
// Convert to Base64 string
|
|
||||||
std::string base64ImgStr = base64_encode(reinterpret_cast<const unsigned char*>(binOut.getCArray()), binOut.length(), false);
|
|
||||||
|
|
||||||
guiRoot->hideGui(false);
|
|
||||||
g_usableApp->resize3DView(prevWidth, prevHeight);
|
|
||||||
|
|
||||||
return base64ImgStr;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 576 B After Width: | Height: | Size: 576 B |
|
Before Width: | Height: | Size: 637 B After Width: | Height: | Size: 637 B |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
|
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 433 B |
|
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 628 B |
|
Before Width: | Height: | Size: 595 B After Width: | Height: | Size: 595 B |
|
Before Width: | Height: | Size: 665 B After Width: | Height: | Size: 665 B |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 788 B After Width: | Height: | Size: 788 B |
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 660 B |
|
Before Width: | Height: | Size: 552 B After Width: | Height: | Size: 552 B |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 655 B |
BIN
content/images/Thumbs.db
Normal file
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 798 B After Width: | Height: | Size: 798 B |
|
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -22,7 +22,7 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<body style="background-color: ButtonFace; margin: 0; padding: 5px; overflow: hidden; border: outset 2px;">
|
<body style="background-color: ButtonFace; margin: 0; padding: 5px; overflow: hidden; border: outset 2px;">
|
||||||
<span class="container" onmousedown="toolOvr(this)" onmouseup="toolOut(this)" onmouseout="toolOut(this)" onclick="window.external.ToggleHopperBin(0)">
|
<span class="container" onmousedown="toolOvr(this)" onmouseup="toolOut(this)" onmouseout="toolOut(this)" onclick="alert(window.external.ToggleHopperBin(0))">
|
||||||
<img src="../images/GameTool.png" />
|
<img src="../images/GameTool.png" />
|
||||||
</span>
|
</span>
|
||||||
<span class="container" onmousedown="toolOvr(this)" onmouseup="toolOut(this)" onmouseout="toolOut(this)" onclick="window.external.ToggleHopperBin(1)">
|
<span class="container" onmousedown="toolOvr(this)" onmouseup="toolOut(this)" onmouseout="toolOut(this)" onclick="window.external.ToggleHopperBin(1)">
|
||||||
|
|||||||
BIN
ode-0.5.7z
Normal file
BIN
ode-0.6.zip
@@ -7,6 +7,7 @@
|
|||||||
#include "IEBrowser.h"
|
#include "IEBrowser.h"
|
||||||
#include "Mouse.h"
|
#include "Mouse.h"
|
||||||
#include "Tool/Tool.h"
|
#include "Tool/Tool.h"
|
||||||
|
//#include "GuiRoot.h"
|
||||||
|
|
||||||
class TextButtonInstance;
|
class TextButtonInstance;
|
||||||
class ImageButtonInstance;
|
class ImageButtonInstance;
|
||||||
@@ -47,7 +48,6 @@ class Application { // : public GApp {
|
|||||||
void setFocus(bool isFocused);
|
void setFocus(bool isFocused);
|
||||||
int getMode();
|
int getMode();
|
||||||
void unSetMode();
|
void unSetMode();
|
||||||
|
|
||||||
CameraController cameraController;
|
CameraController cameraController;
|
||||||
UserInput* userInput;
|
UserInput* userInput;
|
||||||
PropertyWindow* _propWindow;
|
PropertyWindow* _propWindow;
|
||||||
@@ -55,7 +55,6 @@ class Application { // : public GApp {
|
|||||||
RenderDevice* getRenderDevice();
|
RenderDevice* getRenderDevice();
|
||||||
void selectInstance(Instance* selectedInstance,PropertyWindow* propWindow);
|
void selectInstance(Instance* selectedInstance,PropertyWindow* propWindow);
|
||||||
void setMode(int mode);
|
void setMode(int mode);
|
||||||
void resize3DView(int w, int h);
|
|
||||||
|
|
||||||
Tool * tool;
|
Tool * tool;
|
||||||
void changeTool(Tool *);
|
void changeTool(Tool *);
|
||||||
@@ -66,6 +65,7 @@ class Application { // : public GApp {
|
|||||||
RenderDevice* renderDevice;
|
RenderDevice* renderDevice;
|
||||||
//void initGUI();
|
//void initGUI();
|
||||||
HWND _hWndMain;
|
HWND _hWndMain;
|
||||||
|
SkyRef sky;
|
||||||
bool quit;
|
bool quit;
|
||||||
bool mouseOnScreen;
|
bool mouseOnScreen;
|
||||||
bool rightButtonHolding;
|
bool rightButtonHolding;
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ class AudioPlayer
|
|||||||
public:
|
public:
|
||||||
AudioPlayer(void);
|
AudioPlayer(void);
|
||||||
~AudioPlayer(void);
|
~AudioPlayer(void);
|
||||||
|
|
||||||
static void init();
|
|
||||||
static void playSound(std::string);
|
static void playSound(std::string);
|
||||||
|
static void init();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,19 +1,11 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
// Instances
|
|
||||||
#include "WorkspaceInstance.h"
|
#include "WorkspaceInstance.h"
|
||||||
#include "LevelInstance.h"
|
#include "LevelInstance.h"
|
||||||
#include "PartInstance.h"
|
#include "PartInstance.h"
|
||||||
#include "SelectionService.h"
|
#include "SelectionService.h"
|
||||||
#include "GuiRootInstance.h"
|
|
||||||
#include "ThumbnailGeneratorInstance.h"
|
|
||||||
#include "XplicitNgine/XplicitNgine.h"
|
|
||||||
#include "SoundService.h"
|
|
||||||
#include "LightingInstance.h"
|
|
||||||
#include "JointsService.h"
|
|
||||||
|
|
||||||
// Libraries
|
|
||||||
#include "rapidxml/rapidxml.hpp"
|
#include "rapidxml/rapidxml.hpp"
|
||||||
|
#include "GuiRootInstance.h"
|
||||||
|
#include "XplicitNgine/XplicitNgine.h"
|
||||||
|
|
||||||
class GuiRootInstance;
|
class GuiRootInstance;
|
||||||
|
|
||||||
@@ -31,16 +23,9 @@ public:
|
|||||||
bool load(const char* filename,bool clearObjects);
|
bool load(const char* filename,bool clearObjects);
|
||||||
bool readXMLFileStream(std::ifstream* file);
|
bool readXMLFileStream(std::ifstream* file);
|
||||||
void drawMessage(RenderDevice*);
|
void drawMessage(RenderDevice*);
|
||||||
|
|
||||||
// Instance getters
|
|
||||||
WorkspaceInstance* getWorkspace();
|
WorkspaceInstance* getWorkspace();
|
||||||
LevelInstance * getLevel();
|
LevelInstance * getLevel();
|
||||||
XplicitNgine * getEngine();
|
XplicitNgine * getEngine();
|
||||||
ThumbnailGeneratorInstance* getThumbnailGenerator();
|
|
||||||
SoundService* getSoundService();
|
|
||||||
JointsService* getJointsService();
|
|
||||||
LightingInstance* getLighting();
|
|
||||||
|
|
||||||
std::string message;
|
std::string message;
|
||||||
std::string _loadedFileName;
|
std::string _loadedFileName;
|
||||||
bool showMessage;
|
bool showMessage;
|
||||||
@@ -64,17 +49,10 @@ private:
|
|||||||
std::string _errMsg;
|
std::string _errMsg;
|
||||||
bool _legacyLoad;
|
bool _legacyLoad;
|
||||||
float _modY;
|
float _modY;
|
||||||
|
|
||||||
// Instances
|
|
||||||
WorkspaceInstance* workspace;
|
WorkspaceInstance* workspace;
|
||||||
LevelInstance * level;
|
LevelInstance * level;
|
||||||
GuiRootInstance* guiRoot;
|
GuiRootInstance* guiRoot;
|
||||||
SelectionService* selectionService;
|
SelectionService* selectionService;
|
||||||
ThumbnailGeneratorInstance* thumbnailGenerator;
|
|
||||||
XplicitNgine* xplicitNgine;
|
|
||||||
SoundService* soundService;
|
|
||||||
LightingInstance* lightingInstance;
|
|
||||||
JointsService* jointsService;
|
|
||||||
bool running;
|
bool running;
|
||||||
|
XplicitNgine * xplicitNgine;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -18,9 +18,7 @@ public:
|
|||||||
void update();
|
void update();
|
||||||
bool mouseInGUI(G3D::RenderDevice* renderDevice,int x,int y);
|
bool mouseInGUI(G3D::RenderDevice* renderDevice,int x,int y);
|
||||||
void onMouseLeftUp(G3D::RenderDevice* renderDevice, int x,int y);
|
void onMouseLeftUp(G3D::RenderDevice* renderDevice, int x,int y);
|
||||||
void hideGui(bool doHide);
|
|
||||||
private:
|
private:
|
||||||
std::string _message;
|
std::string _message;
|
||||||
G3D::RealTime _messageTime;
|
G3D::RealTime _messageTime;
|
||||||
bool _hideGui;
|
|
||||||
};
|
};
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
#include <G3DAll.h>
|
#include <G3DAll.h>
|
||||||
#include "propertyGrid.h"
|
#include "propertyGrid.h"
|
||||||
#include "map"
|
#include "map"
|
||||||
|
//#include "Properties/BoolProperty.h"
|
||||||
|
|
||||||
class Instance
|
class Instance
|
||||||
{
|
{
|
||||||
@@ -12,11 +13,9 @@ public:
|
|||||||
virtual ~Instance(void);
|
virtual ~Instance(void);
|
||||||
std::string name;
|
std::string name;
|
||||||
virtual void render(RenderDevice*);
|
virtual void render(RenderDevice*);
|
||||||
virtual void renderName(RenderDevice*);
|
|
||||||
virtual void update();
|
virtual void update();
|
||||||
std::vector<Instance*> children; // All children.
|
std::vector<Instance*> children; // All children.
|
||||||
std::string getClassName();
|
std::string getClassName();
|
||||||
bool Instance::isA(std::string name);
|
|
||||||
Instance* findFirstChild(std::string);
|
Instance* findFirstChild(std::string);
|
||||||
std::vector<Instance* > getChildren();
|
std::vector<Instance* > getChildren();
|
||||||
std::vector<Instance* > getAllChildren();
|
std::vector<Instance* > getAllChildren();
|
||||||
@@ -26,7 +25,6 @@ public:
|
|||||||
void removeChild(Instance*);
|
void removeChild(Instance*);
|
||||||
void clearChildren();
|
void clearChildren();
|
||||||
Instance* getParent();
|
Instance* getParent();
|
||||||
void remove();
|
|
||||||
virtual Instance* clone() const { return new Instance(*this); }
|
virtual Instance* clone() const { return new Instance(*this); }
|
||||||
virtual std::vector<PROPGRIDITEM> getProperties();
|
virtual std::vector<PROPGRIDITEM> getProperties();
|
||||||
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "Instance.h"
|
|
||||||
#include "PartInstance.h"
|
|
||||||
|
|
||||||
class JointsService:
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
JointsService(void);
|
|
||||||
~JointsService(void);
|
|
||||||
void createSnap(PartInstance* Part1, PartInstance* Part2);
|
|
||||||
void destroyPartSnap(PartInstance* Part);
|
|
||||||
void JointsService::solvePartSnap(PartInstance* Part, PartInstance* Part2);
|
|
||||||
void JointsService::solveWorkspaceSnaps();
|
|
||||||
};
|
|
||||||
@@ -5,21 +5,13 @@ class LevelInstance :
|
|||||||
public Instance
|
public Instance
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
std::string SplashHTML;
|
||||||
LevelInstance(void);
|
LevelInstance(void);
|
||||||
~LevelInstance(void);
|
~LevelInstance(void);
|
||||||
bool HighScoreIsGood;
|
|
||||||
Enum::ActionType::Value TimerUpAction;
|
|
||||||
Enum::AffectType::Value TimerAffectsScore;
|
|
||||||
bool RunOnOpen;
|
|
||||||
float timer;
|
float timer;
|
||||||
int score;
|
int score;
|
||||||
virtual std::vector<PROPGRIDITEM> getProperties();
|
virtual std::vector<PROPGRIDITEM> getProperties();
|
||||||
std::string winMessage;
|
std::string winMessage;
|
||||||
std::string loseMessage;
|
std::string loseMessage;
|
||||||
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
||||||
void winCondition();
|
|
||||||
void loseCondition();
|
|
||||||
void pauseCondition();
|
|
||||||
void drawCondition();
|
|
||||||
void Step(SimTime sdt);
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,43 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "Instance.h"
|
|
||||||
|
|
||||||
class LightingInstance :
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
LightingInstance(void);
|
|
||||||
~LightingInstance(void);
|
|
||||||
|
|
||||||
// Getters
|
|
||||||
G3D::Color3 getTopAmbient();
|
|
||||||
G3D::Color3 getBottomAmbient();
|
|
||||||
G3D::Color3 getSpotLight();
|
|
||||||
G3D::Color4 getClearColor();
|
|
||||||
G3D::SkyRef getSky();
|
|
||||||
G3D::LightingParameters getLightingParameters();
|
|
||||||
|
|
||||||
// Setters
|
|
||||||
void setTopAmbient(G3D::Color3 newValue);
|
|
||||||
void setBottomAmbient(G3D::Color3 newValue);
|
|
||||||
void setSpotLight(G3D::Color3 newValue);
|
|
||||||
void setClearColor(G3D::Color4 clearColor);
|
|
||||||
|
|
||||||
// Functions
|
|
||||||
void drawSky();
|
|
||||||
void suppressSky(bool doSuppress);
|
|
||||||
void update();
|
|
||||||
void drawEffects();
|
|
||||||
|
|
||||||
// Properties
|
|
||||||
void PropUpdate(LPPROPGRIDITEM &pItem);
|
|
||||||
std::vector<PROPGRIDITEM> getProperties();
|
|
||||||
|
|
||||||
private:
|
|
||||||
G3D::Color3 topAmbient;
|
|
||||||
G3D::Color3 bottomAmbient;
|
|
||||||
G3D::Color3 spotLight;
|
|
||||||
G3D::Color4 clearColor;
|
|
||||||
G3D::SkyRef sky;
|
|
||||||
G3D::LightingParameters lighting;
|
|
||||||
bool _hideSky;
|
|
||||||
};
|
|
||||||
@@ -16,7 +16,6 @@ public:
|
|||||||
//Rendering
|
//Rendering
|
||||||
virtual void PartInstance::postRender(RenderDevice* rd);
|
virtual void PartInstance::postRender(RenderDevice* rd);
|
||||||
virtual void render(RenderDevice*);
|
virtual void render(RenderDevice*);
|
||||||
virtual void renderName(RenderDevice*);
|
|
||||||
|
|
||||||
//Surfaces
|
//Surfaces
|
||||||
Enum::SurfaceType::Value top;
|
Enum::SurfaceType::Value top;
|
||||||
@@ -25,14 +24,8 @@ public:
|
|||||||
Enum::SurfaceType::Value back;
|
Enum::SurfaceType::Value back;
|
||||||
Enum::SurfaceType::Value left;
|
Enum::SurfaceType::Value left;
|
||||||
Enum::SurfaceType::Value bottom;
|
Enum::SurfaceType::Value bottom;
|
||||||
|
|
||||||
//Shapes
|
|
||||||
Enum::Shape::Value shape;
|
Enum::Shape::Value shape;
|
||||||
|
|
||||||
//OnTocuh
|
|
||||||
Enum::ActionType::Value OnTouchAction;
|
|
||||||
Enum::Sound::Value OnTouchSound;
|
|
||||||
|
|
||||||
//Variables
|
//Variables
|
||||||
Color3 color;
|
Color3 color;
|
||||||
bool canCollide;
|
bool canCollide;
|
||||||
@@ -49,13 +42,6 @@ public:
|
|||||||
Box getScaledBox();
|
Box getScaledBox();
|
||||||
CoordinateFrame getCFrame();
|
CoordinateFrame getCFrame();
|
||||||
|
|
||||||
//OnTouch Getters
|
|
||||||
bool isSingleShot();
|
|
||||||
int getTouchesToTrigger();
|
|
||||||
int getUniqueObjectsToTrigger();
|
|
||||||
int getChangeScore();
|
|
||||||
float getChangeTimer();
|
|
||||||
|
|
||||||
//Setters
|
//Setters
|
||||||
void setParent(Instance* parent);
|
void setParent(Instance* parent);
|
||||||
void setPosition(Vector3);
|
void setPosition(Vector3);
|
||||||
@@ -70,16 +56,11 @@ public:
|
|||||||
void setAnchored(bool anchored);
|
void setAnchored(bool anchored);
|
||||||
bool isAnchored();
|
bool isAnchored();
|
||||||
float getMass();
|
float getMass();
|
||||||
bool isDragging();
|
|
||||||
void setDragging(bool value);
|
|
||||||
|
|
||||||
//Collision
|
//Collision
|
||||||
bool collides(PartInstance * part);
|
bool collides(PartInstance * part);
|
||||||
bool collides(Box);
|
bool collides(Box);
|
||||||
|
|
||||||
// onTouch
|
|
||||||
void onTouch();
|
|
||||||
|
|
||||||
//Properties
|
//Properties
|
||||||
virtual std::vector<PROPGRIDITEM> getProperties();
|
virtual std::vector<PROPGRIDITEM> getProperties();
|
||||||
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
virtual void PropUpdate(LPPROPGRIDITEM &pItem);
|
||||||
@@ -90,15 +71,6 @@ private:
|
|||||||
Vector3 velocity;
|
Vector3 velocity;
|
||||||
Vector3 rotVelocity;
|
Vector3 rotVelocity;
|
||||||
bool changed;
|
bool changed;
|
||||||
bool dragging;
|
|
||||||
Box itemBox;
|
Box itemBox;
|
||||||
GLuint glList;
|
GLuint glList;
|
||||||
|
|
||||||
// OnTouch
|
|
||||||
bool singleShot;
|
|
||||||
int touchesToTrigger;
|
|
||||||
int uniqueObjectsToTrigger;
|
|
||||||
int changeScore;
|
|
||||||
float changeTimer;
|
|
||||||
bool _touchedOnce;
|
|
||||||
};
|
};
|
||||||
@@ -15,7 +15,6 @@ public:
|
|||||||
void removeSelected(Instance * instance);
|
void removeSelected(Instance * instance);
|
||||||
void addSelected(const std::vector<Instance *> &instances);
|
void addSelected(const std::vector<Instance *> &instances);
|
||||||
void setPropertyWindow(PropertyWindow * propertyWindow);
|
void setPropertyWindow(PropertyWindow * propertyWindow);
|
||||||
void render(RenderDevice * rd);
|
|
||||||
private:
|
private:
|
||||||
std::vector<Instance *> selection;
|
std::vector<Instance *> selection;
|
||||||
PropertyWindow * propertyWindow;
|
PropertyWindow * propertyWindow;
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "Instance.h"
|
|
||||||
#include "PartInstance.h"
|
|
||||||
|
|
||||||
class SnapInstance:
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
SnapInstance(PartInstance* Part1, PartInstance* Part2);
|
|
||||||
~SnapInstance(void);
|
|
||||||
PartInstance* jPart1;
|
|
||||||
PartInstance* jPart2;
|
|
||||||
dJointID JointID;
|
|
||||||
};
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "Instance.h"
|
|
||||||
|
|
||||||
class SoundInstance :
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
SoundInstance(void);
|
|
||||||
~SoundInstance(void);
|
|
||||||
|
|
||||||
// Getters
|
|
||||||
float getSoundVolume();
|
|
||||||
std::string getSoundId();
|
|
||||||
bool isPlayedOnRemove();
|
|
||||||
bool isLooped();
|
|
||||||
|
|
||||||
// Setters
|
|
||||||
void setSoundVolume(float newVolume);
|
|
||||||
void setSoundId(std::string newSoundId);
|
|
||||||
void setIsPlayedOnRemove(bool isPlayed);
|
|
||||||
void setIsLooped(bool isLooped);
|
|
||||||
|
|
||||||
// Functions
|
|
||||||
void play();
|
|
||||||
private:
|
|
||||||
float soundVolume;
|
|
||||||
std::string soundId;
|
|
||||||
bool playOnRemove;
|
|
||||||
bool looped;
|
|
||||||
};
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "Instance.h"
|
|
||||||
#include "SoundInstance.h"
|
|
||||||
|
|
||||||
class SoundService :
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
SoundService(void);
|
|
||||||
~SoundService(void);
|
|
||||||
|
|
||||||
float getMusicVolume();
|
|
||||||
void playSound(Instance* sound);
|
|
||||||
private:
|
|
||||||
float musicVolume;
|
|
||||||
};
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "instance.h"
|
|
||||||
|
|
||||||
class ThumbnailGeneratorInstance :
|
|
||||||
public Instance
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
// Constructor / Destructor
|
|
||||||
ThumbnailGeneratorInstance(void);
|
|
||||||
~ThumbnailGeneratorInstance(void);
|
|
||||||
|
|
||||||
// Functions
|
|
||||||
std::string click(std::string fileType, int cx, int cy, bool hideSky);
|
|
||||||
};
|
|
||||||
@@ -20,24 +20,4 @@ namespace Enum
|
|||||||
Player = 7, KeyboardRight = 1, KeyboardLeft = 2, Joypad1 = 3, Joypad2 = 4, Chase = 5, Flee = 6, None = 0
|
Player = 7, KeyboardRight = 1, KeyboardLeft = 2, Joypad1 = 3, Joypad2 = 4, Chase = 5, Flee = 6, None = 0
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
namespace ActionType
|
|
||||||
{
|
|
||||||
enum Value {
|
|
||||||
Nothing = 0, Pause = 1, Lose = 2, Draw = 3, Win = 4
|
|
||||||
};
|
|
||||||
}
|
|
||||||
namespace AffectType
|
|
||||||
{
|
|
||||||
enum Value {
|
|
||||||
NoChange = 0, Increase = 1, Decrease = 2
|
|
||||||
};
|
|
||||||
}
|
|
||||||
namespace Sound
|
|
||||||
{
|
|
||||||
enum Value {
|
|
||||||
NoSound = 0, Victory = 1, Boing = 2, Bomb = 3,
|
|
||||||
Ping = 4, Break = 5, Splat = 6, Swoosh = 7,
|
|
||||||
Snap = 8, Page = 9
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -17,6 +17,8 @@ public:
|
|||||||
static const int major;
|
static const int major;
|
||||||
static const int minor;
|
static const int minor;
|
||||||
static const int patch;
|
static const int patch;
|
||||||
|
static G3D::TextureRef surface;
|
||||||
|
static int surfaceId;
|
||||||
static const std::string g_appName;
|
static const std::string g_appName;
|
||||||
static COLORREF g_acrCustClr[16]; //Will be dynamic later
|
static COLORREF g_acrCustClr[16]; //Will be dynamic later
|
||||||
static HWND mainHwnd;
|
static HWND mainHwnd;
|
||||||
@@ -27,8 +29,6 @@ extern bool running;
|
|||||||
extern DataModelInstance* g_dataModel;
|
extern DataModelInstance* g_dataModel;
|
||||||
extern XplicitNgine* g_xplicitNgine;
|
extern XplicitNgine* g_xplicitNgine;
|
||||||
extern Application* g_usableApp;
|
extern Application* g_usableApp;
|
||||||
extern SkyRef g_sky;
|
|
||||||
extern RenderDevice g_renderDevice;
|
|
||||||
|
|
||||||
extern GFontRef g_fntdominant;
|
extern GFontRef g_fntdominant;
|
||||||
extern GFontRef g_fntlighttrek;
|
extern GFontRef g_fntlighttrek;
|
||||||
|
|||||||
@@ -27,10 +27,8 @@ public:
|
|||||||
bool isMouseOnScreen();
|
bool isMouseOnScreen();
|
||||||
bool isMouseDown();
|
bool isMouseDown();
|
||||||
void setMouseDown(bool mouseDown);
|
void setMouseDown(bool mouseDown);
|
||||||
G3D::Ray getRay();
|
G3D::Ray * getRay();
|
||||||
G3D::Ray getLastRay();
|
G3D::Ray getLastRay();
|
||||||
G3D::Plane getPlane();
|
|
||||||
G3D::Plane getInversePlane();
|
|
||||||
private:
|
private:
|
||||||
bool mouseDown;
|
bool mouseDown;
|
||||||
};
|
};
|
||||||
|
|||||||
3
src/include/SplashHTML.h
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#include <string>
|
||||||
|
//int SplashHTMLLoad(std::string strHTML);
|
||||||
|
int SplashHTMLLoad(std::string strHTML);
|
||||||
@@ -13,7 +13,6 @@ public:
|
|||||||
void onSelect(Mouse mouse);
|
void onSelect(Mouse mouse);
|
||||||
void onKeyDown(int key);
|
void onKeyDown(int key);
|
||||||
void onKeyUp(int key);
|
void onKeyUp(int key);
|
||||||
void roundDeg(float °ree);
|
|
||||||
private:
|
private:
|
||||||
bool lctrlDown;
|
bool lctrlDown;
|
||||||
bool rctrlDown;
|
bool rctrlDown;
|
||||||
@@ -21,5 +20,4 @@ private:
|
|||||||
int mouseDownStarty;
|
int mouseDownStarty;
|
||||||
bool dragging;
|
bool dragging;
|
||||||
bool mouseDown;
|
bool mouseDown;
|
||||||
Vector3 draggingPartOffset;
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include "ArrowTool.h"
|
|
||||||
|
|
||||||
class DraggerTool :
|
|
||||||
public ArrowTool
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
DraggerTool(void);
|
|
||||||
~DraggerTool(void);
|
|
||||||
void onButton1MouseDown(Mouse);
|
|
||||||
void onButton1MouseUp(Mouse);
|
|
||||||
void onMouseMoved(Mouse mouse);
|
|
||||||
void onSelect(Mouse mouse);
|
|
||||||
void onKeyDown(int key);
|
|
||||||
void onKeyUp(int key);
|
|
||||||
void render(RenderDevice * rd, Mouse mouse);
|
|
||||||
private:
|
|
||||||
void createHandles();
|
|
||||||
void grabHandle(Mouse mouse);
|
|
||||||
bool hasHandles;
|
|
||||||
int handleGrabbed;
|
|
||||||
Vector3 center;
|
|
||||||
Sphere handles[6];
|
|
||||||
};
|
|
||||||
@@ -26,7 +26,6 @@ public:
|
|||||||
virtual void onMouseScroll(Mouse);//Kinda
|
virtual void onMouseScroll(Mouse);//Kinda
|
||||||
virtual void onKeyDown(int);//yes
|
virtual void onKeyDown(int);//yes
|
||||||
virtual void onKeyUp(int);//yes
|
virtual void onKeyUp(int);//yes
|
||||||
virtual void render(RenderDevice * rd, Mouse mouse);//yes
|
|
||||||
//virtual int getCursorId();//yes
|
//virtual int getCursorId();//yes
|
||||||
protected:
|
protected:
|
||||||
//virtual void setCursor(std::string);
|
//virtual void setCursor(std::string);
|
||||||
|
|||||||
@@ -1,11 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
|
|
||||||
namespace Enum
|
|
||||||
{
|
|
||||||
namespace Hopper
|
|
||||||
{
|
|
||||||
enum Value {
|
|
||||||
GameTool = 0, Grab = 1, Clone = 2, Hammer = 3, Slingshot = 4, Rocket = 5, Laser = 6
|
|
||||||
};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
#ifndef COMPAT_SHIM
|
|
||||||
#define COMPAT_SHIM
|
|
||||||
#include <sstream>
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
template<class T>
|
|
||||||
std::string toString(const T &value)
|
|
||||||
{
|
|
||||||
std::ostringstream os;
|
|
||||||
os << value;
|
|
||||||
return os.str();
|
|
||||||
}
|
|
||||||
|
|
||||||
namespace std
|
|
||||||
{
|
|
||||||
std::string to_string( int value ) {return toString(value);}
|
|
||||||
std::string to_string( long value ) {return toString(value);}
|
|
||||||
std::string to_string( long long value ) {return toString(value);}
|
|
||||||
std::string to_string( unsigned value ) {return toString(value);}
|
|
||||||
std::string to_string( unsigned long value ) {return toString(value);}
|
|
||||||
std::string to_string( unsigned long long value ) {return toString(value);}
|
|
||||||
std::string to_string( float value ) {return toString(value);}
|
|
||||||
std::string to_string( double value ) {return toString(value);}
|
|
||||||
std::string to_string( long double value ) {return toString(value);}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
@@ -15,8 +15,5 @@ public:
|
|||||||
void step(float stepSize);
|
void step(float stepSize);
|
||||||
void createBody(PartInstance* partInstance);
|
void createBody(PartInstance* partInstance);
|
||||||
void deleteBody(PartInstance* partInstance);
|
void deleteBody(PartInstance* partInstance);
|
||||||
void updateBody(PartInstance* partInstance);
|
void updateBody(PartInstance* partInstance, CoordinateFrame * cFrame);
|
||||||
void resetBody(PartInstance* partInstance);
|
|
||||||
dJointID createJoint(PartInstance *part1, PartInstance *part2);
|
|
||||||
void destroyJoints(PartInstance *part);
|
|
||||||
};
|
};
|
||||||
@@ -1,35 +0,0 @@
|
|||||||
//
|
|
||||||
// base64 encoding and decoding with C++.
|
|
||||||
// Version: 2.rc.08 (release candidate)
|
|
||||||
//
|
|
||||||
|
|
||||||
#ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
||||||
#define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
|
|
||||||
|
|
||||||
#include <string>
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
|
||||||
#include <string_view>
|
|
||||||
#endif // __cplusplus >= 201703L
|
|
||||||
|
|
||||||
std::string base64_encode (std::string const& s, bool url = false);
|
|
||||||
std::string base64_encode_pem (std::string const& s);
|
|
||||||
std::string base64_encode_mime(std::string const& s);
|
|
||||||
|
|
||||||
std::string base64_decode(std::string const& s, bool remove_linebreaks = false);
|
|
||||||
std::string base64_encode(unsigned char const*, size_t len, bool url = false);
|
|
||||||
|
|
||||||
#if __cplusplus >= 201703L
|
|
||||||
//
|
|
||||||
// Interface with std::string_view rather than const std::string&
|
|
||||||
// Requires C++17
|
|
||||||
// Provided by Yannic Bonenberger (https://github.com/Yannic)
|
|
||||||
//
|
|
||||||
std::string base64_encode (std::string_view s, bool url = false);
|
|
||||||
std::string base64_encode_pem (std::string_view s);
|
|
||||||
std::string base64_encode_mime(std::string_view s);
|
|
||||||
|
|
||||||
std::string base64_decode(std::string_view s, bool remove_linebreaks = false);
|
|
||||||
#endif // __cplusplus >= 201703L
|
|
||||||
|
|
||||||
#endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
#ifndef APP_GENER
|
|
||||||
|
|
||||||
#define SNAPSHOT_VERSION
|
|
||||||
|
|
||||||
#define APP_GENER 0
|
|
||||||
#define APP_MAJOR 0
|
|
||||||
#define APP_MINOR 108
|
|
||||||
#define APP_PATCH 0
|
|
||||||
#define APP_VER_STRING APP_GENER.APP_MAJOR.APP_MINOR.APP_PATCH
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef SNAPSHOT_VERSION
|
|
||||||
#define VER_PREFIX( N ) v##N-SNAPSHOT
|
|
||||||
#else
|
|
||||||
#define VER_PREFIX( N ) v##N
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
#define HSTR( N ) #N
|
|
||||||
#define STR( N ) HSTR( N )
|
|
||||||
#define VER_STR( N ) STR( VER_PREFIX( N ) )
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -9,7 +9,6 @@
|
|||||||
#include "DataModelV2/DataModelInstance.h"
|
#include "DataModelV2/DataModelInstance.h"
|
||||||
#include "DataModelV2/GuiRootInstance.h"
|
#include "DataModelV2/GuiRootInstance.h"
|
||||||
#include "XplicitNgine/XplicitNgine.h"
|
#include "XplicitNgine/XplicitNgine.h"
|
||||||
#include "DataModelV2/JointsService.h"
|
|
||||||
#include "CameraController.h"
|
#include "CameraController.h"
|
||||||
#include "AudioPlayer.h"
|
#include "AudioPlayer.h"
|
||||||
#include "Globals.h"
|
#include "Globals.h"
|
||||||
@@ -26,6 +25,7 @@
|
|||||||
#include "PropertyWindow.h"
|
#include "PropertyWindow.h"
|
||||||
#include <commctrl.h>
|
#include <commctrl.h>
|
||||||
#include "StringFunctions.h"
|
#include "StringFunctions.h"
|
||||||
|
#include "SplashHTML.h"
|
||||||
|
|
||||||
#include "Listener/GUDButtonListener.h"
|
#include "Listener/GUDButtonListener.h"
|
||||||
#include "Listener/ModeSelectionListener.h"
|
#include "Listener/ModeSelectionListener.h"
|
||||||
@@ -34,7 +34,10 @@
|
|||||||
#include "Listener/RotateButtonListener.h"
|
#include "Listener/RotateButtonListener.h"
|
||||||
#include "Faces.h"
|
#include "Faces.h"
|
||||||
#define LEGACY_LOAD_G3DFUN_LEVEL
|
#define LEGACY_LOAD_G3DFUN_LEVEL
|
||||||
|
//Ray testRay;
|
||||||
|
//static int cursorid = 0;
|
||||||
|
//static int cursorOvrid = 0;
|
||||||
|
//static int currentcursorid = 0;
|
||||||
static bool mouseMovedBeginMotion = false;
|
static bool mouseMovedBeginMotion = false;
|
||||||
static POINT oldGlobalMouse;
|
static POINT oldGlobalMouse;
|
||||||
Vector2 oldMouse = Vector2(0,0);
|
Vector2 oldMouse = Vector2(0,0);
|
||||||
@@ -108,10 +111,6 @@ Application::Application(HWND parentWindow) : _propWindow(NULL) { //: GApp(setti
|
|||||||
_settings.writeLicenseFile = false;
|
_settings.writeLicenseFile = false;
|
||||||
_settings.logFilename = tempPath + "/g3dlog.txt";
|
_settings.logFilename = tempPath + "/g3dlog.txt";
|
||||||
_settings.window.center = true;
|
_settings.window.center = true;
|
||||||
|
|
||||||
// Needs to be enabled if "B3DCCService" (still need to finalize that name)
|
|
||||||
//_settings.window.fsaaSamples = 8;
|
|
||||||
|
|
||||||
Win32Window* window = Win32Window::create(_settings.window,_hwndRenderer);
|
Win32Window* window = Win32Window::create(_settings.window,_hwndRenderer);
|
||||||
ShowWindow(_hwndRenderer, SW_SHOW);
|
ShowWindow(_hwndRenderer, SW_SHOW);
|
||||||
ShowWindow(_hWndMain, SW_SHOW);
|
ShowWindow(_hWndMain, SW_SHOW);
|
||||||
@@ -130,8 +129,6 @@ Application::Application(HWND parentWindow) : _propWindow(NULL) { //: GApp(setti
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioPlayer::init();
|
|
||||||
|
|
||||||
_window = renderDevice->window();
|
_window = renderDevice->window();
|
||||||
_window->makeCurrent();
|
_window->makeCurrent();
|
||||||
|
|
||||||
@@ -201,16 +198,11 @@ void Application::onInit() {
|
|||||||
|
|
||||||
#ifdef LEGACY_LOAD_G3DFUN_LEVEL
|
#ifdef LEGACY_LOAD_G3DFUN_LEVEL
|
||||||
// Anchored this baseplate for XplicitNgine tests
|
// Anchored this baseplate for XplicitNgine tests
|
||||||
//XplicitNgine ngine;
|
|
||||||
PartInstance* test = makePart();
|
PartInstance* test = makePart();
|
||||||
PartInstance* test2;
|
|
||||||
PartInstance* test3;
|
|
||||||
JointsService* JointsSvc = g_dataModel->getJointsService();
|
|
||||||
|
|
||||||
test->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
test->color = Color3(0.2F,0.3F,1);
|
test->color = Color3(0.2F,0.3F,1);
|
||||||
test->setSize(Vector3(24,1,24));
|
test->setSize(Vector3(24,1,24));
|
||||||
test->setPosition(Vector3(0,-10,0));
|
test->setPosition(Vector3(0,0,0));
|
||||||
test->setCFrame(test->getCFrame() * Matrix3::fromEulerAnglesXYZ(0,toRadians(0),toRadians(0)));
|
test->setCFrame(test->getCFrame() * Matrix3::fromEulerAnglesXYZ(0,toRadians(0),toRadians(0)));
|
||||||
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
test->setAnchored(true);
|
test->setAnchored(true);
|
||||||
@@ -229,12 +221,12 @@ void Application::onInit() {
|
|||||||
test->setPosition(Vector3(10,1,0));
|
test->setPosition(Vector3(10,1,0));
|
||||||
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
|
|
||||||
test2 = makePart();
|
test = makePart();
|
||||||
test2->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
test2->color = Color3::red();
|
test->color = Color3::gray();
|
||||||
test2->setSize(Vector3(4,1,2));
|
test->setSize(Vector3(4,1,2));
|
||||||
test2->setPosition(Vector3(7,2,0));
|
test->setPosition(Vector3(7,2,0));
|
||||||
test2->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
|
|
||||||
test = makePart();
|
test = makePart();
|
||||||
test->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
@@ -243,14 +235,12 @@ void Application::onInit() {
|
|||||||
test->setPosition(Vector3(-7,2,0));
|
test->setPosition(Vector3(-7,2,0));
|
||||||
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
|
|
||||||
test3 = makePart();
|
test = makePart();
|
||||||
test3->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
test3->color = Color3::red();
|
test->color = Color3::gray();
|
||||||
test3->setSize(Vector3(4,1,2));
|
test->setSize(Vector3(4,1,2));
|
||||||
test3->setPosition(Vector3(4,3,0));
|
test->setPosition(Vector3(4,3,0));
|
||||||
test3->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
//JointsSvc->createSnap(test2, test3);
|
|
||||||
|
|
||||||
|
|
||||||
test = makePart();
|
test = makePart();
|
||||||
test->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
@@ -261,12 +251,10 @@ void Application::onInit() {
|
|||||||
|
|
||||||
test = makePart();
|
test = makePart();
|
||||||
test->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
test->color = Color3::red();
|
test->color = Color3::gray();
|
||||||
test->setSize(Vector3(4,1,2));
|
test->setSize(Vector3(4,1,2));
|
||||||
test->setPosition(Vector3(1,4,0));
|
test->setPosition(Vector3(1,4,0));
|
||||||
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
//JointsSvc->createSnap(test, test3);
|
|
||||||
//JointsSvc->solvePartSnap(test3, test);
|
|
||||||
|
|
||||||
test = makePart();
|
test = makePart();
|
||||||
test->setParent(_dataModel->getWorkspace());
|
test->setParent(_dataModel->getWorkspace());
|
||||||
@@ -295,18 +283,30 @@ void Application::onInit() {
|
|||||||
test->setSize(Vector3(4,1,2));
|
test->setSize(Vector3(4,1,2));
|
||||||
test->setPosition(Vector3(2,7,0));
|
test->setPosition(Vector3(2,7,0));
|
||||||
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
test->setSurface(TOP, Enum::SurfaceType::Bumps);
|
||||||
|
|
||||||
JointsSvc->solveWorkspaceSnaps();
|
|
||||||
#else
|
#else
|
||||||
_dataModel->debugGetOpen();
|
_dataModel->debugGetOpen();
|
||||||
#endif
|
#endif
|
||||||
|
LevelInstance * level = g_dataModel->getLevel();
|
||||||
|
std::string GetCurrentSplash = level->SplashHTML;
|
||||||
|
SplashHTMLLoad(GetCurrentSplash);
|
||||||
|
|
||||||
_dataModel->getSelectionService()->clearSelection();
|
_dataModel->getSelectionService()->clearSelection();
|
||||||
_dataModel->getSelectionService()->addSelected(_dataModel);
|
_dataModel->getSelectionService()->addSelected(_dataModel);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//setDesiredFrameRate(60);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//GApplet::onInit();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::onCleanup() {
|
void Application::onCleanup() {
|
||||||
clearInstances();
|
clearInstances();
|
||||||
|
sky->~Sky();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::onLogic() {
|
void Application::onLogic() {
|
||||||
@@ -317,13 +317,16 @@ void Application::onNetwork() {
|
|||||||
// Poll net messages here
|
// Poll net messages here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//double getVectorDistance(Vector3 vector1, Vector3 vector2)
|
||||||
|
//{
|
||||||
|
// return pow(pow((double)vector1.x - (double)vector2.x, 2) + pow((double)vector1.y - (double)vector2.y, 2) + pow((double)vector1.z - (double)vector2.z, 2), 0.5);
|
||||||
|
//}
|
||||||
|
|
||||||
void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
|
void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
|
||||||
|
|
||||||
if(_dataModel->isRunning())
|
if(_dataModel->isRunning())
|
||||||
{
|
{
|
||||||
LevelInstance* Level = _dataModel->getLevel();
|
|
||||||
Level->Step(sdt);
|
|
||||||
|
|
||||||
// XplicitNgine Start
|
// XplicitNgine Start
|
||||||
std::vector<PartInstance *> toDelete;
|
std::vector<PartInstance *> toDelete;
|
||||||
for(size_t i = 0; i < _dataModel->getWorkspace()->partObjects.size(); i++)
|
for(size_t i = 0; i < _dataModel->getWorkspace()->partObjects.size(); i++)
|
||||||
@@ -340,16 +343,16 @@ void Application::onSimulation(RealTime rdt, SimTime sdt, SimTime idt) {
|
|||||||
{
|
{
|
||||||
PartInstance * p = toDelete.back();
|
PartInstance * p = toDelete.back();
|
||||||
toDelete.pop_back();
|
toDelete.pop_back();
|
||||||
if(g_dataModel->getSelectionService()->isSelected(p))
|
|
||||||
g_dataModel->getSelectionService()->removeSelected(p);
|
g_dataModel->getSelectionService()->removeSelected(p);
|
||||||
p->setParent(NULL);
|
p->setParent(NULL);
|
||||||
delete p;
|
delete p;
|
||||||
}
|
}
|
||||||
for(int i = 0; i < 4; i++)
|
for(int i = 0; i < 6; i++)
|
||||||
{
|
{
|
||||||
_dataModel->getEngine()->step(0.03F);
|
_dataModel->getEngine()->step(0.1F);
|
||||||
}
|
}
|
||||||
onLogic();
|
onLogic();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_dataModel->getGuiRoot()->update();
|
_dataModel->getGuiRoot()->update();
|
||||||
@@ -418,10 +421,92 @@ int Application::getMode()
|
|||||||
return _mode;
|
return _mode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void Application::drawOutline(Vector3 from, Vector3 to, RenderDevice* rd, LightingParameters lighting, Vector3 size, Vector3 pos, CoordinateFrame c)
|
||||||
|
{
|
||||||
|
rd->disableLighting();
|
||||||
|
Color3 outline = Color3::cyan();//Color3(0.098F,0.6F,1.0F);
|
||||||
|
float offsetSize = 0.05F;
|
||||||
|
//X
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x - offsetSize, from.y + offsetSize, from.z + offsetSize), Vector3(to.x + offsetSize, from.y - offsetSize, from.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x - offsetSize, to.y + offsetSize, from.z + offsetSize), Vector3(to.x + offsetSize, to.y - offsetSize, from.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x - offsetSize, to.y + offsetSize, to.z + offsetSize), Vector3(to.x + offsetSize, to.y - offsetSize, to.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x - offsetSize, from.y + offsetSize, to.z + offsetSize), Vector3(to.x + offsetSize, from.y - offsetSize, to.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
//Y
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x + offsetSize, from.y - offsetSize + 0.1, from.z + offsetSize), Vector3(from.x - offsetSize, to.y + offsetSize - 0.1, from.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(to.x + offsetSize, from.y - offsetSize + 0.1, from.z + offsetSize), Vector3(to.x - offsetSize, to.y + offsetSize - 0.1, from.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(to.x + offsetSize, from.y - offsetSize + 0.1, to.z + offsetSize), Vector3(to.x - offsetSize, to.y + offsetSize-0.1, to.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x + offsetSize, from.y - offsetSize + 0.1, to.z + offsetSize), Vector3(from.x - offsetSize, to.y + offsetSize - 0.1, to.z - offsetSize))), rd, outline, Color4::clear());
|
||||||
|
|
||||||
|
//Z
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x + offsetSize, from.y + offsetSize, from.z - offsetSize), Vector3(from.x - offsetSize, from.y - offsetSize, to.z + offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(from.x + offsetSize, to.y + offsetSize, from.z - offsetSize), Vector3(from.x - offsetSize, to.y - offsetSize, to.z + offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(to.x + offsetSize, from.y + offsetSize, from.z - offsetSize), Vector3(to.x - offsetSize, from.y - offsetSize, to.z + offsetSize))), rd, outline, Color4::clear());
|
||||||
|
Draw::box(c.toWorldSpace(Box(Vector3(to.x + offsetSize, to.y + offsetSize, from.z - offsetSize), Vector3(to.x - offsetSize, to.y - offsetSize, to.z + offsetSize))), rd, outline, Color4::clear());
|
||||||
|
|
||||||
|
if(_mode == ARROWS)
|
||||||
|
{
|
||||||
|
|
||||||
|
AABox box;
|
||||||
|
c.toWorldSpace(Box(from, to)).getBounds(box);
|
||||||
|
float max = box.high().y - pos.y;
|
||||||
|
|
||||||
|
Draw::arrow(pos, Vector3(0, 1.5+max, 0), rd);
|
||||||
|
Draw::arrow(pos, Vector3(0, (-1.5)-max, 0), rd);
|
||||||
|
|
||||||
|
max = box.high().x - pos.x;
|
||||||
|
|
||||||
|
Draw::arrow(pos, Vector3(1.5+max, 0, 0), rd);
|
||||||
|
Draw::arrow(pos, Vector3((-1.5)-max, 0, 0), rd);
|
||||||
|
|
||||||
|
max = box.high().z - pos.z;
|
||||||
|
|
||||||
|
Draw::arrow(pos, Vector3(0, 0, 1.5+max), rd);
|
||||||
|
Draw::arrow(pos, Vector3(0, 0, (-1.5)-max), rd);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
else if(_mode == RESIZE)
|
||||||
|
{
|
||||||
|
Color3 sphereColor = outline;
|
||||||
|
Vector3 gamepoint = pos;
|
||||||
|
Vector3 camerapoint = rd->getCameraToWorldMatrix().translation;
|
||||||
|
float distance = pow(pow((double)gamepoint.x - (double)camerapoint.x, 2) + pow((double)gamepoint.y - (double)camerapoint.y, 2) + pow((double)gamepoint.z - (double)camerapoint.z, 2), 0.5);
|
||||||
|
if(distance < 200)
|
||||||
|
{
|
||||||
|
|
||||||
|
float multiplier = distance * 0.025F/2;
|
||||||
|
if(multiplier < 0.25F)
|
||||||
|
multiplier = 0.25F;
|
||||||
|
Vector3 position = pos + (c.lookVector()*((size.z)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
position = pos - (c.lookVector()*((size.z)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
|
||||||
|
position = pos + (c.rightVector()*((size.x)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
position = pos - (c.rightVector()*((size.x)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
|
||||||
|
position = pos + (c.upVector()*((size.y)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
position = pos - (c.upVector()*((size.y)+1));
|
||||||
|
Draw::sphere(Sphere(position, multiplier), rd, sphereColor, Color4::clear());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
rd->enableLighting();
|
||||||
|
}
|
||||||
|
|
||||||
void Application::exitApplication()
|
void Application::exitApplication()
|
||||||
{
|
{
|
||||||
|
//endApplet = true;
|
||||||
|
//endProgram = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void Application::onGraphics(RenderDevice* rd) {
|
void Application::onGraphics(RenderDevice* rd) {
|
||||||
|
|
||||||
G3D::uint8 num = 0;
|
G3D::uint8 num = 0;
|
||||||
@@ -432,13 +517,22 @@ void Application::onGraphics(RenderDevice* rd) {
|
|||||||
POINT pointm = mousepos;
|
POINT pointm = mousepos;
|
||||||
if (ScreenToClient(_hWndMain, &mousepos))
|
if (ScreenToClient(_hWndMain, &mousepos))
|
||||||
{
|
{
|
||||||
if(_hwndRenderer != WindowFromPoint(pointm))
|
//mouseOnScreen = true;
|
||||||
|
//POINT pointm;
|
||||||
|
///GetCursorPos(&pointm);
|
||||||
|
if(_hwndRenderer != WindowFromPoint(pointm)) //OLD: mousepos.x < 1 || mousepos.y < 1 || mousepos.x >= rd->getViewport().width()-1 || mousepos.y >= rd->getViewport().height()-1
|
||||||
{
|
{
|
||||||
mouseOnScreen = false;
|
mouseOnScreen = false;
|
||||||
|
//ShowCursor(true);
|
||||||
|
//_window->setMouseVisible(true);
|
||||||
|
//rd->window()->setInputCaptureCount(0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mouseOnScreen = true;
|
mouseOnScreen = true;
|
||||||
|
//SetCursor(NULL);
|
||||||
|
//_window->setMouseVisible(false);
|
||||||
|
//rd->window()->setInputCaptureCount(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -450,13 +544,136 @@ void Application::onGraphics(RenderDevice* rd) {
|
|||||||
ScreenToClient(_hWndMain, &mousepos);
|
ScreenToClient(_hWndMain, &mousepos);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LightingParameters lighting(G3D::toSeconds(2, 00, 00, PM));
|
||||||
|
lighting.ambient = Color3(0.6F,0.6F,0.6F);
|
||||||
renderDevice->setProjectionAndCameraMatrix(*cameraController.getCamera());
|
renderDevice->setProjectionAndCameraMatrix(*cameraController.getCamera());
|
||||||
|
|
||||||
// Moved a lot of code to lighting
|
// Cyan background
|
||||||
g_dataModel->getLighting()->update();
|
//renderDevice->setColorClearValue(Color3(0.0f, 0.5f, 1.0f));
|
||||||
|
|
||||||
|
renderDevice->clear(sky.isNull(), true, true);
|
||||||
|
if (sky.notNull()) {
|
||||||
|
sky->render(renderDevice, lighting);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Setup lighting
|
||||||
|
renderDevice->enableLighting();
|
||||||
|
|
||||||
|
renderDevice->setShadeMode(RenderDevice::SHADE_SMOOTH);
|
||||||
|
renderDevice->setAmbientLightColor(Color3(1,1,1));
|
||||||
|
|
||||||
|
renderDevice->setLight(0, GLight::directional(lighting.lightDirection, lighting.lightColor, true, true));
|
||||||
|
renderDevice->setAmbientLightColor(lighting.ambient);
|
||||||
|
|
||||||
|
//renderDevice->setBlendFunc(RenderDevice::BLEND_ONE, RenderDevice::BLEND_ONE);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
renderDevice->setShininess(70);
|
||||||
|
renderDevice->setSpecularCoefficient(Color3(0.1F, 0.1F, 0.1F));
|
||||||
|
|
||||||
|
//float lightAmbient[] = { 0.5F, 0.6F, 0.9F, 1.0F };
|
||||||
|
//float lightDiffuse[] = { 0.6F, 0.4F, 0.9F, 1.0F };
|
||||||
|
//float lightSpecular[] = { 0.8F, 0.6F, 1.0F, 1.0F };
|
||||||
|
|
||||||
|
//glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT, lightAmbient);
|
||||||
|
//glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, lightDiffuse);
|
||||||
|
//glMaterialfv(GL_FRONT_AND_BACK, GL_SPECULAR, lightSpecular);
|
||||||
|
//glMateriali(GL_FRONT_AND_BACK, GL_SHININESS, 70);
|
||||||
|
|
||||||
|
|
||||||
|
rd->beforePrimitive();
|
||||||
|
CoordinateFrame forDraw = rd->getObjectToWorldMatrix();
|
||||||
|
glEnableClientState(GL_VERTEX_ARRAY);
|
||||||
|
glEnableClientState(GL_COLOR_ARRAY);
|
||||||
|
glEnableClientState(GL_NORMAL_ARRAY);
|
||||||
|
//if(_dataModel->getWorkspace() != NULL)
|
||||||
|
|
||||||
|
_dataModel->getWorkspace()->render(rd);
|
||||||
|
//else throw std::exception("Workspace not found");
|
||||||
|
glDisableClientState(GL_VERTEX_ARRAY);
|
||||||
|
glDisableClientState(GL_COLOR_ARRAY);
|
||||||
|
glDisableClientState(GL_NORMAL_ARRAY);
|
||||||
|
rd->setObjectToWorldMatrix(forDraw);
|
||||||
|
rd->afterPrimitive();
|
||||||
|
|
||||||
|
|
||||||
|
//Draw::box(G3D::Box(mouse.getPosition()-Vector3(2,0.5F,1),mouse.getPosition()+Vector3(2,0.5F,1)), rd, Color3::cyan(), Color4::clear());
|
||||||
|
|
||||||
|
for(size_t i = 0; i < _dataModel->getSelectionService()->getSelection().size(); i++)
|
||||||
|
{
|
||||||
|
if(PartInstance* part = dynamic_cast<PartInstance*>(g_dataModel->getSelectionService()->getSelection()[i]))
|
||||||
|
{
|
||||||
|
Vector3 size = part->getSize();
|
||||||
|
Vector3 pos = part->getPosition();
|
||||||
|
drawOutline(Vector3(0+size.x/2, 0+size.y/2, 0+size.z/2) ,Vector3(0-size.x/2,0-size.y/2,0-size.z/2), rd, lighting, Vector3(size.x/2, size.y/2, size.z/2), Vector3(pos.x, pos.y, pos.z), part->getCFrame());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//Vector3 gamepoint = Vector3(0, 5, 0);
|
||||||
|
//Vector3 camerapoint = rd->getCameraToWorldMatrix().translation;
|
||||||
|
//float distance = pow(pow((double)gamepoint.x - (double)camerapoint.x, 2) + pow((double)gamepoint.y - (double)camerapoint.y, 2) + pow((double)gamepoint.z - (double)camerapoint.z, 2), 0.5);
|
||||||
|
//if(distance < 50 && distance > -50)
|
||||||
|
|
||||||
|
//{
|
||||||
|
// if(distance < 0)
|
||||||
|
// distance = distance*-1;
|
||||||
|
// fntdominant->draw3D(rd, "Testing", CoordinateFrame(rd->getCameraToWorldMatrix().rotation, gamepoint), 0.04*distance, Color3::yellow(), Color3::black(), G3D::GFont::XALIGN_CENTER, G3D::GFont::YALIGN_CENTER);
|
||||||
|
//}
|
||||||
|
|
||||||
|
renderDevice->disableLighting();
|
||||||
|
|
||||||
|
if (sky.notNull()) {
|
||||||
|
sky->renderLensFlare(renderDevice, lighting);
|
||||||
|
}
|
||||||
renderDevice->push2D();
|
renderDevice->push2D();
|
||||||
_dataModel->getGuiRoot()->renderGUI(renderDevice, m_graphicsWatch.FPS());
|
_dataModel->getGuiRoot()->renderGUI(renderDevice, m_graphicsWatch.FPS());
|
||||||
|
/*rd->pushState();
|
||||||
|
rd->beforePrimitive();
|
||||||
|
|
||||||
|
if(Globals::showMouse && mouseOnScreen)
|
||||||
|
{
|
||||||
|
glEnable( GL_TEXTURE_2D );
|
||||||
|
glEnable(GL_BLEND);// you enable blending function
|
||||||
|
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||||
|
/*
|
||||||
|
std::vector<Instance*> instances = _dataModel->getWorkspace()->getAllChildren();
|
||||||
|
currentcursorid = cursorid;
|
||||||
|
for(size_t i = 0; i < instances.size(); i++)
|
||||||
|
{
|
||||||
|
if(PartInstance* test = dynamic_cast<PartInstance*>(instances.at(i)))
|
||||||
|
{
|
||||||
|
float time = cameraController.getCamera()->worldRay(_dataModel->mousex, _dataModel->mousey, renderDevice->getViewport()).intersectionTime(test->getBox());
|
||||||
|
//float time = testRay.intersectionTime(test->getBox());
|
||||||
|
if (time != inf())
|
||||||
|
{
|
||||||
|
currentcursorid = cursorOvrid;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
/*glBindTexture( GL_TEXTURE_2D, tool->getCursorId());
|
||||||
|
|
||||||
|
|
||||||
|
glBegin( GL_QUADS );
|
||||||
|
glTexCoord2d(0.0,0.0);
|
||||||
|
glVertex2f(mousepos.x-64, mousepos.y-64);
|
||||||
|
glTexCoord2d( 1.0,0.0 );
|
||||||
|
glVertex2f(mousepos.x+64, mousepos.y-64);
|
||||||
|
glTexCoord2d(1.0,1.0 );
|
||||||
|
glVertex2f(mousepos.x+64, mousepos.y+64 );
|
||||||
|
glTexCoord2d( 0.0,1.0 );
|
||||||
|
glVertex2f( mousepos.x-64, mousepos.y+64 );
|
||||||
|
glEnd();
|
||||||
|
|
||||||
|
glDisable( GL_TEXTURE_2D );*/
|
||||||
|
//}
|
||||||
|
|
||||||
|
/*rd->afterPrimitive();
|
||||||
|
rd->popState();*/
|
||||||
renderDevice->pop2D();
|
renderDevice->pop2D();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -515,6 +732,7 @@ void Application::onMouseMoved(int x,int y)
|
|||||||
mouse.oldy = mouse.y;
|
mouse.oldy = mouse.y;
|
||||||
mouse.x = x;
|
mouse.x = x;
|
||||||
mouse.y = y;
|
mouse.y = y;
|
||||||
|
//tool->onMouseMoved(mouse);
|
||||||
mouseMoveState = true;
|
mouseMoveState = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -530,12 +748,32 @@ void Application::onMouseWheel(int x,int y,short delta)
|
|||||||
|
|
||||||
void Application::run() {
|
void Application::run() {
|
||||||
g_usableApp = this;
|
g_usableApp = this;
|
||||||
|
//setDebugMode(false);
|
||||||
|
//debugController.setActive(false);
|
||||||
|
/*
|
||||||
|
if (!createWindowClass("ToolWindowClass",ToolProc,GetModuleHandle(0)))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
HWND propertyHWnd = CreateWindowEx(
|
||||||
|
WS_EX_TOOLWINDOW,"ToolWindowClass", "ToolWindow",
|
||||||
|
WS_SYSMENU | WS_VISIBLE | WS_CHILD,
|
||||||
|
0, 0, 800, 64,
|
||||||
|
hWndMain, NULL, GetModuleHandle(0), NULL);
|
||||||
|
|
||||||
|
ShowWindow(propertyHWnd,SW_SHOW);
|
||||||
|
*/
|
||||||
UpdateWindow(_hWndMain);
|
UpdateWindow(_hWndMain);
|
||||||
|
|
||||||
// Load objects here
|
// Load objects here=
|
||||||
|
|
||||||
|
Globals::surface = Texture::fromFile(GetFileInPath("/content/images/surfacebr.png"));
|
||||||
|
Globals::surfaceId = Globals::surface->getOpenGLID();
|
||||||
cameraSound = GetFileInPath("/content/sounds/SWITCH3.wav");
|
cameraSound = GetFileInPath("/content/sounds/SWITCH3.wav");
|
||||||
clickSound = GetFileInPath("/content/sounds/switch.wav");
|
clickSound = GetFileInPath("/content/sounds/switch.wav");
|
||||||
dingSound = GetFileInPath("/content/sounds/electronicpingshort.wav");
|
dingSound = GetFileInPath("/content/sounds/electronicpingshort.wav");
|
||||||
|
sky = Sky::create(NULL, ExePath() + "/content/sky/");
|
||||||
RealTime now=0, lastTime=0;
|
RealTime now=0, lastTime=0;
|
||||||
double simTimeRate = 1.0f;
|
double simTimeRate = 1.0f;
|
||||||
float fps=30.0f;
|
float fps=30.0f;
|
||||||
@@ -545,7 +783,12 @@ void Application::run() {
|
|||||||
RealTime lastWaitTime=0;
|
RealTime lastWaitTime=0;
|
||||||
|
|
||||||
MSG messages;
|
MSG messages;
|
||||||
|
//RECT cRect;
|
||||||
|
//GetClientRect(_hWndMain,&cRect);
|
||||||
|
//renderDevice->notifyResize(cRect.right,cRect.bottom);
|
||||||
|
//Rect2D viewportRect = Rect2D::xywh(0,0,cRect.right,cRect.bottom);
|
||||||
|
//renderDevice->setViewport(viewportRect);
|
||||||
|
//window()->setInputCaptureCount(1);
|
||||||
resizeWithParent(_hWndMain);
|
resizeWithParent(_hWndMain);
|
||||||
glEnable(GL_CULL_FACE);
|
glEnable(GL_CULL_FACE);
|
||||||
while (!quit)
|
while (!quit)
|
||||||
@@ -557,15 +800,21 @@ void Application::run() {
|
|||||||
|
|
||||||
m_userInputWatch.tick();
|
m_userInputWatch.tick();
|
||||||
onUserInput(userInput);
|
onUserInput(userInput);
|
||||||
|
//m_moduleManager->onUserInput(_userInput);
|
||||||
m_userInputWatch.tock();
|
m_userInputWatch.tock();
|
||||||
|
|
||||||
m_simulationWatch.tick();
|
m_simulationWatch.tick();
|
||||||
|
//debugController.doSimulation(clamp(timeStep, 0.0, 0.1));
|
||||||
|
//g3dCamera.setCoordinateFrame
|
||||||
|
//(debugController.getCoordinateFrame());
|
||||||
|
|
||||||
double rate = simTimeRate;
|
double rate = simTimeRate;
|
||||||
RealTime rdt = timeStep;
|
RealTime rdt = timeStep;
|
||||||
SimTime sdt = timeStep * rate;
|
SimTime sdt = timeStep * rate;
|
||||||
SimTime idt = desiredFrameDuration * rate;
|
SimTime idt = desiredFrameDuration * rate;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
onSimulation(rdt,sdt,idt);
|
onSimulation(rdt,sdt,idt);
|
||||||
m_simulationWatch.tock();
|
m_simulationWatch.tock();
|
||||||
|
|
||||||
@@ -614,13 +863,6 @@ void Application::resizeWithParent(HWND parentWindow)
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Application::resize3DView(int w, int h)
|
|
||||||
{
|
|
||||||
Rect2D newViewport = Rect2D::xywh(0, 0, w, h);
|
|
||||||
renderDevice->notifyResize(w, h);
|
|
||||||
renderDevice->setViewport(newViewport);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Application::QuitApp()
|
void Application::QuitApp()
|
||||||
{
|
{
|
||||||
PostQuitMessage(0);
|
PostQuitMessage(0);
|
||||||
@@ -629,4 +871,7 @@ void Application::QuitApp()
|
|||||||
|
|
||||||
void Application::onCreate(HWND parentWindow)
|
void Application::onCreate(HWND parentWindow)
|
||||||
{
|
{
|
||||||
|
//SetWindowLongPtr(hwndRenderer,GWL_USERDATA,(LONG)this);
|
||||||
|
//SetWindowLongPtr(hwndToolbox,GWL_USERDATA,(LONG)this);
|
||||||
|
//SetWindowLongPtr(hwndMain,GWL_USERDATA,(LONG)&app);
|
||||||
}
|
}
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define NUM_SOUNDS 32
|
#define NUM_SOUNDS 10
|
||||||
static SDL_AudioSpec fmt;
|
static SDL_AudioSpec fmt;
|
||||||
static bool initiated = false;
|
static bool initiated = false;
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@ void AudioPlayer::init()
|
|||||||
initiated = true;
|
initiated = true;
|
||||||
extern void mixaudio(void *unused, Uint8 *stream, int len);
|
extern void mixaudio(void *unused, Uint8 *stream, int len);
|
||||||
fmt.freq = 22050;
|
fmt.freq = 22050;
|
||||||
fmt.format = AUDIO_S16LSB;
|
fmt.format = AUDIO_S16;
|
||||||
fmt.channels = 2;
|
fmt.channels = 2;
|
||||||
fmt.samples = 1024; /* A good value for games */
|
fmt.samples = 1024; /* A good value for games */
|
||||||
fmt.callback = mixaudio;
|
fmt.callback = mixaudio;
|
||||||
|
|||||||
62
src/source/DataModel/BaseButtonInstance.cpp
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
#include "DataModel/BaseButtonInstance.h"
|
||||||
|
#include "Globals.h"
|
||||||
|
#include "Application.h"
|
||||||
|
|
||||||
|
|
||||||
|
ButtonListener* listener = NULL;
|
||||||
|
|
||||||
|
BaseButtonInstance::BaseButtonInstance(void)
|
||||||
|
{
|
||||||
|
Instance::Instance();
|
||||||
|
listener = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BaseButtonInstance::render(RenderDevice* rd)
|
||||||
|
{
|
||||||
|
DataModelInstance* dataModel = g_dataModel;
|
||||||
|
Vector2 pos = Vector2(g_usableApp->mouse.x,g_usableApp->mouse.y);
|
||||||
|
drawObj(rd, pos, g_usableApp->mouse.isMouseDown());
|
||||||
|
Instance::render(rd);
|
||||||
|
}
|
||||||
|
|
||||||
|
BaseButtonInstance::~BaseButtonInstance(void)
|
||||||
|
{
|
||||||
|
if(listener != NULL && listener->doDelete)
|
||||||
|
{
|
||||||
|
delete listener;
|
||||||
|
listener = NULL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void BaseButtonInstance::setButtonListener(ButtonListener& buttonListener)
|
||||||
|
{
|
||||||
|
listener = buttonListener;
|
||||||
|
}
|
||||||
|
|
||||||
|
void BaseButtonInstance::drawObj(RenderDevice* rd, Vector2 mousePos, bool mouseDown){}
|
||||||
|
|
||||||
|
bool BaseButtonInstance::mouseInButton(float mousex, float mousey, RenderDevice* rd){return false;}
|
||||||
|
|
||||||
|
void BaseButtonInstance::onMouseClick()
|
||||||
|
{
|
||||||
|
if(listener != NULL)
|
||||||
|
{
|
||||||
|
listener->onButton1MouseClick(this);
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool BaseButtonInstance::mouseInArea(float point1x, float point1y, float point2x, float point2y, float mousex, float mousey)
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
if(mousex >= point1x && mousey >= point1y)
|
||||||
|
{
|
||||||
|
if(mousex < point2x && mousey < point2y)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
613
src/source/DataModel/DataModelInstance.cpp
Normal file
@@ -0,0 +1,613 @@
|
|||||||
|
#include <string>
|
||||||
|
#include "DataModel/GuiRootInstance.h"
|
||||||
|
#include "DataModel/DataModelInstance.h"
|
||||||
|
#include <fstream>
|
||||||
|
#include <iostream>
|
||||||
|
#include <sstream>
|
||||||
|
#include <commdlg.h>
|
||||||
|
#include "ErrorFunctions.h"
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
using namespace rapidxml;
|
||||||
|
|
||||||
|
|
||||||
|
DataModelInstance::DataModelInstance(void)
|
||||||
|
{
|
||||||
|
Instance::Instance();
|
||||||
|
workspace = new WorkspaceInstance();
|
||||||
|
guiRoot = new GuiRootInstance();
|
||||||
|
level = new LevelInstance();
|
||||||
|
//children.push_back(workspace);
|
||||||
|
//children.push_back(level);
|
||||||
|
className = "dataModel";
|
||||||
|
//mousex = 0;
|
||||||
|
//mousey = 0;
|
||||||
|
//mouseButton1Down = false;
|
||||||
|
showMessage = false;
|
||||||
|
canDelete = false;
|
||||||
|
_modY=0;
|
||||||
|
workspace->setParent(this);
|
||||||
|
level->setParent(this);
|
||||||
|
_loadedFileName="..//skooter.rbxm";
|
||||||
|
listicon = 5;
|
||||||
|
running = false;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void DataModelInstance::toggleRun()
|
||||||
|
{
|
||||||
|
running = !running;
|
||||||
|
}
|
||||||
|
bool DataModelInstance::isRunning()
|
||||||
|
{
|
||||||
|
return running;
|
||||||
|
}
|
||||||
|
|
||||||
|
DataModelInstance::~DataModelInstance(void)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef _DEBUG
|
||||||
|
void DataModelInstance::modXMLLevel(float modY)
|
||||||
|
{
|
||||||
|
_modY += modY;
|
||||||
|
clearLevel();
|
||||||
|
debugGetOpen();
|
||||||
|
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void DataModelInstance::clearLevel()
|
||||||
|
{
|
||||||
|
workspace->clearChildren();
|
||||||
|
}
|
||||||
|
PartInstance* DataModelInstance::makePart()
|
||||||
|
{
|
||||||
|
PartInstance* part = new PartInstance();
|
||||||
|
return part;
|
||||||
|
}
|
||||||
|
|
||||||
|
rapidxml::xml_node<>* DataModelInstance::getNode(xml_node<> * node,const char* name)
|
||||||
|
{
|
||||||
|
xml_node<> * tempNode = node->first_node(name);
|
||||||
|
if (!tempNode)
|
||||||
|
{
|
||||||
|
_errMsg = "Expected <";
|
||||||
|
_errMsg += name;
|
||||||
|
_errMsg+="> tag.";
|
||||||
|
_successfulLoad=false;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return tempNode;
|
||||||
|
}
|
||||||
|
float DataModelInstance::getFloatValue(xml_node<> * node,const char* name)
|
||||||
|
{
|
||||||
|
xml_node<> * tempNode = node->first_node(name);
|
||||||
|
if (!tempNode)
|
||||||
|
{
|
||||||
|
_errMsg = "Expected <";
|
||||||
|
_errMsg += name;
|
||||||
|
_errMsg+="> tag.";
|
||||||
|
_successfulLoad=false;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
float newFloat;
|
||||||
|
stringstream converter;
|
||||||
|
converter << tempNode->value();
|
||||||
|
converter >> newFloat;
|
||||||
|
return newFloat;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Color3 bcToRGB(short bc)
|
||||||
|
{
|
||||||
|
switch(bc)
|
||||||
|
{
|
||||||
|
case 1: return Color3(0.94901967048645F,0.95294123888016F,0.95294123888016F);
|
||||||
|
case 2: return Color3(0.63137257099152F,0.64705884456635F,0.63529413938522F);
|
||||||
|
case 3: return Color3(0.9764706492424F,0.91372555494308F,0.60000002384186F);
|
||||||
|
case 5: return Color3(0.84313732385635F,0.77254909276962F,0.60392159223557F);
|
||||||
|
case 6: return Color3(0.7607843875885F,0.85490202903748F,0.72156864404678F);
|
||||||
|
case 9: return Color3(0.90980398654938F,0.7294117808342F,0.78431379795074F);
|
||||||
|
case 11: return Color3(0.50196081399918F,0.73333334922791F,0.85882359743118F);
|
||||||
|
case 12: return Color3(0.79607850313187F,0.51764708757401F,0.258823543787F);
|
||||||
|
case 18: return Color3(0.80000007152557F,0.55686277151108F,0.41176474094391F);
|
||||||
|
case 21: return Color3(0.76862752437592F,0.15686275064945F,0.10980392992496F);
|
||||||
|
case 22: return Color3(0.76862752437592F,0.43921571969986F,0.62745100259781F);
|
||||||
|
case 23: return Color3(0.050980396568775F,0.41176474094391F,0.6745098233223F);
|
||||||
|
case 24: return Color3(0.96078437566757F,0.80392163991928F,0.18823531270027F);
|
||||||
|
case 25: return Color3(0.38431376218796F,0.27843138575554F,0.19607844948769F);
|
||||||
|
case 26: return Color3(0.10588236153126F,0.16470588743687F,0.20784315466881F);
|
||||||
|
case 27: return Color3(0.42745101451874F,0.43137258291245F,0.42352944612503F);
|
||||||
|
case 28: return Color3(0.15686275064945F,0.49803924560547F,0.27843138575554F);
|
||||||
|
case 29: return Color3(0.63137257099152F,0.76862752437592F,0.54901963472366F);
|
||||||
|
case 36: return Color3(0.95294123888016F,0.8117647767067F,0.60784316062927F);
|
||||||
|
case 37: return Color3(0.29411765933037F,0.59215688705444F,0.29411765933037F);
|
||||||
|
case 38: return Color3(0.62745100259781F,0.37254902720451F,0.20784315466881F);
|
||||||
|
case 39: return Color3(0.75686281919479F,0.79215693473816F,0.8705883026123F);
|
||||||
|
case 40: return Color3(0.92549026012421F,0.92549026012421F,0.92549026012421F);
|
||||||
|
case 41: return Color3(0.80392163991928F,0.32941177487373F,0.29411765933037F);
|
||||||
|
case 42: return Color3(0.75686281919479F,0.87450987100601F,0.94117653369904F);
|
||||||
|
case 43: return Color3(0.48235297203064F,0.71372550725937F,0.90980398654938F);
|
||||||
|
case 44: return Color3(0.96862751245499F,0.94509810209274F,0.55294120311737F);
|
||||||
|
case 45: return Color3(0.70588237047195F,0.82352948188782F,0.89411771297455F);
|
||||||
|
case 47: return Color3(0.85098046064377F,0.52156865596771F,0.42352944612503F);
|
||||||
|
case 48: return Color3(0.51764708757401F,0.71372550725937F,0.55294120311737F);
|
||||||
|
case 49: return Color3(0.97254908084869F,0.94509810209274F,0.51764708757401F);
|
||||||
|
case 50: return Color3(0.92549026012421F,0.90980398654938F,0.8705883026123F);
|
||||||
|
case 100: return Color3(0.93333339691162F,0.76862752437592F,0.71372550725937F);
|
||||||
|
case 101: return Color3(0.85490202903748F,0.52549022436142F,0.47843140363693F);
|
||||||
|
case 102: return Color3(0.43137258291245F,0.60000002384186F,0.79215693473816F);
|
||||||
|
case 103: return Color3(0.78039222955704F,0.75686281919479F,0.71764707565308F);
|
||||||
|
case 104: return Color3(0.41960787773132F,0.19607844948769F,0.48627454042435F);
|
||||||
|
case 105: return Color3(0.88627457618713F,0.60784316062927F,0.25098040699959F);
|
||||||
|
case 106: return Color3(0.85490202903748F,0.52156865596771F,0.2549019753933F);
|
||||||
|
case 107: return Color3(0,0.56078433990479F,0.61176472902298F);
|
||||||
|
case 108: return Color3(0.4078431725502F,0.36078432202339F,0.26274511218071F);
|
||||||
|
case 110: return Color3(0.26274511218071F,0.32941177487373F,0.57647061347961F);
|
||||||
|
case 111: return Color3(0.74901962280273F,0.71764707565308F,0.69411766529083F);
|
||||||
|
case 112: return Color3(0.4078431725502F,0.45490199327469F,0.6745098233223F);
|
||||||
|
case 113: return Color3(0.89411771297455F,0.678431391716F,0.78431379795074F);
|
||||||
|
case 115: return Color3(0.78039222955704F,0.82352948188782F,0.23529413342476F);
|
||||||
|
case 116: return Color3(0.33333334326744F,0.64705884456635F,0.68627452850342F);
|
||||||
|
case 118: return Color3(0.71764707565308F,0.84313732385635F,0.83529418706894F);
|
||||||
|
case 119: return Color3(0.64313727617264F,0.74117648601532F,0.27843138575554F);
|
||||||
|
case 120: return Color3(0.85098046064377F,0.89411771297455F,0.65490198135376F);
|
||||||
|
case 121: return Color3(0.90588241815567F,0.6745098233223F,0.34509804844856F);
|
||||||
|
case 123: return Color3(0.82745105028152F,0.43529415130615F,0.29803922772408F);
|
||||||
|
case 124: return Color3(0.57254904508591F,0.22352942824364F,0.47058826684952F);
|
||||||
|
case 125: return Color3(0.91764712333679F,0.72156864404678F,0.57254904508591F);
|
||||||
|
case 126: return Color3(0.64705884456635F,0.64705884456635F,0.79607850313187F);
|
||||||
|
case 127: return Color3(0.86274516582489F,0.73725491762161F,0.50588238239288F);
|
||||||
|
case 128: return Color3(0.68235296010971F,0.47843140363693F,0.34901961684227F);
|
||||||
|
case 131: return Color3(0.61176472902298F,0.63921570777893F,0.65882354974747F);
|
||||||
|
case 133: return Color3(0.83529418706894F,0.45098042488098F,0.23921570181847F);
|
||||||
|
case 134: return Color3(0.84705889225006F,0.8666667342186F,0.33725491166115F);
|
||||||
|
case 135: return Color3(0.45490199327469F,0.52549022436142F,0.61568629741669F);
|
||||||
|
case 136: return Color3(0.52941179275513F,0.48627454042435F,0.56470590829849F);
|
||||||
|
case 137: return Color3(0.87843143939972F,0.59607845544815F,0.39215689897537F);
|
||||||
|
case 138: return Color3(0.58431375026703F,0.54117649793625F,0.45098042488098F);
|
||||||
|
case 140: return Color3(0.12549020349979F,0.22745099663734F,0.33725491166115F);
|
||||||
|
case 141: return Color3(0.15294118225574F,0.27450981736183F,0.17647059261799F);
|
||||||
|
case 143: return Color3(0.8117647767067F,0.88627457618713F,0.96862751245499F);
|
||||||
|
case 145: return Color3(0.47450983524323F,0.53333336114883F,0.63137257099152F);
|
||||||
|
case 146: return Color3(0.58431375026703F,0.55686277151108F,0.63921570777893F);
|
||||||
|
case 147: return Color3(0.57647061347961F,0.52941179275513F,0.40392160415649F);
|
||||||
|
case 148: return Color3(0.34117648005486F,0.34509804844856F,0.34117648005486F);
|
||||||
|
case 149: return Color3(0.086274512112141F,0.11372549831867F,0.19607844948769F);
|
||||||
|
case 150: return Color3(0.67058825492859F,0.678431391716F,0.6745098233223F);
|
||||||
|
case 151: return Color3(0.47058826684952F,0.56470590829849F,0.50980395078659F);
|
||||||
|
case 153: return Color3(0.58431375026703F,0.47450983524323F,0.46666669845581F);
|
||||||
|
case 154: return Color3(0.48235297203064F,0.1803921610117F,0.1843137294054F);
|
||||||
|
case 157: return Color3(1,0.96470594406128F,0.48235297203064F);
|
||||||
|
case 158: return Color3(0.88235300779343F,0.64313727617264F,0.7607843875885F);
|
||||||
|
case 168: return Color3(0.4588235616684F,0.42352944612503F,0.38431376218796F);
|
||||||
|
case 176: return Color3(0.59215688705444F,0.41176474094391F,0.35686275362968F);
|
||||||
|
case 178: return Color3(0.70588237047195F,0.51764708757401F,0.33333334326744F);
|
||||||
|
case 179: return Color3(0.53725492954254F,0.52941179275513F,0.53333336114883F);
|
||||||
|
case 180: return Color3(0.84313732385635F,0.66274511814117F,0.29411765933037F);
|
||||||
|
case 190: return Color3(0.9764706492424F,0.83921575546265F,0.1803921610117F);
|
||||||
|
case 191: return Color3(0.90980398654938F,0.67058825492859F,0.17647059261799F);
|
||||||
|
case 192: return Color3(0.41176474094391F,0.25098040699959F,0.15686275064945F);
|
||||||
|
case 193: return Color3(0.8117647767067F,0.37647062540054F,0.14117647707462F);
|
||||||
|
case 195: return Color3(0.27450981736183F,0.40392160415649F,0.64313727617264F);
|
||||||
|
case 196: return Color3(0.13725490868092F,0.27843138575554F,0.54509806632996F);
|
||||||
|
case 198: return Color3(0.55686277151108F,0.258823543787F,0.52156865596771F);
|
||||||
|
case 199: return Color3(0.38823533058167F,0.37254902720451F,0.38431376218796F);
|
||||||
|
case 200: return Color3(0.50980395078659F,0.54117649793625F,0.3647058904171F);
|
||||||
|
case 208: return Color3(0.89803928136826F,0.89411771297455F,0.87450987100601F);
|
||||||
|
case 209: return Color3(0.69019609689713F,0.55686277151108F,0.26666668057442F);
|
||||||
|
case 210: return Color3(0.43921571969986F,0.58431375026703F,0.47058826684952F);
|
||||||
|
case 211: return Color3(0.47450983524323F,0.70980393886566F,0.70980393886566F);
|
||||||
|
case 212: return Color3(0.6235294342041F,0.76470595598221F,0.91372555494308F);
|
||||||
|
case 213: return Color3(0.42352944612503F,0.50588238239288F,0.71764707565308F);
|
||||||
|
case 216: return Color3(0.56078433990479F,0.29803922772408F,0.16470588743687F);
|
||||||
|
case 217: return Color3(0.48627454042435F,0.36078432202339F,0.27450981736183F);
|
||||||
|
case 218: return Color3(0.58823531866074F,0.43921571969986F,0.6235294342041F);
|
||||||
|
case 219: return Color3(0.41960787773132F,0.38431376218796F,0.60784316062927F);
|
||||||
|
case 220: return Color3(0.65490198135376F,0.66274511814117F,0.80784320831299F);
|
||||||
|
case 221: return Color3(0.80392163991928F,0.38431376218796F,0.59607845544815F);
|
||||||
|
case 222: return Color3(0.89411771297455F,0.678431391716F,0.78431379795074F);
|
||||||
|
case 223: return Color3(0.86274516582489F,0.56470590829849F,0.58431375026703F);
|
||||||
|
case 224: return Color3(0.94117653369904F,0.83529418706894F,0.62745100259781F);
|
||||||
|
case 225: return Color3(0.9215686917305F,0.72156864404678F,0.49803924560547F);
|
||||||
|
case 226: return Color3(0.99215692281723F,0.91764712333679F,0.55294120311737F);
|
||||||
|
case 232: return Color3(0.49019610881805F,0.73333334922791F,0.8666667342186F);
|
||||||
|
case 268: return Color3(0.2039215862751F,0.16862745583057F,0.4588235616684F);
|
||||||
|
case 1001: return Color3(0.97254908084869F,0.97254908084869F,0.97254908084869F);
|
||||||
|
case 1002: return Color3(0.80392163991928F,0.80392163991928F,0.80392163991928F);
|
||||||
|
case 1003: return Color3(0.066666670143604F,0.066666670143604F,0.066666670143604F);
|
||||||
|
case 1004: return Color3(1,0,0);
|
||||||
|
case 1005: return Color3(1,0.68627452850342F,0);
|
||||||
|
case 1006: return Color3(0.70588237047195F,0.50196081399918F,1);
|
||||||
|
case 1007: return Color3(0.63921570777893F,0.29411765933037F,0.29411765933037F);
|
||||||
|
case 1008: return Color3(0.75686281919479F,0.74509805440903F,0.258823543787F);
|
||||||
|
case 1009: return Color3(1,1,0);
|
||||||
|
case 1010: return Color3(0,0,1);
|
||||||
|
case 1011: return Color3(0,0.12549020349979F,0.37647062540054F);
|
||||||
|
case 1012: return Color3(0.1294117718935F,0.32941177487373F,0.72549021244049F);
|
||||||
|
case 1013: return Color3(0.015686275437474F,0.68627452850342F,0.92549026012421F);
|
||||||
|
case 1014: return Color3(0.66666668653488F,0.33333334326744F,0);
|
||||||
|
case 1015: return Color3(0.66666668653488F,0,0.66666668653488F);
|
||||||
|
case 1016: return Color3(1,0.40000003576279F,0.80000007152557F);
|
||||||
|
case 1017: return Color3(1,0.68627452850342F,0);
|
||||||
|
case 1018: return Color3(0.070588238537312F,0.93333339691162F,0.83137261867523F);
|
||||||
|
case 1019: return Color3(0,1,1);
|
||||||
|
case 1020: return Color3(0,1,0);
|
||||||
|
case 1021: return Color3(0.22745099663734F,0.49019610881805F,0.082352943718433F);
|
||||||
|
case 1022: return Color3(0.49803924560547F,0.55686277151108F,0.39215689897537F);
|
||||||
|
case 1023: return Color3(0.54901963472366F,0.35686275362968F,0.6235294342041F);
|
||||||
|
case 1024: return Color3(0.68627452850342F,0.8666667342186F,1);
|
||||||
|
case 1025: return Color3(1,0.78823536634445F,0.78823536634445F);
|
||||||
|
case 1026: return Color3(0.69411766529083F,0.65490198135376F,1);
|
||||||
|
case 1027: return Color3(0.6235294342041F,0.95294123888016F,0.91372555494308F);
|
||||||
|
case 1028: return Color3(0.80000007152557F,1,0.80000007152557F);
|
||||||
|
case 1029: return Color3(1,1,0.80000007152557F);
|
||||||
|
case 1030: return Color3(1,0.80000007152557F,0.60000002384186F);
|
||||||
|
case 1031: return Color3(0.38431376218796F,0.14509804546833F,0.81960791349411F);
|
||||||
|
case 1032: return Color3(1,0,0.74901962280273F);
|
||||||
|
default: return Color3::gray();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
bool DataModelInstance::scanXMLObject(xml_node<> * scanNode)
|
||||||
|
{
|
||||||
|
xml_node<> * watchFirstNode = scanNode->first_node();
|
||||||
|
|
||||||
|
for (xml_node<> *node = scanNode->first_node();node; node = node->next_sibling())
|
||||||
|
{
|
||||||
|
|
||||||
|
if (strncmp(node->name(),"Item",4)==0)
|
||||||
|
{
|
||||||
|
xml_attribute<> *classAttr = node->first_attribute("class");
|
||||||
|
std::string className = classAttr->value();
|
||||||
|
if (className=="Part") {
|
||||||
|
xml_node<> *propNode = node->first_node();
|
||||||
|
xml_node<> *cFrameNode=0;
|
||||||
|
xml_node<> *sizeNode=0;
|
||||||
|
xml_node<> *shapeNode=0;
|
||||||
|
xml_node<> *colorNode=0;
|
||||||
|
xml_node<> *brickColorNode=0;
|
||||||
|
xml_node<> *nameNode=0;
|
||||||
|
|
||||||
|
for (xml_node<> *partPropNode = propNode->first_node();partPropNode; partPropNode = partPropNode->next_sibling())
|
||||||
|
{
|
||||||
|
for (xml_attribute<> *attr = partPropNode->first_attribute();attr; attr = attr->next_attribute())
|
||||||
|
{
|
||||||
|
std::string xmlName = attr->name();
|
||||||
|
std::string xmlValue = attr->value();
|
||||||
|
|
||||||
|
if (xmlValue=="CFrame" | xmlValue=="CoordinateFrame")
|
||||||
|
{
|
||||||
|
cFrameNode = partPropNode;
|
||||||
|
}
|
||||||
|
if (xmlValue=="Name")
|
||||||
|
{
|
||||||
|
nameNode = partPropNode;
|
||||||
|
}
|
||||||
|
if (xmlValue=="shape")
|
||||||
|
{
|
||||||
|
shapeNode = partPropNode;
|
||||||
|
_legacyLoad=false;
|
||||||
|
}
|
||||||
|
if (xmlValue=="Color")
|
||||||
|
{
|
||||||
|
colorNode=partPropNode;
|
||||||
|
}
|
||||||
|
if (xmlValue=="BrickColor")
|
||||||
|
{
|
||||||
|
brickColorNode=partPropNode;
|
||||||
|
}
|
||||||
|
if (xmlValue=="size")
|
||||||
|
{
|
||||||
|
sizeNode = partPropNode;
|
||||||
|
_legacyLoad=false;
|
||||||
|
}
|
||||||
|
if (xmlValue=="Part")
|
||||||
|
{
|
||||||
|
for (xml_node<> *featureNode = partPropNode->first_node();featureNode; featureNode = featureNode->next_sibling())
|
||||||
|
{
|
||||||
|
for (xml_attribute<> *attr = featureNode->first_attribute();attr; attr = attr->next_attribute())
|
||||||
|
{
|
||||||
|
std::string xmlName = attr->name();
|
||||||
|
std::string xmlValue = attr->value();
|
||||||
|
if (xmlValue=="shape")
|
||||||
|
{
|
||||||
|
shapeNode = featureNode;
|
||||||
|
_legacyLoad=true;
|
||||||
|
}
|
||||||
|
if (xmlValue=="size")
|
||||||
|
{
|
||||||
|
sizeNode=featureNode;
|
||||||
|
_legacyLoad=true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!cFrameNode) {
|
||||||
|
_errMsg="CFrame is missing in Part";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!sizeNode) {
|
||||||
|
_errMsg="Size is missing in Part";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
float R=1;
|
||||||
|
float G=1;
|
||||||
|
float B=1;
|
||||||
|
|
||||||
|
if (colorNode)
|
||||||
|
{
|
||||||
|
R = getFloatValue(colorNode,"R");
|
||||||
|
G = getFloatValue(colorNode,"G");
|
||||||
|
B = getFloatValue(colorNode,"B");
|
||||||
|
}
|
||||||
|
|
||||||
|
Enum::Shape::Value partshape = Enum::Shape::Block;
|
||||||
|
std::string pshape = shapeNode->value();
|
||||||
|
if (shapeNode)
|
||||||
|
{
|
||||||
|
if(pshape == "0" || pshape == "Ball"){
|
||||||
|
partshape = Enum::Shape::Ball;
|
||||||
|
}
|
||||||
|
if(pshape == "1" || pshape == "Block"){
|
||||||
|
partshape = Enum::Shape::Block;
|
||||||
|
}
|
||||||
|
if(pshape == "2" || pshape == "Cylinder"){
|
||||||
|
partshape = Enum::Shape::Cylinder;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string newName = nameNode->value();
|
||||||
|
float X = getFloatValue(cFrameNode,"X");
|
||||||
|
float Y = getFloatValue(cFrameNode,"Y");
|
||||||
|
float Z = getFloatValue(cFrameNode,"Z");
|
||||||
|
float R00 = getFloatValue(cFrameNode,"R00");
|
||||||
|
float R01 = getFloatValue(cFrameNode,"R01");
|
||||||
|
float R02 = getFloatValue(cFrameNode,"R02");
|
||||||
|
float R10 = getFloatValue(cFrameNode,"R10");
|
||||||
|
float R11 = getFloatValue(cFrameNode,"R11");
|
||||||
|
float R12 = getFloatValue(cFrameNode,"R12");
|
||||||
|
float R20 = getFloatValue(cFrameNode,"R20");
|
||||||
|
float R21 = getFloatValue(cFrameNode,"R21");
|
||||||
|
float R22 = getFloatValue(cFrameNode,"R22");
|
||||||
|
|
||||||
|
float sizeX = getFloatValue(sizeNode,"X");
|
||||||
|
float sizeY = getFloatValue(sizeNode,"Y");
|
||||||
|
float sizeZ = getFloatValue(sizeNode,"Z");
|
||||||
|
//sizeX=1;
|
||||||
|
//sizeY=1;
|
||||||
|
//sizeZ=1;
|
||||||
|
if (_successfulLoad) {
|
||||||
|
PartInstance* test = makePart();
|
||||||
|
test->setParent(getWorkspace());
|
||||||
|
test->color = Color3(R,G,B);
|
||||||
|
test->shape = partshape;
|
||||||
|
if(brickColorNode)
|
||||||
|
{
|
||||||
|
test->color = bcToRGB(atoi(brickColorNode->value()));
|
||||||
|
}
|
||||||
|
test->setSize(Vector3(sizeX,sizeY+_modY,sizeZ));
|
||||||
|
test->setName(newName);
|
||||||
|
CoordinateFrame cf;
|
||||||
|
|
||||||
|
if (_legacyLoad)
|
||||||
|
{
|
||||||
|
|
||||||
|
cf = CoordinateFrame(Vector3(-X,Y,Z))*CoordinateFrame(Vector3(-sizeX/2,(sizeY+_modY)/2,sizeZ/2)*Matrix3(R00,R01,R02,R10,R11,R12,R20,R21,R22));
|
||||||
|
cf.rotation = Matrix3(R00,R01,R02,R10,R11,R12,R20,R21,R22);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cf.translation = Vector3(X,Y,Z);
|
||||||
|
cf.rotation = Matrix3(R00,R01,R02,R10,R11,R12,R20,R21,R22);
|
||||||
|
}
|
||||||
|
|
||||||
|
test->setCFrame(cf);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
for (xml_attribute<> *attr = node->first_attribute();attr; attr = attr->next_attribute())
|
||||||
|
{
|
||||||
|
std::string xmlName = attr->name();
|
||||||
|
std::string xmlValue = attr->value();
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
scanXMLObject(node);
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DataModelInstance::load(const char* filename, bool clearObjects)
|
||||||
|
{
|
||||||
|
ifstream levelFile(filename,ios::binary);
|
||||||
|
if (levelFile)
|
||||||
|
{
|
||||||
|
if (clearObjects)
|
||||||
|
clearLevel();
|
||||||
|
readXMLFileStream(&levelFile);
|
||||||
|
std::string sfilename = std::string(filename);
|
||||||
|
std::size_t begin = sfilename.rfind('\\') + 1;
|
||||||
|
std::size_t end = sfilename.find(".rbx");
|
||||||
|
std::string hname = sfilename.substr(begin);
|
||||||
|
std::string tname = hname.substr(0, hname.length() - 5);
|
||||||
|
name = tname;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
std::stringstream msg;
|
||||||
|
msg << "Failed to load file:" << std::endl << filename << std::endl << strerror(errno);
|
||||||
|
MessageBoxStr(msg.str());
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DataModelInstance::readXMLFileStream(std::ifstream* file)
|
||||||
|
{
|
||||||
|
file->seekg(0,file->end);
|
||||||
|
int length = file->tellg();
|
||||||
|
if (length<0)
|
||||||
|
{
|
||||||
|
MessageBoxStr("File is empty");
|
||||||
|
file->close();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
file->seekg(0,file->beg);
|
||||||
|
char * buffer = new char[length+1];
|
||||||
|
buffer[length]=0;
|
||||||
|
|
||||||
|
file->read(buffer,length);
|
||||||
|
file->close();
|
||||||
|
|
||||||
|
if (!file)
|
||||||
|
{
|
||||||
|
stringstream msg;
|
||||||
|
msg << "Something went wrong." << endl << strerror(errno);
|
||||||
|
MessageBoxStr(msg.str());
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
_successfulLoad = true;
|
||||||
|
xml_document<> doc;
|
||||||
|
doc.parse<0>(buffer);
|
||||||
|
xml_node<> *mainNode = doc.first_node();
|
||||||
|
_legacyLoad=false;
|
||||||
|
//std::string xmlName = mainNode->name();
|
||||||
|
//node = node->first_node();
|
||||||
|
//xmlName = node->name();
|
||||||
|
scanXMLObject(mainNode);
|
||||||
|
delete[] buffer;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DataModelInstance::debugGetOpen()
|
||||||
|
{
|
||||||
|
ifstream levelFile(_loadedFileName.c_str(),ios::binary);
|
||||||
|
if (levelFile)
|
||||||
|
readXMLFileStream(&levelFile);
|
||||||
|
else
|
||||||
|
getOpen();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DataModelInstance::getOpen()
|
||||||
|
{
|
||||||
|
_modY=0;
|
||||||
|
OPENFILENAME of;
|
||||||
|
ZeroMemory( &of , sizeof( of));
|
||||||
|
of.lStructSize = sizeof(OPENFILENAME);
|
||||||
|
of.lpstrFilter = "Roblox Files\0*.rbxm;*.rbxl\0\0";
|
||||||
|
char szFile[512];
|
||||||
|
of.lpstrFile = szFile ;
|
||||||
|
of.lpstrFile[0]='\0';
|
||||||
|
of.nMaxFile=500;
|
||||||
|
of.lpstrTitle="Hello";
|
||||||
|
of.Flags = OFN_FILEMUSTEXIST;
|
||||||
|
ShowCursor(TRUE);
|
||||||
|
BOOL file = GetOpenFileName(&of);
|
||||||
|
if (file)
|
||||||
|
{
|
||||||
|
_loadedFileName = of.lpstrFile;
|
||||||
|
load(of.lpstrFile,true);
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
void DataModelInstance::setMessage(std::string msg)
|
||||||
|
{
|
||||||
|
message = msg;
|
||||||
|
isBrickCount = false;
|
||||||
|
showMessage = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DataModelInstance::clearMessage()
|
||||||
|
{
|
||||||
|
showMessage = false;
|
||||||
|
isBrickCount = false;
|
||||||
|
message = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
void DataModelInstance::setMessageBrickCount()
|
||||||
|
{
|
||||||
|
isBrickCount = true;
|
||||||
|
showMessage = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DataModelInstance::drawMessage(RenderDevice* rd)
|
||||||
|
{
|
||||||
|
if(isBrickCount)
|
||||||
|
{
|
||||||
|
int brickCount = 0;
|
||||||
|
int instCount = 0;
|
||||||
|
std::vector<Instance*> inst = getAllChildren();
|
||||||
|
for(size_t i = 0; i < inst.size(); i++)
|
||||||
|
{
|
||||||
|
if(PartInstance* moveTo = dynamic_cast<PartInstance*>(inst.at(i)))
|
||||||
|
{
|
||||||
|
brickCount++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
instCount++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
char brkc[12];
|
||||||
|
sprintf_s(brkc, "%d", brickCount);
|
||||||
|
char instc[12];
|
||||||
|
sprintf_s(instc, "%d", instCount);
|
||||||
|
message = "Bricks: ";
|
||||||
|
message += brkc;
|
||||||
|
message += " Snaps: ";
|
||||||
|
message += instc;
|
||||||
|
}
|
||||||
|
if(showMessage && !font.isNull())
|
||||||
|
{
|
||||||
|
int x = rd->getWidth()/2;
|
||||||
|
int y = rd->getHeight()/2;
|
||||||
|
int width = rd->getWidth()/2 + 100;
|
||||||
|
int height = width / 3;
|
||||||
|
Draw::box(Box(Vector3(x-(width/2), y-(height/2), 0), Vector3(x+(width/2), y+(height/2), 0)), rd, Color4::fromARGB(0x55B2B2B2), Color3::fromARGB(0xB2B2B2));
|
||||||
|
font->draw2D(rd, message, Vector2(x,y), height/8, Color3::white(), Color4::clear(), GFont::XALIGN_CENTER, GFont::YALIGN_CENTER);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
WorkspaceInstance* DataModelInstance::getWorkspace()
|
||||||
|
{
|
||||||
|
return workspace;
|
||||||
|
}
|
||||||
|
/*Vector2 DataModelInstance::getMousePos()
|
||||||
|
{
|
||||||
|
return Vector2(mousex,mousey);
|
||||||
|
}
|
||||||
|
void DataModelInstance::setMousePos(int x,int y)
|
||||||
|
{
|
||||||
|
mousex=x;
|
||||||
|
mousey=y;
|
||||||
|
}
|
||||||
|
void DataModelInstance::setMousePos(Vector2 pos)
|
||||||
|
{
|
||||||
|
mousex=pos.x;
|
||||||
|
mousey=pos.y;
|
||||||
|
}*/
|
||||||
|
GuiRootInstance* DataModelInstance::getGuiRoot()
|
||||||
|
{
|
||||||
|
return guiRoot;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
LevelInstance* DataModelInstance::getLevel()
|
||||||
|
{
|
||||||
|
return level;
|
||||||
|
}
|
||||||