mirror of
https://github.com/BlackMATov/unity-flash-tools.git
synced 2025-12-16 22:19:31 +07:00
move all sources to ftsources
This commit is contained in:
@@ -89,9 +89,6 @@
|
|||||||
<Reference Include="UnityEditor.TreeEditor">
|
<Reference Include="UnityEditor.TreeEditor">
|
||||||
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll</HintPath>
|
<HintPath>/Applications/Unity/Unity.app/Contents/UnityExtensions/Unity/TreeEditor/Editor/UnityEditor.TreeEditor.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="FTSwfTools_Debug">
|
|
||||||
<HintPath>/Users/matov/Programming/Projects/unityflash/Assets/FlashTools/Plugins/Editor/FTSwfTools_Debug.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Ionic.Zip.Unity">
|
<Reference Include="Ionic.Zip.Unity">
|
||||||
<HintPath>/Users/matov/Programming/Projects/unityflash/Assets/FlashTools/Plugins/Editor/Ionic.Zip.Unity.dll</HintPath>
|
<HintPath>/Users/matov/Programming/Projects/unityflash/Assets/FlashTools/Plugins/Editor/Ionic.Zip.Unity.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 21aa39328267d446b943c01ecb384e13
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1455736806
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c649686f2102d4b03a8b167b86430eec
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1455736963
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a45d7db78d482494d8456892d9007d32
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1455736975
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 518cad4150eaf4133881bf2a4bae81ed
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1472790046
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 68f7548b1be4a4629a59fd17ff62f1c2
|
|
||||||
timeCreated: 1458054584
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1b6bb12f4dfcf4d34a6a027b679eacc8
|
|
||||||
timeCreated: 1472724849
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 61493c5b6491d4432a831d25914ed92a
|
|
||||||
timeCreated: 1473360782
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7973baab2bb7c4b2a8701d1abf799d4e
|
|
||||||
timeCreated: 1472192166
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7de32773fb5894d2a8e5b1f15f3b6549
|
|
||||||
timeCreated: 1472043063
|
|
||||||
licenseType: Pro
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 9a0802fa57f064e7590d56a471759ed9
|
|
||||||
timeCreated: 1472188711
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6f6448c4e793c4081bce4ef3bea5dc30
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1472790065
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 91866390a580d4f728f84d5fab9202b8
|
|
||||||
timeCreated: 1458057686
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 27c44c175a74f4707bafa0bb1a8d47f7
|
|
||||||
timeCreated: 1457365970
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 80bbe5b795df64829b002ddb92fb7a37
|
|
||||||
timeCreated: 1472455940
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6ff1e135d8add4573a0b31491f93e994
|
|
||||||
timeCreated: 1475700802
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 115975934e0df4b05a62c112248e8964
|
|
||||||
timeCreated: 1472013429
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 8e21e87290a7a4488ac2343d6defe08f
|
|
||||||
folderAsset: yes
|
|
||||||
timeCreated: 1473785847
|
|
||||||
licenseType: Free
|
|
||||||
DefaultImporter:
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using NUnit.Framework;
|
|
||||||
|
|
||||||
namespace FlashTools.Internal.Tests {
|
|
||||||
public static class SwfUtilsTests {
|
|
||||||
|
|
||||||
static void AssertAreEqualVectors(Vector2 v0, Vector2 v1, float delta) {
|
|
||||||
Assert.AreEqual(v0.x, v1.x, delta);
|
|
||||||
Assert.AreEqual(v0.y, v1.y, delta);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void AssertAreEqualVectors(Vector4 v0, Vector4 v1, float delta) {
|
|
||||||
Assert.AreEqual(v0.x, v1.x, delta);
|
|
||||||
Assert.AreEqual(v0.y, v1.y, delta);
|
|
||||||
Assert.AreEqual(v0.z, v1.z, delta);
|
|
||||||
Assert.AreEqual(v0.w, v1.w, delta);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public static void PackUShortsToUIntTests() {
|
|
||||||
ushort v0 = 11, v1 = 99;
|
|
||||||
ushort o0, o1;
|
|
||||||
SwfUtils.UnpackUShortsFromUInt(
|
|
||||||
SwfUtils.PackUShortsToUInt(v0, v1), out o0, out o1);
|
|
||||||
Assert.AreEqual(v0, o0);
|
|
||||||
Assert.AreEqual(v1, o1);
|
|
||||||
|
|
||||||
ushort v2 = 16789, v3 = 31234;
|
|
||||||
ushort o2, o3;
|
|
||||||
SwfUtils.UnpackUShortsFromUInt(
|
|
||||||
SwfUtils.PackUShortsToUInt(v2, v3), out o2, out o3);
|
|
||||||
Assert.AreEqual(v2, o2);
|
|
||||||
Assert.AreEqual(v3, o3);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public static void PackUVTests() {
|
|
||||||
var v0 = new Vector2(0.9999f, 0.1111f);
|
|
||||||
float u0, u1;
|
|
||||||
SwfUtils.UnpackUV(SwfUtils.PackUV(v0.x, v0.y), out u0, out u1);
|
|
||||||
AssertAreEqualVectors(v0, new Vector2(u0, u1), SwfUtils.UVPrecision);
|
|
||||||
|
|
||||||
var v1 = new Vector2(0.0987f, 0.0123f);
|
|
||||||
float u2, u3;
|
|
||||||
SwfUtils.UnpackUV(SwfUtils.PackUV(v1.x, v1.y), out u2, out u3);
|
|
||||||
AssertAreEqualVectors(v1, new Vector2(u2, u3), SwfUtils.UVPrecision);
|
|
||||||
|
|
||||||
var v2 = new Vector2(1.0f, 0.0f);
|
|
||||||
float u4, u5;
|
|
||||||
SwfUtils.UnpackUV(SwfUtils.PackUV(v2.x, v2.y), out u4, out u5);
|
|
||||||
AssertAreEqualVectors(v2, new Vector2(u4, u5), SwfUtils.UVPrecision);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public static void PackFloatColorToUShortTests() {
|
|
||||||
float v0 = -5.678f;
|
|
||||||
Assert.AreEqual(
|
|
||||||
v0,
|
|
||||||
SwfUtils.UnpackFloatColorFromUShort(SwfUtils.PackFloatColorToUShort(v0)),
|
|
||||||
SwfUtils.FColorPrecision);
|
|
||||||
|
|
||||||
float v1 = 60.678f;
|
|
||||||
Assert.AreEqual(
|
|
||||||
v1,
|
|
||||||
SwfUtils.UnpackFloatColorFromUShort(SwfUtils.PackFloatColorToUShort(v1)),
|
|
||||||
SwfUtils.FColorPrecision);
|
|
||||||
|
|
||||||
float v2 = 0.678f;
|
|
||||||
Assert.AreEqual(
|
|
||||||
v2,
|
|
||||||
SwfUtils.UnpackFloatColorFromUShort(SwfUtils.PackFloatColorToUShort(v2)),
|
|
||||||
SwfUtils.FColorPrecision);
|
|
||||||
}
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
public static void PackColorToUIntsTests() {
|
|
||||||
var v0 = new Color(0.01f, 0.02f, 0.33f, 1.0f);
|
|
||||||
uint u0, u1;
|
|
||||||
SwfUtils.PackFColorToUInts(v0, out u0, out u1);
|
|
||||||
Color c0;
|
|
||||||
SwfUtils.UnpackFColorFromUInts(
|
|
||||||
u0, u1,
|
|
||||||
out c0.r, out c0.g, out c0.b, out c0.a);
|
|
||||||
AssertAreEqualVectors(
|
|
||||||
v0, c0, SwfUtils.FColorPrecision);
|
|
||||||
|
|
||||||
var v1 = new Vector4(0.01f, 0.02f, 0.33f, 1.0f);
|
|
||||||
uint u2, u3;
|
|
||||||
SwfUtils.PackFColorToUInts(v1, out u2, out u3);
|
|
||||||
Vector4 c1;
|
|
||||||
SwfUtils.UnpackFColorFromUInts(
|
|
||||||
u2, u3,
|
|
||||||
out c1.x, out c1.y, out c1.z, out c1.w);
|
|
||||||
AssertAreEqualVectors(
|
|
||||||
v1, c1, SwfUtils.FColorPrecision);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 56c243ac3822b44ffa1520cfc5471e75
|
|
||||||
timeCreated: 1473785856
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: dbb6cc9af87db40aaa429b450fec1de9
|
|
||||||
timeCreated: 1472813600
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: d267119f922984b8b812889fd05d0c86
|
|
||||||
timeCreated: 1472013332
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: c73b0d62df5ee4a9cb8babe2dbf4a004
|
|
||||||
timeCreated: 1472813804
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 6da591d87f967451298a275621e1fd5d
|
|
||||||
timeCreated: 1471761453
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7403812bd90474c01b689738c58fd8dc
|
|
||||||
timeCreated: 1473684950
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f76a446beb44b46088888ed3f078b2a0
|
|
||||||
timeCreated: 1458054544
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 950d548c7e22f4e25a47de474b49e86e
|
|
||||||
timeCreated: 1472040299
|
|
||||||
licenseType: Pro
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 2c8c473f52d644fc783452f78f8f015f
|
|
||||||
timeCreated: 1472673248
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: aedb1b4cb4ec34540952f7e8624fea8e
|
|
||||||
timeCreated: 1472188170
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 1b5299a7bd0194a5a8490da9b3d1501e
|
|
||||||
timeCreated: 1472049641
|
|
||||||
licenseType: Free
|
|
||||||
MonoImporter:
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
87
FTSources/FTEditor/FTEditor.csproj
Normal file
87
FTSources/FTEditor/FTEditor.csproj
Normal file
@@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{30886846-765A-400B-AD3E-436089DE68ED}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>FlashTools</RootNamespace>
|
||||||
|
<UseMSBuildEngine>True</UseMSBuildEngine>
|
||||||
|
<ReleaseVersion>0.5</ReleaseVersion>
|
||||||
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<AssemblyName>FTEditor_Debug</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<AssemblyName>FTEditor_Release</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Sources\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Sources\SwfEditorUtils.cs" />
|
||||||
|
<Compile Include="Sources\SwfMaterialCache.cs" />
|
||||||
|
<Compile Include="Sources\SwfPropertyDrawers.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfAssetEditor.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfClipAssetEditor.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfClipAssetPreview.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfClipControllerEditor.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfClipEditor.cs" />
|
||||||
|
<Compile Include="Sources\Editors\SwfManagerEditor.cs" />
|
||||||
|
<Compile Include="Sources\Postprocessors\SwfAssetPostprocessor.cs" />
|
||||||
|
<Compile Include="Sources\Postprocessors\SwfPostprocessor.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="mscorlib">
|
||||||
|
<HintPath>..\DLLs\mscorlib.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine">
|
||||||
|
<HintPath>..\DLLs\UnityEngine.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEditor">
|
||||||
|
<HintPath>..\DLLs\UnityEditor.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Ionic.Zip.Unity">
|
||||||
|
<HintPath>..\DLLs\Ionic.Zip.Unity.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System">
|
||||||
|
<HintPath>..\DLLs\System.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\FTRuntime\FTRuntime.csproj">
|
||||||
|
<Project>{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}</Project>
|
||||||
|
<Name>FTRuntime</Name>
|
||||||
|
<Private>False</Private>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\FTSwfTools\FTSwfTools.csproj">
|
||||||
|
<Project>{4EB8756F-398B-4356-90FB-0ED056B3E6E9}</Project>
|
||||||
|
<Name>FTSwfTools</Name>
|
||||||
|
<Private>False</Private>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
62
FTSources/FTRuntime/FTRuntime.csproj
Normal file
62
FTSources/FTRuntime/FTRuntime.csproj
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<RootNamespace>FlashTools</RootNamespace>
|
||||||
|
<UseMSBuildEngine>True</UseMSBuildEngine>
|
||||||
|
<ReleaseVersion>0.5</ReleaseVersion>
|
||||||
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<AssemblyName>FTRuntime_Debug</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>..\..\Assets\FlashTools\Plugins</OutputPath>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<ConsolePause>false</ConsolePause>
|
||||||
|
<AssemblyName>FTRuntime_Release</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Sources\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Sources\SwfAsset.cs" />
|
||||||
|
<Compile Include="Sources\SwfClip.cs" />
|
||||||
|
<Compile Include="Sources\SwfClipAsset.cs" />
|
||||||
|
<Compile Include="Sources\SwfClipController.cs" />
|
||||||
|
<Compile Include="Sources\SwfManager.cs" />
|
||||||
|
<Compile Include="Sources\Internal\SwfAssocList.cs" />
|
||||||
|
<Compile Include="Sources\Internal\SwfAttributes.cs" />
|
||||||
|
<Compile Include="Sources\Internal\SwfList.cs" />
|
||||||
|
<Compile Include="Sources\Internal\SwfSettings.cs" />
|
||||||
|
<Compile Include="Sources\Internal\SwfUtils.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="mscorlib">
|
||||||
|
<HintPath>..\DLLs\mscorlib.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine">
|
||||||
|
<HintPath>..\DLLs\UnityEngine.dll</HintPath>
|
||||||
|
<Private>False</Private>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -3,16 +3,28 @@ Microsoft Visual Studio Solution File, Format Version 12.00
|
|||||||
# Visual Studio 2012
|
# Visual Studio 2012
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTSwfTools", "FTSwfTools\FTSwfTools.csproj", "{4EB8756F-398B-4356-90FB-0ED056B3E6E9}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTSwfTools", "FTSwfTools\FTSwfTools.csproj", "{4EB8756F-398B-4356-90FB-0ED056B3E6E9}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTRuntime", "FTRuntime\FTRuntime.csproj", "{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FTEditor", "FTEditor\FTEditor.csproj", "{30886846-765A-400B-AD3E-436089DE68ED}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|x86 = Debug|x86
|
Debug|x86 = Debug|x86
|
||||||
Release|x86 = Release|x86
|
Release|x86 = Release|x86
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.ActiveCfg = Debug|x86
|
{30886846-765A-400B-AD3E-436089DE68ED}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.Build.0 = Debug|x86
|
{30886846-765A-400B-AD3E-436089DE68ED}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.ActiveCfg = Release|x86
|
{30886846-765A-400B-AD3E-436089DE68ED}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.Build.0 = Release|x86
|
{30886846-765A-400B-AD3E-436089DE68ED}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{48D55C1A-BBD5-44D9-9CC5-473A1BBA9AB5}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{4EB8756F-398B-4356-90FB-0ED056B3E6E9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(MonoDevelopProperties) = preSolution
|
GlobalSection(MonoDevelopProperties) = preSolution
|
||||||
Policies = $0
|
Policies = $0
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<Properties StartupItem="FTSwfTools/FTSwfTools.csproj">
|
<Properties StartupItem="FTEditor/FTEditor.csproj">
|
||||||
<MonoDevelop.Ide.Workbench />
|
<MonoDevelop.Ide.Workbench />
|
||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
|
<MonoDevelop.Ide.Workspace ActiveConfiguration="Release|x86" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
<BreakpointStore />
|
<BreakpointStore />
|
||||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
|
|||||||
@@ -2,14 +2,15 @@
|
|||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
<ProjectGuid>{4EB8756F-398B-4356-90FB-0ED056B3E6E9}</ProjectGuid>
|
<ProjectGuid>{4EB8756F-398B-4356-90FB-0ED056B3E6E9}</ProjectGuid>
|
||||||
<OutputType>Library</OutputType>
|
<OutputType>Library</OutputType>
|
||||||
<RootNamespace>FlashTools</RootNamespace>
|
<RootNamespace>FlashTools</RootNamespace>
|
||||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
<UseMSBuildEngine>True</UseMSBuildEngine>
|
||||||
<ReleaseVersion>0.5</ReleaseVersion>
|
<ReleaseVersion>0.5</ReleaseVersion>
|
||||||
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
@@ -18,19 +19,19 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
|
||||||
<NoStdLib>true</NoStdLib>
|
|
||||||
<AssemblyName>FTSwfTools_Debug</AssemblyName>
|
<AssemblyName>FTSwfTools_Debug</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
|
<OutputPath>..\..\Assets\FlashTools\Plugins\Editor</OutputPath>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<ConsolePause>false</ConsolePause>
|
<ConsolePause>false</ConsolePause>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
|
||||||
<NoStdLib>true</NoStdLib>
|
|
||||||
<AssemblyName>FTSwfTools_Release</AssemblyName>
|
<AssemblyName>FTSwfTools_Release</AssemblyName>
|
||||||
|
<NoStdLib>true</NoStdLib>
|
||||||
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@@ -1,24 +1,14 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
# Visual Studio 2008
|
# Visual Studio 2008
|
||||||
|
|
||||||
Project("{D58E310B-CC7A-56FA-675C-024D435EF77E}") = "unityflash", "Assembly-CSharp.csproj", "{ED48043C-7BE9-40F3-EC3C-3D4369E54740}"
|
|
||||||
EndProject
|
|
||||||
Project("{D58E310B-CC7A-56FA-675C-024D435EF77E}") = "unityflash", "Assembly-CSharp-Editor.csproj", "{7FF03E09-4B14-EFF9-4F08-36E102F327D3}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
Release|Any CPU = Release|Any CPU
|
Release|Any CPU = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
{ED48043C-7BE9-40F3-EC3C-3D4369E54740}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{ED48043C-7BE9-40F3-EC3C-3D4369E54740}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{ED48043C-7BE9-40F3-EC3C-3D4369E54740}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{ED48043C-7BE9-40F3-EC3C-3D4369E54740}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
{7FF03E09-4B14-EFF9-4F08-36E102F327D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{7FF03E09-4B14-EFF9-4F08-36E102F327D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{7FF03E09-4B14-EFF9-4F08-36E102F327D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{7FF03E09-4B14-EFF9-4F08-36E102F327D3}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
<Properties StartupItem="Assembly-CSharp.csproj">
|
<Properties>
|
||||||
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" PreferredExecutionTarget="Unity.Instance.Unity Editor" />
|
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
|
||||||
<MonoDevelop.Ide.Workbench />
|
<MonoDevelop.Ide.Workbench ActiveDocument="Assets/FlashTools/CHANGELOG.txt">
|
||||||
|
<Files>
|
||||||
|
<File FileName="Assets/FlashTools/CHANGELOG.txt" Line="10" Column="18" />
|
||||||
|
</Files>
|
||||||
|
</MonoDevelop.Ide.Workbench>
|
||||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
<BreakpointStore />
|
<BreakpointStore />
|
||||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||||
|
|||||||
Reference in New Issue
Block a user