|
@echo off |
|
mkdir lib\starling |
|
mkdir lib\feathers |
|
|
|
if not exist starling ( |
|
git clone https://github.com/Gamua/Starling-Framework.git starling |
|
) |
|
|
|
cd lib\starling |
|
echo -starling.core.RenderSupport.clear >> starling.patch |
|
echo -starling.core.Starling.contentScaleFactor >> starling.patch |
|
echo -starling.core.Starling.context >> starling.patch |
|
echo -starling.core.Starling.juggler >> starling.patch |
|
|
|
cd .. |
|
cd .. |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path starling\starling\src ^ |
|
-include-sources starling\starling\src ^ |
|
-output lib\starling\starling.swc |
|
|
|
if not exist feathers ( |
|
git clone https://github.com/joshtynjala/feathers feathers |
|
) |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path feathers\source ^ |
|
-include-sources feathers\source ^ |
|
--external-library-path+=lib\starling\starling.swc ^ |
|
--external-library-path+=playerglobal14_0.swc ^ |
|
-output lib\feathers\feathers.swc |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path feathers\themes/AeonDesktopTheme/source ^ |
|
-include-sources feathers\themes/AeonDesktopTheme/source ^ |
|
--external-library-path+=lib\starling\starling.swc ^ |
|
--external-library-path+=lib\feathers\feathers.swc ^ |
|
-output lib\feathers\AeonDesktopTheme.swc |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path feathers\themes/MetalWorksDesktopTheme/source ^ |
|
-include-sources feathers\themes/MetalWorksDesktopTheme/source ^ |
|
--external-library-path+=lib\starling\starling.swc ^ |
|
--external-library-path+=lib\feathers\feathers.swc ^ |
|
-output lib\feathers\MetalWorksDesktopTheme.swc |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path feathers\themes/MetalWorksMobileTheme/source ^ |
|
-include-sources feathers\themes/MetalWorksMobileTheme/source ^ |
|
--external-library-path+=lib\starling\starling.swc ^ |
|
--external-library-path+=lib\feathers\feathers.swc ^ |
|
-output lib\feathers\MetalWorksMobileTheme.swc |
|
|
|
rem compc ^ |
|
rem -swf-version 23 ^ |
|
rem -source-path feathers\themes/MinimalDesktopTheme/source ^ |
|
rem -include-sources feathers\themes/MinimalDesktopTheme/source ^ |
|
rem --external-library-path+=lib\starling\starling.swc ^ |
|
rem --external-library-path+=lib\feathers\feathers.swc ^ |
|
rem -output lib\feathers\MinimalDesktopTheme.swc |
|
|
|
compc ^ |
|
-swf-version 23 ^ |
|
-source-path feathers\themes/MinimalMobileTheme/source ^ |
|
-include-sources feathers\themes/MinimalMobileTheme/source ^ |
|
--external-library-path+=lib\starling\starling.swc ^ |
|
--external-library-path+=lib\feathers\feathers.swc ^ |
|
-output lib\feathers\MinimalMobileTheme.swc |
|
|
|
cd lib |
|
|
|
haxe ^ |
|
-swf nothing.swf ^ |
|
--no-output ^ |
|
--gen-hx-classes ^ |
|
-swf-lib starling/starling.swc ^ |
|
--macro patchTypes('starling/starling.patch') ^ |
|
-swf-lib feathers/feathers.swc ^ |
|
-swf-lib-extern ../playerglobal14_0.swc |
|
|
|
rename hxclasses tmp |
|
mkdir hxclasses |
|
move tmp\com hxclasses\com |
|
move tmp\feathers hxclasses\feathers |
|
move tmp\starling hxclasses\starling |
|
|
|
rd /s /q tmp |
|
|
|
cd .. |
|
copy playerglobal14_0.swc lib\playerglobal14_0.swc |
|
|
|
pause |