Added support for the Squirrel programming language.

This commit is contained in:
Graham Clemo 2018-08-02 20:06:48 +01:00
parent dbb762d8a9
commit 8532df22ed
16 changed files with 2879 additions and 1191 deletions

View File

@ -154,7 +154,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -169,7 +169,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>TIC80_PRO;WIN32;_DEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -184,7 +184,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -199,7 +199,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>TIC80_PRO;_DEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -216,7 +216,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -235,7 +235,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>TIC80_PRO;WIN32;NDEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -254,7 +254,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -273,7 +273,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>TIC80_PRO;NDEBUG;_WINDOWS;_USRDLL;STUDIO_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.8;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\include;..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\zlib-1.2.11;..\..\..\3rd-party\SDL2-2.0.7\include;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.27428.2043
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tic", "tic.vcxproj", "{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}"
ProjectSection(ProjectDependencies) = postProject
@ -16,7 +16,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gif", "..\gif\gif.vcxproj",
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tic80", "..\tic80\tic80.vcxproj", "{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}"
ProjectSection(ProjectDependencies) = postProject
{0DB18A2F-37C4-4CAD-8324-C449707EF93B} = {0DB18A2F-37C4-4CAD-8324-C449707EF93B}
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122} = {D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}
{634F4D99-B265-45D1-852A-01AAA166C54B} = {634F4D99-B265-45D1-852A-01AAA166C54B}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "example", "..\example\example.vcxproj", "{86CAA9C1-C61A-40D8-AC77-33D94754C824}"
@ -31,6 +33,10 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "studio", "..\studio\studio.
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sdl-gpu", "..\sdl-gpu\sdl-gpu.vcxproj", "{D0B6AE7F-601B-43F4-AFD3-C40136232595}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "squirrel", "..\..\..\3rd-party\squirrel3.1\squirrel\squirrel.vcxproj", "{634F4D99-B265-45D1-852A-01AAA166C54B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqstdlib", "..\..\..\3rd-party\squirrel3.1\sqstdlib\sqstdlib.vcxproj", "{0DB18A2F-37C4-4CAD-8324-C449707EF93B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug Pro|x64 = Debug Pro|x64
@ -41,6 +47,8 @@ Global
Release Pro|x86 = Release Pro|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
Template|x64 = Template|x64
Template|x86 = Template|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
@ -59,6 +67,10 @@ Global
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Release|x64.Build.0 = Release|x64
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Release|x86.ActiveCfg = Release|Win32
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Release|x86.Build.0 = Release|Win32
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Template|x64.ActiveCfg = Release|x64
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Template|x64.Build.0 = Release|x64
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Template|x86.ActiveCfg = Release|Win32
{B6ECC66E-26FA-42C2-8F6C-E4338424F38A}.Template|x86.Build.0 = Release|Win32
{57D2471B-3138-495E-AF18-6E290D098FFC}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{57D2471B-3138-495E-AF18-6E290D098FFC}.Debug Pro|x64.Build.0 = Debug Pro|x64
{57D2471B-3138-495E-AF18-6E290D098FFC}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -75,6 +87,10 @@ Global
{57D2471B-3138-495E-AF18-6E290D098FFC}.Release|x64.Build.0 = Release|x64
{57D2471B-3138-495E-AF18-6E290D098FFC}.Release|x86.ActiveCfg = Release|Win32
{57D2471B-3138-495E-AF18-6E290D098FFC}.Release|x86.Build.0 = Release|Win32
{57D2471B-3138-495E-AF18-6E290D098FFC}.Template|x64.ActiveCfg = Release|x64
{57D2471B-3138-495E-AF18-6E290D098FFC}.Template|x64.Build.0 = Release|x64
{57D2471B-3138-495E-AF18-6E290D098FFC}.Template|x86.ActiveCfg = Release|Win32
{57D2471B-3138-495E-AF18-6E290D098FFC}.Template|x86.Build.0 = Release|Win32
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Debug Pro|x64.Build.0 = Debug Pro|x64
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -91,6 +107,10 @@ Global
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Release|x64.Build.0 = Release|x64
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Release|x86.ActiveCfg = Release|Win32
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Release|x86.Build.0 = Release|Win32
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Template|x64.ActiveCfg = Release|x64
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Template|x64.Build.0 = Release|x64
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Template|x86.ActiveCfg = Release|Win32
{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}.Template|x86.Build.0 = Release|Win32
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Debug Pro|x64.Build.0 = Debug Pro|x64
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -107,6 +127,10 @@ Global
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Release|x64.Build.0 = Release|x64
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Release|x86.ActiveCfg = Release|Win32
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Release|x86.Build.0 = Release|Win32
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Template|x64.ActiveCfg = Release|x64
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Template|x64.Build.0 = Release|x64
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Template|x86.ActiveCfg = Release|Win32
{6EA9D998-7557-4AED-ABFC-142F9960C9B6}.Template|x86.Build.0 = Release|Win32
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Debug Pro|x64.Build.0 = Debug Pro|x64
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -123,6 +147,10 @@ Global
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Release|x64.Build.0 = Release|x64
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Release|x86.ActiveCfg = Release|Win32
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Release|x86.Build.0 = Release|Win32
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Template|x64.ActiveCfg = Release|x64
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Template|x64.Build.0 = Release|x64
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Template|x86.ActiveCfg = Release|Win32
{C4D8BC10-EBF6-42BB-9B5D-6712FB428A50}.Template|x86.Build.0 = Release|Win32
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Debug Pro|x64.Build.0 = Debug Pro|x64
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -139,6 +167,10 @@ Global
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Release|x64.Build.0 = Release|x64
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Release|x86.ActiveCfg = Release|Win32
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Release|x86.Build.0 = Release|Win32
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Template|x64.ActiveCfg = Release|x64
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Template|x64.Build.0 = Release|x64
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Template|x86.ActiveCfg = Release|Win32
{86CAA9C1-C61A-40D8-AC77-33D94754C824}.Template|x86.Build.0 = Release|Win32
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug Pro|x64.ActiveCfg = Debug|x64
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug Pro|x64.Build.0 = Debug|x64
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Debug Pro|x86.ActiveCfg = Debug|Win32
@ -155,6 +187,10 @@ Global
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x64.Build.0 = Release|x64
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x86.ActiveCfg = Release|Win32
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Release|x86.Build.0 = Release|Win32
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Template|x64.ActiveCfg = Release|x64
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Template|x64.Build.0 = Release|x64
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Template|x86.ActiveCfg = Release|Win32
{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}.Template|x86.Build.0 = Release|Win32
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug Pro|x64.ActiveCfg = Debug|x64
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug Pro|x64.Build.0 = Debug|x64
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Debug Pro|x86.ActiveCfg = Debug|Win32
@ -171,6 +207,10 @@ Global
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x64.Build.0 = Release|x64
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x86.ActiveCfg = Release|Win32
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Release|x86.Build.0 = Release|Win32
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Template|x64.ActiveCfg = Release|x64
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Template|x64.Build.0 = Release|x64
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Template|x86.ActiveCfg = Release|Win32
{DA956FD3-E142-46F2-9DD5-C78BEBB56B7A}.Template|x86.Build.0 = Release|Win32
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Debug Pro|x64.ActiveCfg = Debug|x64
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Debug Pro|x64.Build.0 = Debug|x64
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Debug Pro|x86.ActiveCfg = Debug|Win32
@ -187,6 +227,10 @@ Global
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Release|x64.Build.0 = Release|x64
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Release|x86.ActiveCfg = Release|Win32
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Release|x86.Build.0 = Release|Win32
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Template|x64.ActiveCfg = Release|x64
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Template|x64.Build.0 = Release|x64
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Template|x86.ActiveCfg = Release|Win32
{D7CC5189-C399-AC94-ECB2-9A3CD8DEE122}.Template|x86.Build.0 = Release|Win32
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Debug Pro|x64.ActiveCfg = Debug Pro|x64
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Debug Pro|x64.Build.0 = Debug Pro|x64
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Debug Pro|x86.ActiveCfg = Debug Pro|Win32
@ -203,6 +247,10 @@ Global
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Release|x64.Build.0 = Release|x64
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Release|x86.ActiveCfg = Release|Win32
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Release|x86.Build.0 = Release|Win32
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Template|x64.ActiveCfg = Release|x64
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Template|x64.Build.0 = Release|x64
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Template|x86.ActiveCfg = Release|Win32
{6181F6A6-AA1B-4CD2-B306-E242CFDE9B20}.Template|x86.Build.0 = Release|Win32
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Debug Pro|x64.ActiveCfg = Debug|x64
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Debug Pro|x64.Build.0 = Debug|x64
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Debug Pro|x86.ActiveCfg = Debug|Win32
@ -219,6 +267,50 @@ Global
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Release|x64.Build.0 = Release|x64
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Release|x86.ActiveCfg = Release|Win32
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Release|x86.Build.0 = Release|Win32
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Template|x64.ActiveCfg = Release|x64
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Template|x64.Build.0 = Release|x64
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Template|x86.ActiveCfg = Release|Win32
{D0B6AE7F-601B-43F4-AFD3-C40136232595}.Template|x86.Build.0 = Release|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug Pro|x64.ActiveCfg = Debug|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug Pro|x64.Build.0 = Debug|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug Pro|x86.ActiveCfg = Debug|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug Pro|x86.Build.0 = Debug|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug|x64.ActiveCfg = Debug|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug|x64.Build.0 = Debug|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug|x86.ActiveCfg = Debug|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Debug|x86.Build.0 = Debug|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release Pro|x64.ActiveCfg = Release|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release Pro|x64.Build.0 = Release|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release Pro|x86.ActiveCfg = Release|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release Pro|x86.Build.0 = Release|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release|x64.ActiveCfg = Release|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release|x64.Build.0 = Release|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release|x86.ActiveCfg = Release|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Release|x86.Build.0 = Release|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Template|x64.ActiveCfg = Template|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Template|x64.Build.0 = Template|x64
{634F4D99-B265-45D1-852A-01AAA166C54B}.Template|x86.ActiveCfg = Template|Win32
{634F4D99-B265-45D1-852A-01AAA166C54B}.Template|x86.Build.0 = Template|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug Pro|x64.ActiveCfg = Debug|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug Pro|x64.Build.0 = Debug|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug Pro|x86.ActiveCfg = Debug|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug Pro|x86.Build.0 = Debug|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug|x64.ActiveCfg = Debug|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug|x64.Build.0 = Debug|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug|x86.ActiveCfg = Debug|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Debug|x86.Build.0 = Debug|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release Pro|x64.ActiveCfg = Release|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release Pro|x64.Build.0 = Release|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release Pro|x86.ActiveCfg = Release|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release Pro|x86.Build.0 = Release|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release|x64.ActiveCfg = Release|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release|x64.Build.0 = Release|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release|x86.ActiveCfg = Release|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Release|x86.Build.0 = Release|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Template|x64.ActiveCfg = Template|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Template|x64.Build.0 = Template|x64
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Template|x86.ActiveCfg = Template|Win32
{0DB18A2F-37C4-4CAD-8324-C449707EF93B}.Template|x86.Build.0 = Template|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -40,12 +40,22 @@
<ClCompile Include="..\..\..\src\ext\gif.c" />
<ClCompile Include="..\..\..\src\jsapi.c" />
<ClCompile Include="..\..\..\src\luaapi.c" />
<ClCompile Include="..\..\..\src\squirrelapi.c" />
<ClCompile Include="..\..\..\src\tic.c" />
<ClCompile Include="..\..\..\src\tic80.c" />
<ClCompile Include="..\..\..\src\tools.c" />
<ClCompile Include="..\..\..\src\wrenapi.c" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\3rd-party\squirrel3.1\sqstdlib\sqstdlib.vcxproj">
<Project>{0db18a2f-37c4-4cad-8324-c449707ef93b}</Project>
</ProjectReference>
<ProjectReference Include="..\..\..\3rd-party\squirrel3.1\squirrel\squirrel.vcxproj">
<Project>{634f4d99-b265-45d1-852a-01aaa166c54b}</Project>
</ProjectReference>
<ProjectReference Include="..\..\..\3rd-party\SQUIRREL3\sqstdlib\sqstdlib.vcxproj">
<Project>{7a5c55b7-2f8c-4189-a666-7046d19b6db9}</Project>
</ProjectReference>
<ProjectReference Include="..\gif\gif.vcxproj">
<Project>{6ea9d998-7557-4aed-abfc-142f9960c9b6}</Project>
</ProjectReference>
@ -176,7 +186,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -191,7 +201,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>TIC80_PRO;WIN32;_DEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -206,7 +216,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -221,7 +231,7 @@
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>TIC80_PRO;_DEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
</ClCompile>
<Link>
@ -238,7 +248,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -257,7 +267,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>TIC80_PRO;WIN32;NDEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -276,7 +286,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>
@ -295,7 +305,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>TIC80_PRO;NDEBUG;_WINDOWS;_USRDLL;TIC80_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>..\..\..\include;..\..\..\3rd-party\lua-5.3.1\src;..\..\..\3rd-party\giflib-5.1.4\lib;..\..\..\3rd-party\duktape-2.2.0\src;..\..\..\3rd-party\blip-buf;..\..\..\3rd-party\moonscript;..\..\..\3rd-party\wren-0.1.0\src\include;..\..\..\3rd-party\fennel;..\..\..\3rd-party\squirrel3.1\include</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<Link>

View File

@ -39,5 +39,8 @@
<ClCompile Include="..\..\..\src\wrenapi.c">
<Filter>src</Filter>
</ClCompile>
<ClCompile Include="..\..\..\src\squirrelapi.c">
<Filter>src</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -35,21 +35,21 @@
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\adler32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\compress.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\crc32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\deflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzclose.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzlib.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzread.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzwrite.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\infback.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inffast.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inftrees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\trees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\uncompr.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\zutil.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\adler32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\compress.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\crc32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\deflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzclose.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzlib.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzread.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzwrite.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\infback.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inffast.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inftrees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\trees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\uncompr.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\zutil.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{1DFBDFA2-F204-42FF-B99E-250E4B2EBA04}</ProjectGuid>

View File

@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\zutil.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\adler32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\compress.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\crc32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\deflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzclose.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzlib.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzread.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\gzwrite.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\infback.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inffast.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\inftrees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\trees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.8\uncompr.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\adler32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\compress.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\crc32.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\deflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzclose.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzlib.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzread.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\gzwrite.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\infback.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inffast.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inflate.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\inftrees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\trees.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\uncompr.c" />
<ClCompile Include="..\..\..\3rd-party\zlib-1.2.11\zutil.c" />
</ItemGroup>
</Project>

View File

@ -27,6 +27,7 @@
#define TIC_BUILD_WITH_FENNEL 1
#define TIC_BUILD_WITH_JS 1
#define TIC_BUILD_WITH_WREN 1
#define TIC_BUILD_WITH_SQUIRREL 1
#if defined(__APPLE__)
# include "AvailabilityMacros.h"

View File

@ -134,6 +134,11 @@ typedef struct
#if defined(TIC_BUILD_WITH_WREN)
struct WrenVM* wren;
#endif
#if defined(TIC_BUILD_WITH_SQUIRREL)
struct SQVM* squirrel;
#endif
};
blip_buffer_t* blip;
@ -169,6 +174,10 @@ s32 drawSpriteFont(tic_mem* memory, u8 symbol, s32 x, s32 y, s32 width, s32 heig
s32 drawFixedSpriteFont(tic_mem* memory, u8 index, s32 x, s32 y, s32 width, s32 height, u8 chromakey, s32 scale);
void parseCode(const tic_script_config* config, const char* start, u8* color, const tic_code_theme* theme);
#if defined(TIC_BUILD_WITH_SQUIRREL)
const tic_script_config* getSquirrelScriptConfig();
#endif
#if defined(TIC_BUILD_WITH_LUA)
const tic_script_config* getLuaScriptConfig();

1558
src/squirrelapi.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -559,6 +559,10 @@ void tic_close(tic_mem* tic)
machine->state.initialized = false;
#if defined(TIC_BUILD_WITH_SQUIRREL)
getSquirrelScriptConfig()->close(tic);
#endif
#if defined(TIC_BUILD_WITH_LUA)
getLuaScriptConfig()->close(tic);
@ -1586,12 +1590,19 @@ static const tic_script_config* getScriptConfig(const char* code)
return getWrenScriptConfig();
#endif
#if defined(TIC_BUILD_WITH_SQUIRREL)
if (compareMetatag(code, "script", "squirrel", getSquirrelScriptConfig()->singleComment))
return getSquirrelScriptConfig();
#endif
#if defined(TIC_BUILD_WITH_LUA)
return getLuaScriptConfig();
#elif defined(TIC_BUILD_WITH_JS)
return getJsScriptConfig();
#elif defined(TIC_BUILD_WITH_WREN)
return getWrenScriptConfig();
#elif defined(TIC_BUILD_WITH_SQUIRREL)
return getSquirrelScriptConfig();
#endif
}